/* =========================
   DESIGN TOKENS
========================= */
:root {
  /* Brand */
  --off-white: #f9faf7;
  --primary-color: #034732;
  --text-color: #1d2a24;
  --sage: #a3d8b0;
  --sage-muted: #d6ddc2;
  --plum: #854373;
  --magenta-soft: #f8bef2;

  /* UI */
  --surface: #fff;
  --border: rgba(3, 71, 50, 0.12);
  --radius: 16px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* =========================
   BASE / TYPO
========================= */
html,
body {
  background: var(--off-white);
  color: var(--text-color);
  color-scheme: light;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.7;
  margin: 0;

  /* Grid-Offset für JS */
  --grid-shift-x: 0px;

  /* Offwhite bleibt Basis */
  background-color: var(--off-white);

  /* Kariertes Muster – wie Matheblock */
  background-image: linear-gradient(
      to right,
      rgba(3, 71, 50, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(3, 71, 50, 0.07) 1px, transparent 1px);
  background-size: 60px 60px; /* Rastergröße */
  background-position: var(--grid-shift-x) 0, var(--grid-shift-x) 0;
}

body.no-scroll {
  overflow: hidden;
  touch-action: none;
}


h1,
h2,
h3 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400; 
  font-style: normal;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  color: var(--primary-color);
}

main {
  padding-bottom: 6rem; /* Global footer spacing */
  min-height: 80vh;
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 2rem);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  color: var(--plum);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--sage);
  color: #0b2b21;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 700;
  font-size: 0.9rem;
}
.pill-muted {
  background: var(--off-white);
  color: var(--text-color);
}

::selection {
  background: var(--sage);
  color: #0b2b21;
}

/* =========================
   HEADER / NAV
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

nav .logo img {
  height: clamp(40px, 5vw, 60px); /* Slightly smaller to fit text */
  width: auto;
}

nav .logo .logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link-highlight {
  color: var(--primary-color);
  background: rgba(163, 216, 176, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.nav-link-highlight:hover {
  background: rgba(163, 216, 176, 0.35);
  transform: translateY(-1px);
}

nav li {
  position: relative;
}

.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.has-submenu > a::after {
  content: "▾";
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.has-submenu:hover > a::after,
.has-submenu:focus-within > a::after {
  transform: rotate(-180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 200px;
  padding: 0.35rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  padding: 0.7rem 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.submenu a:hover {
  background: rgba(3, 71, 50, 0.06);
  color: var(--primary-color);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   HERO
========================= */
/* =========================
   HERO
========================= */
.hero {
  padding: clamp(4rem, 10vw, 7rem) 2rem;
  text-align: center;
  background: radial-gradient(
      circle at 50% 30%,
      rgba(163, 216, 176, 0.35),
      transparent 60%
    ),
    /* Subtle noise or texture could go here */
    var(--off-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.hero-text {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base Glass Class */
.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
}

/* =========================
   WHY US (Trust Signals)
========================= */
/* =========================
   WHY US (Flip Cards)
========================= */
.why-us {
  padding: 4rem 2rem;
  background: transparent; /* Remove solid bg to show pattern */
  text-align: center;
  border-top: none; 
  margin-bottom: 2rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Wider cards */
  gap: clamp(3rem, 5vw, 5rem); /* Much larger gap */
  margin-top: 4rem;
  /* perspective moved to individual cards for specific center-flip */
}

/* Flip Card Container */
.flip-card {
  background-color: transparent;
  height: 280px; /* Fixed height for consistent flip */
  cursor: pointer;
  perspective: 1000px; /* Individual perspective for centered flip */
  position: relative;
  z-index: 1;
}
.flip-card:hover {
  z-index: 10; /* Float above others when flipping */
}

/* Inner Container (Moves) */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
  transform-origin: center center; /* Force strict center pivot */
}

/* Hover / Focus State */
.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Front Style */
.flip-card-front {
  background: rgba(255, 255, 255, 0.6); /* Glass */
}
.flip-card-front h3 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0;
  color: var(--primary-color);
}

/* Back Style */
.flip-card-back {
  background: rgba(255, 255, 255, 0.9); /* More opaque for text */
  transform: rotateY(180deg);
}
.flip-card-back p {
  font-size: 1rem;
  color: var(--text-color);
  margin: 0;
}

/* =========================
   FOUNDER SPOTLIGHT
========================= */
.founder-spotlight {
  padding: clamp(3rem, 5vw, 5rem) 2rem;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(163, 216, 176, 0.15) 100%);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 4px solid #fff;
}

.founder-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.founder-content .lead {
  font-size: 1.15rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6.5rem); /* Responsive Giant */
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  max-width: 600px;
  margin: 0.5rem auto 1.5rem;
  color: #2d4036;
  font-weight: 500;
}
.hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.cta-button:hover {
  background: #023827;
  transform: translateY(-2px);
}
.cta-button.ghost {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(3, 71, 50, 0.18);
}
.cta-button.ghost:hover {
  background: rgba(3, 71, 50, 0.08);
  transform: translateY(-1px);
}

/* =========================
   ÜBER UNS / KONTAKT
========================= */
#ueber-uns {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-block: clamp(1.25rem, 3vw, 2.25rem);
}

#kontakt {
  text-align: center;
}

#kontakt form {
  max-width: 560px;
  margin: 1.25rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

#kontakt input,
#kontakt textarea {
  padding: 12px 14px;
  border: 1px solid rgba(3, 71, 50, 0.18);
  border-radius: 10px;
  font-family: inherit;
  background: #fff;
}

#kontakt button {
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus,
textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(163, 216, 176, 0.25);
}

