/* Feinschliff der Startseite (07.10.2026). Nur Ergänzungen zum bestehenden Design; nichts davon entfernt eine Szene.
   Mirwan: „verbessern, nicht gute Dinge entfernen“. Zuletzt laden. */

/* ---------- Logo: etwas größer im Kopf; mit Skript wird es zur Inline-Grafik, deren Stäbe einmal „sprechen“ ---------- */
.kopf .marke .wortmarke { width: 4.5em; height: 1.27em; }
.wortmarke.lebt { background: none; -webkit-mask: none; mask: none; }
.wortmarke.lebt::after { content: none; }
.wortmarke.lebt svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wortmarke.lebt rect { transform-box: fill-box; transform-origin: center; }

/* ---------- Held: der Auftragszettel liegt gerade; der Stempel bleibt ein Stempel ---------- */
.auftrag { transform: none; }
.stempel { transform: rotate(-6deg); }
.anruf[data-laeuft] .stempel { transform: rotate(-6deg) scale(1.5); }
.anruf .stempel.da { transform: rotate(-6deg) scale(1); }
/* Aufprall des Stempels: der Zettel federt kurz nach unten, ohne Schräglage */
@keyframes ruck { 35% { transform: translateY(2px); } }

/* ---------- Fakten unter dem Held: im dunklen Fluss, vier gleich gebaute Kacheln, die Symbole zeichnen sich einmal ---------- */
.fakten { padding: clamp(10px, 1.6vw, 24px) 0 clamp(20px, 2.5vw, 40px); border-bottom: 0; background: var(--nacht, #0B1220); }
.fakten .fakten-liste { gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; background: rgba(255, 255, 255, .07); }
.fakten .fakten-liste li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px 16px; align-content: start;
  padding: 26px clamp(18px, 2vw, 28px) 28px; border: 0; background: #0D1525; transition: background-color .3s ease; }
.fakten .fakten-liste li::before { content: none; }
.fakten .fakten-liste li:hover { background: #101A2C; }
.fakt-symbol { grid-row: 1 / 3; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(61, 220, 132, .1);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .24); fill: none; stroke: #3DDC84; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fakten .fakten-liste b { grid-column: 2; align-self: start; padding-top: 1px; color: #fff; font-size: 1.06rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; white-space: normal; }
.fakten .fakten-liste span { grid-column: 2; max-width: 24em; color: #9AA6BC; font-size: .94rem; line-height: 1.5; }
@media (max-width: 560px) { .fakten .fakten-liste li { padding: 20px 18px 22px; } }
@media (prefers-reduced-motion: no-preference) {
  .fakten.bereit .fakt > :not(svg) { opacity: 0; transform: translateY(10px); }
  .fakten.sichtbar .fakt > :not(svg) { opacity: 1; transform: none;
    transition: opacity .7s ease calc(var(--i) * 90ms + 150ms), transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 90ms + 150ms); }
  .fakten.sichtbar .fakt > span { transition-delay: calc(var(--i) * 90ms + 230ms); }
  .fakten.bereit .fakt-symbol > * { opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .fakten.sichtbar .fakt-symbol > * { opacity: 1; stroke-dashoffset: 0;
    transition: opacity .2s ease calc(var(--i) * 90ms + 250ms), stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1) calc(var(--i) * 90ms + 250ms); }
  .fakten.sichtbar .fakt-symbol > :last-child { transition-delay: calc(var(--i) * 90ms + 700ms); }   /* Zeiger, Balken, Haken, Pfeil zuletzt */
}

/* ---------- Wellen: gleiche Optik, aber über transform statt Höhe (kein Layout pro Bild, kein Ruckeln beim Scrollen) ---------- */
.welle i, .funk i, .fragen-welle i { height: 100% !important; min-height: 0 !important; transform-origin: center; will-change: transform; }
.welle i { transform: scaleY(.07); transition: background-color .3s ease !important; }
.funk i { transform: scaleY(.04); transition: background-color .4s ease !important; }
.fragen-welle i { transform: scaleY(.07); transition: background-color .3s ease !important; }

/* ---------- Start an Ort und Stelle: dasselbe Formular als Fenster über der Seite ---------- */
.start-dialog { position: fixed; width: min(540px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  border: 0; background: transparent; color: var(--tinte); overflow: visible; }
.start-dialog::backdrop { background: rgba(5, 9, 18, .8); }   /* ohne Weichzeichner: bleibt auch auf großen Bildschirmen flüssig */
.start-dialog-innen { position: relative; max-height: calc(100dvh - 24px); overflow: auto; border-radius: 16px; overscroll-behavior: contain; }
.start-dialog .startform { margin: 0; transform: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 60px 120px -40px rgba(0, 0, 0, .85); }
.start-dialog-zu { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid rgba(11, 18, 32, .12); border-radius: 50%; background: #fff; color: var(--nacht); cursor: pointer; transition: background-color .2s, transform .2s; }
.start-dialog-zu:hover { background: var(--signal); transform: rotate(90deg); }
.start-dialog-zu svg { width: 18px; height: 18px; }
.start-dialog-tarif { margin: 0 0 12px; padding-right: 52px; color: #1A7F4B; font-size: .92rem; font-weight: 650; }
.start-dialog .formular-kopf { padding-right: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .start-dialog[open] .startform { animation: start-auf .45s cubic-bezier(.16, 1, .3, 1) both; }
  .start-dialog[open]::backdrop { animation: start-blende .35s ease both; }
}
@keyframes start-auf { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@keyframes start-blende { from { opacity: 0; } }

/* ---------- Preise: Start je Tarif klar; beim Jahrestarif steht der echte Monatspreis durchgestrichen daneben ---------- */
.tarif-preis s { color: var(--leise); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-decoration-thickness: 2px; }
.tarif-empfohlen .tarif-preis s { color: var(--nacht-text); }
.tarif-start { margin-top: 10px; font-size: .84rem; line-height: 1.4; color: var(--leise); text-align: center; }
.tarif-empfohlen .tarif-start { color: var(--nacht-text); }

/* ---------- Stimmen: nach der Wahl direkt weiter (die Stimme kommt in die Einrichtung mit) ---------- */
#voices .studio-weiter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--g-nacht-linie, rgba(255, 255, 255, .1)); }
#voices .studio-weiter [data-hoerstatus] { flex: 1 1 240px; margin: 0; font-size: .9rem; line-height: 1.5; }
#voices .studio-weiter [data-hoerstatus]:empty { display: none; }
#voices .studio-weiter-knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 15px 22px 15px 26px; border-radius: 999px;
  background: #fff; color: #0B1220; font: 700 16px/1.25 "Satoshi", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 14px 30px -18px rgba(255, 255, 255, .5); transition: background-color .2s ease, transform .2s ease; }
#voices .studio-weiter-knopf::after { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; transition: transform .25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11m-4.5-4.5L15 10l-4.5 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11m-4.5-4.5L15 10l-4.5 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
#voices .studio-weiter-knopf:hover { background: #3DDC84; transform: translateY(-1px); }
#voices .studio-weiter-knopf:hover::after { transform: translateX(3px); }
#voices .studio-weiter-knopf:focus-visible { outline: 3px solid #7CF0B2; outline-offset: 3px; }
@media (max-width: 560px) { #voices .studio-weiter-knopf { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { #voices .studio-weiter-knopf, #voices .studio-weiter-knopf::after { transition: none; } }

/* ---------- Bot-Schutz: Hinweis mit „Erneut versuchen“ ---------- */
.captcha-hinweis { margin: 0 0 8px; color: #B3261E; font-size: .9rem; }
.captcha-nochmal { padding: 8px 14px; border: 1px solid currentColor; border-radius: 8px; background: none; color: var(--nacht, #0B1220); font: inherit; font-weight: 600; cursor: pointer; }
