/* auslaender.at – Design C (Rot & Grau, ruhige Typografie)
   Farben und Schriften zentral hier oben ändern. */

@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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: "Archivo"; src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap;
  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: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-ext-opsz-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations"); font-style: italic; font-weight: 200 900; font-display: swap; }

:root {
  --rot: #c8102e;
  --rot-dunkel: #8e0b20;
  --rot-hell: #fdf1f2;
  --anthrazit: #3a3e44;
  --fuss: #2b2e33;
  --text: #2a2e33;
  --text-2: #50565e;
  --text-3: #5f656d;
  --grau-1: #f3f4f5;
  --grau-2: #e8eaed;
  --linie: #d5d8dc;
  --weiss: #ffffff;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --breite: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--weiss); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; font-stretch: 92%; line-height: 1.15; text-wrap: balance; margin: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--weiss); padding: 8px 12px; z-index: 10; }
.rahmen { max-width: var(--breite); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (min-width: 700px) { .rahmen { padding-left: 24px; padding-right: 24px; } }

.kicker { font: 600 12px/1.2 var(--sans); font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.kicker.rot { color: var(--rot); }

.knopf { display: inline-block; font: 500 15px/1 var(--sans); padding: 12px 16px; text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.knopf-rot { background: var(--rot); color: var(--weiss); }
.knopf-rot:hover { background: var(--rot-dunkel); color: var(--weiss); }
.knopf-dunkel { background: var(--anthrazit); color: var(--weiss); }
.knopf-dunkel:hover { background: var(--text); color: var(--weiss); }

/* Platzhalter für Bilder und Logos */
.ph { background-color: var(--grau-2); background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 16px), repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 16px); display: flex; align-items: flex-end; min-height: 60px; }
.ph span { font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--anthrazit); color: var(--weiss); padding: 5px 7px; margin: 10px; }

/* Kopf */
.rwr i { display: block; height: 5px; background: var(--rot); }
.rwr i:nth-child(2) { background: var(--weiss); }
.kopf-innen { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-block: 16px; }
.marke { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.logo img { height: 96px; width: auto; }
.logo-ph { width: 200px; height: 60px; align-items: center; justify-content: center; }
.logo-ph span { margin: 0; }
.seit { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--rot); padding-left: 12px; }
.seit strong { font-size: 17px; font-weight: 500; color: var(--rot); }
.seit span { font-size: 13px; color: var(--text-3); }

.hauptnav { background: var(--rot); }
.hauptnav-innen { display: flex; flex-wrap: wrap; }
.hauptnav a { color: var(--weiss); text-decoration: none; font-weight: 500; font-size: 15px; padding: 14px 13px; }
.hauptnav a:hover { background: var(--rot-dunkel); color: var(--weiss); }
.hauptnav a.hervor, .hauptnav a.aktiv { background: var(--weiss); color: var(--rot); }
.hauptnav a.aktiv.hervor, .hauptnav a.aktiv { box-shadow: inset 0 -3px 0 var(--rot-dunkel); }
@media (max-width: 700px) { .hauptnav-innen { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .hauptnav a { white-space: nowrap; } }

.suchleiste { background: var(--grau-1); border-bottom: 1px solid var(--linie); }
.suchleiste-innen { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-block: 12px; }
.suchleiste input { flex: 1 1 280px; min-width: 0; font: 400 16px var(--sans); padding: 10px 12px; border: 1px solid #b8bdc3; background: var(--weiss); color: var(--text); }

/* „Seit 2002“-Band */
.seit-band { background: var(--anthrazit); color: var(--weiss); }
.seit-band-innen { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-block: 22px; }
.seit-claim { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; }
.seit-claim .kicker { color: #ff9aa6; }
.seit-claim strong { font-size: 22px; font-weight: 500; line-height: 1.3; max-width: 30em; }
.seit-zahlen { display: flex; flex-wrap: wrap; gap: 0; margin: 0; }
.seit-zahlen div { padding: 4px 22px; border-left: 1px solid #5a5f66; }
.seit-zahlen dt { font-size: 30px; font-weight: 500; font-stretch: 90%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.seit-zahlen dd { margin: 0; font-size: 13px; color: #c4c8cd; }

/* Zweispaltiges Layout */
.mit-spalte { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; padding-block: 28px 44px; }
.hauptspalte { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.spalte { flex: 1 1 300px; max-width: 336px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 960px) { .spalte { max-width: none; } }

/* Werbung */
.anzeige { max-width: 100%; margin-inline: auto; }
.anzeige-platzhalter { background: var(--grau-1); border: 1px dashed #9aa0a7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-3); font: 500 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.anzeige-platzhalter b { font-size: 13px; letter-spacing: .04em; color: var(--text-2); }
.anzeige-leaderboard { width: 728px; height: 90px; }
.anzeige-rectangle { width: 300px; height: 250px; }
.anzeige-halfpage { width: 300px; height: 600px; }
.anzeige-inarticle { width: 100%; min-height: 200px; }
.anzeige:not(.anzeige-platzhalter) { height: auto; }
.anzeige-label { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
@media (max-width: 760px) { .kopf .anzeige-leaderboard { display: none; } .anzeige-leaderboard { height: 100px; } }

/* Partner */
.partner { border: 2px solid var(--anthrazit); background: var(--weiss); }
.partner-kopf { background: var(--anthrazit); color: var(--weiss); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; }
.partner-inhalt { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.partner-logo { height: 80px; object-fit: contain; }
.partner-logo.ph { align-items: center; justify-content: center; }
.partner-logo.ph span { margin: 0; }
.partner-text strong { font-size: 19px; font-weight: 500; font-stretch: 95%; line-height: 1.2; display: block; }
.partner-text p { margin: 6px 0 0; font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.partner .knopf { align-self: flex-start; }
.partner-artikel .partner-inhalt { flex-direction: row; flex-wrap: wrap; align-items: center; }
.partner-artikel .partner-logo { width: 120px; flex: none; }
.partner-artikel .partner-text { flex: 1 1 260px; min-width: 0; }

/* Startseite */
.aufmacher { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; text-decoration: none; color: var(--text); border-top: 4px solid var(--rot); padding-top: 16px; }
.aufmacher-bild { min-height: 300px; }
.aufmacher-bild img { width: 100%; height: 100%; object-fit: cover; }
.aufmacher-text { display: flex; flex-direction: column; gap: 12px; }
.aufmacher-text strong { font-size: 32px; font-weight: 500; font-stretch: 92%; line-height: 1.15; }
.aufmacher-text p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--text-2); }
.mehr { font-weight: 500; text-decoration: underline; }
.raster-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.raster-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.meldung { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); border-top: 2px solid var(--anthrazit); padding-top: 10px; }
.meldung-bild { height: 140px; }
.meldung-bild img { height: 140px; width: 100%; object-fit: cover; }
.meldung strong { font-size: 19px; font-weight: 500; font-stretch: 95%; line-height: 1.25; }

.schritte { background: var(--anthrazit); color: var(--weiss); padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.schritte-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.schritte-kopf h2 { font-size: 25px; }
.schritte-kopf a { color: #ff9aa6; font-size: 14px; font-weight: 500; }
.schritte ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.schritte li a { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #565b62; padding: 4px 16px 6px; color: var(--weiss); text-decoration: none; height: 100%; }
.schritte li a:hover strong { text-decoration: underline; }
.schritte .nr { font-size: 30px; font-weight: 500; color: #ff9aa6; line-height: 1; font-variant-numeric: tabular-nums; }
.schritte strong { font-size: 17px; font-weight: 500; }
.schritte li span:last-child { font-size: 14px; color: #c4c8cd; line-height: 1.4; }

.deutsch-block { background: var(--grau-2); border-top: 8px solid var(--rot); }
.deutsch-block > .rahmen { padding-block: 34px 38px; display: flex; flex-direction: column; gap: 22px; }
.deutsch-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.deutsch-kopf h2 { font-size: 36px; }
.deutsch-kopf a { font-weight: 500; }
.schule-mini { background: var(--weiss); padding: 18px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--anthrazit); }
.schule-mini strong { font-size: 19px; font-weight: 500; }
.schule-mini span:not(.kicker) { font-size: 14px; color: var(--text-2); }
.deutsch-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-weight: 500; }
.deutsch-links .knopf { margin-left: auto; }

.kursfinder { background: var(--anthrazit); padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.kursfinder .feld { display: flex; flex-direction: column; gap: 6px; }
.kursfinder label { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #ff9aa6; }
.kursfinder select { font: 400 16px var(--sans); padding: 11px; border: 0; background: var(--weiss); color: var(--text); }

.themen > .rahmen { padding-block: 40px; display: flex; flex-direction: column; gap: 20px; }
.balken { font-size: 25px; border-bottom: 3px solid var(--anthrazit); padding-bottom: 8px; }
.balken small { font-size: 14px; font-weight: 400; color: var(--text-3); }
.themen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 16px; align-items: start; }
.thema { background: var(--weiss); border: 1px solid #dcdfe3; border-left: 4px solid var(--rot); }
.thema summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 14px; font: 500 16px/1.2 var(--sans); color: var(--text); }
.thema summary::-webkit-details-marker { display: none; }
.thema summary::after { content: ""; width: 8px; height: 8px; margin-left: 2px; border-right: 2px solid var(--rot); border-bottom: 2px solid var(--rot); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.thema[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.thema summary:hover .thema-name { color: var(--rot); }
.thema-name { flex: 1; }
.thema-zahl { font: 500 12px/1 var(--sans); color: var(--text-3); background: var(--grau-1); padding: 4px 7px; border-radius: 10px; }
.thema ul { list-style: none; margin: 0; padding: 0 14px 6px; border-top: 1px solid #e6e8eb; }
.thema li { border-bottom: 1px solid #eef0f2; }
.thema li:last-child { border-bottom: 0; }
.thema li a { display: flex; gap: 8px; padding: 9px 0; font: 15px/1.35 var(--sans); color: var(--text); text-decoration: none; }
.thema li a::before { content: "›"; color: var(--rot); font-weight: 600; }
.thema li a:hover { color: var(--rot); text-decoration: underline; }
.thema .thema-alle a { font-weight: 500; color: var(--rot); }
.thema .thema-alle a::before { content: "→"; }

/* Karten & Listen */
.karte { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); background: var(--weiss); border-top: 2px solid var(--anthrazit); padding-top: 10px; }
.karte strong { font-size: 18px; font-weight: 500; line-height: 1.25; }
.karte-text { font-family: var(--serif); font-size: 15px; color: var(--text-2); line-height: 1.5; }
.karte-bild { height: 130px; }
.karte-bild img { height: 130px; width: 100%; object-fit: cover; }
.liste { display: flex; flex-direction: column; }
.listeneintrag { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--text); }
.listeneintrag strong { font-size: 19px; font-weight: 500; }
.listeneintrag span { font-family: var(--serif); color: var(--text-2); }
.listeneintrag small { color: var(--text-3); font-size: 13px; }
.listeneintrag:hover strong { color: var(--rot); }
.sonderlink { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--rot-hell); border-left: 6px solid var(--rot); text-decoration: none; color: var(--text); }
.sonderlink strong { font-size: 20px; font-weight: 500; }

/* Rubrik-Köpfe */
.rubrik-kopf { background: var(--grau-1); border-bottom: 1px solid var(--linie); }
.rubrik-kopf > .rahmen { padding-block: 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.rubrik-kopf h1 { font-size: clamp(30px, 3.6vw, 44px); }
.rubrik-kopf-deutsch { background: var(--grau-2); border-bottom: 8px solid var(--rot); }
.rubrik-kopf-dunkel { background: var(--anthrazit); color: var(--weiss); }
.rubrik-kopf-dunkel .brotkruemel, .rubrik-kopf-dunkel .brotkruemel a, .rubrik-kopf-dunkel .lead { color: #d5d8dc; }
.lead { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 40em; }
.brotkruemel { font-size: 14px; color: var(--text-3); }
.brotkruemel a { color: var(--text-3); }

/* Artikel */
.artikel { gap: 22px; }
.artikel h1 { font-size: clamp(30px, 3.6vw, 44px); }
.artikel-bild { min-height: 340px; }
.artikel-bild img { width: 100%; max-height: 460px; object-fit: cover; }
.bild figcaption { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.kurz { background: var(--anthrazit); color: var(--weiss); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.kurz .kicker { color: #ff9aa6; }
.kurz ol { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
.kurz li::marker { color: #ff9aa6; font-weight: 500; }
.text { font-family: var(--serif); font-size: 19px; line-height: 1.65; display: flex; flex-direction: column; gap: 0; }
.text > * { margin: 0 0 1em; }
.text h2 { font-family: var(--sans); font-size: 27px; border-top: 3px solid var(--anthrazit); padding-top: 12px; margin: 1em 0 .6em; scroll-margin-top: 16px; }
.text h3 { font-family: var(--sans); font-size: 21px; margin: .6em 0 .4em; }
.text ul, .text ol { padding-left: 1.3em; }
.text li { margin-bottom: .35em; }
.text a { color: var(--rot-dunkel); }
.text strong { font-weight: 500; }
.tabelle { overflow-x: auto; margin: 0 0 1em; }
.tabelle table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 16px; min-width: 420px; }
.tabelle th { text-align: left; background: var(--grau-1); padding: 10px 12px; font-weight: 500; border-bottom: 2px solid var(--anthrazit); }
.tabelle td { padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; font-variant-numeric: tabular-nums; }
.info, .hinweis { font-family: var(--sans); font-size: 16px; line-height: 1.55; padding: 14px 18px; }
.info { background: var(--rot-hell); border-left: 6px solid var(--rot); }
.hinweis { background: var(--grau-1); color: var(--text-2); font-size: 14px; }
.cta-deutsch { background: var(--grau-2); border-left: 6px solid var(--rot); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.cta-deutsch div { display: flex; flex-direction: column; gap: 4px; }
.cta-deutsch strong { font-size: 21px; font-weight: 500; }
.quellen h2 { font-size: 18px; border-top: 1px solid var(--linie); padding-top: 14px; }
.quellen ul { margin: 8px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--text-2); display: grid; gap: 4px; }
.toc { border-top: 4px solid var(--rot); padding-top: 12px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.mehr-thema { border-top: 4px solid var(--anthrazit); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.mehr-thema a { font-weight: 500; font-size: 17px; text-decoration: none; }
.verwandt { background: var(--grau-1); }
.verwandt > .rahmen { padding-block: 34px 44px; display: flex; flex-direction: column; gap: 18px; }

/* Kursfinder-Seite */
.niveau-leiste { border-bottom: 1px solid var(--linie); }
.niveau-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.niveau-raster a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-left: 1px solid var(--linie); text-decoration: none; color: var(--text); }
.niveau-raster a.aktiv { background: var(--rot-hell); }
.niveau-raster b { font-size: 30px; font-weight: 500; line-height: 1; }
.niveau-raster span { font-size: 14px; color: var(--text-2); }
.schulen { display: flex; flex-direction: column; gap: 12px; }
.schule { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; padding: 18px; border: 1px solid var(--linie); }
.schule-premium { border: 2px solid var(--anthrazit); background: var(--rot-hell); }
.schule-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.schule-text strong { font-size: 20px; font-weight: 500; }
.schule-text span:not(.kicker):not(.abzeichen) { font-size: 15px; color: var(--text-2); }
.abzeichen { align-self: flex-start; font-size: 12px; font-weight: 500; padding: 3px 8px; background: var(--grau-2); color: var(--text-2); }
.laender-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
.laender-raster a { background: var(--weiss); padding: 16px; text-decoration: none; display: flex; flex-wrap: wrap; min-width: 0; justify-content: space-between; gap: 8px; align-items: baseline; }
.laender-raster span { white-space: nowrap; font-size: 13px; color: var(--text-3); }
.eintragen { background: var(--anthrazit); color: var(--weiss); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.eintragen .kicker { color: #ff9aa6; }
.eintragen strong { font-size: 21px; font-weight: 500; line-height: 1.2; }
.eintragen p { margin: 0; font-family: var(--serif); color: #d5d8dc; }
.eintragen .knopf { align-self: flex-start; }
.hinweis-klein { font-size: 14px; color: var(--text-3); }

/* Botschaften */
.land-suche { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: var(--weiss); padding: 8px 12px; max-width: 520px; }
.land-suche input { flex: 1 1 200px; border: 0; font: 400 16px var(--sans); padding: 8px 4px; outline: none; color: var(--text); background: transparent; }
.filter-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 14px; border: 1px solid var(--linie); text-decoration: none; font-weight: 500; font-size: 15px; }
.filter.aktiv { background: var(--anthrazit); color: var(--weiss); border-color: var(--anthrazit); }
.filter small { font-weight: 400; opacity: .75; }
.az { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; background: var(--grau-1); }
.az a, .az span { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-weight: 500; text-decoration: none; }
.az a { background: var(--weiss); }
.az span { color: #a3a8ae; }
.buchstabe { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 12px; }
.buchstabe h2 { font-size: 34px; color: var(--rot); border-bottom: 2px solid var(--anthrazit); padding-bottom: 4px; }
.botschaften { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.botschaft { border: 1px solid var(--linie); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.botschaft-kopf { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.botschaft-kopf strong { font-size: 20px; font-weight: 500; }
.botschaft dl { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 10px; margin: 0; font-size: 15px; }
.botschaft dt { color: var(--text-3); }
.botschaft dd { margin: 0; overflow-wrap: anywhere; }
.ziffern { font-variant-numeric: tabular-nums; }
.botschaft-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 500; }

.suche-gross { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.suche-gross input { flex: 1 1 260px; font: 400 17px var(--sans); padding: 11px 12px; border: 1px solid #b8bdc3; }

/* Partnerleiste & Fuß */
.partnerleiste { background: var(--grau-1); border-top: 1px solid var(--linie); }
.partnerleiste > .rahmen { padding-block: 26px; display: flex; flex-direction: column; gap: 14px; }
.partnerleiste-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.partnerleiste-eintrag { min-height: 76px; background: var(--weiss); border: 1px solid var(--linie); display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15px; }
.partnerleiste-eintrag img { max-height: 56px; width: auto; }
.partnerleiste-frei { border-style: dashed; color: var(--text-3); }
.fuss { background: var(--fuss); color: #c4c8cd; }
.fuss-innen { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; padding-block: 34px 18px; }
.fuss-marke { flex: 1 1 280px; max-width: 34em; }
.fuss-marke strong { color: var(--weiss); font-size: 20px; font-weight: 500; }
.fuss-marke p { font-size: 14px; line-height: 1.5; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: flex-start; font-size: 15px; }
.fuss-links a { color: var(--weiss); }
.fuss-unten { font-size: 13px; padding-block: 0 20px; }
.fuss-band { height: 6px; background: var(--rot); }

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


/* Animierte Kopfgrafik (Fortsetzung des Logo-Rasters) */
.kopf-innen { flex-wrap: nowrap; }
.marke { flex: none; flex-wrap: nowrap; }
.kopf-grafik { position: relative; flex: 1 1 auto; min-width: 0; height: 96px; overflow: hidden; }
.kopf-grafik canvas { position: absolute; inset: 0; display: block; }
.gruss { position: absolute; right: 0; bottom: 6px; background: rgba(255,255,255,.92); padding: 6px 12px 6px 14px; border-left: 4px solid var(--rot);
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; transition: opacity .6s ease, transform .6s ease; }
.gruss b { font-size: 22px; font-weight: 500; color: #336699; font-stretch: 95%; white-space: nowrap; }
.gruss i { font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.gruss.weg { opacity: 0; transform: translateY(4px); }
@media (max-width: 900px) { .kopf-grafik { display: none; } .kopf-innen { flex-wrap: wrap; } .logo img { height: 60px; } }
@media (max-width: 480px) { .marke { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; gap: 10px 18px; } .hauptnav-innen { padding-right: 0; } }

.fuss-logo { height: 54px; width: auto; margin-bottom: 8px; }

.partner-logo { width: 100%; height: 64px; object-fit: contain; object-position: left center; }
.partner-wortmarke { display: flex; align-items: center; background: #0f2a33; color: #fff; padding: 0 16px; font-weight: 500; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.partner-text em { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: var(--rot); margin-top: 4px; letter-spacing: .02em; }
.partner-artikel .partner-logo { width: 180px; }
.botschaften { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.vertretung { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--linie); }
.vertretung dl { grid-template-columns: 110px minmax(0, 1fr); }
.botschaft-web { font-size: 14px; font-weight: 500; color: var(--rot-dunkel); }
.honorar summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 8px 0; border-top: 1px solid var(--linie); }
.honorar[open] summary { color: var(--rot); }
.botschaften { align-items: start; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Handy-Optimierung (Oktober 2026) ---------- */
.nur-mobil { display: none; }
.toc-mobil { border: 1px solid var(--linie); border-left: 4px solid var(--rot); background: var(--weiss); margin: 18px 0 6px; }
.toc-mobil summary { cursor: pointer; padding: 12px 14px; font: 500 15px/1.2 var(--sans); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.toc-mobil summary::-webkit-details-marker { display: none; }
.toc-mobil summary::after { content: "+"; color: var(--rot); font-weight: 600; font-size: 18px; line-height: 1; }
.toc-mobil[open] summary::after { content: "–"; }
.toc-mobil a { display: block; padding: 9px 14px; border-top: 1px solid #eef0f2; font: 15px/1.35 var(--sans); color: var(--text); text-decoration: none; }
.toc-mobil a::before { content: "› "; color: var(--rot); font-weight: 600; }
.text .partner-artikel { margin: 28px 0; }

/* Botschaften aufklappbar */
.botschaft { padding: 0; gap: 0; }
.botschaft > summary { cursor: pointer; list-style: none; padding: 13px 16px; align-items: center; }
.botschaft > summary::-webkit-details-marker { display: none; }
.botschaft > summary strong { flex: 1; font-size: 18px; }
.botschaft > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--rot); border-bottom: 2px solid var(--rot); transform: rotate(45deg) translate(-2px,-2px); transition: transform .15s; }
.botschaft[open] > summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.botschaft[open] > summary { border-bottom: 1px solid var(--linie); }
.botschaft > .vertretung, .botschaft > .honorar, .botschaft > .hinweis-klein { margin: 12px 16px; }
.botschaft .abzeichen { font-size: 12px; color: var(--text-3); }

@media (max-width: 700px) {
  .nur-mobil { display: block; }
  .nur-desktop { display: none !important; }
  /* Kopf kompakt: Logo und „Seit 2002“ nebeneinander */
  .kopf-innen { padding-block: 10px; }
  .marke { flex-wrap: nowrap !important; gap: 12px !important; align-items: center; }
  .logo img { height: 46px !important; }
  .seit { padding-left: 9px; border-left-width: 2px; }
  .seit strong { font-size: 13px; }
  .seit span { font-size: 11px; line-height: 1.25; }
  /* Menü: wischbar mit Hinweis-Pfeil */
  .hauptnav { position: relative; }
  .hauptnav::after { content: "›"; position: absolute; right: 0; top: 0; bottom: 0; width: 34px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 600; color: var(--weiss); background: linear-gradient(90deg, rgba(200,16,46,0), var(--rot) 55%); pointer-events: none; }
  .hauptnav a { padding: 12px 11px; font-size: 14px; }
  .hauptnav-innen { padding-right: 34px !important; }
  /* Suche in einer Zeile */
  .suchleiste-innen { flex-wrap: nowrap; padding-block: 8px; gap: 8px; }
  .suchleiste label { display: none; }
  .suchleiste input { flex: 1 1 auto; padding: 9px 10px; }
  .suchleiste .knopf { padding: 10px 14px; flex: none; }
  /* „Seit 2002“-Band kompakter */
  .seit-band-innen { padding-block: 16px; gap: 14px; }
  .seit-claim strong { font-size: 18px; }
  .seit-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seit-zahlen div { padding: 2px 10px; }
  .seit-zahlen div:first-child { padding-left: 0; border-left: 0; }
  .seit-zahlen dt { font-size: 22px; }
  .seit-zahlen dd { font-size: 11.5px; line-height: 1.3; }
  /* Partnerboxen in der Spalte: kompakt mit Logo, Slogan und Knopf */
  .partner-seite .partner-inhalt { padding: 12px 14px; gap: 8px; }
  .partner-seite .partner-logo { height: 46px; }
  .partner-seite .partner-text p { display: none; }
  .partner-seite .partner-text strong { font-size: 17px; }
  .spalte { gap: 14px; }
  /* Partnerbox im Artikel */
  .partner-artikel .partner-logo { width: 100%; height: 52px; }
  .partner-artikel .partner-text p { font-size: 14.5px; }
  /* Artikel-Lesetext etwas kleiner */
  .text { font-size: 17.5px; }
  .lead { font-size: 18px; }
}
/* Partnerbox innerhalb des Lesetexts: eigene Schrift und Knopffarbe */
.text .partner { font-family: var(--sans); font-size: 15px; line-height: 1.4; }
.text .partner-text strong { font-family: var(--sans); }
.text .partner-text em { font-family: var(--sans); }
.text .partner-text p { font-family: var(--serif); }
.text .partner a.knopf, .text .partner a.knopf:hover { color: var(--weiss); text-decoration: none; }

/* Startseite: „Wichtige Ratgeber“ */
.beliebt { display: flex; flex-direction: column; gap: 14px; }
.beliebt-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
.beliebt-raster a { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--text); }
.beliebt-raster a:hover strong { color: var(--rot); text-decoration: underline; }
.beliebt-raster strong { font-size: 16px; font-weight: 500; line-height: 1.3; }
.schritte li a { overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Computer: ruhigere, kleinere Schrift (Wunsch Herausgeber 28.10.2026) ---------- */
@media (min-width: 701px) {
  body { font-size: 15px; }
  .logo img { height: 78px; }
  .seit strong { font-size: 15px; }
  .seit span { font-size: 12px; }
  .hauptnav a { font-size: 14px; padding: 12px 12px; }
  .suchleiste input { font-size: 15px; padding: 8px 11px; }
  .knopf { font-size: 14px; padding: 10px 14px; }
  .suchleiste-innen { padding-block: 9px; }
  .seit-band-innen { padding-block: 16px; }
  .seit-claim strong { font-size: 18px; }
  .seit-zahlen dt { font-size: 24px; }
  .seit-zahlen dd { font-size: 12px; }
  .aufmacher-text strong { font-size: 26px; }
  .aufmacher-text p { font-size: 16px; }
  .meldung strong { font-size: 16.5px; }
  .schritte { padding: 20px 22px; }
  .schritte-kopf h2 { font-size: 20px; }
  .schritte .nr { font-size: 24px; }
  .schritte strong { font-size: 15px; }
  .schritte li span:last-child { font-size: 13px; }
  .deutsch-kopf h2 { font-size: 28px; }
  .schule-mini strong { font-size: 16.5px; }
  .balken { font-size: 21px; }
  .thema summary { font-size: 15px; padding: 11px 13px; }
  .thema li a { font-size: 14px; padding: 8px 0; }
  .karte strong { font-size: 16px; }
  .karte-text { font-size: 14px; }
  .listeneintrag strong { font-size: 17px; }
  .sonderlink strong { font-size: 18px; }
  .rubrik-kopf h1, .artikel h1 { font-size: clamp(26px, 2.6vw, 34px); }
  .lead { font-size: 17px; }
  .brotkruemel { font-size: 13px; }
  .kurz ol { font-size: 15px; }
  .text { font-size: 17px; line-height: 1.65; }
  .text h2 { font-size: 22px; }
  .text h3 { font-size: 18px; }
  .tabelle table { font-size: 14.5px; }
  .info, .hinweis { font-size: 15px; }
  .hinweis { font-size: 13px; }
  .cta-deutsch strong { font-size: 18px; }
  .toc { font-size: 14px; }
  .mehr-thema a { font-size: 15px; }
  .schule-text strong { font-size: 17px; }
  .schule-text span:not(.kicker):not(.abzeichen) { font-size: 14px; }
  .eintragen strong { font-size: 18px; }
  .buchstabe h2 { font-size: 28px; }
  .botschaft > summary strong { font-size: 16px; }
  .botschaft dl { font-size: 14px; }
  .filter { font-size: 14px; }
  /* Partnerboxen etwas kompakter */
  .partner-inhalt { padding: 14px; gap: 10px; }
  .partner-logo { height: 52px; }
  .partner-text strong { font-size: 16.5px; }
  .partner-text em { font-size: 12.5px; }
  .partner-text p { font-size: 14px; }
  .fuss-links { font-size: 14px; }
}
/* Startseite: Partnerspalte kompakt (Logo, Name, Slogan, Knopf), damit keine leere Fläche entsteht */
.startseite .spalte .partner-text p { display: none; }

/* ---------- Feinere Schrift (Wunsch Herausgeber 28.10.2026): weniger Fett, weniger Schwarz ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -.005em; }
b, strong { font-weight: 600; }
.text strong, .text b, .lead strong { font-weight: 600; color: var(--text); }
.text p, .text li { color: #34383d; }
.kicker { font-weight: 600; letter-spacing: .1em; }
/* „Kurz erklärt“ hell statt dunkel */
.kurz { background: var(--grau-1); color: var(--text); border-left: 4px solid var(--rot); }
.kurz .kicker { color: var(--rot); }
.kurz ol li::marker { color: var(--rot); }
/* Partner-Kopfzeile hell statt schwarzer Balken */
.partner { border: 1px solid var(--linie); }
.partner-kopf { background: var(--grau-1); color: var(--text-3); border-bottom: 1px solid var(--linie); font-weight: 600; }
.partner-text strong, .karte strong, .meldung strong, .schule-mini strong, .schritte strong, .beliebt-raster strong, .thema summary, .botschaft > summary strong, .listeneintrag strong, .schule-text strong, .sonderlink strong { font-weight: 500; }
.hauptnav a { font-weight: 500; }
.knopf { font-weight: 500; }
/* „Erste Schritte“ hell */
.schritte { background: var(--grau-1); color: var(--text); border-top: 3px solid var(--rot); }
.schritte-kopf a { color: var(--rot); }
.schritte li a { color: var(--text); border-left-color: var(--linie); }
.schritte .nr { color: var(--rot); }
.schritte li span:last-child { color: var(--text-2); }
