/* CSS RESET & BASE ---------------------------------------------------- */
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, menu, ol, ul, li,
fieldset, form, label, legend, 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #FFFFFF;
  color: #174B3C;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.18;
  color: #174B3C;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
p, ul, ol {
  margin-bottom: 16px;
  color: #174B3C;
}
ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 8px;
}
a {
  color: #174B3C;
  text-decoration: none;
  transition: color 0.18s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #5A3C19;
  outline: none;
}
strong {
  font-weight: bold;
}


/* BRAND COLORS ---------------------------------------------------------- */
:root {
  --primary: #174B3C;
  --primary-rgb: 23,75,60;
  --secondary: #E2E7DF;
  --secondary-light: #F4F7F3;
  --accent: #5A3C19;
  --accent-light: #8E7A68;
  --white: #FFFFFF;
  --black: #0A1814;
  --grey: #EAECEA;
  --shadow: 0 4px 16px rgba(23,75,60,0.09);
}

/* STRUCTURE LAYOUT ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-section {
  width: 100%;
  background: var(--secondary-light);
  border-radius: 0 0 56px 56px;
  position: relative;
  margin-bottom: 48px;
}

/* FLEXBOX LAYOUTS ------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(23,75,60,0.08);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(23,75,60,0.16);
  transform: translateY(-4px) scale(1.02);
  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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--white);
  border: 2px solid var(--secondary);
  border-radius: 24px;
  min-width: 260px;
  max-width: 350px;
  box-shadow: 0 2px 16px rgba(23,75,60,0.07);
  transition: box-shadow 0.15s, border-color 0.16s;
}
.testimonial-card p {
  color: var(--black);
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(23,75,60,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  list-style: none;
}
.feature-grid li {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(23,75,60,0.07);
  border-radius: 18px;
  padding: 24px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border 0.15s;
  border: 2px solid var(--secondary);
}
.feature-grid li:hover, .feature-grid li:focus-within {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 22px rgba(23,75,60,0.11);
}
@media (max-width: 900px) {
  .feature-grid { gap: 20px; }
  .feature-grid li { min-width: 150px; }
}

.service-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
}
.service-overview li {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 22px 18px;
  flex: 1 1 260px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  border: 2px solid var(--secondary);
  transition: box-shadow 0.14s, border-color 0.16s;
}
.service-overview li:hover,
.service-overview li:focus-within {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(90,60,25,0.12);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.instructor-profile {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(23,75,60,0.08);
  padding: 22px 18px;
  flex: 1 1 260px;
  min-width: 190px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 2px solid var(--secondary);
  transition: box-shadow 0.13s, border-color 0.16s;
}
.instructor-profile:hover, .instructor-profile:focus-within {
  border-color: var(--accent);
  box-shadow: 0 7px 20px rgba(90,60,25,0.12);
}

.map-placeholder {
  background: var(--secondary-light);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(23,75,60,0.06);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.08rem;
  background: var(--secondary-light);
  padding: 13px 18px;
  border-radius: 9px;
  min-width: 220px;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 500;
}
.contact-info-item img {
  width: 22px;
  height: 22px;
}


/* HEADER & NAVIGATION --------------------------------------------------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(23,75,60,0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 68px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 25px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  letter-spacing: 0.08em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  text-transform: uppercase;
  padding: 11px 32px;
  border-radius: 12px;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.16s;
  box-shadow: 0 3px 16px rgba(23,75,60,0.07);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(90,60,25,0.11);
  transform: translateY(-2px) scale(1.025);
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  margin-left: 20px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--white);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.36,.92,.45,1.08);
  box-shadow: 0 2px 32px rgba(23,75,60,0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--primary);
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.12s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 36px;
  align-items: flex-start;
  padding-left: 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  background: transparent;
  padding: 12px 0;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}


/* FOOTER --------------------------------------------------------------- */
footer {
  background: var(--secondary-light);
  padding-top: 40px;
  margin-top: 50px;
  border-radius: 56px 56px 0 0;
  box-shadow: 0 -2px 12px rgba(23,75,60,0.05);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--grey);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}
.footer-links a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 0.97rem;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 17px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}
.footer-contact p {
  display: flex;
  align-items: center;
  color: var(--primary);
}
.footer-bottom {
  padding-top: 20px;
  text-align: left;
  font-size: 1rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer img {
  height: 48px;
  width: auto;
}


/* TABLES (STUNDENPLAN, PREISE, etc.) ------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: var(--secondary-light);
  border-radius: 15px;
  overflow: hidden;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid var(--secondary);
  font-size: 1.07rem;
}
th {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:nth-child(even), .schedule-table tr:nth-child(even) {
  background: var(--white);
}


/* THANK YOU, CTA, UTIL CLASSES ------------------------------------------ */
.thank-you-section, .cta-section {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
}


/* --- Animations / Transitions --- */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(24px);}
  to {opacity: 1; transform: none;}
}

.section, .card, .testimonial-card, .instructor-profile, .contact-info-item, .feature-grid li, .service-overview li {
  animation: fadeIn .68s cubic-bezier(.46,.88,.45,1.07) both;
}


