/* =====================================================================
   TEAM THEKE — Präsenzseite (öffentlich)
   Tiefschwarz mit Gold (Brief §12). MOBILE-FIRST.
   Tiefe entsteht über Ebenen, nie über eine flache schwarze Wand.
   ===================================================================== */

:root {
  --bg:        #0A0A0A;
  --panel:     #141210;   /* erhöhte Fläche, warmes Anthrazit */
  --panel-2:   #1A1714;
  --gold:      #C8A24B;
  --gold-dim:  #8A6F33;
  --white:     #F2F1EE;
  --muted:     #8E8A80;
  --line:      #242220;
  --err:       #D9705E;
  --radius:    12px;
  --tap:       44px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------ */
/*  Typografie — Gewichtskontrast 700/300                              */
/* ------------------------------------------------------------------ */

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1.1rem; }

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

.eyebrow {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .9rem;
}

.lead  { color: var(--muted); font-size: 1.05rem; }
.muted { color: var(--muted); }

/* Goldene Hairline — die Thekenkante als wiederkehrendes Zeichen */
.rule { height: 1px; background: var(--gold); border: 0; width: 56px; margin: 1.25rem 0; opacity: .8; }

/* ------------------------------------------------------------------ */
/*  Layout                                                             */
/* ------------------------------------------------------------------ */

.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3rem 0; }

/* ------------------------------------------------------------------ */
/*  Kopfzeile                                                          */
/* ------------------------------------------------------------------ */

.site-head {
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  position: sticky; top: 0; z-index: 30;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(8px);
}
.site-head-inner {
  max-width: 780px; margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark {
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  font-size: .85rem; color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; min-height: var(--tap);
}
.wordmark span { color: var(--gold); }

/* Sprunglink für Tastatur- und Screenreader-Nutzung */
.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: #14110A;
  padding: .75rem 1.25rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Navigation in der Kopfzeile */
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  display: inline-flex; align-items: center;
  min-height: var(--tap); padding: 0 .6rem;
  font-size: .82rem; font-weight: 400; color: var(--muted);
  text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: var(--white); text-decoration: none; }
.site-nav a.is-active { color: var(--gold); }
.site-nav .nav-cta { margin-left: .35rem; padding: .55rem .9rem; font-size: .72rem; }

/* Auf sehr schmalen Handys weichen die Textlinks, der Anfrage-Button bleibt */
@media (max-width: 519px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ------------------------------------------------------------------ */
/*  Buttons                                                            */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap);
  padding: .8rem 1.5rem;
  font-family: inherit; font-size: .85rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; }

.btn-gold  { background: var(--gold); color: #14110A; }
.btn-gold:hover, .btn-gold:active { background: #D8B463; }

.btn-line  { background: transparent; color: var(--white); border-color: var(--line); }
.btn-line:hover, .btn-line:active { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; }

/* ------------------------------------------------------------------ */
/*  Formular / Wizard                                                  */
/* ------------------------------------------------------------------ */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}

fieldset { border: 0; margin: 0; padding: 0; }
legend   { padding: 0; }

label { display: block; font-size: .9rem; font-weight: 400; margin-bottom: .4rem; color: var(--white); }

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="number"], textarea, select {
  width: 100%;
  /* 16px verhindert das Auto-Zoom von iOS-Safari */
  font-size: 16px;
  font-family: inherit; font-weight: 400;
  color: var(--white);
  background: #0E0D0C;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .8rem .9rem;
  min-height: var(--tap);
  appearance: none; -webkit-appearance: none;
}
textarea { min-height: 120px; line-height: 1.6; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5F5C56; }

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field { margin-bottom: 1.15rem; }
.field-hint { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }

