/* =========================================================
   Circle of Life BJJ — CONSOLIDATED CSS (no features removed)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --brand: #14182b;
  --brand-dark: #101323;
  --accent: #bfa24a;             /* Gold (Akzent) */
  --gold: #f5c84b;               /* warmer Goldton */
  --gold-2: #ffe17c;
  --accent-light: #f5efe3;
  --secondary: #3f4a60;
  --neutral: #e4e6ec;
  --bg-muted: #f7f8fa;
  --white: #fff;
  --radius: 0.8em;
  --radius-sm: 0.8em;
  --shadow: 0 4px 18px rgba(20,24,43,0.07);
  --font-head: "Plus Jakarta Sans", Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --nav-h: 64px;
  --nav-alpha: 0;
  --glass-bg: rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.22);
  --hero-line:       rgba(191,162,74, .9);   /* Gold-Linie */
  --hero-fade-start: rgba(191,162,74, .14);  /* zarter Goldschimmer */  
  --hero-fade-end:   rgba(191,162,74, 0); 
  --page-bg: #fff;   
  --faq-text: #111;          /* sehr dunkel */
  --faq-border: #e5e7eb;     /* helles Grau */
  --faq-brand: #f39c12;      /* deine Orange */
  --faq-focus: rgba(243,156,18,.35); 
}

html {
  scroll-behavior: smooth;               /* sanftes Scrollen */
  scroll-padding-top: var(--nav-h);              /* Höhe deiner Navbar */
}


/* ---------- Base ---------- */
html, body {
  font-family: var(--font-body);
  color: var(--brand-dark);
  background:
    linear-gradient(
      to bottom,
      var(--brand) 0,
      var(--brand) var(--nav-h),
      var(--page-bg) var(--nav-h),
      var(--page-bg) 100%
    );
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand);
  margin-bottom: .5em;
}
h1 { font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.3rem; }
a { color: var(--secondary); transition: color .2s ease; text-decoration: none; }
a:hover, a:focus { color: var(--accent); }

/* Navbar kompakt */
.navbar {
  font-size: .9rem;              /* kleinere Typo */
  line-height: 1.2;
}

/* Logo kompakter */
.navbar-brand img { width: 42px; height: 42px; }
.navbar-brand strong { font-size: .95rem; font-weight: 700; }

/* Navigation enger */
.nav-compact .nav-item { margin: 0 .15rem; }
.nav-compact .nav-link {
  padding: .25em .6em;
  font-weight: 600;
  color: var(--brand);
  border-radius: .3rem;
  transition: all .18s ease;
}
.nav-compact .nav-link:hover,
.nav-compact .nav-link.active {
  color: var(--accent);
  background: var(--bg-muted);
}

/* CTA kompakt */
.nav-compact .btn.btn-brand {
  font-size: .85rem;
  padding: .35em .9em;
  border-radius: .5rem;
  white-space: nowrap;
}


.navbar .nav-link::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .18s;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* Navbar als Overlay */
nav.navbar{
  position: fixed; top:0; left:0; right:0; z-index:1020;

  /* EINZIGE Hintergrund-Quelle: Alpha-Mix */
  background: rgba(255,255,255, var(--nav-alpha)) !important;

  /* Linie & Schatten skalieren mit */
  border-bottom: 1px solid rgba(0,0,0, calc(var(--nav-alpha) * .08)) !important;
  box-shadow: 0 8px 24px rgba(0,0,0, calc(var(--nav-alpha) * .06));

  /* subtiler Glass-Effekt, mit Alpha stärker */
  backdrop-filter: blur(calc(var(--nav-alpha) * 2.5px))
                   saturate(calc(100% + var(--nav-alpha) * 40%));
}

/* WICHTIG: alte Zustandsklassen nicht mehr für BG nutzen */
nav.navbar.transparent,
nav.navbar.scrolled{
  background: rgba(255,255,255, var(--nav-alpha)) !important;
  border-bottom: 1px solid rgba(0,0,0, calc(var(--nav-alpha) * .08)) !important;
  box-shadow: 0 8px 24px rgba(0,0,0, calc(var(--nav-alpha) * .06)) !important;
  /* keine weiteren Farben hier setzen */
}

