/* =========================================================
   Eltern-Portal Minimusikertage — Stylesheet
   Tokens 1:1 aus dem Pädagogen-Portal übernommen.
   ========================================================= */

:root {
  --bg-page: #FAFAF7;
  --bg-surface: #FFFFFF;
  --bg-muted: #F4F2EC;
  --bg-info: #E6F1FB;
  --bg-success: #EAF3DE;
  --bg-warning: #FAEEDA;
  --bg-danger: #FCEBEB;

  --fg-primary: #1A1A19;
  --fg-secondary: #5F5E5A;
  --fg-tertiary: #888780;
  --fg-info: #0C447C;
  --fg-success: #27500A;
  --fg-warning: #854F0B;
  --fg-danger: #791F1F;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --accent: #378ADD;
  --accent-hover: #2A78C8;
  --accent-fg: #FFFFFF;

  /* Brand-Akzente */
  --rose-bg: #FDEAF0;
  --rose-bg-soft: #FBE3EC;
  --rose-accent: #D4537E;
  --rose-accent-dark: #8E2A55;
  --rose-fg: #6B2843;

  --indigo-bg: #2A2660;
  --indigo-gold: #FFD479;
  --indigo-gold-hover: #FFC85C;
  --indigo-fg-secondary: #A6A3D6;
  --indigo-fg: #F2F1ED;

  --mint-bg: #9FE1CB;
  --mint-bg-hover: #B5EBD9;
  --mint-fg: #14523F;

  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.025);
  --shadow-modal: 0 12px 40px rgba(15, 23, 42, 0.18);
  --shadow-pop: 0 6px 20px rgba(15, 23, 42, 0.08);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  color: var(--fg-primary);
}
h1 { font-size: 28px; letter-spacing: -0.015em; line-height: 1.15; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =========================================================
   Forms
   ========================================================= */

button {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 14px;
  background: transparent;
  border: 0.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease, opacity 0.12s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
button:hover { background: var(--bg-muted); }
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button:disabled:hover { background: transparent; }

button.primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  font-weight: 500;
}
button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

button.rose {
  background: var(--rose-accent);
  color: #FFFFFF;
  border-color: var(--rose-accent);
  font-weight: 500;
}
button.rose:hover {
  background: var(--rose-accent-dark);
  border-color: var(--rose-accent-dark);
}

button.mint {
  background: var(--mint-bg);
  color: var(--mint-fg);
  border-color: var(--mint-bg);
  font-weight: 500;
}
button.mint:hover {
  background: var(--mint-bg-hover);
  border-color: var(--mint-bg-hover);
}

button.ghost {
  border-color: transparent;
  color: var(--fg-secondary);
}
button.ghost:hover { background: var(--bg-muted); color: var(--fg-primary); }

button.big {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 0.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  outline: none;
  width: 100%;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select { height: 40px; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(55, 138, 221, 0.18);
}
textarea { min-height: 80px; resize: vertical; }

label {
  display: block;
  font-size: 12px;
  color: var(--fg-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}
label .req { color: var(--rose-accent); margin-left: 2px; }

.field { margin-bottom: 14px; }
.field-hint {
  font-size: 11px;
  color: var(--fg-tertiary);
  margin-top: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.45;
}
.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
.checkbox-row a { color: var(--fg-secondary); text-decoration: underline; }
.checkbox-row a:hover { color: var(--fg-primary); }

/* =========================================================
   Layout
   ========================================================= */

.ep-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 22px 96px;
}
.ep-page.narrow { max-width: 720px; }

.card {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.card + .card { margin-top: 16px; }

.section-label {
  font-size: 10px;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 500;
}

.muted { color: var(--fg-secondary); }
.tiny { font-size: 11px; color: var(--fg-tertiary); }

.divider {
  height: 0.5px;
  background: var(--border-light);
  margin: 18px 0;
  border: none;
}

/* =========================================================
   Topbar
   ========================================================= */

.topbar {
  background: var(--bg-surface);
  border-bottom: 0.5px solid var(--border-light);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-inner {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-primary);
}
.brand-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.topbar-sep {
  color: var(--fg-tertiary);
  font-size: 13px;
}
.topbar-context {
  font-size: 13px;
  color: var(--fg-secondary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   Stepper (4-Schritt-Wizard)
   ========================================================= */

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}
.step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fg-tertiary);
  font-size: 12px;
}
.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 0.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.step.done .step-dot {
  background: var(--mint-bg);
  border-color: var(--mint-bg);
  color: var(--mint-fg);
}
.step.active .step-dot {
  background: var(--fg-primary);
  border-color: var(--fg-primary);
  color: #fff;
}
.step.active { color: var(--fg-primary); font-weight: 500; }
.step.done { color: var(--mint-fg); }
.step-connector {
  width: 38px;
  height: 0.5px;
  background: var(--border-medium);
  margin: 0 8px;
}
.step.done + .step-connector,
.step-connector.done { background: var(--mint-bg); height: 1px; }

@media (max-width: 540px) {
  .step-label { display: none; }
  .step-connector { width: 24px; margin: 0 4px; }
}

/* =========================================================
   Hero / Landing
   ========================================================= */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: #B8B0A4 center / cover no-repeat;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .play-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--fg-primary);
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.hero-visual .play-orb:hover { transform: scale(1.05); }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.25));
}
.hero-visual .visual-stamp {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--mint-bg);
  color: var(--mint-fg);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}
