/* --- 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F1E8;
  color: #1d2933;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #33597A;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.77,0,.18,1);
}
a:hover, a:focus {
  color: #5EB283;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 20px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
}
blockquote {
  font-style: italic;
  quotes: "\201C" "\201D";
}
/* Hide accessibility skip-link for now */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #33597A;
  line-height: 1.16;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; font-weight: 600;}
h4 { font-size: 1.12rem; font-weight: 600; }
.section h1, .section h2 { letter-spacing: 1px; }

.subheadline {
  font-weight: 500;
  color: #5EB283;
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
strong {
  font-weight: 700;
}

/* --- BASE CONTAINERS & SECTION SPACING --- */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 16px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(51,89,122,0.07);
  padding: 32px 20px 32px 20px;
}
.text-section {
  align-items: center;
  text-align: center;
}
/* Hero section variant */
.section:first-child .content-wrapper {
  background: linear-gradient(90deg, #5EB283 10%, #33597A 90%);
  color: #fff;
  box-shadow: 0 4px 32px rgba(51,89,122,0.12);
}
.section:first-child .content-wrapper h1,
.section:first-child .content-wrapper .subheadline{
  color: #fff;
}

/* --- LAYOUT FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 12px rgba(51,89,122,0.09);
  padding: 28px 24px;
  transition: box-shadow 0.16s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(94,178,131,0.17), 0 1.5px 7px rgba(51,89,122,0.11);
  z-index: 2;
}
.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: #F6F1E8;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(51,89,122,0.06);
  color: #1d2933;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MAIN NAVIGATION --- */
header {
  background: #33597A;
  color: #fff;
  box-shadow: 0 4px 28px rgba(51,89,122,0.11);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 18px 16px 18px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.main-nav a {
  color: #fff;
  opacity: 0.96;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #5EB283;
  color: #33597A;
  text-decoration: none;
  opacity: 1;
}
.main-nav .cta-button {
  background: #5EB283;
  color: #fff;
  margin-left: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 24px;
  padding: 8px 22px;
  box-shadow: 0 2px 12px rgba(94,178,131,0.14);
  transition: background 0.18s, color 0.18s;
  border: none;
  outline: none;
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: #fff;
  color: #33597A;
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 6px 18px 6px 8px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
  z-index: 203;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: rgba(94,178,131, 0.13);
  border-radius: 14px;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; height: 100vh;
  background: #33597A;
  z-index: 205;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 38px;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  box-shadow: 8px 0 24px rgba(51,89,122,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #5EB283;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #5EB283;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 920px) {
  .main-nav a:not(:first-child) {
    font-size: 15px;
    padding: 3px 9px;
  }
  .main-nav img {
    height: 32px;
    margin-right: 9px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 8px;
    padding: 12px 8px 12px 8px;
  }
  .main-nav .cta-button {
    font-size: 0.97rem;
    padding: 7px 16px;
  }
}
@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-top: 8px;
  }
}
@media (min-width: 761px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO --- */
.section:first-child {
  padding-top: 0;
  padding-bottom: 48px;
}
.section:first-child .container {
  padding-top: 24px;
  padding-bottom: 0;
}

/* --- FEATURES / ADVANTAGES --- */
.feature-grid, .service-list, .team-overview, .pricing-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  justify-content: center;
}
.feature-grid > div,
.service-list > div,
.team-overview > div,
.pricing-list > div {
  background: #F6F1E8;
  border-radius: 16px;
  box-shadow: 0 1.5px 12px rgba(94,178,131,0.10);
  padding: 22px 20px 22px 20px;
  flex: 1 1 225px;
  min-width: 205px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.17s;
}
.feature-grid > div:hover,
.service-list > div:hover,
.team-overview > div:hover,
.pricing-list > div:hover {
  box-shadow: 0 8px 28px rgba(51,89,122,0.13), 0 1.5px 12px rgba(94,178,131,0.19);
  z-index: 1;
}
.feature-grid img, .team-overview img {
  height: 36px;
  width: 36px;
  margin-bottom: 5px;
}

/* --- BADGES & LABELS --- */
.badge {
  background: #5EB283;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 1.07rem;
  margin-bottom: 8px;
  display: inline-block;
  letter-spacing: 0.06em;
  box-shadow: 0 1px 4px rgba(51,89,122, 0.13);
}
.label {
  background: #33597A;
  color: #fff;
  border-radius: 10px;
  padding: 5px 12px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- UL LIST STYLES --- */
ul.benefit-list, ul.value-list, ul.contact-list, ul.team-values {
  list-style: none;
  padding: 0 0 0 0;
  margin: 12px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.benefit-list li:before, .value-list li:before {
  content: '✔';
  margin-right: 12px;
  color: #5EB283;
  font-weight: 700;
  font-size: 1rem;
}
ul.contact-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.04rem;
}
ul.contact-list img {
  height: 24px;
  width: 24px;
  opacity: 0.85;
}
.team-values li:before {
  content: '•';
  margin-right: 9px;
  color: #33597A;
}

/* --- CTA BUTTON & LINKS --- */
.cta-button, .cta-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #5EB283;
  color: #fff;
  border-radius: 24px;
  font-size: 1.07rem;
  padding: 12px 28px;
  margin-top: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(94,178,131,0.13);
  letter-spacing: 0.05em;
  line-height: 1.2;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  cursor: pointer;
  text-align: center;
}
.cta-button:hover, .cta-link:hover, .cta-button:focus, .cta-link:focus {
  background: #33597A;
  color: #fff;
  box-shadow: 0 6px 16px rgba(51,89,122,0.15);
  text-decoration: none;
  outline: none;
}
.cta-link {
  background: none;
  color: #5EB283;
  border: 2px solid #5EB283;
  padding: 10px 20px;
}
.cta-link:hover, .cta-link:focus {
  background: #5EB283;
  color: #fff;
}

/* --- FAQ --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-item {
  background: #F6F1E8;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(51,89,122,0.10);
  padding: 18px 22px;
  transition: box-shadow 0.19s;
}
.faq-item h3 {
  color: #5EB283;
  font-size: 1.13rem;
}
.faq-item p {
  margin-top: 8px;
  color: #33597A;
  font-size: 1.01rem;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  position: relative;
  background: #fff;
  border-left: 6px solid #5EB283;
  box-shadow: 0 2px 16px rgba(51,89,122,.12);
  margin-bottom: 24px;
  padding: 22px 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.testimonial-card img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F6F1E8;
}
.testimonial-card blockquote {
  color: #33597A;
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 500;
  margin-right: 16px;
  margin-bottom: 0;
  line-height: 1.55;
}
.testimonial-author {
  color: #5EB283;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-left: auto;
  font-weight: 600;
}
.rating {
  display: flex;
  align-items: center;
  color: #33597A;
  font-weight: 700;
  gap: 2px;
  font-size: 1.1rem;
  margin-top: 8px;
}
.rating img {
  width: 22px;
  height: 22px;
  margin-right: 2px;
}

/* --- TABLES (Stundenplan) --- */
.timetable {
  width: 100%;
  background: #F6F1E8;
  border-radius: 14px;
  box-shadow: 0 1px 11px rgba(51,89,122,0.07);
  border: none;
  margin-bottom: 22px;
  overflow: hidden;
}
.timetable th, .timetable td {
  padding: 16px 10px;
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
}
.timetable th {
  color: #fff;
  background: #33597A;
  font-weight: 700;
}
.timetable tbody tr:nth-child(odd) {
  background: #fff;
}
.timetable tbody tr:nth-child(even) {
  background: #F6F1E8;
}

/* --- MAP EMBED --- */
.map-embed {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
  margin-bottom: 4px;
  color: #5EB283;
  font-weight: 600;
}
.map-embed img {
  width: 28px;
  height: 28px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #33597A;
  color: #fff;
  padding: 28px 0 18px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.89;
}
.footer-nav a:hover {
  color: #5EB283;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.98rem;
  opacity: 0.84;
  margin-top: 6px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 950px) {
  .feature-grid > div, .service-list > div, .team-overview > div, .pricing-list > div {
    max-width: 99%;
    min-width: 180px;
    flex: 1 1 184px;
    padding: 18px 10px 18px 18px;
  }
  .timetable th, .timetable td {
    padding: 12px 6px;
    font-size: 0.98rem;
  }
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.43rem; }
  .section {
    padding: 26px 5px;
    margin-bottom: 41px;
  }
  .content-wrapper {
    padding: 16px 9px 18px 9px;
    gap: 17px;
  }
  .feature-grid, .service-list, .team-overview, .pricing-list {
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: center;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 16px 2px;
    margin-bottom: 24px;
  }
  .feature-grid > div, .service-list > div, .team-overview > div, .pricing-list > div, .testimonial-card {
    padding: 12px 4px 12px 10px;
  }
  .cta-button, .cta-link {
    font-size: 0.97rem;
    padding: 9px 10px;
  }
}