/* Textfarben mit der Deckkraft mischen: oben weiß, unten dunkel */
nav.navbar .navbar-brand,
nav.navbar .nav-link{
  color: color-mix(in srgb, #111 calc(var(--nav-alpha)*100%), #fff) !important;
}
nav.navbar .nav-link:hover,
nav.navbar .nav-link:focus{
  color: color-mix(in srgb, #111 calc(var(--nav-alpha)*100%), #f2f2f2) !important;
}

/* Toggler-Icon: oben (alpha≈0) hell, unten dunkel */
nav.navbar .navbar-toggler { 
  border-color: rgba(0,0,0, calc(var(--nav-alpha) * .25));
}
nav.navbar .navbar-toggler-icon{
  /* schwarzes Hamburger-Icon (Bootstrap-Standard) */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: invert(calc((1 - var(--nav-alpha)) * 100%)); /* oben weiß, unten schwarz */
  transition: filter .15s linear;
}

/* ===== NAV: Hover-Kontrast fix, wenn Navbar noch oben "transparent" ist ===== */
nav.navbar.transparent .nav-link:hover,
nav.navbar.transparent .nav-link:focus {
  color: #111 !important;            /* statt fast-weiß -> gut lesbar auf hellem Hover-BG */
}

/* Falls du die Startseiten-"Kachel" nutzt, gleich konsistent halten */
nav.navbar.transparent .nav-link.nav-tile:hover,
nav.navbar.transparent .nav-link.nav-tile:focus {
  color: #111 !important;
}

/* Optional – wenn du oben explizit ein weißes Pill willst (statt bg-muted):
nav.navbar.transparent .nav-link:hover,
nav.navbar.transparent .nav-link:focus {
  background: #fff;
  color: #111 !important;
  border-radius: .4rem;
}
*/

/* Navbar darf nicht clippen */
nav.navbar { overflow: visible; }

/* Split-Layout + Pfeil sichtbar */
.nav-item.nav-bubble { display: flex; align-items: center; gap: .25rem; }

/* Caret-Stil (sichtbar Desktop & Mobile) */
.nav-item.nav-bubble .nav-caret{
  border: 0;
  background: transparent;
  padding: .25rem .35rem;
  line-height: 1;
}
.nav-item.nav-bubble .nav-caret::after{
  content: "";
  display: inline-block;
  width: .48rem; height: .48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
/* gedreht, wenn Menü offen */
.nav-item.nav-bubble .dropdown-menu.show ~ .nav-caret::after{
  transform: rotate(225deg);
}
/* Alle Navbar-Links: Icon + Text sauber mittig */
.navbar .nav-link{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  line-height: 1.5;            /* vermeidet Baseline-Drift */
  white-space:nowrap; 
}
.navbar .nav-link .caret-icon{
  display: inline-block;
  vertical-align: middle;      /* falls irgendwo inline bleibt */
}

/* Bubble-Menü: NUR Optik – Positionierung macht Bootstrap/Popper */
.navbar .dropdown-menu.bubble{
  border-radius: 14px;
  border: 1px solid var(--neutral);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  padding: .5rem;
  min-width: 16rem;
  /* KEIN position:absolute/left/top überschreiben! */
}

/* kleiner Zipfel oben am Menü */
.navbar .dropdown-menu.bubble::before,
.navbar .dropdown-menu.bubble::after{
  content:"";
  position:absolute;
  width:14px; height:14px;
  top: -8px; left: 24px;            /* bei Bedarf 2–4px feinjustieren */
  transform: rotate(45deg);
  border-radius: 3px;
  pointer-events: none;
}
.navbar .dropdown-menu.bubble::before{
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  background: #fff;
  z-index: -1;
}
.navbar .dropdown-menu.bubble::after{
  background: #fff;
  border-left: 1px solid var(--neutral);
  border-top: 1px solid var(--neutral);
  z-index: -1;
}

/* Dropdown-Items */
.navbar .dropdown-item{
  border-radius: .5rem;
  font-weight: 500;
  padding: .5rem .65rem;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus{
  background: var(--bg-muted);
  color: var(--accent);
}



/* Bubble-Dropdown: Pfeil/Zipfel ausblenden */
.navbar .dropdown-menu.bubble::before,
.navbar .dropdown-menu.bubble::after{
  content: none !important;
}

/* Pfeil im Link + Hover-Open nur Desktop */
.nav-link.has-caret{ display:flex; align-items:center; gap:.35rem; }
.nav-link.has-caret .caret-icon{ transition: transform .18s ease; }

/* Desktop: Hover öffnet Dropdown, Link bleibt klickbar */
@media (min-width: 992px){
  .nav-item.nav-bubble:hover > .dropdown-menu{ display:block; }
  .nav-item.nav-bubble .nav-caret{ display:none; } /* Toggle nur mobil */
}

/* Pfeil drehen, wenn offen (mobil & desktop) */
.nav-item.dropdown.show .nav-link.has-caret .caret-icon{ transform: rotate(180deg); }

/* Deko beim Link unterdrücken (sonst „goldene Raute“/Underline) */
.navbar .nav-link.has-caret::before,
.navbar .nav-link.has-caret::after{ content:none !important; }





/* Platz für die fixe Navbar schaffen */
body{ padding-top: var(--nav-h); }

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--secondary);
  color: #fff !important;
  border: var(--secondary);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background .18s, box-shadow .18s;
  box-shadow: var(--shadow);
}
.hero-btn{
  animation: sublineFadeIn .8s .3s backwards;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--accent);
  color: var(--brand) !important;
  box-shadow: 0 0 5px #ffe17c88;
}
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  border-radius: var(--radius-sm);
}
.btn-outline-light:hover { color:#fff; border-color:#fff; background: rgba(255,255,255,.06); }






.hero-modern{
  position: relative;
  color:#fff;
  padding: 32px 0 52px;      /* unten genug Luft, s. Hinweis */
  background-image: url("/assets/background/hero-wave.svg");
  background-repeat: no-repeat;           /* nicht wiederholen */
  background-position: center bottom;     /* am unteren Rand starten */
  background-size: 100% auto;             /* auf volle Breite skalieren */
  overflow: hidden;
}

@media (max-width: 720.98px){
  .hero-modern{ padding-bottom: 96px;   background-size: 1500px;  }
  .hero-modern::after{ height: 130px; }
}



.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px; /* weniger Gap, Subline näher am Titel */
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 800;
  flex-wrap: wrap;
  margin-bottom: 0.6em;
}
.hero-join {
  color: #D3D3D3;
  letter-spacing: -.01em;
  font-weight: 800;
  font-size: 1em;
  opacity: .83;
}
.hero-title-coin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}
.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  /* box-shadow: 0 0 8px #bfa24a88; */
  animation: coinspin 9s linear infinite;
  background: radial-gradient(ellipse at 60% 38%, #fffbe7 0%, #e5ab36 55%, #bfa24a 100%);
}
@keyframes coinspin {
  0% { transform: rotateY(0deg);}
  100% { transform: rotateY(360deg);}
}
.hero-circle {
  color: #fff;
  font-weight: 800;
  position: relative;
  display: inline-block;
  font-size: 1em;
  padding-bottom: .12em;
}
.headline-accent {
  display: block;
  height: .18em;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold-2));
  border-radius: 3px;
  position: absolute;
  left: 0; bottom: -4px;
  animation: underlineGrow .9s .2s cubic-bezier(.77,.1,.39,.93) forwards;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes underlineGrow {
  to { transform: scaleX(1); }
}

