/* ---- CSS 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8FAFB;
  color: #3B3A54;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #5b5a77;
  transition: color 0.25s;
}
a:focus {
  outline: 2px solid #98BAE7;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  color: #3B3A54;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
p, li {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #47476b;
}
strong {
  font-weight: 700;
}

/* ---- Brand Pastel Colors ---- */
:root {
  --primary: #3B3A54;
  --secondary: #8BAA5C;
  --accent: #F4EFE6;
  --pastel-peach: #ffe6ec;
  --pastel-yellow: #fff7d6;
  --pastel-lilac: #eae6fd;
  --pastel-blue: #d8edff;
  --pastel-green: #d9f9e2;
  --focus: #b7d5ef;
}

/* ---- Layout & Container ---- */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(120deg, var(--pastel-peach) 40%, var(--pastel-lilac) 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 2px 18px 0 rgba(62,68,140,0.07);
  padding-top: 40px;
  padding-bottom: 50px;
  margin-bottom: 40px;
  position: relative;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Merriweather', serif;
  color: var(--primary);
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(214,207,255,0.12);
}
.hero .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  color: #5b5a77;
  margin-bottom: 22px;
}
.hero .cta-button {
  margin-top: 12px;
}

/* ---- Navigation ---- */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 4px 16px 0 rgba(170,160,245,0.06);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: 1150px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav li {
  list-style: none;
}
.main-nav a {
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: var(--pastel-yellow);
  color: var(--secondary);
}

/* --- Mobile Menu ---- */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-peach);
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  padding: 6px 18px 6px 8px;
  border-radius: 10px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 22px;
  z-index: 1002;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-lilac), var(--pastel-peach) 80%);
  z-index: 1005;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.74,.09,.27,.95);
  box-shadow: 0 0 60px 0 rgba(95,75,170,0.11);
  padding: 32px 32px 60px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
  z-index: 1006;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.27rem;
  color: var(--primary);
  background: rgba(245,240,255,0.44);
  padding: 12px 18px;
  border-radius: 8px;
  transition: background 0.22s, color 0.22s;
  font-family: 'Roboto', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 850px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    padding-right: 70px;
  }
  .mobile-menu {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}

