/* Ballkönig – Vorstellungsseite, Impressum, Datenschutz
   ✏️ FARBEN: Nur den Wert nach dem Doppelpunkt ändern (# und 6 Zeichen), das ; stehen lassen. */
:root {
  --hintergrund: #fbf9f5;    /* Seitenhintergrund (warmes Weiß) */
  --hintergrund-2: #f4f0e8;  /* Hintergrund der hellbeigen Abschnitte */
  --weiss: #ffffff;          /* Kästen */
  --tinte: #0e1630;          /* Überschriften und Text, fast Schwarz-Blau */
  --grau: #5a6072;           /* Nebentext */
  --linie: #e6e0d4;          /* dünne Linien */
  --nacht: #0c1326;          /* dunkle Bereiche und Knöpfe (dasselbe Blau wie am Ball) */
  --nacht-2: #18223f;        /* Knöpfe, wenn man drüberfährt */
  --gold: #b48a45;           /* Krone, Häkchen, Punkte */
  --gold-text: #8a6a2f;      /* kleine goldene Schrift auf Hell */
  --gold-hell: #e8c98a;      /* goldene Schrift auf Dunkel */

  --f-titel: "Marcellus", Georgia, "Times New Roman", serif;
  --f-text: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 1120px;
  --rund: 14px;
  --kopf: 68px;
}

@font-face {
  font-family: "Marcellus";
  src: url("fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); -webkit-text-size-adjust: 100%; background: var(--hintergrund); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--hintergrund); color: var(--tinte); font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--f-titel); font-weight: 400; color: var(--tinte); margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; margin-bottom: 16px; }
h3, h4 { font-family: var(--f-text); font-weight: 600; font-size: 1.08rem; line-height: 1.35; margin: 0 0 6px; color: var(--tinte); }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--grau); margin-top: 10px; text-align: center; }
.muted { color: var(--grau); }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.push { margin-left: auto; }

/* Kleine Zeile über den Überschriften */
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.kicker-light { color: var(--gold-hell); }

/* Knöpfe */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--nacht);
  background: var(--nacht); color: #fff; font: 500 1rem/1 var(--f-text); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.button:hover { background: var(--nacht-2); border-color: var(--nacht-2); }
