/* ============================================================================
   CSS RESET & BASE NORMALIZATION (Mobile-first)
============================================================================ */
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 {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #F7F7F4;
  color: #254855;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  min-height: 100vh;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: #254855;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9B2A42;
  text-decoration: underline;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  margin: 0;
  padding: 0;
  transition: background 0.18s, color 0.18s;
}

:focus-visible {
  outline: 2px solid #254855;
  outline-offset: 2px;
}

/* ============================================================================
   TYPOGRAPHY & HEADINGS
============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #254855;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.1rem;
  color: #667583;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
strong {
  color: #254855;
  font-weight: 700;
}
blockquote {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  color: #254855;
  margin-bottom: 8px;
}
cite {
  display: block;
  font-size: 0.98em;
  color: #9B2A42;
  opacity: 0.92;
  margin-top: 8px;
  font-style: normal;
  letter-spacing: 0.01em;
}

/* ============================================================================
   CONTAINERS & LAYOUT
============================================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(37, 72, 85, 0.06);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
}

.feature-grid, .service-cards, .features, .event-list, .feature-list, .faq-list, .values-list, .consultation-options, .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-grid > *, .service-cards > *, .features > *, .event-list > *, .feature-list > *, .faq-list > *, .values-list > *, .consultation-options > *, .filter-options > * {
  min-width: 0;
  flex: 1 1 240px;
}
.features {
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(37,72,85,0.08);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F7F7F4;
  border-left: 5px solid #9B2A42;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(37,72,85,0.06);
  margin-top: 24px;
  margin-bottom: 24px;
  min-width: 0;
}
@media (max-width: 540px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 12px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.delivery-info {
  background: #F7F7F4;
  border-radius: 10px;
  padding: 14px 24px;
  margin: 20px 0;
  color: #254855;
  font-size: 1.01em;
  font-weight: 500;
}
.order-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
  counter-reset: step;
}
.order-steps li {
  position: relative;
  padding-left: 32px;
}
.order-steps li::before {
  counter-increment: step;
  content: counter(step) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #CB6575;
  font-family: 'Playfair Display', serif;
  font-size: 1.15em;
  font-weight: 700;
}

/****************************
 * Service Cards
 ***************************/
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 36px 0;
}
.service-card {
  background: #FFFFFF;
  padding: 24px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(37, 72, 85, .06);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 3px 12px 0 rgba(155,42,66,0.11);
  transform: translateY(-2px) scale(1.018);
}
.price {
  margin-top: auto;
  color: #9B2A42;
  font-weight: 600;
  font-size: 1.04em;
  letter-spacing: 0.01em;
}

/****************************
 * Feature List, FAQ, etc.
 ***************************/
.feature-list, .faq-list, .values-list {
  flex-direction: column;
  gap: 12px;
}

.event-list {
  flex-direction: column;
  gap: 20px;
}
.event-details {
  font-size: 0.98em;
  color: #667583;
  margin-top: 4px;
}

/****************************
 * Filter List
 ***************************/
