/* ===========================
   CSS RESET & NORMALIZATION
   =========================== */
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,main,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; }

body, html{height: 100%; width: 100%;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section { display: block; }
ul,ol { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, select, textarea, button { font: inherit; }
:focus { outline: 2px solid #1A237E; outline-offset: 2px; }

/* =======================
   BRAND VARIABLES & FONTS
   ======================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:400,500,700&display=swap');
:root {
  --primary: #1A237E;
  --primary-rgb: 26,35,126;
  --secondary: #80CBC4;
  --accent: #ECEFF1;
  --warning: #FFB300;
  --brand-pink: #FF4081;
  --brand-coral: #FF7043;
  --brand-violet: #9575CD;
  --brand-green: #B2FF59;
  --white: #fff;
  --black: #222;
  --shadow: 0 4px 24px rgba(26,35,126,0.05), 0 1.5px 6px rgba(128,203,196,0.08);
  --transition: 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}

body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  background: var(--accent);
  color: var(--primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif; 
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--primary);
}
h1 { font-size: 2.75rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.175rem; }

p, li, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.175rem; }
}

/* =========================
   BASE LAYOUT STRUCTURE
   ========================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.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;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(26,35,126,0.07);
  margin-bottom: 24px;
  font-size: 1.08rem;
  transition: box-shadow .19s cubic-bezier(.68,-0.55,.27,1.55), transform .19s cubic-bezier(.68,-0.55,.27,1.55);
  border-left: 6px solid var(--secondary);
  min-width: 0;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 26px rgba(26,35,126,0.16), 0 1.5px 6px rgba(128,203,196,0.15);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  min-width: 200px;
}

/* Hero Section */
.hero {
  background: linear-gradient(96deg, var(--secondary) 78%, var(--brand-coral) 100%);
  padding: 56px 0 48px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 8px 32px rgba(128,203,196,0.09);
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.6rem;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 var(--brand-green),0 0 2px var(--brand-pink);
}
.hero p {
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.cta-banner {
  background: linear-gradient(90deg, var(--brand-pink) 0%, var(--brand-coral) 100%);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 38px 0px;
  box-shadow: 0 12px 32px rgba(255,64,129,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: playful-ripple 3.2s infinite linear alternate;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

@keyframes playful-ripple {
  0% { box-shadow: 0 12px 32px rgba(255,64,129, 0.08); }
  100% { box-shadow: 0 20px 40px rgba(255,112,67,0.12); }
}

/* "playful dynamic" features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature {
  background: var(--brand-green);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(26,35,126,0.07);
  padding: 24px 18px 22px 18px;
  flex: 1 1 200px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 200px;
  transition: box-shadow .19s var(--transition), transform .22s var(--transition);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
  filter: drop-shadow(0 2px 2px var(--brand-violet));
}
.feature:hover {
  box-shadow: 0 8px 28px rgba(26,35,126,0.17);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  background: var(--secondary);
}
.feature h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.19rem;
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.feature p {
  color: var(--primary);
  font-size: 1rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.faq-item {
  background: var(--brand-green);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(149,117,205,0.08);
  border-left: 4px solid var(--brand-violet);
  margin-bottom: 10px;
  transition: background .18s,box-shadow .18s;
}
.faq-item:hover {
  background: var(--secondary);
  box-shadow: 0 8px 24px rgba(26,35,126,0.09);
}

/* =============================
   BUTTONS & CTA STYLES
   ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(26,35,126,0.07);
  background: var(--primary);
  transition: transform .18s var(--transition), box-shadow .17s, background .22s;
  cursor: pointer;
  margin-right: 16px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 0px rgba(128,203,196,0.15);
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-secondary {
  background: var(--brand-pink);
  color: var(--white);
}
.btn:hover, .btn:focus {
  background: var(--brand-coral);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255,112,67,0.12),0 2px 10px rgba(26,35,126,.09);
  transform: translateY(-2px) scale(1.038) rotate(-1deg);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-violet);
  color: var(--white);
}

.cta {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: var(--white);
  padding: 0;
  box-shadow: 0 1.5px 9px rgba(26,35,126,0.07);
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img[alt="Frostle Drift München"] {
  height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 14px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--brand-pink);
}

.mobile-menu-toggle {
  display: none;
  border-radius: 50%;
  font-size: 2.1rem;
  background: var(--brand-pink);
  color: #fff;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  box-shadow: 0 4px 10px rgba(255,64,129,0.13);
  transition: background .15s;
  z-index: 200;
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-coral);
}
/* Mobile Nav Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--accent);
  box-shadow: 0 0 64px rgba(26,35,126,0.26);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #fff;
  background: var(--brand-pink);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 18px 10px 10px 20px;
  box-shadow: 0 4px 10px rgba(255,64,129,0.15);
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .17s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-coral);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 34px;
  margin-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--brand-green);
  padding: 13px 24px;
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(128,203,196,.12);
  transition: background .19s,color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-pink);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 0 0;
  border-radius: 32px 32px 0 0;
  margin-top: 70px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
footer .footer-brand img {
  height: 46px;
  margin-bottom: 0px;
}
footer .footer-brand span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
footer .footer-brand a {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  font-size: 1rem;
  color: #fff;
  margin: 22px 0;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 7px;
  transition: background .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-pink);
}
.footer-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footnote {
  width: 100%;
  font-size: 0.85rem;
  color: #fff;
  opacity: 0.76;
  margin: 18px 0 0 0;
  padding-bottom: 22px;
  text-align: left;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footnote {
    text-align: left;
  }
}


/* ===================================
   COOKIE CONSENT BANNER & MODAL
   =================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -6px 32px rgba(26,35,126,0.13);
  border-top: 5px solid var(--brand-pink);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 28px;
  animation: cookie-fadein .7s ease 1;
  font-size: 1rem;
}
@keyframes cookie-fadein {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 420px;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.btn-cookie {
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  border-radius: 22px;
  border: none;
  outline: none;
  font-weight: 700;
  transition: background .17s, color .14s, box-shadow .17s;
  background: var(--brand-pink);
  color: #fff;
  box-shadow: 0 2px 7px rgba(255,64,129,.12);
  margin-right: 2px;
  cursor: pointer;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: var(--brand-coral);
  color: #fff;
  box-shadow: 0 3px 12px rgba(255,112,67,.19);
}
.btn-cookie-settings {
  background: var(--brand-violet);
  color: #fff;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: var(--primary);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,35,126,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open { opacity:1; pointer-events:auto;}
.cookie-modal {
  background: var(--white);
  border-radius: 28px;
  padding: 34px 44px 32px 44px;
  box-shadow: 0 16px 48px rgba(26,35,126,0.21);
  max-width: 390px;
  width: 100%;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 1.13rem;
  animation: modalPop .38s cubic-bezier(.77,0,.18,1);
  position: relative;
}
@keyframes modalPop {
  0% { transform: scale(.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-settings-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  border-radius: 9px;
  padding: 11px 12px;
}
.cookie-switch {
  --sw-w: 38px;
  --sw-h: 22px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-left: 6px;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-slider {
  display: block;
  width: var(--sw-w);
  height: var(--sw-h);
  background: var(--secondary);
  border-radius: 44px;
  position: relative;
  transition: background .17s;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-pink);
  transition: .17s;
  box-shadow: 0 2px 6px rgba(255,112,67,0.11);
}
.cookie-switch input[type="checkbox"]:checked + .cookie-slider {
  background: var(--brand-pink);
}
.cookie-switch input[type="checkbox"]:checked + .cookie-slider:before {
  background: var(--primary);
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .cookie-banner{
    flex-direction: column;
    gap: 12px;
    padding: 16px 12px;
    font-size: 0.98rem;
  }
  .cookie-modal{
    padding: 22px 12px 20px 12px;
    font-size: 1rem;
    max-width: 96vw;
    border-radius: 20px;
  }
}

/* =============================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================= */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid {
    gap: 14px;
  }
  .section {
    margin-bottom: 34px;
    padding: 26px 7px;
  }
  .hero {
    padding: 28px 0 12px 0;
    border-radius: 0 0 23px 23px;
  }
  .cta-banner {
    padding: 18px 0;
    border-radius: 14px;
  }
}
@media (max-width: 650px) {
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .footer-brand {
    margin-bottom: 12px;
  }
  .footer-nav {
    font-size: 0.93rem;
    margin: 18px 0 0 0;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    font-size: 1rem;
    padding: 14px;
  }
}

/* Extra accessibility and fun playful dynamic styles */
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-violet);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-pink); }

/* Decorative playful floating dots for .hero (optional, for extra dynamics) */
.hero::before, .hero::after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
}
.hero::before {
  width: 140px; height: 140px;
  background: var(--brand-green);
  left: -50px; top: -40px;
  animation: floatDotA 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 110px; height: 110px;
  background: var(--brand-violet);
  right: -38px; bottom: -38px;
  animation: floatDotB 13s ease-in-out infinite alternate;
}
@keyframes floatDotA {
  0% { left: -50px; top: -40px; }
  100% { left: 20vw; top: 70px; }
}
@keyframes floatDotB {
  0% { right: -38px; bottom: -38px; }
  100% { right: 16vw; bottom: 60px; }
}

/* TOUCH TARGETS & MICRO ANIMATIONS */
a, button, .btn, .mobile-menu-toggle, .cookie-switch, .cookie-modal-actions .btn-cookie {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255,64,129,.11);
}

/* ==========================
   SPECIAL SECTION SPACING
   ========================== */
section:not(.hero):not(.cta-banner):not(.cookie-banner) {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-of-type {
  margin-bottom: 0;
}

/* =========================
   HTML ELEMENT STYLES
   ========================= */
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
ul li, ol li { margin-bottom: 9px; }
dl dt {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 3px;
}
dl dd {
  margin-bottom: 11px;
  margin-left: 12px;
}

/* Misc links */
a {
  color: var(--brand-pink);
  transition: color .12s;
}
a:hover, a:focus {
  color: var(--brand-coral);
}


/* ==============================
   PRINT MODE
   ============================== */
@media print {
  header, .mobile-menu, .cta-banner, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  section, main, body { background: #fff !important; color: #111 !important; }
}
