/* ═══════════════════════════════════════════════════════════════════════
   Secret Pilates – Design-System
   Warme Naturtöne, viel Weißraum, Serif-Headlines, sanfte Rundungen.
   Schriften lokal gehostet (keine Übertragung an Google → DSGVO).
   ═══════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-latin-300-normal.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(/fonts/manrope-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --cream: #faf6f0;
  --paper: #fffdf9;
  --sand: #efe6da;
  --sand-2: #e4d6c5;
  --clay: #b98b73;
  --clay-dark: #9a6f59;
  --espresso: #3d332c;
  --ink: #2b241f;
  --muted: #7d7067;
  --line: #e7ddd1;
  --sage: #8fa38a;
  --sage-soft: #e3eadf;
  --rose: #c98f86;
  --rose-soft: #f6e4e0;
  --gold: #c9a66b;
  --ok: #5f8b62;
  --warn: #b7863f;
  --danger: #b0574b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(61,51,44,.04), 0 12px 32px -12px rgba(61,51,44,.16);
  --shadow-lg: 0 30px 60px -24px rgba(61,51,44,.32);
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-feature-settings: 'lnum' 1; font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; color: var(--espresso); letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 8vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: clamp(24px, 3vw, 30px); }
p { margin: 0 0 1em; }
em, .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--sand-2); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay-dark); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--espresso); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(61,51,44,.5); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-clay { --bg: var(--clay); }
.btn-clay:hover { --bg: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--sand-2); }
.btn-ghost:hover { background: var(--paper); box-shadow: none; }
.btn-light { --bg: var(--paper); --fg: var(--espresso); border-color: var(--paper); }
.btn-danger { --bg: var(--danger); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled, .site-header.solid { background: rgba(250,246,240,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font: 500 26px/1 var(--serif); letter-spacing: .01em; }
.brand-name small { display: block; font: 600 9.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--clay-dark); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--espresso); opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sand-2); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--espresso); position: relative; transition: transform .25s, background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { padding: 11px 18px; font-size: 14px; }
  .mobile-menu { display: block; position: fixed; inset: 76px 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
  .menu-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 24px/1.2 var(--serif); }
  .mobile-menu .btn { margin-top: 20px; width: 100%; }
}
@media (max-width: 420px) { .brand-name { font-size: 22px; } .brand-name small { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(24px, 6vw, 70px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { color: var(--clay); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { font-size: 13px; color: var(--muted); }
.hero-meta strong { display: block; font: 500 34px/1 var(--serif); color: var(--espresso); margin-bottom: 6px; }
.hero-visual { position: relative; aspect-ratio: 4/5; }
.hero-visual .ph { position: absolute; inset: 0; border-radius: 240px 240px var(--radius) var(--radius); }
.hero-badge { position: absolute; left: -28px; bottom: 44px; background: var(--paper); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; font-size: 14px; animation: float 6s ease-in-out infinite; }
.hero-badge .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; color: var(--ok); font-size: 18px; }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge2 { left: auto; right: -18px; top: 60px; bottom: auto; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-blob { position: absolute; z-index: -1; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #f1e2d3, transparent 65%); top: -160px; right: -200px; filter: blur(8px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; aspect-ratio: 5/5.4; }
  .hero-badge { left: 0; } .hero-badge2 { right: 0; }
}

/* ── Bild-Platzhalter (bis echte Studiofotos da sind) ────────────────── */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(185,139,115,.35), transparent 60%),
    linear-gradient(160deg, #eadccb, #d9c3ad 55%, #c9a991);
}
.ph.sage { background: radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.5), transparent 55%), linear-gradient(160deg, #e3e9df, #c4cfbf 60%, #a7b6a1); }
.ph.rose { background: radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.5), transparent 55%), linear-gradient(160deg, #f4e3de, #e2c2b9 60%, #cf9f94); }
.ph.stone { background: radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.5), transparent 55%), linear-gradient(160deg, #ece7e1, #d6cdc3 60%, #b9ada0); }
.ph svg.figure { position: absolute; inset: auto 0 0 0; width: 100%; height: 78%; opacity: .55; }
.ph .ph-label { position: absolute; left: 18px; bottom: 16px; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(61,51,44,.55); background: rgba(255,253,249,.55); padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ── Sektionen ───────────────────────────────────────────────────────── */
section { padding: clamp(64px, 10vw, 130px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 640px; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--espresso); color: var(--sand); }
.bg-dark h2, .bg-dark h3 { color: var(--cream); }
.bg-dark .eyebrow { color: var(--gold); }
.bg-dark .muted, .bg-dark .lead { color: #bfb1a4; }

/* Marquee / Werte-Leiste */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--paper); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 400 28px/1 var(--serif); color: var(--espresso); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: '✦'; font-style: normal; font-size: 14px; color: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .hero-badge { animation: none; } html { scroll-behavior: auto; } }

/* Intro / Philosophie */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split .ph { aspect-ratio: 4/5; }
.split-imgs { position: relative; }
.split-imgs .ph:nth-child(2) { position: absolute; width: 48%; aspect-ratio: 1; right: -24px; bottom: -36px; border: 8px solid var(--cream); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 36px; }
.principles div { border-top: 1px solid var(--line); padding-top: 16px; }
.principles strong { display: block; font: 500 22px/1.2 var(--serif); margin-bottom: 4px; }
.principles span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-imgs { margin-bottom: 30px; } .split-imgs .ph:nth-child(2) { right: 0; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; position: relative; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: '0' counter(s); font: italic 400 46px/1 var(--serif); color: var(--clay); display: block; margin-bottom: 22px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Kurse */
.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.class-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.class-card .ph { aspect-ratio: 4/3; border-radius: 0; }
.class-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.class-card h3 { margin-bottom: 8px; }
.class-card p { font-size: 15px; color: var(--muted); flex: 1; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font: 600 11.5px/1 var(--sans); letter-spacing: .04em; padding: 7px 11px; border-radius: 999px; background: var(--sand); color: var(--espresso); }
.tag.sage { background: var(--sage-soft); color: #4d6449; }
.tag.rose { background: var(--rose-soft); color: #8d4f46; }

/* Preise */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.highlight { background: var(--espresso); color: var(--sand); border-color: var(--espresso); }
.price-card.highlight h3, .price-card.highlight .price { color: var(--cream); }
.price-card.highlight .muted { color: #bfb1a4; }
.price-card .ribbon { position: absolute; top: 18px; right: 18px; font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--espresso); padding: 7px 10px; border-radius: 999px; }
.price-card .coins { font: 500 15px/1 var(--sans); display: flex; align-items: center; gap: 8px; margin: 4px 0 22px; }
.price-card .price { font: 500 46px/1 var(--serif); color: var(--espresso); margin-bottom: 4px; }
.price-card .price.tbd { font-size: 30px; font-style: italic; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; font-size: 14.5px; flex: 1; }
.price-card li { padding: 8px 0; border-top: 1px solid rgba(125,112,103,.18); display: flex; gap: 10px; }
.price-card li::before { content: '✓'; color: var(--clay); font-weight: 700; }
.price-card.highlight li::before { color: var(--gold); }
.price-card.highlight .btn { --bg: var(--cream); --fg: var(--espresso); }
@media (max-width: 1020px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

.coin { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f3e6d6 40%, #d9bfa3); box-shadow: inset 0 -2px 3px rgba(154,111,89,.35), 0 1px 2px rgba(61,51,44,.2); flex: none; }
.coin.lg { width: 54px; height: 54px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery .ph:first-child { grid-row: span 2; }
.gallery .ph:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; } .gallery .ph:first-child { grid-column: span 2; grid-row: auto; } .gallery .ph:nth-child(4) { grid-column: span 2; } }

/* Zitat */
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote blockquote { font: italic 400 clamp(28px, 4vw, 46px)/1.25 var(--serif); margin: 0 0 24px; color: var(--cream); }
.quote cite { font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Zitat-Banner */
.quote-card { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(56px, 9vw, 110px) clamp(24px, 6vw, 90px);
  background: radial-gradient(120% 90% at 85% 0%, rgba(201,166,107,.32), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(185,139,115,.35), transparent 60%), linear-gradient(150deg, #4a3e35, #2b241f); color: var(--cream); box-shadow: var(--shadow-lg); }
.quote-card .quote-mark { display: block; font: italic 400 clamp(110px, 16vw, 180px)/.6 var(--serif); color: var(--gold); margin-bottom: 10px; height: .45em; }
.quote-card blockquote { position: relative; margin: 0 auto 34px; max-width: 900px; font: italic 400 clamp(30px, 4.6vw, 54px)/1.22 var(--serif); color: #fffaf3; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.quote-card cite { display: inline-flex; align-items: center; gap: 16px; font: 600 clamp(13px, 1.6vw, 15px)/1 var(--sans); font-style: normal; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.quote-card cite span { width: 40px; height: 1px; background: currentColor; opacity: .7; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font: 500 clamp(20px, 2.4vw, 25px)/1.3 var(--serif); color: var(--espresso); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sand-2); display: grid; place-items: center; font: 300 22px/1 var(--sans); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.faq details p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 720px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); }
.info-list { list-style: none; padding: 0; margin: 30px 0 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-list .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.info-list strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Formulare ───────────────────────────────────────────────────────── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--espresso); }
.field .hint { font-size: 12.5px; color: var(--muted); }
input, select, textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); width: 100%;
  background: var(--cream); border: 1px solid var(--sand-2); border-radius: 12px; padding: 14px 16px;
  transition: border .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d7067' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 4px rgba(185,139,115,.15); }
input[type=checkbox] { width: 20px; height: 20px; padding: 0; border-radius: 6px; flex: none; cursor: pointer; display: grid; place-items: center; margin: 2px 0 0; }
input[type=checkbox]:checked { background: var(--espresso); border-color: var(--espresso); }
input[type=checkbox]:checked::after { content: ''; width: 5px; height: 10px; border: solid var(--cream); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check a { color: var(--clay-dark); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; }
.pw-meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }
.form-error { background: var(--rose-soft); color: #8d4f46; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.form-ok { background: var(--sage-soft); color: #3f5a3b; border-radius: 12px; padding: 12px 16px; font-size: 14px; }

.card.bg-dark { background: var(--espresso); border-color: var(--espresso); }
/* Zahlen in der Grotesk – Cormorant hat nur Mediävalziffern ("IOO" statt "100") */
.num, .stat strong, .hero-meta strong, .price-card .price:not(.tbd), .balance-card .amount, .member-card .mc-bal, .pkg .pk-coins, .date-chip .d, .cal-day-head .dn, .cal-days-strip .dn, .cal-range {
  font-family: var(--sans) !important; font-weight: 300 !important; letter-spacing: -.03em; font-style: normal;
}
.balance-card .amount, .price-card .price:not(.tbd) { font-weight: 200 !important; letter-spacing: -.04em; }
.date-chip .d, .cal-day-head .dn, .cal-days-strip .dn { font-weight: 500 !important; font-size: 20px !important; letter-spacing: -.02em; }
.cal-range { font-size: 20px !important; font-weight: 500 !important; }

/* Auth-Seiten */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; color: var(--cream); overflow: hidden; }
.auth-visual .ph { position: absolute; inset: 0; border-radius: 0; }
.auth-visual .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,36,31,.05), rgba(43,36,31,.55)); }
.auth-visual > *:not(.ph) { position: relative; z-index: 1; }
.auth-visual blockquote { font: italic 400 clamp(30px, 3.4vw, 44px)/1.2 var(--serif); margin: 0; max-width: 460px; }
.auth-visual .brand { color: var(--cream); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter); }
.auth-form .inner { width: 100%; max-width: 440px; }
.auth-form h1 { font-size: clamp(40px, 5vw, 54px); }
.auth-form .mobile-brand { display: none; margin-bottom: 36px; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form { align-items: flex-start; padding-top: 30px; }
  .auth-form .mobile-brand { display: flex; width: max-content; }
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #bfb1a4; padding: 70px 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--cream); margin-bottom: 18px; }
.site-footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--cream); }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 100px; }
.legal h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 30px; }
.legal h2 { font-size: clamp(26px, 3vw, 32px); margin: 46px 0 14px; }
.legal h3 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: #554a42; }
.legal .placeholder-note { background: #fff6e6; border: 1px dashed var(--gold); border-radius: 14px; padding: 14px 18px; font-size: 14px; color: #7a5a22; margin-bottom: 30px; }
.legal .box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 16px 0; }

