/* RESET & BASE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #18181a;
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  background-color: #fff;
}

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .2s; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #18181a;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2c2c2e;
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child, li:last-child { margin-bottom: 0; }

strong, b {
  font-weight: 700;
  color: #222224;
}

.text-section h3 {
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* HEADER, NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(30,30,32,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 20px 0 14px 0;
  justify-content: flex-start;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 16px;
  flex-shrink: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #18181a;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color .19s, border-color .22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #374151;
  border-bottom: 2px solid #18181a;
}
.main-nav a.active {
  color: #F59E42;
  border-color: #F59E42;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: auto;
  color: #18181a;
  cursor: pointer;
  padding: 12px 16px;
  z-index: 251;
  line-height: 1;
  transition: color .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #374151;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(28,28,28,.97);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  z-index: 250;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  margin: 24px 28px 18px 0;
  cursor: pointer;
  z-index: 251;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F59E42;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 36px 0 0 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 6px 0;
  transition: color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F59E42;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 10px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header {
    min-height: 58px;
  }
}

/* MAIN LAYOUT & UTILITY */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(30,30,40,0.07);
  border-radius: 14px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 26px rgba(30,30,32,.13);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f6f6f7;
  border-left: 5px solid #18181a;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(60,60,60,0.05);
  max-width: 640px;
  margin-bottom: 20px;
}
.testimonial-name {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  opacity: 0.87;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: #18181a;
  color: #fff;
  padding: 0;
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
.hero p {
  color: #ececec;
  font-size: 1.22rem;
  margin-bottom: 30px;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 14px 36px;
  border-radius: 10px;
  background: #18181a;
  color: #fff;
  border: 2px solid #F59E42;
  transition: background .17s, color .17s, border .16s, box-shadow .19s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(50,50,45,0.04);
  margin-top: 10px;
  margin-bottom: 4px;
}
.cta-button:hover, .cta-button:focus {
  background: #F59E42;
  color: #18181a;
  border-color: #18181a;
  box-shadow: 0 4px 20px rgba(70,70,70,0.13);
}

/* FEATURES SECTION & GRIDS */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30,30,40,0.09);
  padding: 24px 18px;
  flex: 1 1 220px;
  max-width: 340px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .17s;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}
.feature h3 {
  color: #18181a;
  margin-bottom: 10px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 30px rgba(55,65,81, 0.24);
}

/* ABOUT SECTION */
.about {
  background: #fafafb;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
}
.text-section img {
  width: 20px;
  height: 20px;
  filter: grayscale(90%);
  opacity: .85;
}