/* =========================
   TIMELINE
========================= */
#seminar-timeline {
  max-width: 1200px;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.timeline-intro {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 1rem;
}

.timeline-sticky-container {
  position: relative;
  margin: 0 auto;
}

.timeline-track-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  padding: 12px clamp(20px, 4vw, 32px) 24px;
  scroll-snap-type: x mandatory;

  /* ⬇️ WICHTIG: kein eigener Hintergrund */
  background: transparent;

  /* ⬇️ optional: Container nicht mehr wie eine Card wirken lassen */
  border: none;
  box-shadow: none;
}

.timeline-track {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 3vw, 32px);
  padding-bottom: 8px;
}

.timeline-link {
  display: block;
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none; /* Ensure no underline here */
  position: relative;
  z-index: 10; /* Ensure it lies above background */
}
.timeline-link:hover {
  transform: none;
  cursor: pointer;
}

/* Card-Base */
/* Card-Base */
.timeline-event {
  position: relative;
  /* Glassmorphism upgrade */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  
  border-top: 6px solid var(--primary-color);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  min-width: clamp(280px, 60vw, 420px);
  min-height: clamp(220px, 44vh, 320px);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-top-color 0.3s ease;
  overflow: hidden; 
  
  /* Animation Hook */
  opacity: 0; /* Starts hidden for animation */
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger Animations via Child Index (approximate for track items) */
.timeline-track .timeline-link:nth-child(1) .timeline-event { animation-delay: 0.1s; }
.timeline-track .timeline-link:nth-child(2) .timeline-event { animation-delay: 0.2s; }
.timeline-track .timeline-link:nth-child(3) .timeline-event { animation-delay: 0.3s; }
.timeline-track .timeline-link:nth-child(4) .timeline-event { animation-delay: 0.4s; }

.timeline-event h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem); /* Larger font */
  line-height: 1.2;
}
.timeline-event p {
  margin: 0.5rem 0;
  opacity: 0.9;
  font-size: 1.05rem;
}

.timeline-event:hover {
  border-top-color: var(--plum);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* Bild-Overlay-Layer (weiß bleibt darunter) */
.timeline-event::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15; /* Reduced opacity for better contrast */
  z-index: 0;
  mix-blend-mode: multiply;
}
.timeline-event > * {
  position: relative;
  z-index: 1;
}

