/* =============================================================
   kootsch – dein training
   styles.css
   ============================================================= */

/* ── 0. CUSTOM FONTS ───────────────────────────────────────── */
@font-face {
  font-family: 'Neulis Cursive';
  src: url('fonts/neulis-cursive-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Neue';
  src: url('fonts/neulis-neue.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Cursive';
  src: url('fonts/neulis-cursive-bold-italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Brand colours */
  --forest:  #004623;
  --heart:   #AA1914;
  --energy:  #EB5A0A;
  --balance: #B99BB9;
  --lime:    #A0B90F;
  --sun:     #FFDC00;
  --oat:     #D7C39B;
  --black:   #000000;
  --white:   #FFFFFF;
  --bg:      #F0EFED;
  --paper: #F2EDE1; /* Tabellen-Beige lt. Figma */

  /* Typography */
--font-display: 'Neulis Cursive', Georgia, serif;
--font-body:    'Neulis Neue', system-ui, sans-serif;

  /* Spacing & Shape */
  --radius-card: 16px;
  --transition:  0.25s ease;
}


/* ── 2. RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}


/* ── 3. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 40px 0px;
  transition: transform 0.3s ease; /* ← neu */
}

/* Ausgeblendet beim Runterscrollen */
.navbar.is-hidden {
  transform: translateY(-100%);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar__logo-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  
  color: var(--energy);
  letter-spacing: -0.02em;
}

.navbar__logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--energy);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.navbar__icon {
  width: 39px;
  height: 39px;
  stroke: var(--energy);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: pointer;
  transition: opacity var(--transition);
}

.navbar__icon:hover {
  opacity: 0.7;
}

.navbar__icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}


/* ── 4. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 55vw, 840px);
  overflow: hidden;
  background: #e8e6e2;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Forest banner overlapping bottom of hero */
.hero__banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 70, 35, 0.82);
  padding: 22px 32px 26px;
  text-align: center;
}

.hero__banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 6rem);
  font-weight: 600;
  color: var(--energy);
  line-height: 1.05;
}

/* Energy stripe below hero */
.energy-stripe {
  height: 10px;
  background: var(--energy);
}

.heart-stripe {
  height: 6px;
  background: var(--heart);
}


/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.btn:active { transform: translateY(0); }

.btn--forest {
  background: var(--forest);
  color: var(--white);
}
.btn--forest:hover {
  background: var(--energy);
}

.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: var(--white);
}


/* ── 6. SECTION DIVIDER ────────────────────────────────────── */
.divider {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--forest) 0%,
    var(--energy) 50%,
    var(--sun) 100%
  );
}


/* ── 7. INTRO ──────────────────────────────────────────────── */
.intro {
  padding: 70px 24px 30px;
  text-align: center;
  background: var(--white);
}

.intro__text {
  max-width: 975px;
  margin: 0 auto 28px;
  font-size: 1.94rem;
  line-height: 120%;
  color: var(--energy);
}


/* ── 8. OFFERS ─────────────────────────────────────────────── */
.offers {
  padding: 60px 24px 0px;
  background: var(--white);
}

.offers__inner {
  max-width: 975px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--energy);
  line-height: 1.25;
  margin-bottom: 14px;
  font-style: italic;
}

.section-header__sub {
  font-size: 1.94rem;
  line-height: 120%;
  color: var(--energy);
  margin: 0 auto;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
  border-bottom: 10px solid var(--energy); /* Fallback */
}


.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #d0ccc6 0%, #b8b3ac 100%);
}

.card__label {
  padding: 12px 14px 15px;
}



/* ── 9. TRIAL / PROBETRAINING ──────────────────────────────── */
.trial {
  background: var(--white);
  padding: 90px 24px 60px;
  text-align: center;
}

.trial__inner {
  max-width: 975px;
  margin: 0 auto;
}

.trial__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.94rem);
  font-weight: 700;
  color: var(--energy);
  margin-bottom: 16px;
  font-style: italic;
}

.trial__text {
  font-size: 1.94rem;
  line-height: 120%;
  color: var(--energy);
  margin-bottom: 32px;
}

.trial__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .navbar__logo img{height:50px;}
  .navbar{padding:15px 12px}
  .intro {
    padding: 50px 12px 25px;
    text-align: center;
    background: var(--white);
}
.offers {
    padding: 25px 12px 10px;
    background: var(--white);
}
.trial {
    background: var(--white);
    padding: 45px 12px 60px;
    text-align: center;
}
.section-header__sub,.intro__text,.trial__text{
  font-size:1rem;
}
.menu-overlay__nav {
        padding: 15px 12px !important;
    }