.filter-options {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.filter-options li {
  background: #F7F7F4;
  padding: 6px 16px;
  border-radius: 20px;
  color: #254855;
  font-size: 1em;
  border: 1px solid #E4E6E2;
  font-weight: 500;
}

/****************************
 * FOOTER
 ***************************/
footer {
  background: #254855;
  color: #fff;
  padding: 48px 0 16px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-navigation a {
  color: #fff;
  font-size: 0.96em;
  opacity: 0.94;
  transition: color 0.2s, opacity 0.2s;
}
.footer-navigation a:hover {
  color: #CB6575;
  opacity: 1;
}
footer span {
  font-size: 0.9em;
  opacity: .88;
  letter-spacing: 0.01em;
}

/* ============================================================================
   HEADER & MAIN NAVIGATION (Desktop)
============================================================================ */
header {
  background: #FFFFFF;
  box-shadow: 0 4px 20px 0 rgba(37, 72, 85, 0.07);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
header a img {
  height: 36px;
  width: auto;
}

.main-navigation {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-navigation a {
  color: #254855;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02em;
  padding: 10px 14px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border-radius: 29px;
  position: relative;
}
.main-navigation a.cta-primary {
  background: #254855;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.08em;
  letter-spacing: 0.01em;
  padding: 10px 30px;
  border-radius: 35px;
  font-weight: 700;
  box-shadow: 0 2px 6px 0 rgba(37,72,85,0.09);
  transition: background 0.22s, color 0.18s, transform 0.18s;
}
.main-navigation a.cta-primary:hover, .main-navigation a.cta-primary:focus {
  background: #9B2A42;
  color: #fff;
  transform: translateY(-2px) scale(1.018);
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #F7F7F4;
  color: #9B2A42;
  text-decoration: none;
}

/***************************
 * Responsive Main Nav
 ***************************/
@media (max-width: 992px) {
  header .container {
    gap: 14px;
  }
  .main-navigation a {
    padding: 8px 10px;
    font-size: 0.97em;
  }
}

@media (max-width: 800px) {
  .main-navigation {
    display: none;
  }
}

/***************************
 * Mobile Burger Menu
 ***************************/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  font-size: 2.1rem;
  color: #254855;
  border-radius: 5px;
  border: none;
  padding: 8px 12px;
  margin-left: 14px;
  transition: background 0.18s, color 0.18s;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7F7F4;
  color: #9B2A42;
}

@media (min-width: 801px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(37,72,85,.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
  z-index: 3000;
  opacity: 0.99;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 999px rgba(37,72,85,.20);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2rem;
  background: none;
  color: #254855;
  border: none;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
  padding: 8px 12px;
  z-index: 3010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F7F4;
  color: #9B2A42;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 32px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #254855;
  font-size: 1.12em;
  letter-spacing: 0.01em;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid #F0F0EF;
  width: 100%;
  display: block;
  transition: color 0.2s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #9B2A42;
  background: #F7F7F4;
}
@media (min-width: 801px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================================
   CTA BUTTONS
============================================================================ */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 32px;
  border-radius: 36px;
  min-width: 184px;
  border: none;
  cursor: pointer;
  margin: 10px 0;
  transition: background 0.2s, color 0.18s, box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 2px 8px 0 rgba(37,72,85,0.09);
  text-align: center;
}
.cta-primary {
  background: #254855;
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #9B2A42;
  color: #fff;
  transform: translateY(-2px) scale(1.015);
}
.cta-secondary {
  background: #fff;
  color: #254855;
  border: 2px solid #254855;
  font-weight: 600;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F7F7F4;
  color: #9B2A42;
  border-color: #9B2A42;
}

/****************************
 * Address Styling
 ***************************/
address {
  font-style: normal;
  color: #254855;
  background: #F7F7F4;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 20px;
  font-size: 1.01em;
  box-shadow: 0 1px 5px 0 rgba(37,72,85,0.07);
}
address a {
  color: #9B2A42;
  text-decoration: underline;
}

/****************************
 * Microinteractions & Transitions
 ***************************/
[role="button"], button, .cta-primary, .cta-secondary {
  transition: background 0.18s, color 0.14s, box-shadow 0.18s, transform 0.16s;
}

/* ============================================================================
   RESPONSIVE DESIGN
============================================================================ */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  .card,
  .service-card {
    max-width: 98vw;
  }
}
@media (max-width: 850px) {
  .service-cards,
  .feature-grid,
  .content-grid {
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .service-cards,
  .feature-grid,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card,
  .service-card {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .content-wrapper {
    gap: 12px;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.16rem;
    margin-bottom: 12px;
  }
  .cta-primary, .cta-secondary {
    font-size: 1em;
    padding: 10px 12px;
    min-width: 124px;
  }
  address {
    padding: 10px 8px;
    font-size: 0.97em;
  }
}

/****************************
 * Miscellaneous (Spacing & Extras)
 ***************************/
::-webkit-input-placeholder {color:#a7afb4;}
::-moz-placeholder {color:#a7afb4;}
:-ms-input-placeholder {color:#a7afb4;}
::placeholder {color:#a7afb4;}

/****************************
 * Cookie Consent Banner
 ***************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #254855;
  color: #fff;
  padding: 24px 16px 16px 16px;
  box-shadow: 0 -3px 18px 0 rgba(37, 72, 85, 0.11);
  z-index: 3200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.25s;
  font-size: 1em;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  margin-bottom: 8px;
  text-align: center;
  font-size: 1em;
  color: #fff;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  background: #fff;
  color: #254855;
  border: none;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  border-radius: 22px;
  padding: 8px 24px;
  box-shadow: 0 1px 5px 0 rgba(37,72,85,.09);
  margin: 0 2px;
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.cookie-btn.accept {
  background: #9B2A42;
  color: #fff;
}
.cookie-btn.reject {
  background: #F7F7F4;
  color: #254855;
  border: 1px solid #D7DEE2;
}
.cookie-btn.settings {
  background: #fff;
  color: #254855;
  border: 1px solid #254855;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #CB6575;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  border-color: #9B2A42;
}
.cookie-btn.reject:hover {
  background: #E4E6E2;
  color: #CB6575;
  border-color: #CB6575;
}
.cookie-btn.settings:hover {
  background: #F7F7F4;
  color: #9B2A42;
  border-color: #9B2A42;
}

/****************************
 * Cookie Consent Modal
 ***************************/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(37,72,85,.55);
  z-index: 3500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #254855;
  box-shadow: 0 3px 32px 0 rgba(37, 72, 85, 0.13);
  border-radius: 16px;
  max-width: 96vw;
  min-width: 310px;
  width: 400px;
  padding: 32px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transform: translateY(60px) scale(0.97);
  opacity: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.cookie-modal-overlay.open .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.6rem;
  background: none;
  color: #254855;
  border: none;
  border-radius: 12px;
  padding: 2px 6px;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F7F7F4;
  color: #9B2A42;
}
.cookie-modal h3 {
  font-size: 1.2em;
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', serif;
  color: #254855;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1em;
}
.cookie-category .category-name {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
}
.cookie-category .category-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #D7DEE2;
  border-radius: 22px;
  border: none;
  position: relative;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #9B2A42;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle:checked:before {
  left: 18px;
  background: #fff;
}
.cookie-category.essential .cookie-toggle {
  background: #F7F7F4;
  border: 1px dashed #aaa;
  cursor: not-allowed;
}
.cookie-category.essential .cookie-toggle:before {
  background: #EEE;
}
.cookie-category.essential .category-name::after {
  content: '(immer aktiviert)';
  font-size: 0.94em;
  color: #aaa;
  margin-left: 5px;
}
.category-desc {
  color: #667583;
  font-size: 0.96em;
  margin-left: .5em;
  margin-bottom: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 10px;
}

@media (max-width: 420px) {
  .cookie-modal {
    width: 98vw;
    min-width: unset;
    padding: 19px 7px 14px 7px;
  }
  .cookie-modal h3 {
    font-size: 1.07em;
  }
}

/****************************
 * Prevent Overlaps
 ***************************/
.card, .service-card, .testimonial-card, .section, .feature-grid > *, .service-cards > *, .faq-list > *, .event-list > *, .card-container > *, .content-grid > *, .features > *, .consultation-options > *, .values-list > *, .filter-options > * {
  margin-bottom: 20px;
}

/****************************
 * VISUAL HIERARCHY EXTRAS
 ***************************/
h1, h2, h3, h4, .cta-primary, .cta-secondary {
  text-shadow: 0 .5px 1.7px rgba(155,42,66,0.025);
}

/****************************
 * Miscellaneous
 ***************************/
::-webkit-scrollbar {width: 8px; background: #F7F7F4;}
::-webkit-scrollbar-thumb {background: #E4E6E2; border-radius: 4px;}
.focus-ring {outline:2px solid #9B2A42 !important; outline-offset:2px !important;}

/****************************
 * Print styles
 ***************************/
@media print {
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .container { box-shadow: none !important; background: #fff !important; }
}