/* ---- Features/Grid Section ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.features-grid > div {
  flex: 1 1 280px;
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(100,90,140,0.08);
  padding: 28px 20px 23px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 190px;
  max-width: 360px;
  transition: box-shadow 0.19s, transform 0.15s;
  margin-bottom: 20px;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 6px 28px 0 rgba(100,90,140,0.16);
  transform: translateY(-5px) scale(1.025);
}
.features-grid img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(80,100,130,0.07));
}
.features-grid h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
  color: var(--primary);
  font-family: 'Merriweather', serif;
}

/* ---- Cards (if any) ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-lilac);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(125,86,176,0.09);
  padding: 32px 20px 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(125,86,176,0.13);
  transform: translateY(-6px) scale(1.02);
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--pastel-yellow);
  border-radius: 24px;
  padding-top: 44px;
  padding-bottom: 40px;
  margin-bottom: 60px;
}
.testimonials h2 {
  margin-bottom: 24px;
  color: var(--primary);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(38,45,84,0.09);
  padding: 20px 32px 18px 26px;
  margin-bottom: 22px;
  min-width: 200px;
  max-width: 500px;
}
.testimonial-card p {
  color: #24243A;
  line-height: 1.6;
  font-size: 1.10rem;
  margin-bottom: 9px;
}
.star-rating {
  color: #F6B14B;
  font-size: 1.19rem;
  line-height: 1.2;
  letter-spacing: 0.13em;
  margin-bottom: 2px;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.93rem;
  color: #656575;
  margin-top: 4px;
}

/* ---- Call-to-Action Button ---- */
.cta-button {
  background: linear-gradient(92deg, #faf8ff 20%, var(--secondary) 110%);
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-size: 1.17rem;
  padding: 13px 30px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 1px 8px 0 rgba(134,190,112,0.13);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.24s, transform 0.17s, color 0.14s;
  outline: none;
  text-align: center;
  margin-top: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(88deg, #ffeccf 24%, #abc898 96%);
  color: #324B1F;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 28px 0 rgba(183,204,151,0.16);
}

/* ---- Lists, Text Sections ----*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 10px;
}
.text-section ul li, .text-section ol li {
  font-size: 1.04rem;
  color: #444463;
  margin-bottom: 9px;
  list-style-type: disc;
}
.text-section ol li {
  list-style-type: decimal;
}

/* ---- Footer ---- */
footer {
  background: linear-gradient(90deg, var(--accent) 76%, var(--pastel-lilac) 100%);
  padding: 36px 0 18px 0;
  box-shadow: 0 -1px 18px 0 rgba(125,86,176,0.06);
  font-size: 0.97rem;
  color: var(--primary);
  border-radius: 20px 20px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  text-align: center;
}
.footer-nav a {
  color: var(--primary);
  padding: 2px 6px 2px 4px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.footer-address {
  text-align: center;
  font-size: 0.98rem;
  margin-top: 8px;
  color: #66666E;
}

/* ---- Cookie Consent Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-peach) 60%, var(--pastel-lilac) 100%);
  box-shadow: 0 -2px 24px 0 rgba(160, 120, 190, 0.09);
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 14px 24px;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: cookie-banner-slide-in 0.65s cubic-bezier(.77,0,.15,1);
}
@keyframes cookie-banner-slide-in {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}
.cookie-banner__text {
  color: #24243A;
  font-size: 1rem;
  flex: 3 0 210px;
  margin-right: 15px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 6px 0 rgba(139,170,92,0.14);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #aac898; color: #324B1F;
}
.cookie-banner .reject {
  background: var(--pastel-yellow);
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #faecb5; color: #BB7351;
}
.cookie-banner .settings {
  background: var(--pastel-lilac);
  color: var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #d2c7f5; color: var(--secondary);
}

/* ---- Cookie Modal ---- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2500;
  background: rgba(59,58,84,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.25s;
}
@keyframes cookie-modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 54px 0 rgba(173, 157, 251, 0.15);
  padding: 36px 30px 32px 30px;
  min-width: 300px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal__close {
  background: transparent;
  border: none;
  color: var(--primary);
  position: absolute;
  top: 18px; right: 34px;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal__h {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: 'Merriweather', serif;
}
.cookie-modal__cat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal__cat-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-modal__cat-toggle {
  width: 44px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-modal__cat-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal__cat-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  left: 0; right: 0; top: 0; bottom: 0;
  background: var(--pastel-blue);
  border-radius: 24px;
  transition: background 0.24s;
}
.cookie-modal__cat-toggle .toggle-slider:before {
  position: absolute; content: '';
  height: 20px; width: 20px; left: 2px; bottom: 2px;
  background: var(--secondary);
  border-radius: 50%;
  transition: transform 0.24s;
}
.cookie-modal__cat-toggle input:checked + .toggle-slider {
  background: var(--secondary);
}
.cookie-modal__cat-toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background: var(--primary);
}
.cookie-modal__cat-desc {
  font-size: 0.97rem;
  margin-left: 2px;
  color: #606075;
}

/* ---- Forms (Kontakt) ---- */
.contact-details, .opening-hours, .address-map {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 1.01rem;
  color: #4d4d66;
}

/* ---- Responsive Layouts ---- */
@media (max-width: 1025px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 98vw;
  }
}
@media (max-width: 910px) {
  .features-grid {
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 14px 15px 14px;
  }
}
@media (max-width: 770px) {
  .hero {
    border-radius: 0 0 32px 32px;
    padding: 24px 0 32px 0;
  }
  .features-grid > div, .card {
    max-width: 100%;
    min-width: 160px;
    margin-bottom: 20px;
  }
  .footer-nav, .content-wrapper, .card-container, .features-grid {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .testimonial-card {
    max-width: 95vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px 15px 16px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.17rem; }
  .hero, .section {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 28px;
    padding-bottom: 15px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-address { font-size: 0.90rem; }
  .footer-nav { font-size: 0.95rem; gap: 7px; }
}

@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; }
}

/* ---- Spacing and Flex Alignments (From Prompt) ---- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { 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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---- General Microinteractions ---- */
button, .cta-button, .mobile-menu-close, .mobile-menu-toggle {
  transition: background .21s, box-shadow .18s, color .15s;
}
h1, h2, h3, h4, h5 {
  transition: color 0.15s;
}
.features-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}

/* Misc */
::-webkit-scrollbar-thumb {
  background: #eadbfd;
  border-radius: 12px;
}
::-webkit-scrollbar {
  width: 11px;
  background: #faf6ff;
}

/* For focus accessibility highlight */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Hide visually but available for screen readers */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
