/* 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,
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-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #FCFCFC;
  color: #224151;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
ul,ol {
  list-style: none;
}
a {
  color: #205873;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3BAA7A;
  outline: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #205873;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px;
     animation: slideDownFade 1s cubic-bezier(.56,.19,.07,1.01); }
h2 { font-size: 2rem;  margin-bottom: 18px;}
h3 { font-size: 1.4rem; margin-bottom: 12px; color: #3BAA7A; font-weight: 700 ;}
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; }

p, ul, ol, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #224151;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
}
b, strong {
  font-weight: 700;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 4px solid #3BAA7A;
  box-shadow: 0 2px 12px rgba(32, 88, 115, 0.06);
  position: relative;
  z-index: 20;
  padding-top: 7px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
header img {
  height: 44px;
  margin-right: 26px;
  transition: transform 0.25s cubic-bezier(.27,.84,.48,.99);
}
header img:hover {
  transform: scale(1.07) rotate(-3deg);
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #205873;
  font-size: 1.05rem;
  padding: 7px 17px;
  border-radius: 20px;
  background: transparent;
  transition: background 0.25s, color 0.22s;
}
header nav a:hover, header nav a:focus {
  background: #3BAA7A;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #3BAA7A;
  color: #fff;
  border: none;
  padding: 6px 13px;
  border-radius: 16px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(59,170,122,0.18);
  transition: background 0.22s, color 0.22s, transform 0.16s;
  z-index: 1001;
}
.mobile-menu-toggle:active {
  background: #2c7f5f;
}

@media (max-width: 900px) {
  header .container {
    gap: 12px;
  }
  header img {
    height: 36px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none; /* Hide desktop nav on mobile */
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  z-index: 1500;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 88, 115, 0.97);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.27s cubic-bezier(.19,1,.22,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu button.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  color: #fff;
  background: transparent;
  border: none;
  margin: 25px 22px 14px 0;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu button.mobile-menu-close:hover,
.mobile-menu button.mobile-menu-close:focus {
  color: #3BAA7A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  padding: 28px 36px;
  flex: 1;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: #fff;
  background: transparent;
  border-radius: 14px;
  padding: 11px 16px 10px 12px;
  transition: background 0.2s, color 0.18s, transform 0.22s;
  margin-left: 0;
  margin-right: 0;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3BAA7A;
  color: #205873;
  transform: translateX(6px);
}

@media (max-width: 450px) {
  .mobile-nav {
    padding: 16px 10px;
  }
  .mobile-nav a {
    min-width: 120px;
    font-size: 1rem;
  }
}

main {
  min-height: 66vh;
}

/* --- HERO SECTIONS & CTA --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 34px rgba(59,170,122,0.08),
              0 1.5px 4px rgba(32,88,115,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s;
  position: relative;
}
.section:hover {
  box-shadow: 0 10px 36px rgba(32,88,115,0.12), 0 2px 12px rgba(59,170,122,0.10);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #fff;
  background: #3BAA7A;
  border: none;
  border-radius: 27px;
  padding: 16px 42px;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(59,170,122,0.17);
  margin-top: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.21s, color 0.21s, box-shadow 0.18s, transform 0.2s;
  outline: none;
  position: relative;
  z-index: 1;
  animation: popInCta 1.2s cubic-bezier(.18,0,.63,1) 0.1s backwards;
}
.cta-button:hover, .cta-button:focus {
  background: #205873;
  color: #fff;
  box-shadow: 0 7px 24px rgba(32,88,115,0.13);
  transform: translateY(-2px) scale(1.05) rotate(-1deg);
}

@keyframes popInCta {
  from { opacity: 0; transform: scale(0.75) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-45px); }
  to { opacity: 1; transform: translateY(0); }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- CARDS + COMPONENT LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(32,88,115,0.08);
  padding: 26px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.18s;
  min-width: 260px;
  flex: 1 1 250px;
  max-width: 352px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 7px 28px rgba(59,170,122,0.16);
  transform: translateY(-2px) scale(1.03) rotate(-1.5deg);
}

.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) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    justify-content: flex-start;
  }
}

/* FEATURE & TESTIMONIAL CARDS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #e6f8ef;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(59,170,122,0.079);
  padding: 18px 20px;
  margin-bottom: 20px;
  border-left: 5px solid #3BAA7A;
  min-width: 200px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(32,88,115,0.10);
  border-radius: 18px;
  margin-bottom: 20px;
  color: #224151;
}
.testimonial-card .testimonial-author {
  color: #3BAA7A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.03rem;
  margin-top: 4px;
}
.testimonial-card .testimonial-role {
  color: #6097b2;
  font-size: 0.97rem;
}
.testimonial-card .testimonial-text {
  font-size: 1.09rem;
  font-style: italic;
  font-weight: 600;
  color: #205873;
}

/* GLOBAL GAPS & WHITE SPACE */
section, .section, .content-wrapper, .card-container, .card, .card-content, .content-grid, .feature-item, .testimonial-card, .footer-nav, .footer-contact {
  box-sizing: border-box;
}

div + section, .section + .section, section + section {
  margin-top: 26px;
}

/* --- LISTS --- */
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: #205873;
  font-weight: 600;
  font-size: 1.09em;
}
ul li::before {
  content: '⦿';
  position: absolute;
  left: 0;
  top: 1px;
  color: #3BAA7A;
  font-size: 1.06em;
}