/* SERVICES SECTION (used for hobbys.html, heimprojekte.html) */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services ul li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(30,30,32,0.06);
  padding: 24px 20px;
  min-width: 200px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .18s;
  font-size: 1.07rem;
  gap: 12px;
}
.services ul li img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}
.services ul li strong {
  font-size: 1.1rem;
  margin-bottom: 3px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.services ul li:hover, .services ul li:focus-within {
  box-shadow: 0 6px 22px rgba(55,65,81,0.15);
}

/* CONTACT SECTION */
.contact {
  background: #1b1b1e;
  color: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 0 0 20px 20px;
}
.contact h2 {
  color: #fff;
}
.contact .text-section, .contact ul {
  color: #edeef0;
}
.contact ul img {
  filter: grayscale(0%);
  opacity: 1;
}
.contact li,.contact p {
  color: white;
}
.contact .cta-button {
  background: #fff;
  color: #18181a;
  border-color: #374151;
  margin-top: 16px;
}
.contact .cta-button:hover, .contact .cta-button:focus {
  background: #F59E42;
  color: #18181a;
  border-color: #18181a;
}

/* TESTIMONIALS SECTION */
.testimonials {
  background: #ededf0;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  color: #18181a;
  margin-bottom: 32px;
}
.testimonial-card {
  box-shadow: 0 2px 14px rgba(40,40,50,0.09);
  background: #fff;
  border-left: 5px solid #18181a;
  color: #222224;
  margin-bottom: 24px;
  padding: 23px 26px;
  font-size: 1.09rem;
  transition: box-shadow .19s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 30px rgba(40,40,60,0.15);
  border-left-color: #F59E42;
}

/* FOOTER */
footer {
  background: #18181a;
  color: #fff;
  padding: 36px 0 18px 0;
  border-radius: 18px 18px 0 0;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  opacity: 0.85;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: color .17s, border .16s, opacity .17s;
  padding-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #F59E42;
  border-bottom: 1px solid #F59E42;
  opacity: 1;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
footer .text-section img {
  width: 32px;
  height: auto;
  margin-bottom: 8px;
  filter: grayscale(80%) contrast(1.06);
  opacity: .91;
}
footer p {
  font-size: 0.98rem;
  opacity: .8;
  color: #fff;
  margin-bottom: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container { max-width: 990px; }
  .feature, .services ul li { max-width: 300px; }
}
@media (max-width: 990px) {
  .container { max-width: 760px; }
  .feature, .services ul li { min-width: 140px; }
}
@media (max-width: 870px) {
  .feature-grid, .services ul, .card-container  {
    gap: 14px;
  }
  .feature, .services ul li { padding: 18px 10px; }
}
@media (max-width: 768px) {
  .container { max-width: 100%; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.08rem; }

  .hero { min-height: 170px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1.05rem; }
  .hero .container { padding: 36px 0; }
  .features, .about, .testimonials, .services, .contact {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
  .feature-grid,
  .services ul,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature,.services ul li, .card {
    min-width: 0;
    max-width: 100%;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer nav { flex-direction: column; gap: 12px; }
  .testimonial-card {
    max-width: 100%;
    padding: 14px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.04rem; }
  .hero .container { padding: 14px 0; }
}

/* SPACING FOR SECTIONS */
.section:not(:last-child) { margin-bottom: 60px; }
.features:not(:last-child), .about:not(:last-child), .testimonials:not(:last-child),
  .services:not(:last-child), .contact:not(:last-child) {
    margin-bottom: 60px;
}

/* BUTTONS, LINKS, INTERACTIONS */
button, .cta-button {
  outline: none;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  transition: background .17s, color .17s, border .13s;
  cursor: pointer;
}
button:focus:not(:active), .cta-button:focus:not(:active) {
  outline: 2px solid #374151;
  outline-offset: 1px;
}

/* MICRO-INTERACTIONS */
a, button, .cta-button {
  transition: color .15s, background .16s, border .14s, box-shadow .19s, transform .13s;
}
a:active, button:active, .cta-button:active {
  transform: translateY(2px) scale(0.98);
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #F59E42;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 10px; background: #dedede; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 5px; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: rgba(35, 35, 38, 0.97);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 22px 14px;
  box-shadow: 0 -2px 16px rgba(16,16,16,0.26);
  gap: 28px;
  font-size: 0.98rem;
  transition: transform 0.5s cubic-bezier(.85,0,.15,1), opacity 0.4s;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 1;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 9px 22px;
  border-radius: 7px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .16s, color .16s, border .14s;
}
.cookie-banner button.accept {
  background: #F59E42;
  color: #18181a;
  border-color: #F59E42;
}
.cookie-banner button.reject {
  background: #18181a;
  color: #fff;
  border-color: #fff;
}
.cookie-banner button.settings {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #fff;
  color: #F59E42;
  border-color: #F59E42;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #fff;
  color: #18181a;
  border-color: #18181a;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #F59E42;
  color: #18181a;
}
@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: left;
    padding: 15px 4px 16px 4px;
    font-size: 0.93rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,34,34,0.86);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #1c1c1e;
  border-radius: 19px;
  min-width: 340px;
  max-width: 92vw;
  padding: 38px 34px 28px 34px;
  box-shadow: 0 8px 40px rgba(30,30,30,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}
.cookie-modal .cookie-modal-title {
  font-size: 1.26rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1c1c1e;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #18181a;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #F59E42;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-size: 1.06rem;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #374151;
  width: 18px;
  height: 18px;
  margin: 0;
}
.cookie-modal .cookie-category.disabled {
  opacity: 0.6;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  width: 100%;
  margin-top: 14px;
}
.cookie-modal .cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  border-radius: 6px;
  border: 2px solid #374151;
  background: #fff;
  color: #18181a;
  cursor: pointer;
  transition: background .15s, color .16s, border .14s;
}
.cookie-modal .cookie-actions button.accept {
  background: #F59E42;
  color: #18181a;
  border-color: #F59E42;
}
.cookie-modal .cookie-actions button.accept:hover, .cookie-modal .cookie-actions button.accept:focus {
  color: #F59E42;
  background: #fff;
  border-color: #F59E42;
}
.cookie-modal .cookie-actions button.cancel {
  background: #18181a;
  color: #fff;
  border-color: #374151;
}
.cookie-modal .cookie-actions button.cancel:hover, .cookie-modal .cookie-actions button.cancel:focus {
  background: #fff;
  color: #18181a;
}
@media (max-width: 500px) {
  .cookie-modal .cookie-modal-content {
    min-width: 0;
    padding: 22px 8px 14px 8px;
    font-size: 0.993rem;
  }
}

/* MONOCHROME SOPHISTICATED DECORATIONS */
.feature img, .services ul li img, .text-section img {
  filter: grayscale(100%) contrast(1.05);
}

/* MISCELLANEOUS */
hr {
  border: none;
  border-top: 1px solid #dedede;
  margin: 28px 0;
}
::-webkit-input-placeholder { color: #c7c7c9; }
::-moz-placeholder { color: #c7c7c9; }
:-ms-input-placeholder { color: #c7c7c9; }
::placeholder { color: #c7c7c9; }

/* ENSURE ADEQUATE SPACING BETWEEN CARDS/ELEMENTS */
.card + .card, .testimonial-card + .testimonial-card, .feature + .feature, .services ul li + .services ul li, .section + .section {
  margin-top: 20px !important;
}

/******************* END STYLE *******************/