.seminar--pm::before {
  background-image: url("/assets/seminare/pm.png");
}
.seminar--fuehrung::before {
  background-image: url("/assets/seminare/fuehrung.png");
}
.seminar--agil::before {
  background-image: url("/assets/seminare/agil.png");
}
.seminar--marketing::before {
  background-image: url("/assets/seminare/marketing.png");
}
.timeline-event::before {
  opacity: 0.22;
}

.event-date {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--sage);
  color: #0b2b21;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 0.5rem;
}

/* Chevron & Icon */
.card-chevron {
  position: absolute;
  right: 14px;
  bottom: 12px;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.timeline-link:hover .card-chevron,
.timeline-event:hover .card-chevron {
  opacity: 0.9;
  transform: translateY(-1px);
}
.icon-cal {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.85;
}

/* Arrow Nav */
.timeline-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
  place-items: center;
  cursor: pointer;
  color: var(--primary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  z-index: 5;
  transform: translateY(-50%);
}
.timeline-nav.is-active {
  display: grid;
}
.timeline-nav--left {
  left: 10px;
}
.timeline-nav--right {
  right: 10px;
}
.timeline-nav:hover {
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
.timeline-nav:disabled {
  opacity: 0.4;
  cursor: default;
  transform: translateY(-50%);
}

.timeline-hint {
  text-align: center;
  font-weight: 600;
  color: rgba(29, 42, 36, 0.7);
  margin: 0.25rem 0 0.75rem;
  font-size: 0.95rem;
}

/* =========================
   SEMINAR DETAIL LAYOUT
========================= */
.seminar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(16px, 3vw, 32px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.seminar-grid article,
.facts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.facts-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 0.25rem;
  column-gap: 0.75rem;
  margin: 0 0 1rem;
}
.facts-card dt {
  font-weight: 700;
}
.facts-card dd {
  margin: 0;
}
.agenda {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.agenda-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--off-white);
}
.agenda-row .time {
  font-weight: 700;
  color: var(--primary-color);
}
.agenda-row .topic {
  color: var(--text-color);
}

@media (max-width: 920px) {
  .seminar-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Kontakt-Feedback Overlay ===== */
.form-status[hidden] {
  display: none;
}

.form-status {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  z-index: 2000;
  padding: 1rem;
}

.form-status__box {
  width: min(560px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: center;
}

.form-status__box h3 {
  margin: 0 0 0.5rem;
}

.form-status__box p {
  margin: 0 0 1rem;
}

.form-status__close {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
}
.form-status__close:hover {
  background: #023827;
}
.team-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}
/* ----------------------
   Partner Section
----------------------- */
.about-partner {
  text-align: center;
}

.partner-intro {
  max-width: 780px;
  margin: 0.5rem auto 1.75rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.partner-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  background: #fff;
}

.partner-card h3 {
  margin: 0.25rem 0 0.25rem;
}

/* ----------------------
   Location Section
----------------------- */
.about-location {
  margin-top: 2rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  margin-top: 1rem;
}

.location-media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.location-media img {
  width: 100%;
  height: clamp(240px, 35vw, 420px);
  object-fit: cover;
  display: block;
}

.location-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.location-address {
  margin: 1rem 0 1.25rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.6;
}

/* =========================
   SEMINAR-ÜBERSICHT
========================= */
.seminar-hero {
  text-align: center;
}

.seminar-overview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto;
}

.overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-counter {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.filter-panel {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.filter-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: end;
}

.filter-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.filter-field input,
.filter-field select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid var(--sage);
}

.search-field input {
  padding-right: 1rem;
}

.checkbox-group {
  grid-template-columns: 1fr;
  align-content: center;
}
.checkbox-group label {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.seminar-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.seminar-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-top-color 0.2s ease;
  border-top: 6px solid var(--primary-color);
}

.seminar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--plum);
}

.seminar-card h3 {
  margin: 0.2rem 0 0.3rem;
}