.card__label-text{
          font-size: 1rem !important;
}
}


/* ── 10. FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--white);
  padding: 30px 24px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__link,
.footer__social {
  font-size: 1.4rem;
  color: var(--energy);
  transition: color var(--transition);
}

.footer__link:hover,
.footer__social:hover {
  color: var(--energy);
}


/* ── 11. MENU OVERLAY ──────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  padding: 40px 0 0;
  /* hidden state: komplett nach oben aus dem Viewport geschoben */
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.45s;
}

.menu-overlay.is-open {
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay top navbar */
.menu-overlay__nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;   /* ← neu, identisch zu .navbar__inner */
  width: 100%;
  margin: 0 auto;      /* ← neu */
}

.menu-overlay__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.menu-overlay__logo-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--energy);
  letter-spacing: -0.02em;
}

.menu-overlay__logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--energy);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.menu-overlay__nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.menu-overlay__icon {
  width: 39px;
  height: 39px;
  stroke: var(--energy);
  fill: var(--energy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: pointer;
  transition: opacity 0.2s;
}

.menu-overlay__icon:hover {
  opacity: 0.65;
}

/* Close button: single dash — */
.menu-close-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.menu-close-icon {
  width: 28px;
  height: 4px;
  background: var(--energy);
  border-radius: 2px;
  transition: opacity 0.2s;
}

.menu-close-btn:hover .menu-close-icon {
  opacity: 0.65;
}

/* Nav links body */
.menu-overlay__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-bottom: 40px;
}

.menu-overlay__section {
  text-align: center;
  margin-bottom: 32px;
}

.menu-overlay__section:last-child {
  margin-bottom: 0;
}

/* Section label */
.menu-overlay__section-label {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--energy);
  line-height: 1.3;
}

/* Nav links */
.menu-overlay__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--energy);
  line-height: 1.25;
  padding: 4px 0;
  transition: opacity 0.2s, letter-spacing 0.2s;
}

/* Bottom energy stripe */
.menu-overlay__stripe {
  height: 6px;
  background: var(--energy);
  flex-shrink: 0;
}


/* ── 12. CHAT BUBBLE ───────────────────────────────────────── */
.chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--balance);
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
}

.chat-bubble:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}


/* ── 13. SCROLL ANIMATIONS ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .card {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease,
      box-shadow var(--transition);
  }

  .card.visible {
    opacity: 1;
    transform: translateY(0);
  }

}


/* ── 14. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 600px) {
  .slider__track .card {
  flex: 0 0 calc((100% - 16px) / 2);
}

  .hero {
    height: clamp(320px, 90vw, 480px);
  }

  .hero__banner {
    padding: 16px 20px 20px;
  }

  .trial__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    font-size: 1.4rem !important;
}
.menu-overlay{
  padding:0 12px;
}
.menu-overlay__logo img {
    height: 50px !important;
}

.footer__link, .footer__social {
    font-size: 1rem;
    color: var(--energy);
    transition: color var(--transition);
}

}


/* ── 15. WARUM-MIT-KOOTSCH PAGE ────────────────────────────── */

/* Intro text section */
.page-intro {
  background: var(--white);
  padding: 70px 24px 70px;
  text-align: center;
}

.page-intro__inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-intro__text {
  font-family: var(--font-body);
  font-size: 1.92rem;
  line-height: 120%;
  color: var(--energy);
  margin-bottom: 24px;
}

.page-intro__text:last-child {
  margin-bottom: 0;
}

.page-intro__heading {
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 700;
  color: var(--energy);
  margin-bottom: 16px;
  margin-top: 32px;
  font-style: italic;
}


/* Über Lukas section */
.ueber-lukas {
  padding: 0px 24px 0px;
}

.ueber-lukas__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ueber-lukas__title {
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 700;
  font-style: italic;
  
  color: var(--energy);
  margin-bottom: 12px;
}