.button:disabled { opacity: .6; cursor: wait; }
.button-small { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.button-ghost { background: transparent; color: var(--tinte); border-color: var(--linie); }
.button-ghost:hover { background: var(--weiss); border-color: var(--tinte); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Listen mit Häkchen, Punkten, Strichen */
.checks li, .dots li, .dashes li { position: relative; padding-left: 30px; }
.checks { display: grid; gap: 10px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.dots { display: grid; gap: 10px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dashes { display: grid; gap: 10px; color: var(--grau); }
.dashes li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 12px; height: 1.5px; background: var(--grau); }

/* Kopfzeile (bleibt beim Scrollen oben) */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 245, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.top-row { display: flex; align-items: center; gap: 24px; height: var(--kopf); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-titel); font-size: 1.35rem; color: var(--tinte); white-space: nowrap; }
.logo svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.menu a:not(.button) { text-decoration: none; color: var(--grau); font-size: .97rem; }
.menu a:not(.button):hover { color: var(--tinte); }
.menu-toggle { display: none; }

/* Ganz oben */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.lead { font-size: 1.18rem; color: var(--grau); margin: 22px 0 30px; max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--grau); font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-visual { position: relative; padding-bottom: 56px; }
.hero-visual .screen { width: 88%; }
.screen { border-radius: 12px; overflow: hidden; background: var(--nacht); box-shadow: 0 1px 2px rgba(14,22,48,.08), 0 24px 60px -18px rgba(14,22,48,.35); border: 1px solid rgba(14,22,48,.08); }
.phone img { border-radius: 30px; background: var(--nacht); border: 7px solid #1b1f2b; box-shadow: 0 30px 60px -20px rgba(14,22,48,.45); }
.phone-hero { position: absolute; right: 0; bottom: 0; width: 26%; }

/* Abschnitte */
.section { padding: 96px 0; }
.section-alt { background: var(--hintergrund-2); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.intro { max-width: 36em; }
.small { font-size: .93rem; color: var(--grau); }
.note { display: inline-block; margin-top: 22px; padding: 10px 16px; border-radius: 10px; background: var(--hintergrund-2); font-weight: 500; font-size: .97rem; }

/* Funktionsweise */
.steps { counter-reset: step; margin: 28px 0 0; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--linie); }
.steps li:last-child { border-bottom: 1px solid var(--linie); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--f-titel); font-size: 1.55rem; color: var(--gold); }
.steps p { color: var(--grau); margin: 0; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 460px; justify-self: center; width: 100%; }
.phone-low { margin-top: 56px; }

/* Dunkler Bereich: Am Beamer */
.band { background: var(--nacht); color: #fff; padding: 96px 0 104px; }
.band h2 { color: #fff; max-width: 20em; }
.band-list { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 8px 0 44px; color: rgba(255,255,255,.78); }
.band-list li { display: flex; align-items: center; gap: 10px; }
.band-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hell); flex: none; }
.screen-band { border-color: rgba(255,255,255,.12); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }

/* Für Komitees */
.duties { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; margin-top: 36px; align-items: start; }
.card { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 32px; box-shadow: 0 20px 50px -30px rgba(14,22,48,.25); }
.card h3 { margin-bottom: 18px; }
.card-plain { background: transparent; box-shadow: none; }
.card .small { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--linie); }
.sub { font-family: var(--f-titel); font-weight: 400; font-size: 1.5rem; margin: 64px 0 20px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); background: var(--weiss); border-radius: 2px; }
.feature { padding: 26px 26px 22px; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.feature p { color: var(--grau); margin: 0; font-size: .98rem; }
.compare { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: stretch; }
.compare > div { border-radius: var(--rund); padding: 30px 32px; }
.compare-old { border: 1px dashed #cfc7b6; }
.compare-new { background: var(--nacht); color: #fff; }
.compare-new .checks li::before { border-color: var(--gold-hell); }
.compare-label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); margin-bottom: 16px; }
.compare-new .compare-label { color: var(--gold-hell); }

/* Preis */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.price-card { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 36px; box-shadow: 0 20px 50px -30px rgba(14,22,48,.25); }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price-num { font-family: var(--f-titel); font-size: 3.6rem; line-height: 1; }
.price-unit { color: var(--grau); }
.price-min { margin: 10px 0 22px; font-weight: 600; }
.price-card .checks { padding-top: 22px; margin-bottom: 22px; border-top: 1px solid var(--linie); }
.price-example { padding: 14px 16px; border-radius: 10px; background: var(--hintergrund); color: var(--grau); font-size: .93rem; }
.price-example p { margin: 0; }
.price-example .price-example-title { font-weight: 600; color: var(--tinte); margin-bottom: 4px; }

/* Über uns */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about-photo { border-radius: var(--rund); overflow: hidden; max-width: 420px; }
.about-list { margin: 22px 0 24px; }

/* Häufige Fragen */
.faq { border-top: 1px solid var(--linie); margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid var(--tinte); border-bottom: 1.5px solid var(--tinte); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--grau); padding: 0 40px 20px 0; margin: 0; }
.faq a, .form-small a { color: var(--gold-text); }

