/* ============================================================
   Dance Empire — Tanzschule Böblingen (Motorworld)
   styles.css · Vanilla CSS, no framework, no build step, no CDN.
   Art-Déco luxury: near-black canvas, champagne-gold accent &
   hairlines (from the real DE monogram), Montserrat + Plus Jakarta.
   Level accent colours mirror the studio's real course legend.
   ============================================================ */

/* ---------- Self-hosted fonts (no Google CDN — GDPR + speed) ----------
   Variable woff2, latin subset. Montserrat = headlines, Plus Jakarta = body. */
@font-face {
  font-family: "Montserrat";
  src: url("images/fonts/Montserrat-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("images/fonts/PlusJakartaSans-latin.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #121411;            /* near-black canvas */
  --surface: #1a1c19;       /* elevated dark */
  --surface-2: #1e201d;
  --green: #073b23;         /* forest-green surface */
  --green-2: #0a4a2c;
  --gold: #c2a677;          /* warm gold accent */
  --gold-bright: #e0c291;   /* brighter gold for text/highlights */
  --on-gold: #271900;       /* near-black text on gold */
  --text: #e3e3de;          /* warm off-white */
  --muted: #a49e92;         /* secondary text */
  --muted-2: #837d72;
  --border: rgba(255,255,255,.08);
  --border-gold: rgba(194,166,119,.35);
  --gold-line: rgba(201,169,122,.5);   /* Art-Déco hairlines */
  --charcoal: #171915;                 /* warm charcoal surface */

  /* course level accents (from the real studio legend) */
  --lvl-beg: #37b7a6;    /* Beginner  — türkis */
  --lvl-int: #e6b94e;    /* Intermediate — gelb */
  --lvl-open: #e9e6df;   /* Open Level — weiß */
  --lvl-adv: #a877d6;    /* Advanced — lila */

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --shadow: 0 20px 40px rgba(0,0,0,.5);
  --ease: 200ms cubic-bezier(.2,.6,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1rem;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.divider-gold {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  margin: 0;
}
.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;
}
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem;
  border-radius: var(--radius-full); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 24px rgba(194,166,119,.22); }
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 12px 30px rgba(224,194,145,.3); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-gold); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(194,166,119,.06); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 54px; padding: .9rem 2rem; font-size: 1rem; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: var(--radius-full);
  background: var(--green); color: var(--gold-bright);
  font-family: var(--font-body); font-weight: 600; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--border-gold);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,20,17,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem; min-height: 72px; }
.wordmark {
  grid-column: 2; justify-self: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--text);
}
.wordmark b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-left { grid-column: 1; }
.nav-right { grid-column: 3; justify-content: flex-end; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 500; transition: color var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-toggle, .nav-close { display: none; }
.nav-cta { color: var(--gold-bright) !important; font-weight: 600; }

/* mobile nav (CSS-only, checkbox hack) */
.nav-check { display: none; }
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .wordmark { grid-column: 2; justify-self: start; margin-left: .25rem; }
  .nav-toggle {
    grid-column: 1; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: -8px; background: none; border: 0; color: var(--text);
  }
  .nav-right.nav-links, .nav-left.nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 1.4rem;
    background: var(--surface-2); border-left: 1px solid var(--border);
    padding: 6rem var(--gutter) 2rem; transform: translateX(105%);
    transition: transform var(--ease); z-index: 60;
  }
  .nav-right.nav-links { grid-column: auto; }
  .nav-check:checked ~ .nav-right.nav-links { transform: translateX(0); }
  .nav-check:checked ~ .nav-left.nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--text); }
  .nav-header-actions { grid-column: 3; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,17,.55) 0%, rgba(18,20,17,.72) 55%, var(--bg) 100%);
}
.hero-inner { min-height: clamp(560px, 82vh, 820px); display: flex; flex-direction: column;
  justify-content: center; padding-block: 6rem 4rem; max-width: 720px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: .35em; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ---------- Section heading block ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Course cards ---------- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.course-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; padding: 1.6rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; isolation: isolate;
  transition: transform var(--ease), border-color var(--ease);
}
.course-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.course-card img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.course-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,17,.15), rgba(18,20,17,.85)); }
.course-card h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.course-card .meta { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.course-card .chip { margin-bottom: auto; align-self: flex-start; }

/* ---------- Feature list ---------- */
.features { display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { background: var(--bg); padding: 2rem 1.75rem; }
.feature .feature-ic { color: var(--gold); margin-bottom: 1rem; }
.feature .feature-ic .icon { width: 1.6rem; height: 1.6rem; }
.feature h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background:
    radial-gradient(120% 140% at 50% 0%, rgba(7,59,35,.55), transparent 60%), var(--surface); }
.cta-band .inner { text-align: center; max-width: 620px; margin-inline: auto; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding-block: 4rem 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-grid h4 { font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-grid a { color: var(--muted); font-size: .95rem; transition: color var(--ease); }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand .wordmark { display: inline-block; margin-bottom: 1rem; letter-spacing: .22em; }
.footer-brand p { color: var(--muted); max-width: 32ch; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  color: var(--muted-2); font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Auth pages (login / register) ---------- */
.auth-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 2rem var(--gutter); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .wordmark { display: block; text-align: center; margin-bottom: 2.5rem; }
.auth-card h1 { font-size: clamp(2rem, 6vw, 2.6rem); text-align: center; margin-bottom: .3rem; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); margin-bottom: .4rem; }
.input {
  width: 100%; min-height: 52px; padding: .8rem 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; transition: border-color var(--ease), box-shadow var(--ease);
}
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,166,119,.18); }
.field-pw { position: relative; }
.pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; background: none;
  border: 0; color: var(--muted); border-radius: var(--radius-sm); }