/* Auswahlkacheln (Services) — großzügige Tap-Flächen */
.choice {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0E0D0C;
  cursor: pointer;
  min-height: var(--tap);
  margin-bottom: .6rem;
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: var(--gold-dim); }
.choice input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--gold); flex: 0 0 auto; }
.choice span { font-size: .95rem; line-height: 1.45; }
.choice:has(input:checked) { border-color: var(--gold); background: #17140F; }

/* Zahleneingabe je Rolle */
.count-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.count-row:last-child { border-bottom: none; }
.count-row label { margin: 0; font-size: .95rem; }
.count-row input { width: 88px; text-align: center; }

/* Die Weiche — zwei große Auswahlflächen */
.branch { display: grid; gap: .75rem; }
.branch-option {
  display: block; text-align: left;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: #0E0D0C; color: var(--white);
  cursor: pointer; font-family: inherit; font-size: 1rem;
  min-height: var(--tap);
  transition: border-color .15s ease, background .15s ease;
}
.branch-option:hover { border-color: var(--gold); background: #17140F; }
.branch-option strong { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.branch-option span   { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* Fortschritt */
.progress { margin-bottom: 1.5rem; }
.progress-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .25s ease; }
.progress-text { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }

/* Schrittsteuerung */
.steps-nav { display: flex; gap: .6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.steps-nav .btn { flex: 1 1 auto; }

.alert {
  border: 1px solid var(--err); border-radius: 8px;
  padding: .85rem 1rem; margin-bottom: 1.25rem;
  font-size: .9rem; color: var(--err); background: rgba(217,112,94,.08);
}
.alert-ok { border-color: var(--gold); color: var(--gold); background: rgba(200,162,75,.07); }

/* Honeypot — für Menschen unsichtbar, für Bots verlockend */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ */
/*  Hero — Wortmarke als Held, Foto nur als Textur (Brief §12)          */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;          /* gegen die Sprünge der iOS-Adressleiste */
  display: flex; align-items: center;
  overflow: hidden;
  text-align: center;
}

/* Bildfähiger Slot (Brief §12): Foto immer blurren + abdunkeln,
   damit es Textur bleibt und der Wortmarke nicht die Schau stiehlt.
   Der Farbverlauf liegt darunter — falls das Bild fehlt, bleibt der Look. */
.hero-bild {
  position: absolute; inset: -40px;      /* größer als der Rahmen, damit der Blur nicht ausfranst */
  background-color: #14100B;
  background-image:
    radial-gradient(120% 90% at 50% 35%, rgba(42,33,24,.55) 0%, rgba(10,10,10,.85) 70%),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  filter: blur(14px) saturate(.8) brightness(.48);
  transform: scale(1.08);
}
.hero-verlauf {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 50% 40%, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 60%, rgba(10,10,10,.9) 100%),
    linear-gradient(to bottom, rgba(10,10,10,.85) 0%, rgba(10,10,10,0) 25%,
                                rgba(10,10,10,0) 60%, var(--bg) 100%);
}

.hero-inhalt { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 3rem; }

.hero-marke {
  display: block;
  width: min(88%, 460px);
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-claim {
  font-size: clamp(1.05rem, 4.2vw, 1.5rem);
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto 2rem;
}

.hero-aktionen { display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.hero-aktionen .btn { width: 100%; max-width: 320px; }

/* ------------------------------------------------------------------ */
/*  Event-Typen (drei Blöcke)                                          */
/* ------------------------------------------------------------------ */

.rule-klein { width: 32px; margin: .6rem 0 .9rem; }

.typen { display: grid; gap: 2rem; margin-top: 2rem; }

.typ-nr {
  font-size: 2.4rem; font-weight: 300; color: var(--gold);
  line-height: 1; margin-bottom: .35rem;
}
.typ h3 { font-size: 1.25rem; margin: 0; }

/* ------------------------------------------------------------------ */
/*  Leistungen                                                         */
/* ------------------------------------------------------------------ */

.leistungen { display: grid; gap: 1rem; margin-top: 2rem; }

.leistung {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.leistung h2 { font-size: 1.2rem; }
.leistung-gross { background: var(--panel-2); }

.fliesstext { max-width: 62ch; }
.fliesstext p { margin-bottom: 1.4rem; }

/* ------------------------------------------------------------------ */
/*  Stimmen                                                            */
/* ------------------------------------------------------------------ */

.stimmen-block { border-top: 1px solid var(--line); }

/* Ohne JS: alle Zitate untereinander */
.stimmen { display: grid; gap: 1rem; margin-top: 1.5rem; }
.stimme { margin: 0; }
.stimme blockquote {
  margin: 0;
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  font-weight: 300; line-height: 1.6; color: var(--white);
}

/* Mit JS: Karussell — nur das aktive Zitat ist sichtbar */
.stimmen.ist-karussell { display: block; position: relative; min-height: 9.5rem; }
.stimmen.ist-karussell .stimme { display: none; }
.stimmen.ist-karussell .stimme.ist-aktiv { display: block; animation: einblenden .4s ease; }

@keyframes einblenden {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.stimmen-steuerung {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.25rem;
}
.stimmen-pfeil {
  background: transparent; border: 1px solid var(--line); color: var(--white);
  width: var(--tap); height: var(--tap); min-width: var(--tap);
  border-radius: 50%; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.stimmen-pfeil:hover { border-color: var(--gold); color: var(--gold); }

.stimmen-punkte { display: flex; gap: .5rem; flex: 1; justify-content: center; }
.stimmen-punkt {
  width: 28px; height: var(--tap);      /* großzügige Tap-Fläche, schmale Optik */
  padding: 0; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.stimmen-punkt::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 2px; background: var(--line);
}
.stimmen-punkt.ist-aktiv::after { background: var(--gold); }

/* ------------------------------------------------------------------ */
/*  Kontaktaufruf                                                      */
/* ------------------------------------------------------------------ */

.cta {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  display: grid; gap: 1.25rem;
}
.cta h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.cta .btn { width: 100%; }

/* ------------------------------------------------------------------ */
/*  Fußzeile                                                           */
/* ------------------------------------------------------------------ */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
  font-size: .85rem; color: var(--muted);
}
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--gold); }

.foot-brand {
  font-weight: 700; color: var(--white);
  letter-spacing: .1em; text-transform: uppercase; font-size: .8rem;
}
.foot-grid { display: grid; gap: 1.75rem; }
.foot-links { display: flex; flex-direction: column; }
.foot-links a { min-height: var(--tap); display: inline-flex; align-items: center; }

.foot-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 1.75rem; padding-top: 1.25rem;
  font-size: .78rem;
}
.foot-login { opacity: .65; }   /* dezent, wie im Brief gewünscht */

/* ------------------------------------------------------------------ */
/*  Ab Tablet                                                          */
/* ------------------------------------------------------------------ */

@media (min-width: 768px) {
  section { padding: 4.5rem 0; }
  .card { padding: 2.25rem 2rem; }
  .branch { grid-template-columns: 1fr 1fr; }
  .steps-nav .btn { flex: 0 0 auto; min-width: 160px; }

  .hero-aktionen { flex-direction: row; justify-content: center; }
  .hero-aktionen .btn { width: auto; }

  .typen { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

  .leistungen { grid-template-columns: 1fr 1fr; }
  .leistung-gross { grid-column: 1 / -1; }
  .leistung { padding: 1.75rem 1.5rem; }

  .cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2rem;
  }
  .cta .btn { width: auto; }

  .foot-grid { grid-template-columns: 1fr auto; }
  .foot-links { flex-direction: row; gap: 1.25rem; align-items: flex-start; }
}

/* Die Seite ist auf 780px Lesebreite ausgelegt; Leistungen dürfen breiter */
@media (min-width: 1000px) {
  .leistungen { max-width: none; }
}