/* --- FOOTER --- */
footer {
  background: #205873;
  color: #fff;
  border-top: 4px solid #3BAA7A;
  padding: 36px 0 18px 0;
  margin-top: 34px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 14px;
  padding: 6px 13px;
  opacity: 0.95;
  transition: background 0.19s, color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #3BAA7A;
  color: #205873;
}
.footer-contact {
  color: #fff;
  font-size: 1rem;
  padding-top: 8px;
}
.footer-contact a {
  color: #3BAA7A;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.13s;
}
.footer-contact a:hover { color: #fff; }

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

/* --- ACCESSIBILITY FOCUS --- */
:focus-visible {
  outline: 3px dashed #3BAA7A;
  outline-offset: 3px;
}
button:focus {
  outline: 3px solid #3BAA7A;
}

/* --- FORMS --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  background: #EAEAEA;
  border: 2px solid #3BAA7A;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #205873;
  box-shadow: 0 2px 9px rgba(59,170,122,0.10);
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #205873;
  margin-bottom: 7px;
}

/* --- PLAYFUL DYNAMIC ANIMATIONS --- */
@keyframes float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.025); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.7) rotate(-18deg); }
  60% { opacity: 1; transform: scale(1.06) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.cta-button {
  animation: bounceIn 0.9s cubic-bezier(.28,.55,.44,1.39) 0.13s backwards;
}
header img, .section, .card {
  animation: float 4.1s cubic-bezier(.17,.82,.58,1.09) infinite 0.5s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2999;
  background: #fff;
  box-shadow: 0 -6px 32px rgba(32,88,115,0.14);
  border-top: 5px solid #3BAA7A;
  padding: 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  min-height: 74px;
  font-size: 1.06rem;
  animation: slideUpCookie 0.55s cubic-bezier(.11,.77,.22,1.01);
}
@keyframes slideUpCookie {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 0;
  margin-bottom: 0;
  color: #205873;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 28px;
  margin-right: 9px;
  margin-left: 0;
  cursor: pointer;
  background: #3BAA7A;
  color: #fff;
  box-shadow: 0 2px 6px rgba(59,170,122,0.11);
  transition: background 0.18s, color 0.16s, transform 0.17s;
  outline: none;
}
.cookie-banner .cookie-btn.settings {
  background: #205873;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #EA7373;
  color: #fff;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: #224151;
  color: #fff;
}

@media (max-width: 530px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 12px 8px;
    font-size: 0.96rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-btn { min-width: 100px; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3456;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 88, 115, 0.57);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.42,0,.4,1.02);
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: auto; }
.cookie-modal {
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 16px 60px rgba(59,170,122,0.19);
  padding: 34px 29px 24px 29px;
  min-width: 288px;
  max-width: 99vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  animation: popInCta 0.32s cubic-bezier(.17,.75,.34,1.09);
}
.cookie-modal h2 {
  color: #205873;
  font-size: 1.38rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.09rem;
  font-weight: bold;
  margin-bottom: 3px;
  color: #205873;
}
.cookie-modal .cookie-toggle {
  accent-color: #3BAA7A;
  margin-right: 7px;
  transform: scale(1.25);
  margin-bottom: 0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  padding: 9px 26px;
  font-size: 1.03rem;
}
.cookie-modal .close-modal {
  background: #eaeaea;
  color: #205873;
  font-weight: bold;
  border: none;
  border-radius: 18px;
  padding: 8px 17px;
  cursor: pointer;
  margin-top: 9px;
  margin-left: 0;
  align-self: flex-end;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .close-modal:hover,.cookie-modal .close-modal:focus {
  background: #3BAA7A;
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 11px 18px 11px;
  }
}