/* --- ANIMATIONS & HOVERS (Micro-interactions) --- */
.cta-button, .cta-link, .main-nav .cta-button, .main-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s;
}
.cta-button:active, .main-nav .cta-button:active {
  transform: scale(0.98);
}
.card:hover, .feature-grid > div:hover, .service-list > div:hover, .team-overview > div:hover, .pricing-list > div:hover {
  box-shadow: 0 8px 29px rgba(94,178,131,0.19), 0 2px 14px rgba(51,89,122,0.14);
}
.testimonial-card:hover {
  background: #F6F1E8;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 3px solid #33597A;
  color: #33597A;
  z-index: 5000;
  padding: 20px 16px 16px 16px;
  box-shadow: 0 -2px 16px rgba(51,89,122,0.09);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  animation: cookieIn 0.55s cubic-bezier(.77,0,.18,1) forwards;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookieIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p {
  color: #33597A;
  font-size: 1.01rem;
  margin-bottom: 7px;
  text-align: center;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.cookie-btn {
  background: #5EB283;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  box-shadow: 0 1px 8px rgba(51,89,122,0.09);
  padding: 8px 19px;
  cursor: pointer;
  transition: background 0.15s, color 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #33597A;
}
.cookie-btn-outline {
  background: #fff;
  color: #5EB283;
  border: 2px solid #5EB283;
}
.cookie-btn-outline:hover, .cookie-btn-outline:focus {
  background: #5EB283;
  color: #fff;
  border-color: #33597A;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(51,89,122, 0.34);
  z-index: 5100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieBackdropFade 0.27s;
}
@keyframes cookieBackdropFade {
 from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #33597A;
  border-radius: 14px;
  box-shadow: 0 7px 38px rgba(94,178,131,0.19), 0 1.5px 16px rgba(51,89,122,0.20);
  width: 98vw;
  max-width: 440px;
  padding: 28px 22px 18px 22px;
  position: relative;
  animation: cookieModalIn 0.29s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes cookieModalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1);    opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 1.49rem;
  color: #33597A;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover {
  color: #5EB283;
}
.cookie-modal h2 {
  color: #33597A;
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 14px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.cookie-setting-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.cookie-category-label {
  font-weight: 600;
  color: #5EB283;
  min-width: 60px;
  font-size: 1.06rem;
}
.cookie-category-desc {
  color: #33597A;
  font-size: 0.96rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 16px;
  background: #ddd;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #5EB283;
}
.cookie-toggle:disabled {
  background: #9f9f9f;
  cursor: not-allowed;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2.7px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.21s;
  box-shadow: 0 2px 7px rgba(51,89,122,0.13);
}
.cookie-toggle:checked:before {
  left: 18px;
}

@media (max-width: 480px) {
  .cookie-modal { padding: 16px 8px 10px 8px; }
}

/* Toggle visually hidden accessible text */
.visually-hidden {
  display: none;
}

/* --- ACCESSIBILITY FOCUS STYLES --- */
:focus, button:focus, a:focus {
  outline: 2px solid #5EB283;
  outline-offset: 1px;
}

/* --- END OF STYLE.CSS --- */