/* Kontakt (dunkler Bereich) */
.band-contact { background: var(--nacht); color: #fff; }
.band-contact h2 { color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-lead { color: rgba(255,255,255,.75); font-size: 1.08rem; margin: 6px 0 32px; max-width: 28em; }
.direct li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.direct li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.direct span { width: 88px; flex: none; color: rgba(255,255,255,.6); }
.direct a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.direct a:hover { color: var(--gold-hell); }
.form { display: grid; gap: 16px; background: var(--weiss); color: var(--tinte); border-radius: var(--rund); padding: 32px; }
.form label { display: grid; gap: 6px; font-size: .95rem; font-weight: 500; }
.form input, .form textarea { width: 100%; font: 400 16px/1.5 var(--f-text); color: var(--tinte); background: var(--hintergrund); border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .button { justify-self: start; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-small { font-size: .88rem; color: var(--grau); margin: 0; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: #eef6ee; border: 1px solid #b9d9b9; color: #1d4d24; }
.form-status.error { background: #fbeeee; border: 1px solid #e8bcbc; color: #7a2323; }
.form-status a { color: inherit; }

/* Fußzeile */
.bottom { border-top: 1px solid var(--linie); padding: 28px 0 36px; color: var(--grau); font-size: .92rem; }
.bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.bottom p { margin: 0; }
.bottom-links { display: flex; gap: 22px; }
.bottom-links a { color: var(--grau); }
.bottom-links a:hover { color: var(--tinte); }

/* Impressum und Datenschutz */
.legal { padding: 56px 0 96px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: #2c3245; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold-text); }
.back { display: inline-block; margin-bottom: 28px; color: var(--grau); text-decoration: none; }
.back:hover { color: var(--tinte); }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .split, .price-grid, .about, .contact, .duties, .compare { grid-template-columns: 1fr; gap: 40px; }
  .duties, .compare { gap: 20px; }
  .hero { padding-top: 40px; }
  .features { grid-template-columns: 1fr; }
  .phones { max-width: 420px; }
  .about-photo { max-width: 360px; }
}

/* Menü klappt bei schmalen Bildschirmen zu */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linie);
    background: var(--weiss); color: var(--tinte); font: 500 .95rem/1 var(--f-text); cursor: pointer;
  }
  .menu-toggle-lines, .menu-toggle-lines::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .menu-toggle-lines { box-shadow: 0 -5px 0 currentColor; top: 2px; }
  .menu-toggle-lines::before { content: ""; top: 3px; position: absolute; }
  .menu-open .menu-toggle-lines { box-shadow: none; transform: rotate(45deg); top: 0; }
  .menu-open .menu-toggle-lines::before { transform: rotate(-90deg); top: 0; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--kopf);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 6px 20px 22px; background: var(--hintergrund); border-bottom: 1px solid var(--linie);
    box-shadow: 0 24px 40px -20px rgba(14,22,48,.35);
  }
  .menu-open .menu { display: flex; }
  .menu a:not(.button) { padding: 14px 0; font-size: 1.1rem; color: var(--tinte); border-bottom: 1px solid var(--linie); }
  .menu .button { margin-top: 18px; min-height: 48px; font-size: 1rem; }
}

/* Handy */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  :root { --kopf: 60px; }
  .logo { font-size: 1.25rem; }
  .hero { padding: 28px 0 56px; }
  .lead { font-size: 1.08rem; }
  .actions .button { flex: 1 1 100%; }
  .hero-visual { padding-bottom: 40px; }
  .phone-hero { width: 30%; }
  .phone-hero img, .phones .phone img { border-width: 5px; border-radius: 20px; }
  .section { padding: 64px 0; }
  .band { padding: 64px 0 72px; }
  .band-list { flex-direction: column; margin-bottom: 32px; }
  .steps li { padding-left: 52px; }
  .phones { gap: 14px; }
  .phone-low { margin-top: 36px; }
  .card, .price-card { padding: 26px 22px; }
  .compare > div { padding: 24px 22px; }
  .sub { margin-top: 48px; font-size: 1.35rem; }
  .feature { padding: 22px 20px; }
  .price-num { font-size: 3rem; }
  .about-photo { max-width: 100%; }
  .form { padding: 24px 20px; }
  .form .button { width: 100%; }
  .direct span { width: 78px; }
  .bottom-row { flex-direction: column; }
}