.pw-toggle:hover { color: var(--text); }
.form-row { display: flex; justify-content: flex-end; margin: -.25rem 0 1.25rem; }
.link-gold { color: var(--gold-bright); font-size: .9rem; font-weight: 600; }
.link-gold:hover { text-decoration: underline; }
.or-divider { display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0;
  color: var(--muted-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.auth-foot { text-align: center; margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.auth-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted);
  font-size: .9rem; margin-bottom: 2rem; }
.auth-back:hover { color: var(--text); }
.level-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.level-choice label { display: block; margin: 0; }
.level-choice input { position: absolute; opacity: 0; pointer-events: none; }
.level-choice span { display: block; text-align: center; padding: .7rem .5rem; font-weight: 600;
  font-size: .85rem; color: var(--muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all var(--ease); }
.level-choice input:checked + span { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }

/* ---------- App shell (dashboard / student area) ---------- */
.app { max-width: 560px; margin-inline: auto; padding: 0 var(--gutter) 6rem; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0 1rem; }
.app-greet .eyebrow { margin-bottom: .2rem; }
.app-greet h1 { font-size: 1.7rem; letter-spacing: -0.02em; margin: 0; }
.avatar { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover;
  border: 1px solid var(--border-gold); }
.credits-card {
  background: linear-gradient(140deg, var(--green-2), var(--green));
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-top: .5rem;
}
.credits-card .row { display: flex; justify-content: space-between; align-items: flex-start; }
.credits-card .tier { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.credits-card .big { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; margin: .5rem 0 .1rem; }
.credits-card .sub { color: rgba(227,227,222,.75); font-size: .9rem; margin: 0; }
.credits-card .manage { color: var(--gold-bright); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }

.app-section-head { display: flex; align-items: baseline; justify-content: space-between;
  margin: 2.25rem 0 1rem; }
.app-section-head h2 { font-size: 1.05rem; letter-spacing: .02em; margin: 0; }
.app-section-head a { color: var(--gold-bright); font-size: .82rem; font-weight: 600; }

.next-class {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; border: 1px solid var(--border);
}
.next-class img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.next-class::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,17,.1), rgba(18,20,17,.9)); }
.next-class .when { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-bright);
  font-weight: 600; font-size: .85rem; margin-bottom: .4rem; }
.next-class h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.next-class .where { color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }

.rec-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter); scrollbar-width: none; }
.rec-row::-webkit-scrollbar { display: none; }
.rec-card { scroll-snap-align: start; position: relative; min-height: 200px; border-radius: var(--radius);
  overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; border: 1px solid var(--border); }
