/* RESET & NORMALIZE */
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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F8FAF9;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: #F5F3EB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #284961;
}

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

a {
  color: #284961;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #88BC8F;
  text-decoration: underline;
}

ol, ul {
  list-style: none;
}

button,
input[type='button'],
input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Roboto:400,500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #284961;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {font-size: 2.4rem; font-weight: 700; margin-bottom: 20px;}
h2 {font-size: 1.7rem; font-weight: 600; margin-bottom: 16px;}
h3 {font-size: 1.35rem; font-weight: 600; margin-bottom: 12px;}
h4 {font-size: 1.1rem; font-weight: 500;}
p, li, table, td, th {font-size: 1rem; font-family: 'Roboto', Arial, sans-serif;}
p {margin-bottom: 16px;}

strong, b {font-weight: 600;}

/* BRAND COLORS - soft pastels for background blocks/borders */
:root {
  --primary: #284961;
  --secondary: #88BC8F;
  --accent: #F5F3EB;
  --bg-pale-green: #F0F7F4;
  --bg-pale-blue: #F6F9FC;
  --bg-pale-peach: #FFF8F3;
  --soft-pink: #F6DFEB;
  --soft-yellow: #FFF6E6;
  --soft-lavender: #F3F0FA;
  --text: #284961;
  --muted: #7b94ab;
  --white: #fff;
}

/* LAYOUT CONTAINERS & UTILITY */
.container {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-pale-blue);
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(40,73,97,0.04);
  transition: background 0.3s;
}
section .container {padding: 0;}

/* HEADER */
header {
  background: var(--white);
  position: relative;
  box-shadow: 0 3px 16px 0 rgba(58, 110, 78, 0.05);
  z-index: 30;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  color: var(--primary);
}
header nav a:hover,
header nav a:focus {
  background: var(--bg-pale-green);
  color: var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 10px 26px;
  transition: background 0.25s, box-shadow 0.25s, color 0.25s;
  box-shadow: 0 2px 8px 0 rgba(40, 73, 97, 0.10);
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(136,188,143,0.13);
  z-index: 35;
  margin-left: 15px;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover {background: var(--primary);}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,243,235,0.98);
  z-index: 1200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2.5rem;
  border: none;
  align-self: flex-end;
  margin: 26px 28px 14px auto;
  cursor: pointer;
  z-index: 1310;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {color: var(--secondary);}
.mobile-nav {
  width: 100%;
  display: flex !important;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 38px 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  padding: 11px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--bg-pale-green);
  color: var(--secondary);
}
/* Hide desktop nav on mobile, show mobile btn */
@media (max-width: 900px) {
  header nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN LAYOUT & SECTIONS */
main {
  min-height: 600px;
  padding-top: 32px;
  padding-bottom: 32px;
}
section {
  margin-bottom: 44px;
}
.section {
  background: var(--bg-pale-blue);
}
.index-section, .card-section {
  background: var(--bg-pale-peach);
}

/* CARD/STYLED GROUPS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(40, 73, 97, 0.08);
  padding: 28px 25px;
  position: relative;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(136,188,143,0.17);
  transform: translateY(-2px) scale(1.02);
}

.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, .content-grid{flex-direction: column;}
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-pale-green);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px 0 rgba(40,73,97,0.05);
  transition: background 0.17s;
}

.feature-item:hover {
  background: var(--soft-lavender);
}

/* LISTS & ICONS */
ul, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 13px;
}
ul.benefits {
  background: var(--soft-yellow);
  border-radius: 13px;
  padding: 17px 20px;
  gap: 8px;
}
ul li, ol li {
  position: relative;
  padding-left: 34px;
  color: var(--primary);
}
ul li img, ol li img {
  position: absolute;
  left: 0; top: 2px;
  width: 23px;
  height: 23px;
}
.faq-list > div {
  background: var(--soft-yellow);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 13px;
}