/* --- Subline direkt unter Titel, wenig Abstand --- */
.hero-subline {
  color: var(--accent-light);
  display: inline-block;
  margin-bottom: 0.5em;
  animation: sublineFadeIn .8s .3s backwards;
  text-align: center;
}
.hero-subline-icon {
  font-size: 1.15em;
  margin-right: .5em;
  vertical-align: -.1em;
}
.hero-subline .highlight {
  font-weight: 700;
  text-align: center;
}

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

.inline-cta{ color: rgba(255,255,255,.9); text-decoration: none; }
.inline-cta .txt{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  text-decoration-color: rgba(255,255,255,.55);
}
.inline-cta:hover{ color:#fff; }
.inline-cta:hover .txt{ text-decoration-color:#fff; }
.inline-cta .icon{ margin-right:.45rem; display:inline-block; transform: translateY(.5px); }

/* Tastaturfokus */
.inline-cta:focus-visible{ outline:2px solid rgba(255,255,255,.6); outline-offset:2px; border-radius:6px; }



/* --- Bildblock --- */
.hero-image-block {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(90vw, 900px);
  max-height: 50vh;  
  /* oben dynamischer Abstand, seitlich zentriert, unten 32px bleibt */
  margin: clamp(12px, 2.5vh, 24px) auto 32px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(191,162,74,0.13);
}

/* Das Bild selbst */
.hero-image-block img.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* oder z.B. 60% 70%, wenn du spezielle Zentrierung willst */
  display: block;
  border-radius: inherit;
  transition: transform .7s cubic-bezier(.6,.2,.29,1.1);
  animation: heroPanZoom 14s ease-in-out infinite;
}

/* Für alle Bilder mit der Klasse hero-image, falls sie nicht im Container sind */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 36px;
  transition: transform .7s cubic-bezier(.6,.2,.29,1.1);
  animation: heroPanZoom 14s ease-in-out infinite;
}