.rec-card img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.rec-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,17,.1), rgba(18,20,17,.88)); }
.rec-card h3 { font-size: 1.05rem; margin: .4rem 0 .1rem; }
.rec-card .meta { color: var(--muted); font-size: .82rem; margin: 0; }

/* bottom tab bar */
.tabbar { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; justify-content: space-around;
  background: rgba(18,20,17,.9); backdrop-filter: blur(16px); border-top: 1px solid var(--border);
  padding: .5rem 0 calc(.5rem + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: .2rem; color: var(--muted-2);
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .8rem; min-width: 64px; }
.tabbar a[aria-current="page"] { color: var(--gold); }

/* ---------- Course / class detail page ---------- */
.detail-hero { position: relative; isolation: isolate; min-height: clamp(360px, 60vh, 560px);
  display: flex; flex-direction: column; justify-content: flex-end; }
.detail-hero img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,17,.25) 0%, rgba(18,20,17,.55) 55%, var(--bg) 100%); }
.detail-hero .inner { padding: 3rem 0; }
.detail-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: .6rem 0 .4rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--muted);
  font-size: .95rem; align-items: center; }
.detail-meta .dot { color: var(--gold); }
.detail-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.6fr 1fr;
  align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); }
.detail-body h2 { font-size: 1.5rem; margin-top: 2rem; }
.detail-body h2:first-child { margin-top: 0; }
.learn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.learn-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); }
.learn-list .icon { color: var(--gold); margin-top: .2rem; }
.instructor { display: flex; gap: 1rem; align-items: center; margin-top: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--border); }
.instructor img { width: 64px; height: 64px; border-radius: var(--radius-full); object-fit: cover;
  border: 1px solid var(--border-gold); }
.instructor .name { font-family: var(--font-head); font-weight: 700; color: var(--gold-bright); }
.instructor .bio { color: var(--muted); font-size: .92rem; margin: 0; }

.booking-card { position: sticky; top: 96px; background: var(--green); border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg); padding: 1.5rem; }
.booking-card .price { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.booking-card .price small { font-weight: 400; font-size: .85rem; color: rgba(227,227,222,.7); font-family: var(--font-body); }
.session-list { list-style: none; margin: 1.25rem 0; padding: 0; }
.session-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 0; border-top: 1px solid var(--border-gold); font-size: .92rem; }
.session-list li:last-child { border-bottom: 1px solid var(--border-gold); }
.session-list .time { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; }
.session-list .place { color: rgba(227,227,222,.7); font-size: .82rem; }
.session-list .avail { color: var(--gold-bright); font-size: .75rem; font-weight: 600; }
.add-cal { display: block; text-align: center; margin-top: .9rem; color: var(--gold-bright);
  font-size: .85rem; font-weight: 600; }

/* sticky mobile booking bar */
.book-bar { position: fixed; inset: auto 0 0 0; z-index: 50; display: none; align-items: center;
  gap: 1rem; padding: .8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(18,20,17,.92); backdrop-filter: blur(16px); border-top: 1px solid var(--border); }
.book-bar .price { font-family: var(--font-head); font-weight: 700; }
.book-bar .btn { margin-left: auto; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .booking-card { display: none; }
  .book-bar { display: flex; }
  body.has-book-bar { padding-bottom: 80px; }
}

/* ============================================================
   Dance Empire Böblingen — added components (humanized Art-Déco)
   ============================================================ */

