/* krankenkasse.online - Marken-Ergänzungen zu UIkit. Layout kommt aus UIkit, hier nur Schrift, Farben, Marke. */

@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* Farbrollen (Kontrast gegen jede Fläche gerechnet, alle >= 4.5:1):
   navy  = Überschriften, Fußleiste            teal = Links, Ziffern, Akzente auf hell
   grund = helle Abschnittsfläche              cta  = NUR Hauptaktion (Text navy)
   minze-hell = Akzent NUR auf navy */
:root {
    --kk-navy: #0f2f4a;
    --kk-text: #22313f;
    --kk-muted: #5b6b78;
    --kk-teal: #0c7462;
    --kk-teal-dunkel: #095a4c;
    --kk-grund: #f6f8fa;
    --kk-cta: #f5a524;
    --kk-cta-hover: #e8961a;
    --kk-minze-hell: #5fd3b8;
    --kk-linie: #dde5ea;
}

html { font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--kk-text); background: #fff; }
body { background: #fff; }
h1, h2, h3, h4, .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-heading-medium, .uk-heading-small, .uk-card-title {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-weight: 700; color: var(--kk-navy); letter-spacing: 0; line-height: 1.25;
}
h3, h4, .uk-h3, .uk-h4, .uk-card-title { font-weight: 600; }
a, .uk-link { color: var(--kk-teal); }
a:hover, .uk-link:hover { color: var(--kk-teal-dunkel); }
em, i { font-style: normal; }
.uk-text-muted { color: var(--kk-muted) !important; }
strong { font-weight: 600; }

.kk-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--kk-navy); color: #fff; padding: 8px 14px; }
.kk-skip:focus { left: 12px; top: 12px; color: #fff; }

/* Kopf */
.kk-kopf { background: #fff; border-bottom: 1px solid var(--kk-linie); }
.kk-kopf .uk-navbar-nav > li > a { font-family: "Source Sans 3", sans-serif; font-weight: 600; text-transform: none; font-size: 1rem; color: var(--kk-text); min-height: 72px; }
.kk-kopf .uk-navbar-nav > li > a:hover { color: var(--kk-teal); }

/* Logo */
.kk-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--kk-teal); text-decoration: none !important; min-height: 72px; }
.kk-logo-zeichen { width: 34px; height: 34px; flex: none; }
.kk-logo-text { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--kk-navy); }
.kk-logo-tld { color: var(--kk-teal); }
.kk-logo-hell { min-height: 0; color: var(--kk-minze-hell); }
.kk-logo-hell .kk-logo-text { color: #fff; }
.kk-logo-hell .kk-logo-tld { color: var(--kk-minze-hell); }

/* Einstieg */
.kk-einstieg { border-bottom: 1px solid var(--kk-linie); }
.kk-titel { font-size: 2.1rem; }
@media (min-width: 960px) { .kk-titel { font-size: 2.75rem; } }
.kk-lead { font-size: 1.2rem; color: var(--kk-text); }
.kk-stand { font-size: .9rem; color: var(--kk-muted); margin-top: 1.5rem; }

/* Buttons: CTA nur für die Hauptaktion */
.uk-button { font-family: "Source Sans 3", sans-serif; font-weight: 600; text-transform: none; font-size: 1rem; border-radius: 8px; }
.kk-button-cta { background: var(--kk-cta); color: var(--kk-navy); }
.kk-button-cta:hover, .kk-button-cta:focus { background: var(--kk-cta-hover); color: var(--kk-navy); }

/* Flächen */
.kk-section-grund { background: var(--kk-grund); }

/* Regeln Kassenwechsel */
.kk-regel { position: relative; }
.kk-regel h3 { font-size: 1.25rem; margin: 0 0 .4rem; padding-top: .9rem; border-top: 2px solid var(--kk-navy); }
.kk-ziffer { display: block; font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--kk-teal); margin-bottom: .5rem; }
.kk-quelle { font-size: .9rem; color: var(--kk-muted); }

/* Ausbauplan */
.kk-plan > li { padding-top: 14px; }
.kk-plan > li:nth-child(n+2) { margin-top: 14px; }
.kk-plan strong { display: block; font-family: "Source Serif 4", Georgia, serif; font-size: 1.15rem; color: var(--kk-navy); }

/* Rechtstexte */
.kk-rechtstext { max-width: 760px; }
.kk-rechtstext h2 { font-size: 1.5rem; margin-top: 2rem; }
.kk-rechtstext h3 { font-size: 1.15rem; margin-top: 1.5rem; }

/* Fuß */
.kk-fuss { background: var(--kk-navy); color: #c9d6e0; }
.kk-fuss a { color: #fff; }
.kk-fuss .uk-subnav > * > a { color: #fff; text-transform: none; font-size: .95rem; }
.kk-fuss .uk-subnav > * > a:hover { color: var(--kk-minze-hell); }

[id] { scroll-margin-top: 24px; }
.kk-fuss a.kk-logo-hell { color: var(--kk-minze-hell); }
.kk-fuss a.kk-logo-hell svg rect { fill: var(--kk-teal); }

/* Datenseiten */
.kk-krumen { margin-bottom: 1rem; }
.kk-krumen > * > * { font-size: .9rem; color: var(--kk-muted); }
.kk-krumen > * > a { color: var(--kk-teal); }
.kk-blick th { font-weight: 400; color: var(--kk-text); text-transform: none; font-size: 1rem; width: 60%; }
.kk-blick td { font-weight: 600; color: var(--kk-navy); }
.kk-tabelle { background: #fff; }
.kk-tabelle th { text-transform: none; font-size: .9rem; font-weight: 600; color: var(--kk-navy); }
.kk-zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.kk-kasse { font-weight: 600; color: var(--kk-navy); }
.kk-rang { color: var(--kk-muted); font-variant-numeric: tabular-nums; }
.kk-filter .uk-form-label { font-weight: 600; color: var(--kk-navy); font-size: 1rem; }
.kk-details summary { cursor: pointer; font-weight: 600; color: var(--kk-teal); }
.kk-text h2 { margin-top: 2.2rem; }
.kk-text h3 { font-size: 1.15rem; margin-top: 1.6rem; }
@media (min-width: 640px) { .kk-tabelle th { white-space: nowrap; } }
@media (max-width: 639px) {
    .kk-tabelle td.kk-rang, .kk-tabelle th:first-child { display: none; }
    .kk-tabelle td, .kk-tabelle th { padding-left: 6px; padding-right: 6px; }
    .kk-tabelle th { hyphens: auto; }
}
@media (min-width: 960px) { .kk-tabelle td:nth-child(2) { min-width: 210px; } }