@keyframes heroPanZoom {
  0%   { transform: scale(1);}
  50%  { transform: scale(1.04) translateY(-2%);}
  100% { transform: scale(1);}
}

/* --- Buttons: kleiner, dezent, unter dem Bild --- */
.hero-cta-block {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn.btn-sm, .btn.btn-brand.btn-sm, .btn.btn-outline-light.btn-sm {
  padding: .42rem .95rem;
  font-size: .97rem;
  border-radius: .44rem;
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}



/* --- Responsive: Stack alles untereinander --- */
@media (max-width: 768px) {
  .hero-title-row {
    flex-direction: row;
    gap: 10px;
    font-size: 2rem;
    margin-bottom: .4em;
    flex-wrap: nowrap; /* verhindert Umbruch */
    white-space: nowrap;
  }
  .hero-title-coin {
    width: 56px;
    height: 56px;
  }
  .hero-logo {
    width: 56px;
    height: 56px;
  }
  .hero-subline {
    font-size: 1rem;
    margin-bottom: .5em;
    max-width: 99vw;
  }
  .hero-image-block {
    max-width: 99vw;
    max-height: 45vh;
    border-radius: 16px;
  }
  .hero-image-block img.hero-image,
  .hero-image {
    border-radius: 16px;
    max-height: 45vh ;
  }
  .hero-content {
    gap: 11px;
    max-width: 99vw;
  }
  .hero-ctas{ justify-content: center; }

  .hero-btn {
    border-radius: 1em;
  }

  /* nur dein Primär-CTA anpassen */
  .btn.btn-brand.btn-quiet{
    background: transparent !important;   /* kein Fill */
    color: #fff !important;               /* weiße Schrift auf dunklem Hero */
    border: 1.5px solid rgba(255,255,255,.65) !important;
    box-shadow: none !important;          /* kein Glow */
    padding: .55rem .9rem;                /* kleiner */
    font-size: .95rem;
    border-radius: .55rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: auto;                          /* NICHT full-width */
  }
  .btn.btn-brand.btn-quiet:hover{
    background: rgba(255,255,255,.10);
    border-color: #fff;
  }
  .btn.btn-brand.btn-quiet:active{ transform: none; }

  /* Falls du irgendwo mobile Full-Width gesetzt hattest, hier sicher neutralisieren */
  .hero-ctas .btn{ width: auto; }
}

/* Optional: schöner Tastaturfokus */
.btn.btn-brand.btn-quiet:focus-visible{
  outline: 2px solid rgba(255,255,255,.6);
  outline-offset: 2px;
}


@media (max-width: 480px) {
  /* mehr Luft rund um alles, aber dynamisch */
  .hero-modern {
    padding-block: clamp(18px, 6svh, 28px);
  }
  .hero-content {
    gap: clamp(10px, 3.5svh, 22px);
    padding-inline: clamp(12px, 4vw, 20px);
  }
  .hero-title-row {
    gap: clamp(6px, 2vw, 12px);
    margin-bottom: clamp(6px, 2.5svh, 16px);
    font-size: clamp(1.8rem, 8vw, 2rem);
  }

  /* Subline ruhiger + mit fluidem Abstand */
  .hero-subline {
    font-size: clamp(.95rem, 3.8vw, 1.05rem);
    margin: clamp(6px, 2svh, 14px) 0 clamp(10px, 2.8svh, 18px);
    max-width: 95vw;
    text-align: center;
  }

  /* Bildblock mit fester Ratio + dynamischer Maxhöhe & Abstand */
  .hero-image-block {
    max-width: 100vw;
    max-height: clamp(220px, 35svh, 320px);
    border-radius: 12px;
    margin-top: clamp(10px, 3svh, 18px);
  }
  .hero-image-block img.hero-image,
  .hero-image {
    border-radius: 12px;
    height: 100%;
  }

  /* CTA untereinander, mit fluidem Abstand */
  .hero-ctas {
    justify-content: center;
    gap: clamp(8px, 2.8svh, 14px);
  }
  .btn.btn-brand.btn-quiet,
  .btn.btn-outline-light {
    width: 100%;
    padding-block: clamp(.8rem, 2.8svh, 1.05rem);
  }
}






/* =========================================================
   Cards / Sections (wie gehabt, leicht konsolidiert)
   ========================================================= */
/* Abschnitts-Spacing */
.section-muted { background: var(--bg-muted); }
section { padding: 2.5em 0; }
@media (max-width: 991.98px){ section { padding: 1.3em 0; } }

/* Einheitliche Abschnittstitel (immer mittig, mit goldener Unterstreichung) */
h2.section-title{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  color: var(--brand, #14182b);

  display: inline-block;          /* Unterlinie nur so breit wie Text */
  padding-bottom: .08em;
  margin: 0 auto .3em;            /* zentriert */
  text-align: center;

  border-bottom: 2.5px solid var(--accent, #bfa24a);
}

/* Subtitel (immer mittig, angenehme Zeilenlänge) */
.section-subtitle{
  margin: 0;
  max-width: 64ch;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.45;
  color: rgba(17,19,28,.68);
  text-align: center;
  margin-inline: auto;
}

/* Dunkler/heller Abschnitts-Modifier (optional) */
.section-head.is-light .section-title{
  color:#fff;
  border-bottom-color: var(--accent, #bfa24a);
}
.section-head.is-light .section-subtitle{
  color: rgba(255,255,255,.78);
}


.card-link:hover {
  color: #bfa24a;
}

.card.card-pricing .card-body {
  display: flex;
  flex-direction: column;   /* Inhalte untereinander */
  height: 100%;
}

.card.card-pricing .card-body ul {
  flex-grow: 1;             /* füllt den Zwischenraum */
}

.card.card-pricing .btn {
  margin-top: auto;         /* Button immer ganz unten */
}

.card-body:hover .course-card {
  box-shadow: 0 16px 48px rgba(191,162,74,0.15);
  transform: translateY(-2px);
}




.section-overlap {
  margin-top: -36px;
  padding: 0 0 2em;
  position: relative;
  z-index: 2;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--neutral);
  border-radius: 1.1em;
  box-shadow: 0 2px 16px rgba(20,24,43,0.07);
  padding: 1.5em 1.2em;
  display: flex;
  gap: 0;
  overflow: hidden;
}

.about-card .row {
  width: 100%;
  display: flex;
}

.about-card .col-lg-4 {
  padding: 0 1.2em;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

/* Divider zwischen den Cards */
.about-card .col-lg-4:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 2px;
  height: 64%;
  background: linear-gradient(to bottom, #f5c84b 0%, #ffe17c 100%);
  opacity: 0.35;
  border-radius: 2px;
}

/* Eingangseffekt für Cards */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Hover-Effekt (optional, ganz dezent) */
.about-card .col-lg-4:hover {
  background: rgba(245, 239, 227, 0.14);
  box-shadow: 0 4px 18px rgba(191,162,74,0.11);
  z-index: 1;
  transition: background 0.18s, box-shadow 0.18s;
}

/* --- Responsive ab Tablet --- */
@media (max-width: 991px) {
  .about-card .row {
    flex-direction: column;
    gap: 1.2em;
  }
  .about-card .col-lg-4 {
    padding: 1em 0.5em;
    font-size: 1em;
  }
  .about-card .col-lg-4:not(:last-child)::after {
    display: none;
  }
}

.card, .feature-card, .coach-card, .card-pricing {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral);
  transition: box-shadow .14s, transform .13s;
}
.card:hover, .feature-card:hover, .coach-card:hover, .card-pricing:hover {
  box-shadow: 0 8px 32px rgba(191,162,74,0.11);
  transform: translateY(-2px) scale(1.01);
}
.feature-card { padding: 1.1em 1em; }
.card-pricing.highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(191,162,74,0.11);
}
.badge.text-bg-warning { background: var(--accent-light); color: var(--accent); font-weight: 700; }
.rounded-4 { border-radius: 1.2em !important; }
.rounded-3 { border-radius: 0.6em !important; }


/* Mobile: kleinere Schrift, weniger Abstand, aber Zeile bleibt */
@media (max-width: 540px) {
  .hero-title-row {
    gap: 8px;
    flex-wrap: nowrap; /* verhindert Umbruch */
    white-space: nowrap;
  }
  .hero-title-coin {
    width: 40px;
    height: 40px;
  }
  .hero-logo {
    width: 40px;
    height: 40px;
  }
}



.wochen-card {
  background: #fff;
  border-radius: 1.2em; /* Nur außen abgerundet */
  box-shadow: 0 4px 24px rgba(20,24,43,0.11);
  border: 1.5px solid #e5e7eb;
  padding: 2em 1.1em 1.3em 1.1em;
  margin: 0 auto;
  max-width: 900px;
}
.wochen-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 1em;
  margin-bottom: 1em;
  background: none;
  /* Keine Abrundung für die Tabelle */
  border-radius: 1em;
  overflow: hidden; /* Wichtig, damit die Inhalte nicht „über die Rundung hinaus“ gehen */
  border-collapse: separate; /* separate, damit die Rundung sichtbar bleibt */
  box-shadow: 0 6px 12px rgba(20,24,43,0.08);
}
.wochen-table th {
  background: #f5c84b;
  color: #232323;
  font-weight: 700;
  font-size: 1.07em;
  padding: .6em 0 .5em 0;
  border: none;
}
.wochen-table td {
  vertical-align: middle;
  background: #fff;
  padding: .5em .2em;
  border: none;
  min-width: 70px;
  font-size: .97em;
}
.wochen-table td:first-child {
  font-weight: 600;
  color: #5d626c;
  background: #f7f8fa;
}
.kurs-type {
  font-weight: 700;
  padding: .13em .6em;
  border-radius: .7em;
  font-size: .93em;
  display: inline-block;
}
.kurs-type.kids { background: #5269b6; color: #fff; }
.kurs-type.nogi { background: #5d626c; color: #fff; }
.kurs-type.gi   { background: #bfa24a; color: #fff; }
.kursplan-legend {
  display: flex;
  gap: 1.1em;
  justify-content: left;
  color: #444;
  font-weight: 600;
  margin-top: .7em;
  font-size: .96em;
}
.kursplan-legend .dot {
  width: 13px; height: 13px; border-radius: 999px; display: inline-block; margin-right: .3em;
  border: 1.5px solid #e5e7eb;
}
.kursplan-legend .dot.kids { background: #5269b6; }
.kursplan-legend .dot.nogi { background: #5d626c; }
.kursplan-legend .dot.gi   { background: #bfa24a; }
.kursplan-notes {
  color: #888;
  font-size: .97em;
  text-align: left;
  margin-top: .5em;
}

/* Mobile: Card bleibt schmal, aber Schrift kann groß bleiben */
@media (max-width: 700px) {
  .wochen-card { max-width: 99vw; }
  .wochen-table th,
  .wochen-table td {
    font-size: 0.98em;
    padding: 0.28em 0.06em;
    min-width: 28px;
    max-width: 56px;
  }
  .wochen-table th { font-size: 1em; }
  .wochen-table td:first-child { font-size: 1em; padding-left: .18em; min-width: 40px; }
  .kursplan-legend,
  .kursplan-notes {
  justify-content: center;
  text-align: center;
  }
  
}
    



/* ===== Kursangebot (3 Kacheln, mobil-first) ===== */

:root{
  --card-bg: #fff;
  --card-fg: #0f1222;
  --card-muted: #6b7385;
  --line: linear-gradient(180deg, var(--accent), var(--gold));
  --ring: 0 0 0 0 rgba(191,162,74,.0);
}

/* Wrapper steuert die Ausrichtung */
.section-head{
  text-align: center;                 /* mobile zuerst: zentriert */
  margin-bottom: clamp(14px, 3vw, 24px);
}





.course-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
}
@media (min-width: 768px){
  .course-grid{ grid-template-columns: repeat(3, 1fr); }
}

.course-card {
  background: var(--white);
  border-radius: 0 1.2em 1.2em 0;   /* nur rechts abgerundet */
  padding: 1.5em 1.2em 1.5em 1.6em;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;

  /* Innerer Schatten */
  box-shadow: inset 0 0 14px rgba(191,162,74,0.15);
}

/* Goldlinie links */
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(to bottom, #bfa24a, #ffe17c);
}

.course-card:hover {
  box-shadow: 0 8px 32px rgba(191,162,74,0.15);
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: #000; /* Schwarz statt Weiß */
  background: linear-gradient(135deg, #ffe17c, #bfa24a);
  box-shadow: 0 2px 6px rgba(191,162,74,0.4);
  flex-shrink: 0;
}

/* mehr Abstand zwischen Icon und Titel */
.step-header h5 {
  font-weight: 600;
  margin-left: 0.6rem; /* Abstand zum Kreis */
}




/* Header: Icon + Title */
.course-header{
  display: flex;
  align-items: center;
  gap: .75em;
  margin-bottom: .65em;
}
.course-header h3{
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: #14182b;
}
.course-icon{
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe17c, #bfa24a);
  padding: 6px;
  box-shadow: 0 2px 6px rgba(191,162,74,.35);
}

/* Text */
.course-card p{
  margin: 0;
  font-size: .96rem;
  line-height: 1.55;
  color: #555;
}


/* Fußnote */
.footnote{
  margin-top: clamp(12px, 3vw, 20px);
  font-size: .9rem;
  opacity: .8;
  padding-right: 40px;
}

.footer-dark {
  background-color: #1b1b1d;
  color: #ccc;
}

.footer-dark h6 {
  color: #f1f1f1;
}

.footer-dark .footer-link {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-dark .footer-link:hover {
  color: #f39c12;
  text-decoration: none;
}

.footer-dark .bi-whatsapp {
  font-size: 1.1rem;
  vertical-align: text-bottom;
}




.section-divider .footnote{ text-align: left; }

/* Dark-Page Kompatibilität (dein Theme) */
.section-divider .course-card{ background:#fff; }

/* Scroll-to-Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent, #d9b64c);   /* Gold */
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: none;                        /* versteckt bis nötig */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: background .25s, transform .25s;
  z-index: 9999;
}

#scrollTopBtn:hover {
  background: #bfa24a;                  /* etwas helleres Gold */
  transform: translateY(-3px);
}

/* sorgt dafür, dass beide Karten gleich hoch wirken */
#probestunde .h-100 { display: flex; flex-direction: column; }

/* BG-Slides weich blenden */
.hero-bg { position: relative; }
.hero-bg .hero-slide{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity .6s ease;   /* <- smooth */
}
.hero-bg .hero-slide.active{ opacity: 1; }


:root{
  --hero-fade: 12000ms;                          /* Dauer: 0.9s (gern 1200ms testen) */
  --hero-ease: cubic-bezier(.22,.61,.36,1);    /* smooth ease-out */
}

/* BG-Slides */
.hero-bg .hero-slide{
  transition: opacity var(--hero-fade) var(--hero-ease);
}

/* rechtes Bild */
#hero-visual-img{
  transition:
    opacity  var(--hero-fade) var(--hero-ease),
    transform calc(var(--hero-fade) + 600ms) cubic-bezier(.2,.8,.2,1);
}

/* statt komplett ausblenden -> nur abdunkeln = weicher */
#hero-visual-img.is-fading{ opacity: .15; }    /* vorher 0;  .15 fühlt sich „weicher“ an */


/* Mobile: nur EIN Caret (im Button), Caret im Link ausblenden */
@media (max-width: 991.98px){
  .navbar .nav-link.has-caret .caret-icon{ display: none !important; }
}

/* Mobile-Toggle stylen: Farbe, Zentrierung, gleiche Höhe wie Nav-Links */
.nav-item.nav-bubble .nav-caret{
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 0;
  /* exakt dieselbe Farbe wie deine Nav-Links (oben weiß, unten dunkel) */
  color: color-mix(in srgb, #111 calc(var(--nav-alpha)*100%), #fff) !important;

  display: flex; align-items: center; justify-content: center;
  padding: .5rem .45rem;            /* an deine .nav-link paddings anlehnen */
  line-height: 1;                   /* kein Baseline-Versatz */
}

/* Caret zeichnen + sauber zentrieren */
.nav-item.nav-bubble .nav-caret::after{
  content: "";
  width: .52rem; height: .52rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);         /* zugeklappt */
  /* kein margin-top: zentriert durch flex */
}

/* gedreht, wenn Menü offen */
.nav-item.nav-bubble .dropdown-menu.show ~ .nav-caret::after{
  transform: rotate(225deg);
}

/* Safety net: horizontales Scrollen verhindern */
:root, html, body { width:100%; overflow-x: clip; } /* statt hidden (performanter) */

/* Bilder/SVGs niemals breiter als der Container */
img, svg { max-width:100%; height:auto; display:block; }

/* Schmale Lesebreite (optional) */
#faq .container-narrow { max-width: 760px; margin-inline: auto; }


/* Accordion clean */
#faq .accordion-readable .accordion-item{
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  background: transparent;    /* keine Karte, kein Panel */
  overflow: hidden;
  margin-bottom: .75rem;
}

#faq .accordion-readable .accordion-button{
  background: transparent;    /* kein grauer Layer */
  color: var(--faq-text);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  padding: 1rem 1.125rem;
  box-shadow: none;
}

#faq .accordion-readable .accordion-button:focus{
  outline: none;
  box-shadow: 0 0 0 .2rem var(--secondary); /* sichtbarer Fokus */
}

#faq .accordion-readable .accordion-button.collapsed{
  background: transparent;    /* gleichbleibender Kontrast */
}

#faq .accordion-readable .accordion-body{
  color: var(--faq-text);
  font-size: 1rem;
  line-height: 1.6;
  padding: .9rem 1.125rem 1.1rem;
}

/* dünner Brand-Akzent, nur wenn geöffnet */
#faq .accordion-readable .accordion-collapse.show{
  border-left: 3px solid var(--gold);
}

/* sanfter Hover (ohne Kontrastverlust) */
@media (prefers-reduced-motion: no-preference){
  #faq .accordion-readable .accordion-item:hover{
    transform: translateY(-1px);
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,.06); /* ganz leicht, kein „Kartenrahmen“ */
  }
}


@media (max-width: 767.98px) {
  .pricing-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }
  .pricing-scroll > .col {
    min-width: 260px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}