.seminar-card .card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.card-date {
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.card-teaser {
  margin: 0.35rem 0 0.65rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .overview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-row {
    grid-template-columns: 1fr;
  }
  .filter-actions {
    justify-content: flex-start;
  }
}

/* =========================
   INFO-SEITEN
========================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: 1rem;
}

.info-card,
.faq-item,
.news-card,
.teacher-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.info-card h3,
.faq-item h3,
.news-card h3,
.teacher-card h3 {
  margin: 0 0 0.45rem;
}

.info-card p,
.news-card p {
  margin: 0 0 0.75rem;
}

.teacher-card p {
  margin: 0 0 0.5rem;
}

.faq-list,
.news-list,
.teacher-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.teacher-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.teacher-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.instructor-avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}

.instructor-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--surface); 
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* VAT Note Styles */
.vat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.vat-note-checkout {
  font-size: 0.7rem;
  color: #666;
  display: block;
  font-weight: 400;
  margin-top: 2px;
}

.teacher-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: rgba(29, 42, 36, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(3, 71, 50, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

/* Mobile: untereinander */
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-content {
    text-align: center;
  }
}
/* =========================
   Anfrage-Seite – sauberes, gleichmäßiges Layout
========================= */

/* Button: sauberer Rand + volle Rundung (ohne abgeschnittene Outline) */
#anfrage .contact-form-wrap button,
#anfrage button[type="submit"] {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

#anfrage .contact-form-wrap button:hover,
#anfrage button[type="submit"]:hover {
  filter: brightness(0.95);
}

/* Form-Grid: gleichmäßige Spalten + kein Überlaufen */
#anfrage form {
  display: grid;
  gap: 1.25rem; /* gleichmäßiger als 1.5rem */
  grid-template-columns: 1fr; /* Mobile: untereinander */
  align-items: start;
}

/* Desktop: Vorname + Nachname nebeneinander, Rest volle Breite */
@media (min-width: 720px) {
  #anfrage form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.25rem;
  }

  #anfrage form input[type="email"],
  #anfrage form input[type="hidden"],
  #anfrage form button,
  #anfrage form label {
    grid-column: 1 / -1;
  }
}

/* Inputs: gleiche Höhe/Optik, verhindern Überragen */
#anfrage input[type="text"],
#anfrage input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(3, 71, 50, 0.18);
  border-radius: 12px;
  background: #fff;
  line-height: 1.2;
}

/* Checkbox-Zeilen: links Checkbox, rechts Text – sauber zentriert */
#anfrage .filter-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(3, 71, 50, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  width: 100%;
}

#anfrage .filter-field input[type="checkbox"] {
  margin: 0; /* <- verhindert “drüber” */
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--primary-color);
}

/* Text darf umbrechen ohne Layout zu zerreißen */
#anfrage .filter-field span {
  line-height: 1.35;
  display: inline-block;
}

/* Hover/Focus */
#anfrage .filter-field:hover {
  border-color: rgba(3, 71, 50, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

#anfrage .filter-field:focus-within {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

/* Rechte Info-Spalte als Card */
#anfrage .contact-info {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(3, 71, 50, 0.1);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.25rem);
  box-sizing: border-box;
}

#anfrage .contact-info h2 {
  margin-top: 0;
}
footer {
  opacity: 1 !important;
  transform: none !important;
}
/* =========================
   NEWSLETTER MODAL
========================= */
body.newsletter-modal-open {
  overflow: hidden;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3000;
  padding: 1rem;
}

.newsletter-modal[hidden] {
  display: none;
}

.newsletter-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.newsletter-modal__panel {
  position: relative;
  width: min(560px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-hover);
  z-index: 1;
}

.newsletter-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
}

.newsletter-modal__close:hover {
  background: var(--off-white);
}