.hero-visual .visual-mascot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 130px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

.hero-copy {
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h1 {
  font-size: 24px;
  margin-bottom: 10px;
}
.hero-copy p { color: var(--fg-secondary); margin: 0 0 18px; }
.hero-copy .secondary-link {
  margin-top: 10px;
  font-size: 12px;
  color: var(--fg-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
}
.hero-copy .secondary-link:hover { color: var(--fg-primary); background: transparent; }

/* Summary box (Schule/Klasse/Termin) */
.summary-card {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 600px) {
  .summary-card { grid-template-columns: 1fr 1fr; }
}
.summary-item .summary-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-tertiary);
  margin-bottom: 4px;
  font-weight: 500;
}
.summary-item .summary-value {
  font-size: 13px;
  color: var(--fg-primary);
  font-weight: 500;
}

.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-info);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg-info);
  margin-bottom: 18px;
}
.info-banner .ti { font-size: 16px; margin-top: 1px; }
.info-banner strong { display: block; font-weight: 600; margin-bottom: 2px; }

/* =========================================================
   Klassen-Liste (Step 3)
   ========================================================= */

.classes-card { padding: 22px 24px 14px; }
.classes-card h2 {
  text-align: center;
  margin-bottom: 4px;
}
.classes-card .classes-sub {
  text-align: center;
  font-size: 12px;
  color: var(--fg-tertiary);
  margin-bottom: 18px;
}

.class-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.class-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-primary);
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.08s ease;
}
.class-row:hover {
  border-color: var(--rose-accent);
  background: var(--rose-bg);
}
.class-row:active { transform: scale(0.995); }
.class-row .chev {
  color: var(--fg-tertiary);
  font-size: 14px;
}
.class-row.fallback {
  border-style: dashed;
  background: var(--bg-muted);
  color: var(--fg-secondary);
  font-style: italic;
}
.class-row.fallback:hover {
  background: var(--rose-bg-soft);
}

.classes-fallback-hint {
  font-size: 12px;
  color: var(--fg-tertiary);
  margin-top: 14px;
  text-align: center;
  padding: 0 14px;
}

/* =========================================================
   Kinder-Block (Step 4)
   ========================================================= */

.kid-block {
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  background: #FCFBF8;
}
.kid-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.kid-block-title {
  font-size: 13px;
  font-weight: 500;
}
.kid-block-remove {
  font-size: 12px;
  color: var(--fg-tertiary);
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
}
.kid-block-remove:hover { color: var(--fg-danger); background: transparent; }

.kid-block-target {
  font-size: 11px;
  color: var(--fg-tertiary);
  margin-top: 4px;
  font-style: italic;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 12px;
  flex-wrap: wrap;
}
.wizard-actions .right { display: flex; gap: 10px; }

/* =========================================================
   Success-State (nach Registrierung)
   ========================================================= */

.success-card {
  text-align: center;
  padding: 40px 28px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-bg);
  color: var(--mint-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 18px;
}

/* =========================================================
   Dashboard Hero
   ========================================================= */

.dash-hero {
  background: var(--rose-bg);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 24px;
  align-items: center;
}
.dash-hero-text { flex: 1; min-width: 0; position: relative; z-index: 2; }
.dash-hero h1 {
  font-size: 26px;
  color: var(--rose-fg);
  margin-bottom: 6px;
}
.dash-hero .dash-hero-sub {
  font-size: 13px;
  color: var(--rose-accent-dark);
  margin-bottom: 14px;
}
.dash-hero-mascot {
  width: 130px;
  height: auto;
  flex-shrink: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(142, 42, 85, 0.15));
}
@media (max-width: 600px) {
  .dash-hero { padding: 22px; flex-direction: column-reverse; align-items: flex-start; }
  .dash-hero-mascot { width: 96px; align-self: flex-end; margin-top: -12px; }
}

.dash-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--rose-fg);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* =========================================================
   Kinder-Switcher (Tabs)
   ========================================================= */