/* ---------- Public site top bar (shared header) ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(18,20,17,.8);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.topbar .row { display: flex; align-items: center; gap: 1rem; min-height: 76px; position: relative; }
.topbar .brand { margin-right: auto; }
.topnav { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topnav a { color: var(--muted); font-size: .9rem; font-weight: 500; transition: color var(--ease); white-space: nowrap; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); }
.topbar .btn { padding: .55rem 1.2rem; min-height: 42px; }
.burger { display: none; width: 44px; height: 44px; margin: 0 -8px 0 0; background: none; border: 0; color: var(--text); }
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
@media (max-width: 980px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  /* Full-width dropdown UNDER the bar (absolute in .row, kein fixed → keine backdrop-filter-
     Containing-Block-Falle, kein horizontales Overflow) */
  .topnav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-2); border-top: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(0,0,0,.45);
    max-height: 0; overflow: hidden; padding: 0 var(--gutter);
    transition: max-height var(--ease); z-index: 60;
  }
  .nav-check:checked ~ .row .topnav { max-height: 85vh; overflow-y: auto; padding: .5rem var(--gutter) 1rem; }
  .topnav li { width: 100%; }
  .topnav a { display: block; font-size: 1.05rem; color: var(--text); padding: .85rem 0;
    border-bottom: 1px solid var(--border); }
  .topnav li:last-child a { border-bottom: 0; }
  /* Member-Header: kurze Nav (nur „Abmelden") bleibt inline sichtbar, kein Burger */
  .topnav--inline { position: static; flex-direction: row; max-height: none; overflow: visible;
    background: none; border: 0; box-shadow: none; padding: 0; margin-left: auto; }
  .topnav--inline li { width: auto; }
  .topnav--inline a { display: inline; font-size: .95rem; padding: 0; border: 0; }
}

/* ---------- Brand logo in nav/footer ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { width: 40px; height: 40px; }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .24em; text-transform: uppercase; }
.brand .brand-name b { color: var(--gold); font-weight: 700; }
.nav .brand { grid-column: 2; justify-self: center; }
@media (max-width: 860px){ .nav .brand { grid-column: 2; justify-self: start; } }

/* Art-Déco divider: thin gold line with a centred diamond */
.deco-rule { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin: 0 auto; max-width: 200px; }
.deco-rule::before, .deco-rule::after { content: ""; flex: 1; height: 1px; background: var(--gold-line); }
.deco-rule span { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

/* thin framing lines — an Art-Déco human touch, used sparingly */
.deco-frame { position: relative; }
.deco-frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold-line);
  pointer-events: none; opacity: .5; }

/* ---------- Video hero (Motorworld / Vimeo) ---------- */
.vhero { position: relative; isolation: isolate; min-height: clamp(600px, 90vh, 900px);
  display: flex; align-items: flex-end; overflow: hidden; }
.vhero .vhero-media { position: absolute; inset: 0; z-index: -2; }
.vhero .vhero-media img, .vhero .vhero-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
/* Vimeo-Hintergrundvideo muss den Hero füllen (background=1 crop) — mind. Hero-Größe erzwingen */
.vhero .vhero-media iframe { min-width: 100%; min-height: 100%; }
.vhero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,17,.45) 0%, rgba(18,20,17,.35) 40%, rgba(18,20,17,.92) 100%); }
.vhero .container { padding-block: 0 clamp(3rem, 8vh, 6rem); width: 100%; }
.vhero .eyebrow { color: var(--gold-bright); }
.vhero h1 { font-size: clamp(2.6rem, 8vw, 6rem); line-height: .98; letter-spacing: -0.03em; margin: .2em 0 .3em; max-width: 15ch; }
.vhero .lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: #d8d4cb; max-width: 44ch; }
.vhero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
/* play button for the poster fallback (until Vimeo id is set) */
.vhero-play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: none; border: 0; }
.vhero-play .disc { width: 84px; height: 84px; border-radius: 50%; background: rgba(18,20,17,.5);
  border: 1px solid var(--border-gold); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform var(--ease); }
.vhero-play:hover .disc { transform: scale(1.06); }
.vhero-play svg { width: 30px; height: 30px; fill: var(--gold-bright); margin-left: 4px; }

/* ---------- Probewoche band + 3 steps ---------- */
.probe { background:
    linear-gradient(180deg, var(--charcoal), var(--bg)); border-block: 1px solid var(--border); }
.probe-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.probe .huge { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem); margin: 0; }
.probe .huge b { color: var(--gold); }
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.5rem; }
.step { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--charcoal); }
.step .num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--gold);
  width: 40px; height: 40px; border: 1px solid var(--gold-line); border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Big tiles (Kursplan / Hochzeitstanz / Events) ---------- */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tile { position: relative; isolation: isolate; min-height: 340px; border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem;
  border: 1px solid var(--border); transition: transform var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,17,.1), rgba(18,20,17,.9)); }