/* TABLES (Preise) */
table {
  width: 100%;
  background: var(--bg-pale-green);
  border-radius: 16px;
  box-shadow: 0 2px 5px 0 rgba(40,73,97,0.08);
  overflow: hidden;
  margin-bottom: 24px;
  border-collapse: collapse;
  font-size: 1rem;
}
th, td {
  padding: 14px 14px;
  text-align: left;
}
th {
  background: var(--soft-pink);
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
td {
  border-bottom: 1px solid #ede7dd;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--soft-pink);
  border-radius: 17px;
  box-shadow: 0 2px 8px 0 rgba(58,110,78,0.09);
  color: var(--text);
  font-size: 1.05rem;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* BRAND CREDITS in footer */
.brand-credits {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.93rem;
  color: var(--muted);
}
.brand-credits img {
  width: 27px;
  height: 27px;
}

/* FOOTER */
footer {
  background: var(--accent);
  border-top: 1px solid #e0e6dc;
  margin-top: 48px;
  padding: 0 0 0 0;
}
footer .container {
  padding: 32px 20px 20px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
footer nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: underline;
}
footer nav a:hover, footer nav a:focus {color: var(--secondary);}
footer p {color: var(--primary); font-size: 0.98rem;}

/* Address/email blocks */
.address-block, .email-info, .opening-hours {
  background: var(--soft-yellow);
  border-radius: 8px;
  padding: 11px 17px;
  margin-bottom: 12px;
}

/* Misc. utilities */
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Responsive - Mobile First */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .header .container,
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  section, .section {
    padding: 31px 6px;
    margin-bottom: 38px;
  }
}
@media (max-width: 768px) {
  h1{font-size: 2rem;}
  h2{font-size: 1.32rem;}
  h3{font-size: 1.14rem;}
  section, .section {
    padding: 22px 3px;
    margin-bottom: 24px;
    border-radius: 18px;
  }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .card {
    min-width: 94vw;
    max-width: 97vw;
    padding: 18px 10px;
    border-radius: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 13px 7px;
    border-radius: 9px;
  }
}
@media (max-width: 500px) {
  header img {height: 36px;}
  .brand-credits img {width:22px; height:22px;}
  body{font-size: 0.98rem;}
}

/* Animations */
.cta-btn, .card, .feature-item, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.25s, transform 0.19s, background 0.22s, opacity 0.3s;
}
.cta-btn:active {transform: scale(0.97);}

/* Focus states */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--soft-yellow);
  color: var(--primary);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 14px 18px 14px;
  box-shadow: 0 -4px 22px 0 rgba(40,73,97,0.16);
  font-size: 1rem;
  z-index: 1400;
  opacity: 1;
  animation: cookie-fade-in 0.5s ease;
}
.cookie-banner.hidden {
  display: none !important;
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 200px;
  min-width: 120px;
  margin-bottom: 7px;
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 13px;
  padding: 7px 18px;
  margin-right: 4px;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
}
.cookie-btn.reject {
  background: var(--soft-pink);
  color: var(--primary);
  border: 1px solid #e9dde3;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--soft-yellow);
}
.cookie-btn.settings {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--bg-pale-green);
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right:0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background: rgba(44,57,72,0.18);
}
.cookie-modal.open {
  display: flex;
  animation: modal-slide-in 0.36s cubic-bezier(.43,1.27,.63,1);
}
@keyframes modal-slide-in {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal__content {
  background: var(--accent);
  border-radius: 23px;
  box-shadow: 0 8px 38px 0 rgba(40,73,97,0.15);
  padding: 32px 30px 20px 30px;
  min-width: 310px;
  max-width: 96vw;
  max-height: 95vh;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 18px; top: 13px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 20;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {color: var(--secondary);}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 19px;
  background: var(--soft-yellow);
  border-radius: 20px;
  outline: none;
  transition: background 0.18s;
  position: relative;
  border: 1px solid #e9dde3;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
  box-shadow: 0 1px 4px 0 rgba(40,73,97,0.08);
}
.cookie-toggle:checked:before {
  transform: translateX(17px);
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
}
.essential-label {
  color: #BAC3B9;
  font-style: italic;
  font-size: 0.93rem;
}

.cookie-modal__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

/* RESPONSIVE COOKIE BANNER & MODAL */
@media (max-width: 700px) {
  .cookie-modal__content {padding: 19px 9px; border-radius: 14px;}
}
@media (max-width: 480px) {
  .cookie-banner {flex-direction: column; padding: 13px 2px 8px 2px;gap:10px; font-size:0.97rem;}
  .cookie-banner__actions{flex-direction:column;gap:8px;}
}

/* INTERACTIVE STATES & MICRO-INTERACTIONS */
.card:focus-within,
.feature-item:focus-within,
.testimonial-card:focus-within {
  box-shadow: 0 6px 22px 0 rgba(70,130,100,0.13), 0 1.5px 12px 0 rgba(136,188,143,0.07);
  outline: 1.5px solid var(--secondary);
}

/* PRINT OVERRIDES */
@media print {
  body, html {background: #fff !important; color: #000 !important;}
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
  section, .section, .card, .testimonial-card, .feature-item {
    background: #fff !important; box-shadow: none !important; border-radius: 0 !important;
  }
}

/* Decorative Elements: Soft Pastel Details (Optional for backgrounds or card tops) */
.decorative-flower {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 42px;
  height: 42px;
  opacity: 0.17;
  z-index: 1;
  pointer-events: none;
}

/* EXTRA: Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {transition: none !important;}
}