.ueber-lukas__img {
  width: 100%;
  margin-bottom: 28px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.ueber-lukas__text {
  font-size: 1.92rem;
  line-height: 120%;
  color: var(--energy);
  margin-bottom: 24px;
  text-align: center;
}

.ueber-lukas__text:last-of-type {
  margin-bottom: 0;
}

.ueber-lukas__subheading {
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 700;
  font-style: italic;
  color: var(--energy);
  margin-bottom:24px;
}

.ueber-lukas__img-second {
  width: 100%;
  max-width: 480px;
  margin: 32px auto 0;
  display: block;
}

/* Active menu link */
.menu-overlay__link.is-active {
  font-weight: 900;
  pointer-events: none;
}

/* ── SLIDER ────────────────────────────────────────────────── */
.slider {
  position: relative;
  overflow: hidden;
}

.slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
    cursor: grab;
  touch-action: pan-y;   /* horizontal ziehen wir, vertikal scrollt die Seite */
  user-select: none;
  -webkit-user-select: none;
}
.slider__track.is-dragging {
  cursor: grabbing;
}

.slider__track .card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
}

.slider__dots {

  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  display:none;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--oat);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.slider__dot.is-active {
  background: var(--energy);
  transform: scale(1.3);
}

/* Farbbalken pro Karte durch die Marken-Palette rotieren lassen */
.slider__track .card:nth-child(5n+1) .card__img-wrap { border-bottom-color: var(--heart); }
.slider__track .card:nth-child(5n+2) .card__img-wrap { border-bottom-color: var(--oat); }
.slider__track .card:nth-child(5n+3) .card__img-wrap { border-bottom-color: var(--balance); }
.slider__track .card:nth-child(5n+4) .card__img-wrap { border-bottom-color: var(--lime); }
.slider__track .card:nth-child(5n+5) .card__img-wrap { border-bottom-color: var(--sun); }

/* card__label: größer, fett, mehr Luft nach oben */
.card__label {
  padding: 16px 4px 0;
}

.card__label-text {
  font-family: var(--font-display);
    font-size: 1.4rem;
  font-weight: 700;
  color: var(--energy);
  line-height: 120%;
  font-style:italic;
}

@media (max-width: 600px) {
  .trial__buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .trial__buttons .btn {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .slider__track .card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

.navbar__icon--profile {
  fill: var(--energy);
  stroke: none;
}

.navbar__icon--profile,
.menu-overlay__icon--profile {
  fill: var(--energy);
  stroke: none;
  shape-rendering: geometricPrecision;
}

/* ── 16. CLASSES & WORKOUTS PAGE ───────────────────────────── */
/* Ans Ende von styles.css anhängen.
   TODO: Beige-Ton #F2EDE1 und Schriftgrößen gegen Figma Dev Mode prüfen. */

/* Intro */
.course-intro {
  background: var(--white);
  padding: 56px 24px 24px;
  text-align: center;
}

.course-intro__inner {
  max-width: 980px;
  margin: 0 auto;
}

.course-intro__heading {
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 700;
  color: var(--energy);
  margin-bottom: 18px;
  font-style:italic;
}

.course-intro__text {
  font-size: 1.92rem;
  line-height: 120%;
  color: var(--energy);
  margin-bottom: 24px;
}

.course-intro__text:last-of-type {
  margin-bottom: 0;
}

.course-intro__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Kursfoto */
.course-photo {
  background: var(--white);
  padding: 32px 24px 0;
}

.course-photo__img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

/* Kursliste (Akkordeon) */
.course-list {
  background: var(--white);
  padding: 40px 24px 24px;
}

.course-list__inner {
  max-width: 980px;
  margin: 0 auto;
}

.course-item {
  border-bottom: 1.5px solid var(--forest);
}

.course-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 0;
  cursor: pointer;
  text-align: left;
}

.course-item__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--energy);
  line-height: 1.3;
  font-style: italic;
}

/* Plus-Icon aus zwei Balken – dreht sich beim Öffnen zum × */
.course-item__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.course-item__icon::before,
.course-item__icon::after {
  content: '';
  position: absolute;
  background: var(--energy);
  border-radius: 1px;
}

.course-item__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.course-item__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.course-item.is-open .course-item__icon {
  transform: rotate(45deg);
}

.course-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.course-item__text {
  font-size: 1.4rem;
  line-height: 120%;
  color: var(--energy);
  padding: 0 60px 16px 0px;
}

/* Kursplan */
.schedule {
  background: var(--white);
  padding: 48px 24px 48px;
}

.schedule__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.schedule__table th {
  background: var(--forest);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  padding: 12px;
}

.schedule__table td {
  border: 1px solid var(--energy);
  padding: 12px;
  vertical-align: top;
  color: var(--forest);
}