.kid-switcher {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  overflow-x: auto;
}
.kid-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 0.5px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--fg-secondary);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.kid-tab:hover { color: var(--fg-primary); }
.kid-tab.active {
  background: var(--bg-surface);
  border-color: var(--border-light);
  color: var(--fg-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.kid-tab .kid-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--rose-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.kid-tab.add {
  color: var(--fg-tertiary);
  font-weight: 400;
}
.kid-tab.add:hover { color: var(--fg-primary); }
.kid-tab .kid-meta {
  font-size: 11px;
  color: var(--fg-tertiary);
  font-weight: 400;
}
.kid-tab.active .kid-meta { color: var(--fg-secondary); }

/* Klasse-ändern-Leiste (Dashboard, pro aktivem Kind) */
.class-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 13px;
  flex-wrap: wrap;
}
.class-bar .class-bar-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-secondary);
}
.class-bar .class-bar-text .ti { font-size: 16px; color: var(--fg-tertiary); }
.class-bar .class-bar-text strong { color: var(--fg-primary); font-weight: 600; }
.class-bar button { font-size: 12px; }
.class-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.class-bar.warn { background: var(--bg-warning); }
.class-bar.warn .class-bar-text,
.class-bar.warn .class-bar-text .ti,
.class-bar.warn .class-bar-text strong { color: var(--fg-warning); }
.class-bar.warn button {
  border-color: var(--fg-warning);
  color: var(--fg-warning);
}

/* =========================================================
   Schulsong-Block (auf Dashboard, indigo)
   ========================================================= */

.schulsong-block {
  background: var(--indigo-bg);
  color: var(--indigo-fg);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(42, 38, 96, 0.2);
}
.schulsong-block .section-label { color: var(--indigo-fg-secondary); }
.schulsong-block h2 { color: var(--indigo-fg); }
.schulsong-block p { color: #D7D5EE; font-size: 13px; margin: 0 0 14px; }
.schulsong-block .schulsong-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.schulsong-block .schulsong-logo {
  background: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.schulsong-block .schulsong-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* =========================================================
   Track-Liste
   ========================================================= */

.tracks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.tracks-head h2 { font-size: 17px; }
.tracks-head .tracks-sub { font-size: 12px; color: var(--fg-tertiary); margin-top: 3px; }

.tracks-list {
  display: flex;
  flex-direction: column;
}
.tracks-list .group-label {
  font-size: 11px;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin: 14px 4px 8px;
}
.tracks-list .group-label:first-child { margin-top: 0; }
.tracks-list .group-label .own {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--rose-bg);
  color: var(--rose-accent-dark);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  margin-left: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  margin-bottom: 6px;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.track-row:hover { border-color: var(--border-medium); background: var(--bg-muted); }

.track-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s ease;
}
.track-play:hover { background: var(--accent-hover); }
.track-row.playing .track-play { background: var(--rose-accent); }
.track-row.locked .track-play { background: var(--bg-muted); color: var(--fg-tertiary); }
.track-row.locked .track-play:hover { background: var(--border-medium); color: var(--fg-secondary); }
.track-row.schulsong .track-play { background: var(--indigo-gold); color: var(--indigo-bg); }
.track-row.schulsong .track-play:hover { background: var(--indigo-gold-hover); }

.track-main {
  flex: 1;
  min-width: 0;
}
.track-title {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.track-meta {
  font-size: 11px;
  color: var(--fg-tertiary);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.track-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.track-icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--fg-secondary);
}
.track-row.locked .track-icon-btn { opacity: 0.4; cursor: not-allowed; }

.snippet-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  background: var(--bg-warning);
  color: var(--fg-warning);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.snippet-pill .ti { font-size: 10px; }
.own-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  background: var(--rose-bg);
  color: var(--rose-accent-dark);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.schulsong-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(42, 38, 96, 0.1);
  color: var(--indigo-bg);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Track-Banner für Snippet-Hinweis */
.snippet-banner {
  background: var(--bg-warning);
  color: var(--fg-warning);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.snippet-banner .grow { flex: 1; min-width: 200px; }
.snippet-banner button {
  background: var(--rose-accent);
  color: #fff;
  border-color: var(--rose-accent);
  font-weight: 500;
  font-size: 12px;
  padding: 8px 14px;
}
.snippet-banner button:hover {
  background: var(--rose-accent-dark);
  border-color: var(--rose-accent-dark);
}

/* =========================================================
   Sticky Bottom Player
   ========================================================= */

.bottom-player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--bg-surface);
  border-top: 0.5px solid var(--border-medium);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 50;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease-out);
}
.bottom-player.visible { transform: translateY(0); }