/* --- MISC, UTILITIES, VISUAL EFFECTS --- */
::-webkit-input-placeholder { color: #6a7d8e; }  /* Chrome/Opera/Safari */
::-moz-placeholder { color: #6a7d8e; }           /* Firefox 19+ */
:-ms-input-placeholder { color: #6a7d8e; }      /* IE 10+ */
::placeholder { color: #6a7d8e; }              /* Modern Browsers */

hr {
  border: none;
  border-top: 2px solid #3BAA7A;
  margin: 22px 0;
}

.code {
  background: #eaeaea;
  color: #205873;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Montserrat', monospace;
  font-size: 0.96em;
}

/* --- CUSTOM SCROLLBAR FOR MODERN BROWSERS --- */
body::-webkit-scrollbar {
  width: 12px;
  background: #EAEAEA;
}
body::-webkit-scrollbar-thumb {
  background: #3BAA7A;
  border-radius: 6px;
}

/* --- PLAYFUL BADGES, ICONS ETC. --- */
.badge {
  background: #3BAA7A;
  color: #fff;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding: 5px 14px;
  font-size: 0.83em;
  margin-left: 8px;
  display: inline-block;
  transform: rotate(-5deg);
}

/* --- RESPONSIVE RULES --- */
@media (max-width: 700px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .section {
    padding: 17px 3px;
    border-radius: 16px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 0; padding-right: 0;
  }
  footer {
    padding: 22px 0 8px 0;
  }
}

/* --- PLAYFUL DYNAMIC COLOR PALETTE & EFFECTS --- */
:root {
  --brand-primary: #205873;
  --brand-secondary: #3BAA7A;
  --brand-accent: #EAEAEA;
  --fun-yellow: #FFEE71;
  --fun-pink: #FE8F9C;
  --fun-sky: #4FD4F9;
}

.section {
  border: 4px solid var(--brand-accent);
  position: relative;
  overflow: visible;
}
.section::before,
.section::after {
  content: '';
  display: block;
  width: 25px; height: 25px;
  border-radius: 50%;
  position: absolute;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
  animation: float 6.5s linear infinite alternate;
}
.section::before {
  top: -18px; left: -18px; background: var(--fun-pink);
}
.section::after {
  bottom: -14px; right: -14px; background: var(--fun-yellow);
}

/* --- HIGHLIGHTED TEXT DYNAMIC STYLE --- */
.marked, .highlight {
  background: var(--fun-yellow);
  color: #205873;
  border-radius: 7px;
  font-weight: bold;
  padding: 0 5px;
  margin:0 2px;
  box-shadow:0 2px 6px rgba(254,143,156,0.07);
}

/* --- ICONS IN TEXT --- */
.text-section img[alt^="Adresse"],
.text-section img[alt^="Telefon"],
.text-section img[alt^="E-Mail"],
.text-section img[alt^="Öffnungszeiten"] {
  vertical-align: middle;
  margin-right: 9px;
  width: 21px;
  height: 21px;
  margin-bottom: 2px;
}

/* --- FLEX ENFORCEMENT: CRITICAL REQS --- */
/* Mandatory: no grid, only flex layouts used everywhere */