/* Linkseite ig.bastiweyers.de · Grundgerüst (Struktur + Verhalten). Material/Farbe kommt aus stil-*.css.
   Weyers-CI: Signalblau als einzige Akzentfarbe, Zilla 700 (Anzeige) + Mulish (Text), keine Logos.
   Signatur: Kästen und Pillen wie in Sebastians Text-Reels. Mobil zuerst, nichts unter 14 px, Tippflächen ≥ 44 px. */

@font-face { font-family: Mulish; src: url(/fonts/mulish-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Mulish; src: url(/fonts/mulish-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Zilla; src: url(/fonts/zilla-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --si: #1B3592;
  --si-tief: #12256B;
  --nacht: #0F1B4D;
  --hell: #EEF2FA;
  --tint: #CFDBF6;
  --leise: #44507A;
  --fehler: #8A2A0B;
  --schwung: cubic-bezier(.2, .9, .25, 1.15); /* Signatur-Easing: kurz über das Ziel, dann sitzen */
  --sanft: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--grund); color: var(--text);
  font: 400 1rem/1.55 Mulish, system-ui, "Segoe UI", sans-serif;
}
main { max-width: 27rem; margin: 0 auto; padding: clamp(1.5rem, 6vw, 3rem) 1rem 2.5rem; }
section { margin-top: 2.5rem; }
a { color: var(--link); text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
h1, h2 { text-wrap: balance; }
p, li, label { text-wrap: pretty; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Kasten + Pillen (Reel-Vokabular) ── */
.kasten {
  display: inline; margin: 0;
  font: 700 1.35rem/1.5 Mulish, sans-serif;
  background: var(--kasten-bg); color: var(--kasten-text);
  padding: .2em .55em; border-radius: .45em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
section > .kasten { display: inline-block; margin-bottom: .9rem; line-height: 1.3; padding: .35em .65em; }
.pillen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.pillen li {
  background: var(--pille-bg); color: var(--pille-text); border: var(--pille-rand);
  font-weight: 700; padding: .35rem .85rem; border-radius: .7rem; box-shadow: var(--pille-schatten, none);
}

/* ── Bühne (Hero) ── */
.buehne { text-align: left; }
.foto { position: relative; margin: 0 0 1.4rem; }
.ki-hinweis { font-size: .875rem; font-weight: 700; color: var(--text-leise); margin: .4rem 0 0; } /* Hausregel: Porträt immer mit Hinweis */
.foto img { display: block; width: 100%; height: auto; object-fit: cover; }
.stempel { display: none; }
.buehne h1 { margin: 0 0 1rem; line-height: 1.45; }
.buehne h1 .klein { font-size: 1.15rem; }
.buehne h1 .gross { font: 700 clamp(2.1rem, 1.5rem + 3vw, 2.7rem)/1.28 Zilla, Georgia, serif; }
.buehne .wer { margin: 1.25rem 0 0; color: var(--text-leise); }
.buehne .wer b { color: var(--text); font-size: 1.125rem; }

/* Ein orchestrierter Moment: die Pillen der Bühne erscheinen nacheinander, wie Text im Reel. Nur ohne reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .auftakt li { animation: pille-rein .55s var(--schwung) both; }
  .auftakt li:nth-child(2) { animation-delay: .12s; }
  .auftakt li:nth-child(3) { animation-delay: .24s; }
  @keyframes pille-rein { from { opacity: 0; transform: translateY(.6rem) scale(.92); } }
}

/* 16.10.2026, mobil zuerst: Überschrift links, Porträt rechts daneben, darunter gleich die Knöpfe.
   Vorher füllte das Porträt den ersten Bildschirm, der erste Knopf kam nach fast zwei Bildschirmen. */
.buehne-kopf { display: grid; grid-template-columns: minmax(0, 1fr) 8.25rem; gap: .9rem; align-items: start; }
.buehne-kopf h1 { margin: 0; min-width: 0; }
.buehne-kopf .foto { margin: 0; }
.auftakt { flex-direction: row; flex-wrap: wrap; margin-top: 1.1rem; }
.start-knoepfe { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: 1.3rem; }
.start-knoepfe .knopf { width: 100%; }
.start-hinweis { margin: .7rem 0 0; font-size: .9375rem; color: var(--text-leise); }
@media (min-width: 24rem) { .start-knoepfe { grid-template-columns: 1.35fr 1fr; } }

/* „Wer schreibt dir zurück?“: Ablauf als echte Reihenfolge (ol), Agentur-Bewertungen klar zugeordnet */
.ueber p { margin: 0 0 .9rem; }
.ablauf { margin: 0 0 1rem; padding-left: 1.4rem; }
.ablauf li { margin: .35rem 0; padding-left: .2rem; }
.ablauf li::marker { font: 700 1.05rem Zilla, Georgia, serif; color: var(--si); }
.bewertung { font-size: .9375rem; }
.bewertung a { display: inline-block; padding: .3rem 0; font-weight: 700; }
.bewertung span { color: var(--text-leise); }

/* Ratgeber je Lebenslage */
.tafel-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.tafel-links a { display: inline-block; padding: .35rem 0; font-weight: 700; }

/* Feste Kontaktleiste: Kontakt immer einen Tipp entfernt. main bekommt unten Platz, damit nichts darunter liegt. */
body:has(.leiste) main { padding-bottom: 6.5rem; }
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: .6rem;
  max-width: 27rem; margin: 0 auto; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: var(--leiste-bg, #fff); border-top: var(--leiste-rand, 1px solid var(--tint));
}
.leiste .knopf { width: 100%; min-height: 2.9rem; }

/* ── Themen-Wähler (Radio-Pillen, ohne JavaScript) ── */
.themen-wahl { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.themen-wahl input, .zeiten input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.themen-wahl label, .zeiten label {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem; cursor: pointer;
  font-weight: 700; border-radius: 999px;
  background: var(--chip-bg); color: var(--chip-text); border: var(--chip-rand); box-shadow: var(--chip-schatten, none);
  transition: transform .18s var(--sanft), background-color .18s var(--sanft), box-shadow .18s var(--sanft);
}
.themen-wahl label:hover, .zeiten label:hover { transform: translateY(-1px); }
.themen-wahl label:active, .zeiten label:active { transform: scale(.96); }
.themen-wahl input:checked + label, .zeiten input:checked + label {
  background: var(--chip-an-bg); color: var(--chip-an-text); border: var(--chip-an-rand);
}
.themen-wahl input:checked + label::before, .zeiten input:checked + label::before { content: "✓"; margin-right: .4rem; }
.themen-wahl input:focus-visible + label, .zeiten input:focus-visible + label { outline: 3px solid var(--fokus); outline-offset: 3px; }
.themen-tipp { margin: .9rem 0 0; color: var(--text-leise); }
.themen:has(.themen-wahl input:checked) .themen-tipp { display: none; }

.thema-tafel {
  display: none; margin-top: 1rem; padding: 1.1rem 1.1rem 1.2rem;
  background: var(--tafel-bg); color: var(--tafel-text); border: var(--tafel-rand); border-radius: var(--radius);
  box-shadow: var(--tafel-schatten, none);
}
.themen:has(#t-kinder:checked) #tafel-kinder,
.themen:has(#t-auto:checked) #tafel-auto,
.themen:has(#t-hund:checked) #tafel-hund,
.themen:has(#t-paar:checked) #tafel-paar,
.themen:has(#t-wohnung:checked) #tafel-wohnung,
.themen:has(#t-job:checked) #tafel-job,
.themen:has(#t-selbststaendig:checked) #tafel-selbststaendig,
.themen:has(#t-pflege:checked) #tafel-pflege { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .thema-tafel { animation: tafel-rein .35s var(--sanft) both; }
  @keyframes tafel-rein { from { opacity: 0; transform: translateY(.5rem); } }
}
.tafel-titel { font: 700 1.2rem/1.3 Zilla, Georgia, serif; margin: 0 0 .7rem; }
.tafel-hinweis { margin: .9rem 0 0; font-size: .9375rem; }
.tafel-zwei { font-size: 1.05rem; margin-top: 1.1rem; }
/* Gesprächsliste: Kästchen zum Abhaken statt Sticker, damit die Fakten darüber der Blickfang bleiben */
.pillen-klein { gap: .35rem; }
.pillen-klein li {
  position: relative; padding: .1rem 0 .1rem 1.75rem; font-size: 1rem; font-weight: 600;
  background: none; color: inherit; border: 0; border-radius: 0; box-shadow: none;
}
.pillen-klein li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.05em; height: 1.05em;
  border: 2px solid currentColor; border-radius: .25rem;
}
.tafel-quelle { margin: .9rem 0 0; font-size: .875rem; opacity: .85; }
.tafel-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ── Knöpfe ── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.25rem;
  border-radius: 999px; font: 700 1rem/1.2 Mulish, sans-serif; text-decoration: none; cursor: pointer;
  background: var(--knopf2-bg); color: var(--knopf2-text); border: var(--knopf2-rand); box-shadow: var(--knopf-schatten, none);
  transition: transform .18s var(--sanft), box-shadow .18s var(--sanft);
}
.knopf.haupt { background: var(--knopf-bg); color: var(--knopf-text); border: var(--knopf-rand); }
.knopf:hover { transform: translateY(-1px); }
.knopf:active { transform: scale(.97); }

/* ── Countdown ── */
.countdown { padding: 1.3rem 1.25rem 1.4rem; border-radius: var(--radius); background: var(--count-bg); color: var(--count-text); border: var(--count-rand); box-shadow: var(--count-schatten, none); }
.countdown .eyebrow { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.countdown h2 { font: 700 2rem/1.1 Zilla, Georgia, serif; margin: .3rem 0 .6rem; }
.countdown .zahl { font-size: 2.2em; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown p { margin: 0 0 1rem; }

/* ── Kontaktwege als Raster ── */
.wege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.wege li { min-width: 0; }
.wege .breit { grid-column: 1 / -1; }
.weg {
  display: flex; flex-direction: column; justify-content: center; gap: .1rem; height: 100%; min-height: 4.5rem;
  padding: .85rem 1rem; border-radius: var(--radius); text-decoration: none;
  background: var(--weg-bg); color: var(--weg-text); border: var(--weg-rand); box-shadow: var(--weg-schatten, none);
  transition: transform .18s var(--sanft), box-shadow .18s var(--sanft);
}
.weg b { font-size: 1.0625rem; }
.weg span { font-size: .9375rem; opacity: .85; overflow-wrap: anywhere; }
.weg .nummer { white-space: nowrap; overflow-wrap: normal; }
.weg.haupt { background: var(--knopf-bg); color: var(--knopf-text); border: var(--knopf-rand); min-height: 5rem; }
.weg.haupt b { font: 700 1.6rem/1.1 Zilla, Georgia, serif; }
.weg:hover { transform: translateY(-2px); }
.weg:active { transform: scale(.98); }
.hinweis { margin: 1rem 0 0; font-size: .9375rem; color: var(--text-leise); }

/* ── Rückruf-Formular ── */
.rueckruf-intro { margin: 0 0 .5rem; }
.formular { padding: 1.1rem 1.1rem 1.3rem; border-radius: var(--radius); background: var(--form-bg); color: var(--form-text); border: var(--form-rand); box-shadow: var(--form-schatten, none); }
.formular > label, .zeiten legend { display: block; font-weight: 700; margin: 1rem 0 .35rem; }
.formular > label:first-of-type { margin-top: 0; }
.optional { font-weight: 400; color: var(--leise); }
.formular input[type="text"], .formular input[type="tel"], .formular select {
  width: 100%; min-height: 3rem; font: inherit; color: var(--nacht); background: #fff;
  padding: .6rem .8rem; border: 2px solid var(--feld-rand); border-radius: 12px; accent-color: var(--si);
}
.formular input:focus, .formular select:focus { border-color: var(--si); }
.formular [aria-invalid="true"] { border-color: var(--fehler); }
.zeiten { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.zeiten legend { padding: 0; width: 100%; }
.einwilligung { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; margin-top: 1.1rem; font-size: .9375rem; }
.einwilligung input { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--si); }
.einwilligung a { color: var(--si); }
.formular .knopf { width: 100%; margin-top: 1.2rem; }
.feld-fehler { color: var(--fehler-text); font-weight: 700; font-size: .9375rem; margin: .35rem 0 0; }
.formular .feld-fehler { color: var(--fehler); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.danke { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--form-bg); color: var(--form-text); border: var(--form-rand); box-shadow: var(--form-schatten, none); }
.danke p { margin: 0; }

/* ── Teilen + Fuß ── */
[hidden] { display: none !important; }
.teilen {
  display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 2.5rem; min-height: 3rem;
  border-radius: 999px; background: transparent; border: 2px dashed var(--teilen-rand); color: var(--text);
  font: 700 1rem/1.2 Mulish, sans-serif; cursor: pointer;
}
.teilen:hover { border-style: solid; }
.fuss { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--teilen-rand); text-align: center; font-size: .9375rem; color: var(--text-leise); }
.fuss p { margin: .1rem 0; }
.fuss a { display: inline-block; padding: .35rem .25rem; color: var(--text-leise); }

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