.bp-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.bp-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 0;
  max-width: 220px;
}
.bp-title {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-sub {
  font-size: 11px;
  color: var(--fg-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-progress {
  flex: 1;
  height: 5px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.bp-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  width: 0%;
  transition: width 0.3s linear;
}
.bp-time {
  font-size: 11px;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 70px;
  text-align: right;
}
.bp-close {
  background: none;
  border: none;
  color: var(--fg-tertiary);
  padding: 4px 6px;
  font-size: 16px;
}

@media (max-width: 600px) {
  .bottom-player { gap: 10px; padding: 10px 16px; }
  .bp-info { max-width: 120px; }
  .bp-time { display: none; }
}

/* =========================================================
   Login-Modal / Modal
   ========================================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 18, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modal-in 0.2s var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-pop 0.25s var(--ease-out);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  padding: 18px 22px;
  border-bottom: 0.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-head h2 { font-size: 16px; }
.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--fg-tertiary);
  padding: 4px;
  cursor: pointer;
}
.modal-close:hover { color: var(--fg-primary); }
.modal-body {
  padding: 22px;
  overflow-y: auto;
}
.modal-foot {
  padding: 14px 22px;
  border-top: 0.5px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* =========================================================
   Shop-Teaser (auf Dashboard, eigene Section später)
   ========================================================= */

.shop-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .shop-teaser { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .shop-teaser { grid-template-columns: 1fr; }
}
.shop-tile {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease;
  border: 0.5px solid transparent;
}
.shop-tile:hover {
  background: var(--bg-surface);
  border-color: var(--border-light);
}
.shop-tile .shop-emoji {
  font-size: 26px;
  margin-bottom: 6px;
}
.shop-tile .shop-title {
  font-size: 14px;
  font-weight: 500;
}
.shop-tile .shop-sub {
  font-size: 11px;
  color: var(--fg-tertiary);
}
.shop-tile .shop-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-accent-dark);
  margin-top: auto;
  padding-top: 8px;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Schlanke Produkt-Karten (Shop-Seite)
   ========================================================= */

.shop-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.shop-products.three { grid-template-columns: repeat(3, 1fr); }
.shop-products.two { grid-template-columns: repeat(2, 1fr); }
.shop-products.one { grid-template-columns: 1fr; margin-bottom: 4px; }
@media (max-width: 820px) {
  .shop-products.two { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .shop-products.two { grid-template-columns: 1fr; }
}

/* Digitale Freischalt-Karte (Icon statt Bild, hervorgehoben) */
.sp-thumb-icon {
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #FDEAF0 0%, #F8DCE8 100%);
}
.sp-thumb-icon .sp-icon { font-size: 40px; }
.sp-card.sp-unlock { border-color: var(--rose-accent); box-shadow: 0 0 0 2px rgba(212, 83, 126, 0.12); }
.shop-products.one .sp-card { flex-direction: row; align-items: stretch; }
.shop-products.one .sp-thumb-icon { aspect-ratio: auto; width: 120px; flex-shrink: 0; }
.shop-products.one .sp-body { justify-content: center; }
@media (max-width: 460px) {
  .shop-products.one .sp-card { flex-direction: column; }
  .shop-products.one .sp-thumb-icon { width: 100%; aspect-ratio: 16/7; }
}
.sp-was { font-size: 12px; color: var(--fg-tertiary); text-decoration: line-through; font-weight: 400; margin-left: 4px; }
.grp-eb { color: var(--fg-success); text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Produkt-Modal: Icon-Variante + Early-Bird-Hinweis */
.pm-image-icon {
  background: linear-gradient(135deg, #FDEAF0 0%, #F8DCE8 100%);
  min-height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.pm-image-icon span { font-size: 64px; }
.pm-was { font-size: 13px; color: var(--fg-tertiary); text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.pm-eb-note {
  margin: 12px 0 0; font-size: 12px; color: var(--fg-success);
  background: var(--bg-success); border-radius: var(--radius-sm); padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
}
@media (max-width: 820px) {
  .shop-products, .shop-products.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .shop-products, .shop-products.three { grid-template-columns: 1fr 1fr; }
}

.sp-card {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.12s var(--ease-out);
}
.sp-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}
.sp-card.in-cart {
  border-color: var(--rose-accent);
  box-shadow: 0 0 0 2px rgba(212, 83, 126, 0.15);
}
.sp-thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sp-thumb.on-white { background: #FFFFFF; }
.sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.sp-flag {
  position: absolute;
  top: 9px;
  right: 9px;
  background: var(--rose-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-cartflag {
  position: absolute;
  top: 9px;
  left: 9px;
  background: var(--mint-bg);
  color: var(--mint-fg);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-card);
}
.sp-body {
  padding: 13px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 3px;
}
.sp-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.sp-sub { font-size: 11px; color: var(--fg-tertiary); flex: 1; }
.sp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.sp-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-primary);
  font-variant-numeric: tabular-nums;
}
.sp-view {
  font-size: 12px;
  color: var(--rose-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Eingebetteter Shop (Dashboard) */
.shop-lead {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 640px;
  margin-top: 4px;
}
.shop-group-label {
  font-size: 11px;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin: 4px 2px 10px;
}
.shop-group-label + .shop-products { margin-bottom: 18px; }

.cart-bar {
  margin-top: 18px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.cart-bar-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.cart-line-title { color: var(--fg-primary); }
.cart-line-meta { color: var(--fg-tertiary); font-size: 12px; }
.cart-line-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-summary {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 0.5px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-secondary);
}
.cart-row span:last-child { font-variant-numeric: tabular-nums; }
.cart-row.discount {
  background: var(--bg-success);
  color: var(--fg-success);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.cart-row.discount .ti { margin-right: 5px; }
.cart-row.total {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-primary);
  margin-top: 3px;
  padding-top: 11px;
  border-top: 0.5px dashed var(--border-light);
}

.cart-bar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cart-saving {
  font-size: 12px;
  color: var(--fg-success);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cart-saving .ti { font-size: 14px; }

/* =========================================================
   Produkt-Detail-Modal
   ========================================================= */

.product-modal {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: modal-pop 0.25s var(--ease-out);
}
.pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--fg-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background 0.12s ease, color 0.12s ease;
}
.pm-close:hover { background: #fff; color: var(--fg-primary); }
.pm-scroll { overflow-y: auto; }
.pm-image {
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pm-image.on-white { background: #FFFFFF; }
.pm-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}
.pm-body { padding: 22px 24px 8px; }
.pm-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-secondary);
}
.pm-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--rose-accent-dark);
  margin: 4px 0 12px;
  font-variant-numeric: tabular-nums;
}
.pm-headline {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--indigo-bg);
  margin-bottom: 12px;
}
.pm-desc p {
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.6;
  margin: 0 0 10px;
}
.pm-size { margin-top: 14px; }
.pm-size label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 6px;
}
.pm-foot {
  padding: 14px 24px;
  border-top: 0.5px solid var(--border-light);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.pm-foot .qty-stepper { flex-shrink: 0; }
.pm-add {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* =========================================================
   Shop-Seite
   ========================================================= */

.shop-intro {
  margin-bottom: 22px;
}
.shop-intro h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.shop-intro h1 .ti {
  color: var(--rose-accent);
  font-size: 26px;
}
.shop-intro p {
  color: var(--fg-secondary);
  margin: 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.6;
}

.shop-step {
  margin-bottom: 18px;
}
.shop-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.shop-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fg-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.shop-step.optional .shop-step-num {
  background: var(--bg-muted);
  color: var(--fg-secondary);
  border: 0.5px solid var(--border-medium);
}
.shop-step-title {
  font-size: 16px;
  font-weight: 500;
}
.shop-step-title .optional-tag {
  font-size: 11px;
  color: var(--fg-tertiary);
  margin-left: 8px;
  font-weight: 400;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .product-grid,
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .product-grid,
  .product-grid.three { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.08s ease;
  min-height: 220px;
}
.product-card:hover {
  border-color: var(--border-medium);
}
.product-card.selected {
  border-color: var(--rose-accent);
  box-shadow: 0 0 0 2px rgba(212, 83, 126, 0.18);
}
.product-card .product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--rose-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-emoji {
  font-size: 38px;
  text-align: center;
  padding: 14px 0 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}
.product-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.product-sub {
  font-size: 11px;
  color: var(--fg-tertiary);
  line-height: 1.4;
  min-height: 30px;
}
.product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-primary);
  font-variant-numeric: tabular-nums;
}

.product-card .add-btn {
  width: 100%;
  margin-top: auto;
  background: var(--fg-primary);
  color: #fff;
  border-color: var(--fg-primary);
  font-weight: 500;
  font-size: 12px;
}
.product-card .add-btn:hover {
  background: #000;
  border-color: #000;
}
.product-card.selected .add-btn,
.product-card .add-btn.selected {
  background: var(--mint-bg);
  color: var(--mint-fg);
  border-color: var(--mint-bg);
}

.size-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.size-row label {
  font-size: 10px;
  color: var(--fg-tertiary);
  margin-bottom: 0;
  font-weight: 500;
}
.size-row select {
  height: 32px;
  font-size: 12px;
  padding: 6px 10px;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-stepper button {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: var(--fg-secondary);
}
.qty-stepper button:hover { background: var(--bg-muted); color: var(--fg-primary); }
.qty-stepper .qty {
  width: 28px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.qty-row .add-btn {
  flex: 1;
  margin-top: 0;
}

/* Bestellübersicht */
.order-summary {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 8px;
}
.order-summary h3 {
  margin-bottom: 12px;
  font-size: 15px;
}
.order-empty {
  font-size: 13px;
  color: var(--fg-tertiary);
  padding: 20px;
  text-align: center;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 0.5px dashed var(--border-medium);
}
.order-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 0.5px solid var(--border-light);
  font-size: 13px;
}
.order-line:last-child { border-bottom: none; }
.order-line .ol-title { font-weight: 500; }
.order-line .ol-meta {
  font-size: 11px;
  color: var(--fg-tertiary);
  margin-top: 2px;
}
.order-line .ol-qty {
  font-size: 12px;
  color: var(--fg-secondary);
  font-variant-numeric: tabular-nums;
}
.order-line .ol-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 70px;
  text-align: right;
}
.order-line .ol-remove {
  background: none;
  border: none;
  color: var(--fg-tertiary);
  padding: 4px 6px;
  cursor: pointer;
  font-size: 14px;
}
.order-line .ol-remove:hover { color: var(--fg-danger); }

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.5px solid var(--border-medium);
  font-size: 15px;
}
.order-total .label { color: var(--fg-secondary); }
.order-total .value {
  font-weight: 600;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.order-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.shop-info-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--fg-secondary);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.shop-info-note .ti { font-size: 16px; color: var(--fg-tertiary); margin-top: 1px; }

/* =========================================================
   Status-spezifische Komponenten
   ========================================================= */

/* Landing-Page (Status 1a/1b) */
.landing-hero {
  background: var(--rose-bg);
  border-radius: var(--radius-xl);
  padding: 28px 36px 32px;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.landing-hero .landing-mascot {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 6px 14px rgba(142, 42, 85, 0.15));
}
.landing-hero h1 {
  font-size: 30px;
  color: var(--rose-fg);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.landing-hero .landing-sub {
  font-size: 14px;
  color: var(--rose-accent-dark);
  margin: 0 auto 14px;
  max-width: 520px;
  line-height: 1.5;
}
.landing-hero .landing-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--rose-fg);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 640px) {
  .landing-hero { padding: 24px 22px 24px; }
  .landing-hero h1 { font-size: 24px; }
  .landing-hero .landing-mascot { width: 80px; }
}

/* Register-CTA-Karte (direkt unter dem Hero, Status 1a/1b) */
.register-cta {
  margin-bottom: 18px;
}
.register-cta h2 {
  font-size: 17px;
  margin-bottom: 4px;
}
.register-cta .register-cta-sub {
  font-size: 13px;
  color: var(--fg-secondary);
  margin: 0 0 16px;
}
.benefit-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-list .benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--rose-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.benefit-list .benefit-text {
  font-size: 13px;
  line-height: 1.5;
  padding-top: 6px;
}
.benefit-list .benefit-text strong { font-weight: 600; }
.benefit-list .benefit-text span { color: var(--fg-secondary); }

.cta-reassure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--fg-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}
.cta-reassure .ti { font-size: 16px; color: var(--fg-tertiary); margin-top: 1px; flex-shrink: 0; }

.register-cta .register-cta-actions {
  display: flex;
  justify-content: flex-end;
}
.register-cta .register-cta-actions .rose {
  width: 100%;
  justify-content: center;
}
@media (min-width: 560px) {
  .register-cta .register-cta-actions .rose { width: auto; }
}

/* Inline-Wizard (klappt unter dem CTA auf) */
.toggle-chevron { transition: transform 0.3s var(--ease-out); }
button.open .toggle-chevron { transform: rotate(180deg); }

.wizard-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.42s var(--ease-out),
              opacity 0.3s ease,
              margin-top 0.42s var(--ease-out);
}
.wizard-collapse.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 18px;
}
.wizard-collapse-inner { overflow: hidden; min-height: 0; }