/* Trennung Vormittags-/Abendblock */
.schedule__row--evening td {
  border-top: 5px double var(--energy);
}

.schedule__mobile {
  display: none;
}

/* Preistabelle */
.pricing {
  background: var(--white);
  padding: 0px 24px 0px;
}

.pricing__table {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.pricing__table th,
.pricing__table td {
  border: 1px solid var(--energy);
  padding: 12px 14px;
  text-align: center;
  vertical-align: middle;
}

.pricing__table th {
  color: var(--forest);
  font-weight: 700;
  background: var(--white);
}

.pricing__card,
.pricing__price {
  background: #F2EDE1;
  color: var(--forest);
}

.pricing__note {
  font-size: 1.1rem;
  background: var(--white);
  padding: 6px;
  color: var(--forest);
}

/* Responsive */
@media (max-width: 768px) {
  .schedule__desktop {
    display: none;
  }

  .schedule__mobile {
    display: block;
  }

  .schedule__day {
    border: 1.5px solid var(--energy);
    margin-bottom: 20px;
  }

  .schedule__day-title {
    background: var(--forest);
    color: var(--bg);
    font-family: var(--font-display);
    font-weight: 700;
    padding: 10px 14px;
  }

  .schedule__slot {
    display: flex;
    gap: 14px;
    padding: 10px 14px;
    font-size: 0.9rem;
    border-top: 1px solid var(--energy);
  }

  .schedule__slots .schedule__slot:nth-child(odd) {
    background: #F2EDE1;
  }

  .schedule__slot-time {
    min-width: 44px;
    font-weight: 600;
  }

  .pricing__table {
    font-size: 0.72rem;
  }

  .pricing__table th,
  .pricing__table td {
    padding: 8px 6px;
  }
}

@media (max-width: 600px) {
  .course-intro {
    padding: 40px 12px 20px;
  }

  .course-intro__text {
    font-size: 1rem;
  }

  .course-photo {
    padding: 24px 12px 0;
  }

  .course-list {
    padding: 28px 12px 16px;
  }

  .course-item__text {
    font-size: 0.95rem;
  }

  .schedule {
    padding: 32px 12px 16px;
  }

  .pricing {
    padding: 16px 12px 40px;
  }
}

.photo-slider {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

.photo-slider__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.photo-slider__img {
  flex: 0 0 100%;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2; /* TODO: gegen Figma prüfen */
}

.course-item__subheading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--energy);
  margin: 4px 0 8px;
}

.course-item__list {
  list-style: none;          /* war: disc – Browser-Punkte aus */
  padding: 0 0 20px;
  font-size: 1.4rem;
  line-height: 120%;
  color: var(--energy);
}

.course-item__list li {
  position: relative;
  padding-left: 18px;        /* Platz für den Marker, Umbrüche bündig darunter */
  margin-bottom: 4px;
}