.tile h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.tile p { color: var(--muted); margin: 0 0 .8rem; font-size: .95rem; }
.tile .arrow { color: var(--gold-bright); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.tile.tall { min-height: 440px; }

/* ---------- Founders / about split (asymmetric — a humanizer) ---------- */
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  grid-template-columns: 1.05fr .95fr; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.split-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.split-text .signature { font-family: var(--font-head); color: var(--gold-bright); font-weight: 600;
  letter-spacing: .02em; margin-top: 1.5rem; }
.split-text .signature span { color: var(--muted); font-weight: 400; display: block; font-size: .9rem; letter-spacing: .01em; }
@media (max-width: 760px){ .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; } }

/* ---------- Style pills (dance styles overview) ---------- */
.style-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.style-pill { padding: .55rem 1.1rem; border: 1px solid var(--gold-line); border-radius: var(--radius-full);
  font-weight: 600; font-size: .9rem; color: var(--text); background: rgba(201,169,122,.04); }
.style-pill:hover { background: rgba(201,169,122,.1); }

/* ---------- FAQ (text-only accordion via <details>) ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; color: var(--gold);
  font-size: 1.5rem; font-weight: 400; transition: transform var(--ease); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 1.25rem; max-width: 62ch; }

/* ---------- Pricing cards (real Angebote) ---------- */
.price-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.price-card { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--charcoal); }
.price-card.featured { border-color: var(--border-gold); box-shadow: 0 0 0 1px var(--border-gold), var(--shadow); }
.price-card .tag { align-self: flex-start; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-bright); border: 1px solid var(--gold-line); border-radius: var(--radius-full);
  padding: .25rem .7rem; margin-bottom: 1rem; }
.price-card h3 { font-size: 1.15rem; letter-spacing: .02em; }
.price-card .amount { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; margin: .5rem 0 .1rem; }
.price-card .amount small { font-size: .9rem; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.price-card .fee { color: var(--muted-2); font-size: .8rem; margin: 0 0 1.25rem; }
.price-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text); font-size: .92rem; }
.price-card li svg { color: var(--gold); flex: none; margin-top: .15rem; width: 1.1rem; height: 1.1rem; }
.price-card .btn { margin-top: auto; }

/* ---------- Kursplan weekly table ---------- */
.plan-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 1.5rem 0 2rem; font-size: .85rem; }
.plan-legend span { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.plan-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.plan-scroll { overflow-x: auto; scrollbar-width: thin; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.plan-table th, .plan-table td { border: 1px solid var(--border); padding: .8rem .9rem; text-align: left; vertical-align: top; }
.plan-table thead th { background: var(--charcoal); font-family: var(--font-head); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--gold-bright); }
.plan-table td .k-name { font-weight: 600; }
.plan-table td .k-teacher { color: var(--muted); font-size: .82rem; }
.plan-table td.empty { color: var(--muted-2); font-style: italic; }
.plan-table .k-time { font-family: var(--font-head); font-weight: 600; white-space: nowrap; color: var(--text); }
.lvl { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .35rem; vertical-align: middle; }
.lvl.beg{background:var(--lvl-beg)} .lvl.int{background:var(--lvl-int)} .lvl.open{background:var(--lvl-open)} .lvl.adv{background:var(--lvl-adv)}

/* ---------- Events list ---------- */
.event-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; justify-content: space-between;
  padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.event-row .date { font-family: var(--font-head); font-weight: 700; color: var(--gold-bright); min-width: 120px; }
.event-row .what { flex: 1; min-width: 200px; }
.event-row .what h3 { font-size: 1.2rem; margin: 0 0 .1rem; }
.event-row .what p { color: var(--muted); margin: 0; font-size: .9rem; }

/* ---------- Contact / info grid ---------- */
.info-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-block h3 { font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: .6rem; }
.info-block p, .info-block a { color: var(--text); }
.info-block a.link-gold { color: var(--gold-bright); }

/* ---------- Confirmation (booking demo) ---------- */
.confirm-box { max-width: 460px; margin: 4rem auto; text-align: center; padding: 2.5rem;
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg); background: var(--charcoal); }
.confirm-box .check { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold-line);
  display: grid; place-items: center; margin: 0 auto 1.5rem; color: var(--gold); }

/* ---------- section tone helpers ---------- */
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-charcoal { background: var(--charcoal); }
.lead-narrow { max-width: 60ch; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