.newsletter-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.newsletter-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(3, 71, 50, 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.newsletter-form__checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.newsletter-form__checkbox input {
  margin-top: 0.25rem;
}

.newsletter-form__hint {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(29, 42, 36, 0.7);
}

.newsletter-form__status {
  min-height: 1.2rem;
  font-weight: 600;
}

.newsletter-form__status.is-success {
  color: #0c5f3c;
}

.newsletter-form__status.is-error {
  color: #b04b4b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* =========================
   FOOTER – FINAL LAYOUT
========================= */
.site-footer {
  background: var(--plum);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* 2 Spalten: links (Adler+Links) | rechts (Newsletter) */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
}

/* Links: Adler mittig links, Links daneben */
.site-footer .footer-left {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.site-footer .footer-logo {
  height: clamp(120px, 10vw, 180px);
  width: auto;
  display: block;
  justify-self: start;
}

.site-footer .footer-links {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  text-align: left;
}

/* Rechts: Newsletter Box bündig, modern */
.site-footer .footer-right {
  justify-self: end;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: var(--shadow-soft);
  color: var(--text-color);
}

.site-footer .footer-news-title {
  margin: 0 0 0.35rem;
}

.site-footer .footer-news-sub {
  margin: 0 0 1rem;
  color: rgba(29, 42, 36, 0.7);
}

.site-footer .footer-right a {
  color: var(--primary-color);
}

.site-footer .footer-copy {
  margin: 2rem 0 0;
  text-align: center;
  font-weight: 600;
}

/* Update: Grid für Name + Email + Button */
.site-footer .footer-news-row {
  display: grid;
  /* Desktop: Name (1 Teil) | Email (1 Teil) | Button (Auto) */
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.site-footer .footer-news-row input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(3, 71, 50, 0.18);
  background: #fff;
  color: var(--text-color);
  font-family: inherit;
  box-sizing: border-box;
}

.site-footer .footer-news-row button {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap; /* Verhindert Umbruch im Button */
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.site-footer .footer-news-row button:hover {
  background: #023827;
  transform: translateY(-1px);
}

/* Mobile Anpassung für den Footer-Newsletter */
@media (max-width: 600px) {
  .site-footer .footer-news-row {
    grid-template-columns: 1fr; /* Alles untereinander */
  }
  .site-footer .footer-news-row button {
    width: 100%; /* Button über volle Breite */
  }
}

.site-footer .footer-news-row input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(3, 71, 50, 0.18);
  background: #fff;
  color: var(--text-color);
  font-family: inherit;
  box-sizing: border-box;
}

.site-footer .footer-news-row button {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.site-footer .footer-news-row button:hover {
  background: #023827;
  transform: translateY(-1px);
}

/* Checkbox links neben Text */
.site-footer .footer-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(3, 71, 50, 0.12);
  background: var(--off-white);
  user-select: none;
}

.site-footer .footer-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--sage);
}


/* Mobile: untereinander */
@media (max-width: 860px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer .footer-left {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .footer-logo {
    margin: 0 auto;
  }

  .site-footer .footer-links {
    text-align: center;
    justify-items: center;
  }

  .site-footer .footer-right {
    justify-self: stretch;
  }
}

/* =========================
   RESPONSIVE & MOBILE NAV
========================= */

/* Mobile Nav Toggle Button (Hidden on Desktop) */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2000;
  position: relative;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
}

/* Transform Toggle Button to X */
.mobile-nav-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Media Query for Mobile/Tablet */
@media (max-width: 900px) {
  /* Header Adjustments */
  nav {
    padding: 0 1rem;
  }

  .mobile-nav-toggle {
    display: block; /* Show hamburger */
  }

  /* Nav List - Mobile View (Sidebar/Overlay) */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%; /* Slide out by default */
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    margin: 0; /* Reset default margins */
    z-index: 1001;
  }

  nav ul.is-active {
    right: 0; /* Slide in */
  }

  nav li {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  /* Submenu Mobile - Display as accordion or flat list */
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1rem;
    display: none; /* Hide by default, maybe toggle via JS or CSS */
  }
  
  .has-submenu:hover .submenu,
  .has-submenu.active .submenu { /* Check for active class for mobile touch */
     display: block; 
  }
  
  /* Simplify Submenu arrow for mobile if always expanded or clickable */
  .has-submenu > a::after {
      display: none; 
  }

  /* Typography Adjustments */
  .hero h1 {
    font-size: 3rem; 
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  /* Padding Adjustments */
  section {
    padding: 2rem 1rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-news-row {
    grid-template-columns: 1fr; 
  }
  
  .footer-news-row button {
    width: 100%;
  }
}

/* =========================================
   Cookie Consent Modal
   ========================================= */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  background: var(--surface);
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-color);
}