.inline-wizard {
  border-top: 0.5px solid var(--border-light);
  padding-top: 20px;
}
.inline-wizard .iw-field { margin-bottom: 18px; }
.inline-wizard .iw-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 9px;
}
.inline-wizard .iw-field.error .iw-label { color: var(--fg-danger); }
.inline-wizard .iw-field.error input { border-color: var(--fg-danger); }

.class-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.class-chip {
  padding: 8px 14px;
  border: 0.5px solid var(--border-medium);
  border-radius: 999px;
  background: var(--bg-surface);
  font-size: 13px;
  cursor: pointer;
  color: var(--fg-secondary);
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.08s ease;
}
.class-chip:hover { border-color: var(--rose-accent); color: var(--fg-primary); }
.class-chip:active { transform: scale(0.97); }
.class-chip.selected {
  background: var(--rose-accent);
  border-color: var(--rose-accent);
  color: #fff;
  font-weight: 500;
}
.class-chip.fallback { border-style: dashed; }

.inline-wizard .iw-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.inline-wizard .checkbox-row { margin-bottom: 14px; }

/* Kind-Blöcke (Geschwister) */
.iw-kid + .iw-kid {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 0.5px dashed var(--border-medium);
}
.iw-kid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.iw-kid-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fg-tertiary);
}
.iw-kid-remove {
  background: none;
  border: none;
  color: var(--fg-tertiary);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.iw-kid-remove:hover { color: var(--fg-danger); }

.iw-parent-head {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fg-tertiary);
  padding-top: 18px;
  margin-bottom: 14px;
  border-top: 0.5px solid var(--border-light);
}