/* RESPONSIVE DESIGN ----------------------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 1000px) {
  header .container {
    min-height: 54px;
    padding: 14px 13px;
  }
  .footer-top { gap: 20px; }
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .main-nav { gap: 10px; }
}
@media (max-width: 768px) {
  .section, .hero-section {
    padding: 34px 4vw;
    margin-bottom: 38px;
    border-radius: 18px;
  }
  .container { padding: 0 8px; }
  .content-grid,
  .card-container,
  .testimonial-list,
  .feature-grid,
  .service-overview,
  .team-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid { align-items: stretch; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .card, .testimonial-card, .feature-grid li, .service-overview li, .map-placeholder {
    padding: 15px 7px;
    min-width: 0;
    font-size: 0.97rem;
  }
  .contact-info-item { font-size: 0.97rem; }
  .footer-bottom { font-size: 0.97rem; }
}


/* COOKIE CONSENT BANNER ------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -4px 18px rgba(23,75,60,0.15);
  padding: 30px 24px 20px 24px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: transform 0.26s cubic-bezier(.65,.14,.36,1); 
  gap: 32px;
  border-radius: 22px 22px 0 0;
  animation: fadeIn .6s .1s both;
}
.cookie-banner.closed { 
  transform: translateY(130%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__content {
  max-width: 600px;
  font-size: 0.97rem;
  margin-right: 30px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  margin: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.17s, color 0.17s, box-shadow 0.22s;
  box-shadow: 0 2px 8px rgba(23,75,60,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(90,60,25,0.08);
}
.cookie-btn.outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  background: var(--accent-light);
  color: var(--white);
  border-color: var(--accent);
}

/* COOKIE PREFS MODAL ---------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,75,60,0.46);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .23s .02s both;
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 410px;
  width: 100%;
  box-shadow: 0 10px 64px rgba(23,75,60,0.22);
  padding: 34px 25px 27px 25px;
  position: relative;
  animation: fadeIn .22s .01s both;
}
.cookie-modal h2 {
  font-size: 1.14rem;
  margin-bottom: 15px;
  color: var(--accent);
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  transition: color 0.16s;
  border-radius: 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 21px;
  height: 21px;
  cursor: pointer;
  margin-left: 10px;
}
.cookie-category .essential {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.0rem;
}
.cookie-prefs-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 12px;
}

@media (max-width: 500px) {
  .cookie-banner,
  .cookie-modal {
    padding: 16px 6px 12px 6px;
    border-radius: 9px;
  }
  .cookie-banner__content { margin-right: 6px; }
  .cookie-modal { max-width: 97vw; }
}

/* --- GEOMETRIC DECOR (OPTIONAL/EXTRAS) --- */
.section::before {
  content: "";
  display: block;
  position: absolute;
  left: 18px;
  top: -16px;
  width: 52px;
  height: 6px;
  background: var(--primary);
  border-radius: 12px;
  opacity: 0.15;
  z-index: 0;
}
.section:first-of-type::before, .section:last-of-type::before {
  display: none;
}
.hero-section::before {
  content: '';
  display: block;
  position: absolute;
  right: 40px; top: 32px;
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  opacity: 0.09;
  border-radius: 16px 54px 3px 15px;
  transform: rotate(22deg);
  z-index: 0;
}

/* --- GEOMETRIC STRUCTURED BUTTON EFFECTS --- */
.cta-btn, .cookie-btn {
  box-shadow: 0 4px 14px rgba(23,75,60,0.09);
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  right: 8px; bottom: 8px;
  width: 17px; height: 17px;
  background: var(--accent-light);
  opacity: 0.09;
  border-radius: 0 8px 2px 12px;
  pointer-events: none;
  z-index: 1;
}


/* TYPOGRAPHY DETAILS (GEOMETRIC FEEL) ----------------------------------- */
:root {
  --display-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, .cta-btn, .main-nav a, .mobile-nav a, .footer-links a {
  font-family: var(--display-font);
  letter-spacing: 0.08em;
  font-weight: 700;
}
ul, li, p, td, th, blockquote, .card, .testimonial-card, .feature-grid li {
  font-family: var(--body-font);
}


/* FORMS (if forms are added in the future) ------------------------------ */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 11px 18px;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  background: var(--white);
  transition: border 0.14s;
  color: var(--primary);
  margin-bottom: 14px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--accent);
  outline: none;
}
button, .cookie-btn, .cta-btn {
  cursor: pointer;
  font-family: var(--display-font);
}


/* CUSTOM SCROLLBAR FOR STRUCTURE ---------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--secondary-light);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
}


/* UTILITY / SPACING HELPERS --------------------------------------------- */
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.pt-2 { padding-top: 16px !important; }
.pb-2 { padding-bottom: 16px !important; }
.pt-3 { padding-top: 24px !important; }
.pb-3 { padding-bottom: 24px !important; }

/* REMOVE UNWANTED OUTLINES (KEEP FOR ACCESSIBILITY) --------------------- */
a:active, button:active, .cta-btn:active { outline: none; }


/* END CSS -------------------------------------------------------------- */
