/* RESET & BASE STYLES */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Nunito', Arial, sans-serif;
  background: #F5F4F0;
  color: #232627;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #232627;
  text-decoration: none;
  transition: color .20s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #CEB888;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
}
li {
  margin-bottom: 0.75em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #232627;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: .6em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p, li, blockquote, label {
  font-family: 'Nunito', Arial, sans-serif;
  color: #232627;
  font-size: 1rem;
}
strong, b { font-weight: 700; }
em, i { font-style: italic; }
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 12px;
  color: #232627;
  position: relative;
}
blockquote:before {
  content: '“';
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #CEB888;
  position: absolute;
  left: -18px;
  top: -6px;
}

hr {
  border: none;
  border-top: 1px solid #ECE9E2;
  margin: 40px 0;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(35,38,39,0.05);
  padding: 28px 22px;
  gap: 16px;
  transition: box-shadow .23s cubic-bezier(.4,0,.2,1), transform .17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 20px rgba(206,184,136,0.14), 0 1px 4px rgba(35,38,39,0.08);
  transform: translateY(-2px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: #fff;
  box-shadow: 0 3px 20px 0 rgba(35,38,39,.06);
  border-radius: 16px;
  margin-bottom: 20px;
}
.testimonial-author {
  font-weight: 700;
  color: #232627;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 290px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35,38,39,0.04);
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.feature-grid img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* BUTTONS */
.cta-button, .cta-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 14px 32px;
  border-radius: 32px;
  background: #232627;
  color: #fff;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(35,38,39,0.09);
  cursor: pointer;
  outline: none;
  transition: background 0.19s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform .15s;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #CEB888;
  color: #232627;
  box-shadow: 0 4px 16px 0 rgba(206,184,136,0.18);
  transform: translateY(-1px) scale(1.025);
}
button, .button {
  font-family: 'Nunito', Arial, sans-serif;
  border: none;
  border-radius: 32px;
  background: #232627;
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.22s, transform .15s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #CEB888;
  color: #232627;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ECE9E2;
  width: 100%;
}
header .container {
  min-height: 74px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
  color: #232627;
  padding: 4px 0 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #CEB888;
  border-bottom: 2px solid #CEB888;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: #fff;
  color: #232627;
  border: none;
  z-index: 1099;
  padding: 9px 16px;
  font-size: 1.75rem;
  border-radius: 40px;
  box-shadow: 0 1px 8px 0 rgba(35,38,39,0.08);
  cursor: pointer;
  transition: box-shadow .17s cubic-bezier(.4,0,.2,1);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ECE9E2;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1300;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 24px 0 rgba(35,38,39,0.10);
}
.mobile-menu-close {
  position: absolute;
  top: 26px; right: 28px;
  background: none;
  border: none;
  color: #232627;
  font-size: 2rem;
  z-index: 1402;
  padding: 8px 16px;
  border-radius: 100px;
  transition: background .17s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ECE9E2;
}
.mobile-nav {
  margin: 68px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 28px 0 28px;
}
.mobile-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.25rem;
  color: #232627;
  padding: 11px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F4F0;
  color: #CEB888;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    margin-right: 52px;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #ECE9E2;
  padding: 26px 0 14px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 4px;
  justify-content: center;
}
.footer-nav a {
  color: #6D6E71;
  font-size: .97rem;
}
.footer-brand {
  font-size: 0.97rem;
  color: #999;
  margin-top: 12px;
}
footer img {
  height: 38px;
  margin-bottom: 5px;
}

/* CUSTOM BULLET POINTS & TEXT SECTIONS */
.bullet-points {
  list-style: disc inside;
  margin-top: 12px;
  margin-bottom: 6px;
}
.text-section {
  margin-bottom: 14px;
}

/* SECTION SPACING & FLEX LAYOUTS */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}


/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #232627;
  box-shadow: 0 3px 20px 0 rgba(35,38,39,.06);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #232627;
  margin-bottom: 2px;
}
.testimonial-author {
  font-weight: 700;
  color: #232627;
  font-size: 1rem;
  margin-bottom: 0;
}
.testimonial-card div:last-child {
  color: #CEB888;
  font-size: 1.25rem;
}

/* FORMS AND INPUTS */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #ECE9E2;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #CEB888;
}
label { font-weight: 600; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 2000;
  background: #232627;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  box-shadow: 0 -2px 20px rgba(35,38,39,0.09);
  font-size: 1rem;
  gap: 28px;
  width: 100vw;
  min-height: 94px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button, .cookie-banner .button {
  padding: 10px 24px;
  border-radius: 32px;
  background: #fff;
  color: #232627;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.19s;
}
.cookie-banner button.primary {
  background: #CEB888;
  color: #232627;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #232627;
  color: #fff;
}
.cookie-banner button.primary:focus, .cookie-banner button.primary:hover {
  background: #232627;
  color: #CEB888;
}

/* COOKIE PREFS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,38,39,0.46);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .19s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #232627;
  border-radius: 18px;
  padding: 38px 38px 28px 38px;
  box-shadow: 0 7px 40px 0 rgba(35,38,39,0.15);
  max-width: 430px;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 3010;
  position: relative;
  animation: fadeInModal 0.38s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeInModal {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.cookie-category label {
  font-size: 1.1rem;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: #CEB888;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: #232627;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 9px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #ECE9E2;
  border-radius: 100px;
}
.cookie-category.essential label:after {
  content: ' (immer aktiviert)';
  font-size: .97em;
  color: #999;
  font-weight: 400;
}
.cookie-category.essential input[type="checkbox"] {
  pointer-events: none;
  filter: grayscale(1) opacity(0.75);
}

/* RESPONSIVE / MEDIA QUERIES */
@media (max-width: 870px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 170px; max-width: 100%;
    flex: 1 1 185px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper, .section {
    padding-left: 0; padding-right: 0;
  }
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 34px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 14px 6px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: .97rem;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-modal {
    padding: 26px 8px 18px 8px;
    max-width: 99vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1rem; }
  .cta-button, .cookie-banner button {
    padding: 10px 16px;
    font-size: .98rem;
  }
}

/* MICRO-INTERACTIONS, TRANSITIONS */
.feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.21s cubic-bezier(.4,0,.2,1), transform 0.17s cubic-bezier(.4,0,.2,1), border-color 0.18s;
}
.feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(206,184,136,0.16), 0 1px 10px rgba(35,38,39,0.11);
  transform: translateY(-2px) scale(1.018);
  border-color: #CEB888;
}

/* ACCESSIBILITY FOCUS STATES */
a:focus, .cta-button:focus, button:focus, .cookie-banner button:focus {
  outline: 2px solid #CEB888;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR FOR DESKTOP */
@media (min-width: 999px) {
  ::-webkit-scrollbar { width: 8px; background: #ECE9E2; }
  ::-webkit-scrollbar-thumb { background: #CEB888; border-radius: 4px; }
}

/* VISUAL WHITESPACE */
.section, section, .content-wrapper, .feature-grid > div, .card, .testimonial-card {
  margin-bottom: 20px;
}
.section:last-child, section:last-child, .content-wrapper:last-child, .feature-grid > div:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/***** END CSS ****/
