/* Coming-Soon-Seite · gemeinsame Basis für alle Varianten und die beiden Rechtsseiten.
 *
 * Baut ausschließlich auf assets/tokens.css auf (Kopie von runde-6/tokens.css, Stand 27.11.2026).
 * Präfix cs- für alles, was die Varianten teilen; Präfix rt- für die Rechtstexte (aus
 * runde-6/seite/seite.css übernommen und verdichtet). Variantenspezifisches steht in der
 * jeweiligen Datei im <style>, mit eigenem Präfix (a-, b-, c-, d-).
 */

/* ───────── Schrift: IBM Plex Sans, selbst gehostet (keine Verbindung zu Google) ───────── */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ───────── Seitenrahmen ─────────
   Die Seite füllt mindestens das Fenster (min-height, nie height: bei niedrigen Fenstern und
   im Querformat wächst sie und scrollt, statt Inhalt abzuschneiden). Drei Zeilen: Kopf, Inhalt,
   Fuß. svh statt vh, damit die Adressleiste am Handy den Fuß nicht aus dem Bild schiebt. */
.cs-seite {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

/* Wortmarke – identisch zum Kopf K1 der späteren Website */
.cs-marke {
  display: inline-block;
  line-height: 1.25;
}
.cs-marke > b {
  display: block;
  font-weight: 600;
  font-size: var(--t-s);
  letter-spacing: 0.2em;
  color: var(--navy);
}
.cs-marke > span {
  display: block;
  margin-top: 2px;
  font-size: var(--t-xs);
  color: var(--grau);
  letter-spacing: 0.02em;
}
.dunkel .cs-marke > b {
  color: var(--weiss);
}
.dunkel .cs-marke > span {
  color: var(--grau-dunkel);
}

/* Telefonnummer als Link: Haarlinie wie .e2-link, Tippfläche nach oben und unten erweitert */
.cs-tel {
  position: relative;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--linie);
  transition: text-decoration-color var(--d-s);
}
.cs-tel::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--s3)) 0;
}
.cs-tel:hover,
.cs-tel:focus-visible {
  text-decoration-color: currentColor;
}
.dunkel .cs-tel {
  text-decoration-color: var(--linie-dunkel);
}

/* Fuß mit den Rechtslinks – eine Zeile, klein, Tippflächen 44 px */
.cs-fuss {
  font-size: var(--t-xs);
  color: var(--grau);
}
.cs-fuss-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s6);
  padding: var(--s2) 0;
  border-top: 1px solid var(--linie);
}
.cs-fuss-zeile > p {
  margin: 0;
  padding: var(--s3) 0;
}
.cs-recht {
  display: flex;
  gap: var(--s5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cs-recht a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--d-s);
}
.cs-recht a:hover,
.cs-recht a:focus-visible,
.cs-recht a[aria-current="page"] {
  color: var(--navy);
}
.dunkel .cs-fuss,
.cs-fuss.dunkel {
  color: var(--grau-dunkel);
}
.dunkel .cs-fuss-zeile,
.cs-fuss.dunkel .cs-fuss-zeile {
  border-top-color: var(--linie-dunkel);
}
.dunkel .cs-recht a:hover,
.dunkel .cs-recht a:focus-visible {
  color: var(--weiss);
}

/* Drucken: Einblendungen dürfen Inhalt nie verstecken */
@media print {
  .js .sanft {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ───────── Rechtsseiten und 404 (Lesespalte .rt) ─────────
   Die Dateinamen der Rechtsseiten stehen hier bewusst nicht: basis.css geht auch ohne sie live,
   und der Wächter in werkzeug/bauen.mjs verlangt dann, dass die Wörter nirgends vorkommen.
   Bewusst minimal: Wortmarke und „Zurück“ führen beide auf die Coming-Soon-Seite, es gibt keine
   Navigation zur späteren Website. Eine Lesespalte, Rubriken mit Haarlinie, kein Einblenden. */
.cs-kopf-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--linie);
}
.cs-zurueck {
  min-height: 44px;
  border-bottom: 0;
  padding-bottom: 0;
  font-size: var(--t-s);
}
.cs-zurueck svg {
  transition: transform 0.4s var(--ruhig);
}
.cs-zurueck:hover svg {
  transform: translateX(-3px);
}

.rt {
  --rt-spalte: min(56ch, 760px); /* ~70 Zeichen je Zeile, wie auf den Rechtsseiten der Website */
  padding: var(--s7) 0 var(--s8);
}
.rt-spalte {
  max-width: var(--rt-spalte);
}
.rt h1 {
  margin-top: var(--s3);
  font-size: var(--t-h2);
  hyphens: manual;
}
.rt-intro {
  margin: var(--s4) 0 0;
  color: var(--grau);
}
.rt-abschnitte {
  margin-top: var(--s6);
}
.rt-abschnitt {
  padding: var(--s5) 0;
  border-top: 1px solid var(--linie);
}
.rt-abschnitt > h2 {
  font-size: var(--t-l);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
.rt-abschnitt > p,
.rt-abschnitt > ul {
  margin: var(--s3) 0 0;
  font-size: var(--t-s);
  color: var(--text-2);
}
.rt-abschnitt > .rt-block {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.rt-block > span {
  display: block;
}
.rt-liste {
  padding: 0;
  list-style: none;
}
.rt-liste > li {
  position: relative;
  padding-left: var(--s5);
}
.rt-liste > li + li {
  margin-top: var(--s1);
}
.rt-liste > li::before {
  content: "";
  position: absolute;
  left: var(--s1);
  top: calc(var(--zeile) * 0.5em - 0.5px);
  width: var(--s2);
  height: 1px;
  background: var(--navy);
}
.rt-link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--linie);
  overflow-wrap: anywhere;
  transition: text-decoration-color var(--d-s);
}
.rt-link:hover,
.rt-link:focus-visible {
  text-decoration-color: currentColor;
}

/* Offene Angabe im Entwurf (z. B. die Anschrift): sichtbar als Lücke, nie als erfundener Wert */
.rt-offen {
  display: inline-block;
  padding: 0 var(--s2);
  border: 1px dashed var(--grau);
  font-size: var(--t-xs);
  color: var(--grau);
}
