/* Trockenpartner – gemeinsame Grundlagen aller Seiten.
   Farben und Werte 1:1 aus dem Claude-Design-Entwurf (Stand 28.09.2026). */

/* Figtree, selbst gehostet (SIL Open Font License, siehe fonts/OFL.txt).
   Variable Schrift: eine Datei je Zeichensatz deckt die Schnitte 400–800 ab. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-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;
}

/* Farb-Tokens des Entwurfs – für neue Seiten und Regeln in den Seiten-CSS-Dateien.
   Im übernommenen Markup stehen die Werte weiterhin inline. */
:root {
  --tp-navy: #183247;
  --tp-text: #202B33;
  --tp-petrol: #087F8C;
  --tp-petrol-dunkel: #067480;
  --tp-petrol-hell: #DDF0F1;
  --tp-mint: #8FD3D9;
  --tp-grau-hell: #F7F8FA;
  --tp-linie: #E6EAED;
  --tp-rahmen: #B4C1CA;
  --tp-grau-text: #5B6770;
  --tp-fehler: #B3261E;
}

body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: #067480; }
a:hover { color: #183247; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid #087F8C; outline-offset: 2px; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Hover/Fokus-Zustände. Der Entwurf setzt sie als Klasse mit !important,
   weil die übrigen Stile inline stehen – hier identisch nachgebildet. */
.hov-text-petrol:hover { color: #067480 !important; }
.hov-text-navy:hover { color: #183247 !important; }
.hov-btn:hover { background: #067480 !important; color: #FFFFFF !important; }
.hov-border:hover { border-color: #087F8C !important; }
.hov-btn-bg:hover { background: #067480 !important; }
.hov-btn-hell:hover { background: #B5E3E7 !important; color: #183247 !important; }
.hov-pfeil:hover { border-color: #087F8C !important; color: #067480 !important; }
.hov-btn-kontur:hover { background: #DDF0F1 !important; color: #067480 !important; }
.fok-ring:focus { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #087F8C !important; }
.fok-feld:focus { border-color: #087F8C !important; box-shadow: 0 0 0 3px #DDF0F1 !important; }

/* Bedingte Bereiche: Hülle ohne eigene Box (ersetzt <sc-if> des Entwurfs).
   Per JavaScript mit [hidden] ausgeblendet, breitenabhängige per CSS. */
.if { display: contents; }
.if[hidden] { display: none; }

/* Links im dunklen Fußbereich: Schriftbild wie die übrigen Einträge */
.tp-fuss-link { color: #F7F8FA; text-decoration: none; }
.tp-fuss-link:hover, .tp-fuss-link:focus-visible { color: #8FD3D9; text-decoration: underline; }

/* Cookie-Einstellungen (assets/js/einwilligung.js): Hinweis am unteren Rand, zwei gleichwertige Knöpfe */
.tp-fuss-knopf { background: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer; }
.tp-cb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 12px; box-sizing: border-box; font-family: 'Figtree', sans-serif; pointer-events: none; }
.tp-cb[hidden] { display: none; }
.tp-cb-innen { pointer-events: auto; max-width: 720px; margin: 0 auto; background: #FFFFFF; color: #202B33; border: 1px solid #B4C1CA; border-radius: 12px; box-shadow: 0 8px 28px rgba(24, 50, 71, .22); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 24px); overflow: auto; box-sizing: border-box; }
.tp-cb-titel { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: #183247; }
.tp-cb-titel:focus-visible { outline: 2px solid #087F8C; outline-offset: 2px; }
.tp-cb-text, .tp-cb-status { margin: 0; font-size: 15px; line-height: 1.5; }
.tp-cb-status { font-weight: 600; color: #183247; }
.tp-cb-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.tp-cb-knopf { font-family: inherit; font-size: 16px; font-weight: 700; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 2px solid #183247; background: #183247; color: #FFFFFF; cursor: pointer; }
.tp-cb-knopf:hover { background: #067480; border-color: #067480; }
.tp-cb-knopf:focus-visible { outline: 3px solid #087F8C; outline-offset: 2px; }
.tp-cb-links { margin: 0; display: flex; gap: 18px; font-size: 14px; }
.tp-cb-links a { color: #067480; }