.cookie-modal h2 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.cookie-modal p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-toggles {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  display: none; /* Hidden by default */
}

.cookie-toggles.is-visible {
  display: flex;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--off-white);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cookie-toggle-label {
  font-weight: 500;
  color: var(--primary-color);
  display: block;
}

.cookie-toggle-desc {
  font-size: 0.8rem;
  color: rgba(29, 42, 36, 0.7);
  display: block;
}

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--sage);
}

input:disabled + .slider {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.5;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.cookie-btn-primary {
  background: var(--primary-color);
  color: #fff;
}
.cookie-btn-primary:hover {
  filter: brightness(1.1);
}

.cookie-btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-color);
}
.cookie-btn-secondary:hover {
  background: var(--off-white);
}

.cookie-btn-text {
  background: none;
  color: rgba(29, 42, 36, 0.7);
  text-decoration: underline;
  padding: 0.6rem 0;
  margin-right: auto; 
}
.cookie-btn-text:hover {
  color: var(--primary-color);
}

/* =========================================
   CHECKOUT WIZARD
   ========================================= */
.checkout-container {
  padding-top: 2rem;
  padding-bottom: 6rem; /* Ensures space before footer */
  min-height: 80vh;
}

.checkout-container {
  max-width: 1000px;
  margin: 1rem auto;
  padding: 3rem;
}

.checkout-header {
  text-align: center;
  margin-bottom: 2rem;
}

.checkout-sub {
  color: var(--text-color);
  opacity: 0.8;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-steps .step {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.progress-steps .step.is-active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Wizard Steps */
.wizard-step {
  display: none;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  animation: fadeIn 0.4s ease;
}

.wizard-step.is-visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Option Cards (Radio) */
.options-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.option-card:hover {
  border-color: var(--sage);
  background: var(--off-white);
}

.option-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
}

.option-card:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(3, 71, 50, 0.04);
}

.option-content {
  display: flex;
  flex-direction: column;
}

.option-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.option-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.option-price {
  font-weight: 700;
  color: var(--text-color);
  margin-top: 0.25rem;
}

/* Single Option (Static) */
.single-option .option-card.is-selected {
  border-color: var(--primary-color);
  background: var(--off-white);
  cursor: default;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}

.discount-note {
  font-size: 0.9rem; /* Increased slightly */
  font-weight: 500;
  background: #fdfae7;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #dcd498; /* Bit darker */
  color: #5c5525;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Summary Card */
.summary-card {
  background: var(--off-white);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.summary-item:last-child {
  border-bottom: none;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Success State */
.checkout-success {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 600px;
  margin: 2rem auto;
}

.success-icon {
  font-size: 3rem;
  color: var(--primary-color);
  background: var(--sage);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .step-actions {
    flex-direction: column-reverse; /* Buttons stack */
    gap: 1rem;
  }
  .step-actions button {
    width: 100%;
  }
}

/* =========================================
   Mobile Section Layout Fixes
   ========================================= */
@media (max-width: 768px) {
  /* Team Section: Horizontal Scroll Snap instead of stacking */
  .team-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-inline: -1rem; /* Full bleed scroll */
    padding-inline: 1rem;
  }
  .team-member {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  /* Partner Section: Keep logos side-by-side */
  .partner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .partner-card {
    padding: 1rem;
  }
  .partner-card h3 {
    font-size: 1.1rem;
  }

  /* Seminar Overview Header: Fix overlap issue */
  .seminar-overview {
    scroll-margin-top: 80px; /* Offset for sticky header */
  }
  .overview-header {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 10;
  }
}