/* ── Modal & Toast ───────────────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(43,36,31,.42); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.modal-backdrop.open { opacity: 1; }
.modal { background: var(--paper); border-radius: 26px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.98); transition: transform .25s; position: relative; }
.modal-backdrop.open .modal { transform: none; }
.modal-head { padding: 28px 28px 0; }
.modal-body { padding: 18px 28px 28px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 18px; color: var(--muted); }
.modal .actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.modal .actions .btn { flex: 1; }
@media (max-width: 560px) {
  .modal-backdrop { place-items: end center; padding: 0; }
  .modal { border-radius: 26px 26px 0 0; max-height: 92vh; transform: translateY(40px); }
}
.toast-wrap { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--espresso); color: var(--cream); padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14.5px; animation: toastIn .3s; display: flex; gap: 10px; align-items: center; }
.toast.err { background: var(--danger); }
.toast.ok::before { content: '✓'; color: #b9d4b5; font-weight: 700; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ── Kalender ────────────────────────────────────────────────────────── */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.cal-range { font: 500 26px/1 var(--serif); color: var(--espresso); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sand-2); background: var(--paper); cursor: pointer; font-size: 16px; color: var(--espresso); transition: background .2s; }
.cal-nav button:hover:not([disabled]) { background: var(--sand); }
.cal-nav button[disabled] { opacity: .35; cursor: default; }
.cal-nav .today-btn { width: auto; padding: 0 18px; font: 600 13.5px/1 var(--sans); border-radius: 999px; }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal-day { min-width: 0; }
.cal-day-head { text-align: center; padding: 12px 6px; border-radius: 14px; margin-bottom: 10px; background: var(--paper); border: 1px solid var(--line); }
.cal-day-head .wd { font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cal-day-head .dn { font: 500 28px/1.1 var(--serif); color: var(--espresso); margin-top: 4px; }
.cal-day.is-today .cal-day-head { background: var(--espresso); border-color: var(--espresso); }
.cal-day.is-today .wd { color: var(--gold); } .cal-day.is-today .dn { color: var(--cream); }
.cal-slots { display: flex; flex-direction: column; gap: 8px; }
.cal-empty { text-align: center; font-size: 12.5px; color: #b3a69a; padding: 18px 4px; border: 1px dashed var(--line); border-radius: 14px; }
.slot {
  --c: var(--clay);
  text-align: left; width: 100%; font: inherit; color: inherit; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--c);
  border-radius: 12px; padding: 11px 12px 12px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.slot:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.slot .time { font: 700 13px/1 var(--sans); color: var(--espresso); }
.slot .title { font: 500 18px/1.15 var(--serif); color: var(--espresso); margin: 6px 0 3px; overflow-wrap: anywhere; }
.slot .meta { font-size: 11.5px; color: var(--muted); }
.slot .seats { margin-top: 9px; display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.slot .bar { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.slot .bar i { display: block; height: 100%; background: var(--sage); border-radius: 4px; }
.slot.few .bar i { background: var(--warn); } .slot.few .seats { color: var(--warn); }
.slot.full { background: repeating-linear-gradient(135deg, #f4efe9 0 8px, #efe8e0 8px 16px); border-left-color: #c9bdb1; cursor: pointer; }
.slot.full .title, .slot.full .time { color: #8f8278; }
.slot.full .seats { color: var(--danger); }
.slot.mine { background: var(--espresso); border-color: var(--espresso); border-left-color: var(--gold); }
.slot.mine .time, .slot.mine .title { color: var(--cream); }
.slot.mine .meta, .slot.mine .seats { color: #cdbfb2; }
.slot.mine .bar { background: rgba(255,255,255,.15); } .slot.mine .bar i { background: var(--gold); }
.slot .badge { position: absolute; top: 9px; right: 9px; font: 700 9.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; border-radius: 999px; }
.slot.mine .badge { background: var(--gold); color: var(--espresso); }
.slot.full .badge { background: #e5d9cd; color: #8f8278; }
.slot.past, .slot.cancelled { opacity: .5; cursor: default; }
.slot.past:hover, .slot.cancelled:hover { transform: none; box-shadow: none; }
.slot.cancelled .title { text-decoration: line-through; }
.cal-days-strip { display: none; }
.cal-loading { padding: 60px 0; text-align: center; color: var(--muted); }

@media (max-width: 1000px) {
  .cal-week { display: block; }
  .cal-day { display: none; }
  .cal-day.active { display: block; }
  .cal-day-head { display: none; }
  .cal-days-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
  .cal-days-strip button { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 10px 0 9px; cursor: pointer; font: inherit; color: var(--espresso); position: relative; }
  .cal-days-strip .wd { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .cal-days-strip .dn { display: block; font: 500 22px/1.2 var(--serif); }
  .cal-days-strip .dots { display: flex; justify-content: center; gap: 3px; height: 5px; margin-top: 2px; }
  .cal-days-strip .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
  .cal-days-strip .dots i.mine { background: var(--gold); } .cal-days-strip .dots i.full { background: #cdbfb2; }
  .cal-days-strip button.active { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
  .cal-days-strip button.active .wd { color: var(--gold); }
  .cal-days-strip button.today:not(.active) { border-color: var(--clay); }
  .slot { padding: 15px 16px; display: grid; grid-template-columns: 62px 1fr; gap: 2px 14px; }
  .slot .time { grid-row: span 3; font-size: 15px; padding-top: 3px; }
  .slot .title { margin: 0; font-size: 21px; }
  .slot .seats { margin-top: 6px; }
}
@media (max-width: 400px) { .cal-range { font-size: 21px; } .cal-days-strip { gap: 4px; } .cal-days-strip .dn { font-size: 19px; } }

/* Session-Details im Modal */
.session-detail .when { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.detail-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.detail-rows div { background: var(--cream); border-radius: 14px; padding: 12px 14px; }
.detail-rows small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.detail-rows strong { font-weight: 600; font-size: 15px; }
.seat-dots { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
.seat-dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--sage-soft); border: 1px solid #c9d5c4; }
.seat-dots i.taken { background: var(--sand-2); border-color: var(--sand-2); }
.seat-dots i.me { background: var(--gold); border-color: var(--gold); }

/* ── App-Shell (Kundenbereich & Admin) ───────────────────────────────── */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--paper) 0 259px, var(--line) 259px 260px, transparent 260px); }
.sidebar { background: var(--paper); border-right: 1px solid var(--line); align-self: start; padding: 26px 18px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.sidebar .brand { padding: 0 10px; margin-bottom: 34px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.side-nav a svg { width: 20px; height: 20px; flex: none; }
.side-nav a:hover { background: var(--cream); color: var(--espresso); }
.side-nav a.active { background: var(--espresso); color: var(--cream); }
.sidebar-foot { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sidebar-foot .who { font-weight: 600; color: var(--espresso); }
.app-main { padding: clamp(20px, 4vw, 44px); padding-bottom: 110px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.app-top h1 { font-size: clamp(36px, 5vw, 50px); margin: 0; }
.balance-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700; color: var(--espresso); text-decoration: none; }
.balance-pill .coin { width: 30px; height: 30px; }
.view { display: none; animation: fadeIn .35s; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.bottom-nav { display: none; }
.mobile-top { display: none; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; background: none; }
  .sidebar { display: none; }
  .mobile-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); background: rgba(250,246,240,.9); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
  .bottom-nav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(43,36,31,.94); backdrop-filter: blur(12px); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 14px; text-decoration: none; color: #a99b8e; font-size: 10.5px; font-weight: 600; }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--cream); background: rgba(255,255,255,.08); }
  .app-main { padding-top: 22px; }
}

/* Dashboard-Kacheln */
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile h3 { font-size: 24px; margin-bottom: 14px; }
.tile-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.tile-head h3 { margin: 0; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.stat small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat strong { display: block; font: 500 34px/1.1 var(--serif); color: var(--espresso); margin-top: 6px; }

.balance-card { background: var(--espresso); color: var(--sand); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.balance-card::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, rgba(201,166,107,.35), transparent 65%); }
.balance-card::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; left: -100px; bottom: -150px; border: 1px solid rgba(255,255,255,.08); }
.balance-card > * { position: relative; z-index: 1; }
.balance-card small { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.balance-card .amount { display: flex; align-items: center; gap: 14px; font: 500 clamp(54px, 8vw, 72px)/1 var(--serif); color: var(--cream); margin: 16px 0 6px; }
.balance-card .actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.balance-card .btn-ghost { color: var(--cream); border-color: rgba(255,255,255,.22); }
.balance-card .btn-ghost:hover { background: rgba(255,255,255,.06); }

.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; }
.date-chip { width: 56px; flex: none; text-align: center; background: var(--cream); border-radius: 14px; padding: 8px 0; }
.date-chip .m { font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-dark); }
.date-chip .d { font: 500 26px/1.1 var(--serif); color: var(--espresso); }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .t { font-weight: 600; color: var(--espresso); }
.list-item .s { font-size: 13.5px; color: var(--muted); }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty .big { font: italic 400 26px/1.2 var(--serif); color: var(--espresso); margin-bottom: 6px; }
.status { font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--sand); color: var(--espresso); white-space: nowrap; }
.status.attended { background: var(--sage-soft); color: #4d6449; }
.status.cancelled, .status.no_show { background: var(--rose-soft); color: #8d4f46; }
.amount-pos { color: var(--ok); font-weight: 700; white-space: nowrap; }
.amount-neg { color: var(--danger); font-weight: 700; white-space: nowrap; }

/* Mitgliedskarte */
.member-card {
  max-width: 400px; aspect-ratio: 1.586; border-radius: 24px; padding: 24px 26px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #4a3e35, #2b241f 70%); color: var(--cream); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.member-card::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -90px; top: -130px; background: radial-gradient(circle, rgba(201,166,107,.45), transparent 65%); }
.member-card::after { content: ''; position: absolute; inset: auto -40px -110px auto; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.member-card > * { position: relative; z-index: 1; }
.member-card .brand-name { color: var(--cream); font-size: 24px; }
.member-card .mc-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.member-card .mc-label { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.member-card .mc-name { font: 500 22px/1.1 var(--serif); }
.member-card .mc-no { font: 600 13px/1 var(--sans); letter-spacing: .12em; opacity: .8; margin-top: 6px; }
.member-card .mc-bal { text-align: right; font: 500 32px/1 var(--serif); }
.member-card .mc-bal small { display: block; font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.qr-box { background: #fff; border-radius: 22px; padding: 20px; width: 100%; max-width: 280px; aspect-ratio: 1; margin: 0 auto; box-shadow: var(--shadow); }
.qr-box svg { width: 100%; height: 100%; }
.wallet-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.wallet-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 12px; padding: 10px 18px; text-decoration: none; font-size: 13px; line-height: 1.15; min-width: 190px; }
.wallet-btn svg { width: 26px; height: 26px; flex: none; }
.wallet-btn small { display: block; font-size: 10.5px; opacity: .8; }
.wallet-btn strong { font-size: 16px; font-weight: 600; }
.wallet-btn.disabled { opacity: .35; pointer-events: none; }

/* Pakete im Kundenbereich */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.pkg { border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; background: var(--paper); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border .2s, transform .2s, box-shadow .2s; position: relative; }
.pkg:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pkg.selected { border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(61,51,44,.08); }
.pkg .pk-coins { font: 500 34px/1 var(--serif); color: var(--espresso); display: flex; align-items: center; gap: 10px; }
.pkg .pk-label { font-weight: 600; margin: 10px 0 2px; }
.pkg .pk-price { color: var(--muted); font-size: 14px; }
.pkg .pk-bonus { position: absolute; top: 14px; right: 14px; background: var(--sage-soft); color: #4d6449; font: 700 11px/1 var(--sans); padding: 6px 8px; border-radius: 999px; }

/* Admin-spezifisch */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--cream); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; } tr.clickable:hover td { background: var(--cream); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar input, .toolbar select { width: auto; flex: 1; min-width: 180px; }
.scanner { position: relative; border-radius: 22px; overflow: hidden; background: #1d1814; aspect-ratio: 1; max-width: 420px; }
.scanner video { width: 100%; height: 100%; object-fit: cover; }
.scanner .frame { position: absolute; inset: 18%; border: 2px solid rgba(255,255,255,.7); border-radius: 22px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.scanner .idle { position: absolute; inset: 0; display: grid; place-items: center; color: #bfb1a4; text-align: center; padding: 20px; }
.checkin-result { border-radius: 18px; padding: 18px 20px; margin-top: 16px; }
.checkin-result.ok { background: var(--sage-soft); color: #3f5a3b; }
.checkin-result.warn { background: #fbefd9; color: #7a5a22; }
.checkin-result.err { background: var(--rose-soft); color: #8d4f46; }
.checkin-result strong { font: 500 24px/1.2 var(--serif); display: block; }
.participant { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.participant:first-child { border-top: 0; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--clay-dark); flex: none; }
.seg { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 600 13px/1 var(--sans); cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--paper); color: var(--espresso); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.notice { background: #fff6e6; border: 1px solid #efdcb7; color: #7a5a22; border-radius: 16px; padding: 14px 18px; font-size: 14.5px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.notice.demo { background: var(--sage-soft); border-color: #cfdccb; color: #3f5a3b; }

/* Reveal-Animationen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Kundentabelle am Handy: nur Name, Nr., Guthaben */
@media (max-width: 640px) { .cust-table th:nth-child(3), .cust-table td:nth-child(3), .cust-table th:nth-child(5), .cust-table td:nth-child(5) { display: none; } }

/* Scan-Ergebnis (Admin-Check-in) */
.scan-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 20px; margin-top: 16px; box-shadow: var(--shadow); animation: fadeIn .3s; }
.scan-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar.lg { width: 54px; height: 54px; font-size: 18px; background: var(--espresso); color: var(--cream); }
.scan-name { font: 500 26px/1.1 var(--serif); color: var(--espresso); }
.scan-bal { display: flex; align-items: center; gap: 8px; font: 300 30px/1 var(--sans); color: var(--espresso); letter-spacing: -.03em; }
.scan-bal small { font-size: 12px; letter-spacing: .04em; color: var(--muted); align-self: flex-end; margin-bottom: 3px; }
.scan-bal.low { color: var(--danger); }
.scan-card .checkin-result { margin-top: 0; }
.scan-label { font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.scan-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.scan-opt { --c: var(--clay); text-align: left; font: inherit; cursor: pointer; border: 1px solid var(--line); border-left: 4px solid var(--c); background: var(--cream); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 2px; transition: transform .15s, box-shadow .15s; }
.scan-opt:hover:not([disabled]) { transform: translateY(-2px); box-shadow: var(--shadow); }
.scan-opt[disabled] { opacity: .45; cursor: default; }
.scan-opt .t { font-weight: 700; font-size: 15px; color: var(--espresso); }
.scan-opt .n { font: 500 17px/1.15 var(--serif); color: var(--espresso); }
.scan-opt .f { font-size: 12px; color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .scan-head { flex-wrap: wrap; } .scan-bal { width: 100%; justify-content: flex-start; } }

/* Admin: Kurs im Kalender platzieren */
.cal-add { width: 100%; border: 1.5px dashed var(--sand-2); background: transparent; border-radius: 12px; padding: 12px 8px; font: 600 13px/1 var(--sans); color: var(--clay-dark); cursor: pointer; transition: background .2s, border-color .2s; }
.cal-add:hover { background: var(--paper); border-color: var(--clay); }
.type-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.type-opt { --c: var(--clay); text-align: left; font: inherit; cursor: pointer; border: 1.5px solid var(--line); border-left: 5px solid var(--c); background: var(--cream); border-radius: 12px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s; }
.type-opt strong { display: block; font: 500 18px/1.15 var(--serif); color: var(--espresso); }
.type-opt span { font-size: 12px; color: var(--muted); font-weight: 600; }
.type-opt.on { border-color: var(--espresso); border-left-color: var(--c); box-shadow: 0 0 0 3px rgba(61,51,44,.1); background: var(--paper); }
.time-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.time-chips button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 11px; font: 600 12.5px/1 var(--sans); cursor: pointer; color: var(--espresso); }
.time-chips button.on { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* Mobiles Admin-Menü */
.admin-menu { position: relative; }
.admin-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg); z-index: 70; display: flex; flex-direction: column; }
.admin-menu-pop.hidden { display: none; }
.admin-menu-pop a, .admin-menu-pop button { text-align: left; padding: 12px 10px; border-radius: 10px; text-decoration: none; font: 500 15px/1 var(--sans); color: var(--espresso); background: none; border: 0; cursor: pointer; }
.admin-menu-pop a:hover, .admin-menu-pop button:hover { background: var(--cream); }
.admin-menu-pop button { color: var(--danger); }
/* Kennzahlen am Handy zweispaltig */
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat { padding: 14px 16px; } .stat strong { font-size: 28px; } }

/* Grid-Spalten dürfen schrumpfen – sonst drücken breite Tabellen die Seite am Handy auf */
.app > * { min-width: 0; }

/* Admin: Kurse & Preise als Karten */
.set-section + .set-section { margin-top: 40px; }
.set-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.set-head h3 { font-size: 28px; margin-bottom: 4px; }
.set-head p { margin: 0; max-width: 560px; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.set-card { position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.set-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sand-2); }
.set-card.off { opacity: .55; }
.set-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.set-title { font-weight: 700; font-size: 16px; color: var(--espresso); margin-right: auto; }
.set-title.serif { font: 500 24px/1.1 var(--serif); }
.set-edit { font-size: 13px; font-weight: 600; color: var(--clay-dark); margin-top: auto; padding-top: 4px; }
.tag.gold { background: var(--gold); color: var(--espresso); }
.pkg-card.hl { background: var(--espresso); border-color: var(--espresso); color: var(--sand); }
.pkg-card.hl .set-title, .pkg-card.hl .pkg-coins, .pkg-card.hl .pkg-price strong { color: var(--cream); }
.pkg-card.hl .pkg-meta, .pkg-card.hl .pkg-price span { color: #bfb1a4; }
.pkg-card.hl .set-edit { color: var(--gold); }
.pkg-coins { display: flex; align-items: center; gap: 10px; font: 200 46px/1 var(--sans); letter-spacing: -.04em; color: var(--espresso); }
.pkg-coins .coin { width: 34px; height: 34px; }
.pkg-coins small { font: 600 13px/1 var(--sans); letter-spacing: .04em; color: var(--muted); align-self: flex-end; margin-bottom: 6px; }
.pkg-card.hl .pkg-coins small { color: #bfb1a4; }
.pkg-meta { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pkg-price { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pkg-card.hl .pkg-price { border-top-color: rgba(255,255,255,.12); }
.pkg-price strong { font: 300 28px/1 var(--sans); letter-spacing: -.03em; color: var(--espresso); }
.pkg-price span { font-size: 13px; color: var(--muted); }
.pkg-price .tag { align-self: flex-start; }
.type-card { border-left: 5px solid var(--c); }
.type-desc { font-size: 14px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) {
  .set-head { flex-direction: column; }
  .set-head .btn { width: 100%; }
  .set-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .set-grid.types { grid-template-columns: 1fr; }
  .set-card { padding: 16px 14px 14px; border-radius: 18px; }
  .pkg-coins { font-size: 36px; } .pkg-coins .coin { width: 26px; height: 26px; }
  .pkg-price strong { font-size: 22px; }
}

.pkg-card.hl .tag.rose { background: rgba(201,143,134,.25); color: #f3cfc8; }
.pkg-card.hl .tag.sage { background: rgba(143,163,138,.25); color: #d3e2cf; }