.iw-add-kid { margin-bottom: 4px; }
.iw-add-kid button {
  font-size: 12px;
  border-style: dashed;
  color: var(--fg-secondary);
}
.iw-add-kid button:hover { color: var(--fg-primary); border-color: var(--rose-accent); }

.iw-success { text-align: center; padding: 8px 0 4px; }
.iw-success h3 { margin-bottom: 8px; }
.iw-success p { max-width: 420px; margin: 0 auto 20px; }
.iw-success .iw-actions { justify-content: center; }
.iw-success-list {
  list-style: none;
  margin: 0 auto 18px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.iw-success-list li {
  font-size: 13px;
  color: var(--fg-secondary);
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 8px 14px;
}
.iw-invite-note {
  display: flex;
  gap: 10px;
  text-align: left;
  background: var(--bg-warning);
  color: var(--fg-warning);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
  margin: 14px 0 0;
}
.iw-invite-note .ti { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.iw-invite-note strong { display: block; margin-bottom: 2px; }

/* Video-Sektion (zweispaltig: Text links, Video rechts) */
.video-section { margin-bottom: 18px; }
.video-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.video-section-head h2 { font-size: 17px; }
.video-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 720px) {
  .video-section-grid { grid-template-columns: 1fr; }
}
.video-section-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-secondary);
}
.video-section-text h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--fg-primary);
}
.video-section-text p { margin: 0 0 10px; }
.video-section-text p:last-child { margin-bottom: 0; }
.video-section-text[dir="rtl"] { text-align: right; }