.course-item__list li::before {
  content: '\00B7\00B7';     /* ·· – zwei Mittelpunkte */
  position: absolute;
  left: 0;
  top: 0;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Outro-Variante: sitzt nach der Preistabelle, braucht weniger Luft oben */
.page-lead--outro {
  padding-top: 8px;
}

.page-lead--outro .page-lead__buttons {
  margin-top: 24px;
}

/* ── PAGE-LEAD (Intro/Outro auf Unterseiten) ───────────────── */
.page-lead {
  background: var(--white);
  padding: 56px 24px 24px;
  text-align: center;
}

.page-lead__inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-lead__heading {
  font-family: var(--font-display);
  font-size: 1.94rem;
  font-weight: 700;
  color: var(--energy);
  margin-bottom: 18px;
  font-style: italic;
}

.page-lead__text {
  font-size: 1.92rem;
  line-height: 120%;
  color: var(--energy);
  margin-bottom: 24px;
}

.page-lead__text:last-of-type {
  margin-bottom: 0;
}

.page-lead__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Outro-Variante: sitzt nach der Preistabelle, braucht weniger Luft oben */
.page-lead--outro {
  padding-top: 8px;
}

.page-lead--outro .page-lead__buttons {
  margin-top: 24px;
}

/* ── PAGE-PHOTO (zentriertes Einzelbild auf Unterseiten) ───── */
.page-photo {
  background: var(--white);
  padding: 32px 24px 0;
}

.page-photo__img {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 600px) {
  .page-lead {
    padding: 40px 12px 20px;
  }

  .page-lead__text {
    font-size: 1rem;
  }

  .page-photo {
    padding: 24px 12px 0;
  }
}

/* Kontaktseite */
.contact {
  background: var(--white);
  padding: 56px 24px 8px;
  text-align: center;
}

.contact__line {
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 700;
  color: var(--energy);
  line-height: 1.8;
}

.contact__link {
  transition: opacity var(--transition);
}

.contact__link:hover {
  opacity: 0.7;
}

.map {
  background: var(--white);
  padding: 48px 24px 24px;
}

.map__frame {
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

.map__img {
  width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .contact {
    padding: 40px 12px 4px;
  }

  .contact__line {
    font-size: 1rem;
  }

  .map {
    padding: 32px 12px 16px;
  }
}

/* Rechtstexte (Impressum, Datenschutz) */
.legal {
  background: var(--white);
  padding: 56px 24px 64px;
}

.legal__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.legal__heading {
  font-family: var(--font-display);
  font-size: 1.98rem;
  font-weight: 700;
  color: var(--energy);
  margin: 36px 0 12px;
  font-style: italic;
}

.legal__heading:first-child {
  margin-top: 0;
}

.legal__text {
  font-size: 1.9rem;
  line-height: 120%;
  color: var(--energy);
}

.legal__link {
  text-decoration: underline;
  transition: opacity var(--transition);
}

.legal__link:hover {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .legal {
    padding: 40px 12px 48px;
  }
}

/* Variante: alle Spalten exakt gleich breit (lt. Figma: 227 × 52 px pro Zelle) */
.pricing__table--equal {
  table-layout: fixed;
  width: 100%;
  max-width: 940px; /* 4 × 227px */
}

.pricing__table--equal th,
.pricing__table--equal td {
  height: 52px;
  padding: 12px 14px;
  vertical-align: middle;
  font-size:1.2rem;
}

.menu-overlay__logo img {
  height: 90px;
}

.course-item__header--static {
  cursor: default;
}

.schedule__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;         /* alle 7 Spalten exakt gleich breit */
  font-size: 1.1rem;
  line-height: 1.45;
}

.schedule__table td {
  border: 1px solid var(--energy);
  padding: 14px 12px;
  vertical-align: top;
  color: var(--forest);         /* Zellentext dunkelgrün lt. Vorlage */
}

/* Weiße Lücken zwischen Header, Vormittags- und Abendblock */
.schedule__spacer td {
  border: none;
  background: var(--white) !important;
  padding: 0;
  height: 12px;
}

/* Zebra vertikal: ungerade Spalten beige (Mo, Mi, Fr, So) */
.schedule__table tbody tr:not(.schedule__spacer) td:nth-child(odd) {
  background: #F4F0E7; /* TODO: exakten Wert im Dev Mode gegenprüfen */
}

.schedule__time {
  float: left;
  min-width: 48px;
  margin-right: 12px;
}

.schedule__name {
  display: block;
  overflow: hidden;
  hyphens: manual;   
}

/* Feine weiße Trennlinien zwischen den Header-Zellen */
.schedule__table th + th {
  border-left: 1px solid var(--white);
}

.navbar__icon-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.navbar__icon-link:hover .navbar__icon,
.navbar__icon-link:hover .menu-overlay__icon {
  opacity: 0.7;
}

/* ── 16. LEGAL (Impressum / Datenschutz) ───────────────────── */
.legal {
  background: var(--white);
  padding: 60px 24px 70px;
}

.legal__inner {
  max-width: 975px;
  margin: 0 auto;
}

.legal__heading {
  font-family: var(--font-display);
  font-size: 1.94rem;
  font-weight: 700;
  font-style: italic;
  color: var(--energy);
  margin: 36px 0 12px;
}

.legal__heading:first-child {
  margin-top: 0;
}

.legal__text {
  font-size: 1.84rem;
  line-height: 120%;
  color: var(--energy);
  margin-bottom: 16px;
}

.legal__list li{
  font-size: 1.84rem;
  line-height: 120%;
}



.legal__text--meta {
  margin-top: 40px;
    font-size: 1.94rem;
  opacity: 0.7;
}

.legal__list {
  margin: 0 0 16px 20px;
  color: var(--energy);
  line-height: 1.78;
}

.legal__link {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.legal__link:hover {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .legal {
    padding: 36px 16px 48px;
  }

  .legal__heading {
    font-size: 1rem;
    margin: 28px 0 10px;
  }

  .legal__text,
  .legal__list {
    font-size: 0.95rem;
    line-height: 120%;
  }
}