.video-frame {
  position: relative;
  background: #1A1A19;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F2F1ED;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image: linear-gradient(135deg, #2A2660 0%, #3D2D6E 100%);
}
.video-frame .play-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--fg-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s var(--ease-out);
}
.video-frame:hover .play-orb { transform: scale(1.06); }
.video-frame .video-caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.lang-switcher .lang-label {
  font-size: 11px;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  font-size: 12px;
  background: var(--bg-surface);
  border: 0.5px solid var(--border-medium);
  border-radius: 999px;
  cursor: pointer;
  color: var(--fg-secondary);
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.lang-pill:hover { color: var(--fg-primary); }
.lang-pill.active {
  background: var(--fg-primary);
  color: #fff;
  border-color: var(--fg-primary);
}

/* Schulsong-Highlight auf der Landing (Status 1a/1b) */
.schulsong-landing {
  background: var(--indigo-bg);
  color: var(--indigo-fg);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 18px;
  display: flex;
  gap: 22px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(42, 38, 96, 0.2);
}
.schulsong-landing .schulsong-landing-logo {
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.schulsong-landing .schulsong-landing-logo img {
  height: 64px;
  width: auto;
  display: block;
}
.schulsong-landing .schulsong-landing-text { flex: 1; min-width: 0; }
.schulsong-landing .section-label { color: var(--indigo-gold); margin-bottom: 6px; }
.schulsong-landing h2 { color: var(--indigo-fg); font-size: 18px; margin-bottom: 8px; }
.schulsong-landing p { color: #D7D5EE; font-size: 13px; line-height: 1.6; margin: 0; }
.schulsong-landing .schulsong-landing-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: rgba(255, 212, 121, 0.16);
  color: var(--indigo-gold);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
@media (max-width: 600px) {
  .schulsong-landing { flex-direction: column; text-align: center; align-items: center; }
  .schulsong-landing .schulsong-landing-free { margin-left: auto; margin-right: auto; }
}

/* Rabatt-Hinweis-Banner (Pre-Event) */
.rabatt-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-success);
  color: var(--fg-success);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
}
.rabatt-banner .ti { font-size: 18px; margin-top: 1px; }
.rabatt-banner strong { font-weight: 600; }
.rabatt-banner .code-pill {
  display: inline-block;
  background: rgba(39, 80, 10, 0.12);
  border: 0.5px solid rgba(39, 80, 10, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Vorbereitung — Status 2 */
.prep-hero {
  background: linear-gradient(135deg, var(--bg-info) 0%, #DBE8F7 100%);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 18px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.prep-hero .prep-text { flex: 1; min-width: 0; }
.prep-hero h1 { font-size: 24px; color: var(--fg-info); margin-bottom: 8px; }
.prep-hero .prep-sub { font-size: 14px; color: var(--fg-info); opacity: 0.85; margin-bottom: 12px; }
.prep-hero .prep-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.prep-hero .prep-pill {
  background: rgba(255, 255, 255, 0.7);
  color: var(--fg-info);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prep-hero .prep-mascot { width: 110px; flex-shrink: 0; }
@media (max-width: 600px) {
  .prep-hero { flex-direction: column-reverse; align-items: flex-start; }
  .prep-hero .prep-mascot { width: 90px; align-self: flex-end; }
}

.lyrics-block {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
  color: var(--fg-primary);
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .tips-grid { grid-template-columns: 1fr; } }
.tip-tile {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tip-tile .tip-icon { font-size: 22px; margin-bottom: 4px; }
.tip-tile .tip-title { font-size: 13px; font-weight: 600; }
.tip-tile .tip-text { font-size: 12px; color: var(--fg-secondary); line-height: 1.5; }

/* PDF-Download (Status 2) — als eigene Karte oder als Sub-Sektion */
.pdf-card {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
}
.pdf-row {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* Zusammengefasste Vorbereitungs-Karte — Abstand statt Trennlinien */
.prep-card-merged .prep-sec + .prep-sec { margin-top: 26px; }
.pdf-icon {
  width: 54px;
  height: 66px;
  border-radius: var(--radius-md);
  background: var(--bg-danger);
  color: var(--fg-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.pdf-text { flex: 1; min-width: 0; }
.pdf-text h3 { font-size: 15px; margin-bottom: 4px; }
.pdf-text p { font-size: 12px; color: var(--fg-secondary); margin: 0; line-height: 1.5; }
.pdf-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--rose-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.12s ease, transform 0.08s ease;
}
.pdf-dl:hover { background: var(--rose-accent-dark); text-decoration: none; }
.pdf-dl:active { transform: scale(0.98); }
@media (max-width: 560px) {
  .pdf-card, .pdf-row { flex-wrap: wrap; gap: 14px; }
  .pdf-dl { width: 100%; justify-content: center; }
}

/* Pending-Banner Status 3p */
.pending-banner {
  background: linear-gradient(135deg, var(--bg-warning) 0%, #FCE2C0 100%);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.pending-banner .pending-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--fg-warning);
  flex-shrink: 0;
}
.pending-banner .pending-text { flex: 1; min-width: 0; }
.pending-banner h2 { color: var(--fg-warning); margin-bottom: 4px; font-size: 17px; }
.pending-banner p { color: var(--fg-warning); margin: 0; font-size: 13px; opacity: 0.92; }

/* =========================================================
   Dev-Bar (floating)
   ========================================================= */

#ep-dev-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  background: rgba(26, 26, 25, 0.96);
  color: #F2F1ED;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  display: flex;
  justify-content: center;
}
#ep-dev-bar .dev-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}
#ep-dev-bar .dev-bar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(242, 241, 237, 0.55);
  margin-right: 2px;
}
#ep-dev-bar .dev-bar-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
}
#ep-dev-bar .dev-pill {
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  color: rgba(242, 241, 237, 0.85);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  font-family: inherit;
}
#ep-dev-bar .dev-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
#ep-dev-bar .dev-pill.active {
  background: var(--rose-accent);
  border-color: var(--rose-accent);
  color: #fff;
  font-weight: 500;
}
#ep-dev-bar .dev-bar-close {
  background: transparent;
  border: none;
  color: rgba(242, 241, 237, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0 6px;
  margin-left: 4px;
}
#ep-dev-bar .dev-bar-close:hover { color: #fff; }

@media (max-width: 720px) {
  #ep-dev-bar {
    border-radius: 14px;
    padding: 10px 12px;
  }
  #ep-dev-bar .dev-bar-row { justify-content: flex-start; }
  #ep-dev-bar .dev-bar-label { width: 100%; margin-bottom: 4px; }
}

/* =========================================================
   Utilities
   ========================================================= */

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.row-gap-12 { gap: 12px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.hidden { display: none !important; }
