/* hauke-hansen.de – Stylesheet (Design 5 „Verlauf“)
   Corporate Design: CDU CD-Manual (Farben, Inter / IBM Plex Serif)
   Keine externen Ressourcen, keine Cookies. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff") format("woff"); }
@font-face { font-family: "IBM Plex Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plexserif-400.woff") format("woff"); }
@font-face { font-family: "IBM Plex Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/plexserif-400i.woff") format("woff"); }
/* Zusatzzeichen (Rumänisch, Bulgarisch u. a.) – werden nur geladen, wenn eine Seite sie braucht */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400-ext.woff") format("woff"); unicode-range: U+0100-024F, U+0259, U+0300-0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+1E00-1EFF, U+2116; }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500-ext.woff") format("woff"); unicode-range: U+0100-024F, U+0259, U+0300-0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+1E00-1EFF, U+2116; }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800-ext.woff") format("woff"); unicode-range: U+0100-024F, U+0259, U+0300-0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+1E00-1EFF, U+2116; }
@font-face { font-family: "IBM Plex Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plexserif-400-ext.woff") format("woff"); unicode-range: U+0100-024F, U+0259, U+0300-0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+1E00-1EFF, U+2116; }
@font-face { font-family: "IBM Plex Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/plexserif-400i-ext.woff") format("woff"); unicode-range: U+0100-024F, U+0259, U+0300-0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+1E00-1EFF, U+2116; }

:root {
  /* CD-Farben (CD-Manual 2.7 / 3.1 / 3.2) */
  --tuerkis: #52b7c1;      /* Cadenabbia-Türkis – Hauptfarbe */
  --tuerkis-60: #a7d5dc;
  --tuerkis-25: #ddeef1;
  --tuerkis-10: #f2f8fa;
  --blau: #2d3c4b;         /* Rhöndorf-Blau */
  --blau-60: #737986;
  --blau-25: #bec1c7;
  --blau-10: #e5e5e9;
  --gold: #ffa600;         /* Union-Gold */
  --weiss: #ffffff;

  /* Rollen – werden von den Designs überschrieben */
  --page-bg: var(--weiss);
  --text: var(--blau);
  --stripe: var(--tuerkis);
  --stripe-w: 18px;
  --header-bg: var(--weiss);
  --nav-color: var(--blau);
  --nav-accent: var(--tuerkis);
  --hero-bg: var(--tuerkis-10);
  --hl-bg: var(--blau);    /* Headline-Fläche */
  --hl-fg: var(--weiss);   /* Headline-Schrift */
  --sl-bg: var(--weiss);   /* Subline-Fläche */
  --sl-fg: var(--blau);    /* Subline-Schrift */
  --kicker-bg: var(--gold);
  --kicker-fg: var(--blau);
  --btn-bg: var(--blau);
  --btn-fg: var(--weiss);
  --card-bg: var(--weiss);
  --card-border: var(--blau-10);
  --footer-bg: var(--blau);
  --footer-fg: var(--weiss);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--serif);       /* Copy-Schrift: IBM Plex Serif Regular */
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-left: var(--stripe-w);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: calc(var(--stripe-w) + 8px); top: 8px; z-index: 10; background: var(--weiss); color: var(--blau); padding: .5rem .8rem; }

/* ---------- Farbstreifen links ---------- */
.stripe {
  position: absolute; inset: 0 auto 0 0;
  width: var(--stripe-w);
  background: var(--stripe);
  z-index: 5;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Kopfbereich: Logo · Titel/Untertitel · Menü ---------- */
.site-header { background: var(--header-bg); position: relative; z-index: 3; }
.site-header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: 22px; padding-bottom: 22px;
}
/* Gesamtlogo: Bilddatei enthält den Weißraum. Schutzraum ≥ 1/2 Logohöhe (CD 2.2) */
.logo { display: block; width: 168px; flex: none; }
.logo img { width: 168px; }   /* Mindestbreite Web: 100 px */

.brand { min-width: 0; }
.brand-name {
  font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1;
  margin: 0;
}
.brand-name span { display: inline-block; background: var(--hl-bg); color: var(--hl-fg); padding: .08em .3em .12em; }
.brand-sub {
  margin: 0; font-family: var(--serif); font-size: .95rem; line-height: 1.3;
}
.brand-sub span { display: inline-block; background: var(--sl-bg); color: var(--sl-fg); padding: .12em .45em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.4rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: -0.005em;
  color: var(--nav-color); text-decoration: none; padding: .35rem 0;
  border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--nav-accent); }

/* ---------- Hero mit Foto unten rechts ---------- */
.hero { background: var(--hero-bg); position: relative; overflow: hidden; }
.hero .wrap {
  position: relative;
  min-height: clamp(520px, 72vh, 720px);
  display: flex; align-items: center;
}
.hero-text { position: relative; z-index: 2; max-width: 54%; padding: 64px 0 96px; }

.kicker {
  display: inline-block; margin: 0 0 .6rem;
  font-family: var(--serif); font-size: .9rem;
  background: var(--kicker-bg); color: var(--kicker-fg); padding: .1em .5em;
}
/* Headline-Mechanik (CD 4.4): Inter Extrabold, Blöcke Stoß an Stoß, Laufweite -10, nie Versalien */
.headline {
  margin: 0;
  font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em;
  font-size: var(--hl-size); line-height: 1.12;
}
.headline span {
  display: block; width: fit-content; white-space: nowrap;
  background: var(--hl-bg); color: var(--hl-fg);
  padding: .02em .28em .08em;
}
/* Subline (CD 4.5): IBM Plex Serif Regular, mind. 1:3 zur Headline */
.subline { margin: 0; font-family: var(--serif); font-size: calc(var(--hl-size) / 3); line-height: 1.35; } /* CD 4.4: Headline : Subline mind. 3 : 1 */
.subline { max-width: 30em; }
.subline span { background: var(--sl-bg); color: var(--sl-fg); padding: .15em .5em; line-height: 1.55;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.hero-copy { max-width: 34rem; margin: 1.6rem 0 0; }
.btn {
  display: inline-block; margin-top: 1.6rem;
  font-family: var(--sans); font-weight: 800; letter-spacing: -0.005em; font-size: 1.02rem;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  padding: .85em 1.3em;
}
.btn:hover { filter: brightness(1.1); }

.portrait {
  position: absolute; right: var(--gutter); bottom: 0; z-index: 1;
  height: 92%; width: auto; max-width: 46%;
  object-fit: contain; object-position: right bottom;
}

/* ---------- Inhaltsbereich ---------- */
.section { padding: 72px 0; }
.section-title { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.15; margin: 0 0 1.6rem; }
.section-title span { display: inline-block; background: var(--hl-bg); color: var(--hl-fg); padding: .04em .3em .1em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 28px; display: flex; flex-direction: column; }
.card h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: 1.3rem; line-height: 1.2; margin: 0 0 .7rem; }
.card p { margin: 0 0 .8rem; }
.card .more { margin-top: auto; font-family: var(--sans); font-weight: 500; text-decoration-color: var(--tuerkis); text-underline-offset: 4px; text-decoration-thickness: 2px; }

.presse-list { list-style: none; margin: 0; padding: 0; }
.presse-list li { padding: .7rem 0; border-top: 1px solid var(--card-border); }
.presse-list li:first-child { border-top: 0; padding-top: 0; }
.presse-list time { display: block; font-family: var(--sans); font-size: .82rem; color: var(--blau-60); }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); padding: 40px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; font-family: var(--sans); font-weight: 500; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .nav { grid-column: 1 / -1; }
  .nav ul { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --stripe-w: 8px; }
  .site-header .wrap { grid-template-columns: 1fr; gap: .9rem; padding-top: 16px; padding-bottom: 14px; }
  .logo, .logo img { width: 128px; }
  .nav ul { gap: .1rem 1.1rem; }
  .hero .wrap { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-text { max-width: none; padding: 36px 0 8px; }
  .portrait { position: static; height: auto; max-width: 82%; margin: 8px 0 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

/* Design 5 – „Verlauf“: weiche Farbfläche nach CD-Web-Beispielen (7.2), Streifen Rhöndorf-Blau,
   Kicker auf Union-Gold, Foto unten rechts im Verlauf */
:root {
  --stripe: var(--blau);
  --stripe-w: 20px;
  --hero-bg:
    radial-gradient(60% 80% at 85% 100%, rgba(82,183,193,.85) 0%, rgba(82,183,193,0) 70%),
    radial-gradient(50% 60% at 10% 10%, rgba(255,166,0,.18) 0%, rgba(255,166,0,0) 70%),
    linear-gradient(135deg, #f2f8fa 0%, #ddeef1 45%, #a7d5dc 100%);
  --card-border: var(--tuerkis-25);
}
.site-header { position: sticky; top: 0; }
.section.presse { background: var(--weiss); }
.section.info { background: var(--tuerkis-10); }
.card { box-shadow: 0 1px 2px rgba(45,60,75,.06), 0 8px 24px rgba(45,60,75,.06); border: 0; }

/* =====================================================================
   Design 5 „Verlauf“ – finale Anpassungen
   ===================================================================== */

/* Foto weiter rechts: hängt an der Bühne, nicht am Inhaltsraster */
.hero { position: relative; }
.hero .portrait {
  right: max(12px, 2.5vw);
  height: 94%;
  max-width: 48%;
}
.hero-text { max-width: 52%; }

/* ---------- Menü mit Untermenüs (ohne JavaScript) ---------- */
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav > ul > li { position: relative; }
.nav .has-sub > a::after {
  content: ""; display: inline-block; margin-left: .4em; vertical-align: .18em;
  border: solid currentColor; border-width: 0 2px 2px 0; padding: 2.5px; transform: rotate(45deg);
}
.nav .sub {
  display: none; position: absolute; top: 100%; left: -14px; z-index: 20;
  flex-direction: column; flex-wrap: nowrap; gap: 0; min-width: 230px;
  background: var(--weiss); padding: .4rem 0;
  box-shadow: 0 10px 30px rgba(45,60,75,.16); border-top: 3px solid var(--tuerkis);
}
.nav li:hover > .sub, .nav li:focus-within > .sub { display: flex; }
.nav .sub a { display: block; padding: .5rem 1rem; border: 0; font-size: .95rem; white-space: nowrap; }
.nav .sub a:hover { background: var(--tuerkis-10); }
.nav .ext::after { content: " ↗"; font-size: .8em; color: var(--blau-60); }

.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blau); color: var(--weiss); border: 0; padding: 0; }
.social a:hover { background: var(--tuerkis); }
.social svg { width: 17px; height: 17px; }

/* Mobil-Menü per Checkbox (kein JavaScript) */
.menu-toggle, .menu-btn { display: none; }

@media (max-width: 1280px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    font-family: var(--sans); font-weight: 800; color: var(--blau);
    border: 2px solid var(--blau); padding: .45rem .8rem; justify-self: end;
  }
  .menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
  .menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
  .nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 1rem; border-top: 1px solid var(--tuerkis-25); padding-top: .8rem; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--blau-10); }
  .nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 .3rem 1rem; min-width: 0; background: transparent; }
  .nav .has-sub > a::after { display: none; }
  .social { padding-bottom: .4rem; }
}
@media (max-width: 720px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .brand { grid-column: 1 / -1; grid-row: 2; }
  .hero .portrait { position: static; height: auto; max-width: 86%; margin: 8px -6px 0 auto; }
  .hero-text { max-width: none; }
}

/* ---------- Textbereich Startseite ---------- */
.intro .wrap { max-width: 900px; }
.intro p { margin: 0 0 1.1rem; }
.intro .gruss { font-family: var(--sans); font-weight: 500; font-size: 1.15rem; }
.intro a { text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.intro a:hover { color: var(--tuerkis); }

/* =====================================================================
   Kopfbereich: Hintergrund Union-Gold, Logo rechts
   ===================================================================== */
:root { --header-bg: var(--gold); --nav-color: var(--blau); --nav-accent: var(--blau); }
.site-header { background: var(--gold); }
.site-header .wrap {
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav logo";
}
.site-header .brand { grid-area: brand; }
.site-header .nav   { grid-area: nav; justify-content: flex-end; }
.site-header .logo  { grid-area: logo; margin-left: 1.5rem; }   /* Schutzraum zum Menü */
.site-header .menu-btn { grid-area: btn; }
/* Untertitel auf Gold: Fläche Weiß / Typo Rhöndorf-Blau (Subline A) */
.site-header .brand-sub span { background: var(--weiss); color: var(--blau); }
.nav a[aria-current="page"], .nav > ul > li > a:hover { border-bottom-color: var(--blau); }
.social a:hover { background: var(--weiss); color: var(--blau); }

@media (max-width: 1280px) {
  .site-header .wrap {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand logo" "btn btn" "nav nav";
  }
  .site-header .logo { margin-left: 0; }
  .menu-btn { justify-self: start; background: var(--weiss); border-color: var(--weiss); }
  .nav { border-top-color: rgba(45,60,75,.25); }
  .nav > ul > li > a { border-bottom-color: rgba(45,60,75,.18); }
}
@media (max-width: 720px) {
  .site-header .brand { grid-column: auto; grid-row: auto; }
  .site-header .logo, .site-header .logo img { width: 112px; }
}
.site-header .brand-sub span { display: inline; line-height: 1.75; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* =====================================================================
   CD-Korrekturen (Prüfung gegen CD-Manual)
   ===================================================================== */
:root { --hl-size: clamp(2.4rem, 1.4rem + 3vw, 4rem); }

/* Name/Untertitel im Kopf: Verhältnis 3 : 1 (CD 4.4) */
.brand-name { font-size: 2.25rem; }
.brand-sub  { font-size: .75rem; }

/* Gesamtlogo: Weißraum-Feld 56 px hoch = 2x  ->  Schutzraum X = 28 px (CD 2.2/2.3) */
.site-header .wrap { padding-top: 28px; padding-bottom: 28px; }
.site-header .logo, .site-header .logo img { width: 196px; }
.site-header .logo { margin-left: 28px; }

@media (max-width: 1280px) {
  .site-header .logo { margin-left: 0; }
  .menu-btn { margin-top: 4px; }
}
@media (max-width: 720px) {
  .site-header .wrap { padding-top: 20px; padding-bottom: 16px; column-gap: 16px; }
  /* Mobil: Logo-Weißraum 32 px -> Schutzraum 16 px; Untertitel entfällt (steht in der Bühne) */
  .site-header .logo, .site-header .logo img { width: 112px; }
  .brand-name { font-size: 1.6rem; }
  .brand-sub { display: none; }
}
.nav > ul { flex-wrap: nowrap; gap: .25rem 1.15rem; }

/* =====================================================================
   Menü: ein einheitlicher Hover-Effekt für alle Menüpunkte
   (Haupt- und Untermenü, Desktop und Handy): Unterstrich in --nav-accent
   ===================================================================== */
:root { --nav-sep: rgba(45,60,75,.18); }
.site-header .nav a {
  border-bottom: 0;
  text-decoration: none;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.site-header .nav a:hover,
.site-header .nav a:focus-visible,
.site-header .nav a[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
}
.site-header .nav .sub a:hover { background: transparent; }
@media (max-width: 1280px) {
  .site-header .nav > ul > li { border-bottom: 1px solid var(--nav-sep); }
  .site-header .nav > ul > li > a { border-bottom: 0; }
  .site-header .nav { border-top: 1px solid var(--nav-sep); }
}
.site-header .nav a { white-space: nowrap; }
.nav .ext::after { color: currentColor; opacity: .7; }
/* Platz im Kopf: Name nie umbrechen; Logo 176 px (Weißraum-Feld 50 px -> Schutzraum X = 25 px) */
.brand-name span { white-space: nowrap; }
@media (min-width: 1281px) {
  .site-header .wrap { column-gap: 1.5rem; padding-top: 26px; padding-bottom: 26px; }
  .site-header .logo, .site-header .logo img { width: 176px; }
  .site-header .logo { margin-left: 26px; }
}

/* ===================================================================== */
/* Farbvariante 3 – „Hell & Türkis“ (CD-geprüft): Kopf Cadenabbia-Türkis (Logo-Untergrund laut CD 2.1),
   Bühne Türkis-Verlauf, Streifen Türkis, Fuß in Türkis */
:root { --stripe: var(--tuerkis); --nav-color: var(--blau); --nav-accent: var(--blau);
        --kicker-bg: var(--gold); --kicker-fg: var(--blau);   /* Subline B (Gold/Blau) */
        --hero-bg: linear-gradient(160deg, var(--tuerkis-10) 0%, var(--tuerkis-25) 45%, var(--tuerkis-60) 100%);
        --footer-bg: var(--tuerkis); --footer-fg: var(--blau); }
.site-header { background: var(--tuerkis); }
.social a:hover { background: var(--weiss); color: var(--blau); }
.section.info { background: var(--weiss); }
.card { border-top: 6px solid var(--tuerkis); }

/* Karte „Jetzt Mitglied werden!“ */
.card-mitglied { padding: 0; justify-content: center; align-items: center; background: var(--weiss); }
.card-mitglied a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 24px; }
.card-mitglied img { width: 100%; max-width: 320px; height: auto; transition: transform .15s ease; }
.card-mitglied a:hover img, .card-mitglied a:focus-visible img { transform: scale(1.04); }

/* Barrierefreiheit: nur für Screenreader */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Untermenüs in denselben Farben wie das Hauptmenü (Kopf-Türkis, Schrift Rhöndorf-Blau) */
.site-header .nav .sub { background: var(--tuerkis); border-top: 0; box-shadow: 0 12px 24px rgba(45,60,75,.18); }
.site-header .nav .sub a { color: var(--nav-color); }
@media (max-width: 1280px) {
  .site-header .nav .sub { background: transparent; box-shadow: none; }
}
/* Letztes Untermenü („Links“) rechtsbündig öffnen, damit es nicht in den Logo-Schutzraum ragt */
@media (min-width: 1281px) {
  .site-header .nav > ul > li:last-child > .sub { left: auto; right: -14px; }
}

/* ---------- Unterseiten ---------- */
.hero--page .wrap { min-height: clamp(300px, 40vh, 420px); }
.hero--page .hero-text { padding: 48px 0 56px; }
.hero--page .portrait { height: 100%; max-width: 34%; }
@media (max-width: 720px) {
  .hero--page .portrait { max-width: 60%; }
}

/* Lebenslauf-Liste */
.vita { list-style: none; margin: 0 0 2rem; padding: 0; }
.vita li { position: relative; padding: .85rem 0 .85rem 1.6rem; border-bottom: 1px solid var(--tuerkis-25); }
.vita li:first-child { border-top: 1px solid var(--tuerkis-25); }
.vita li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .6rem; height: .6rem; background: var(--tuerkis); }
.vita strong { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; margin-right: .35em; }
.intro .btn { margin-top: .4rem; color: var(--btn-fg); text-decoration: none; }
.intro .btn:hover { color: var(--btn-fg); }
.hero--page .portrait { height: 94%; }
@media (max-width: 720px) {
  .hero--page .wrap { min-height: 0; }
  .hero--page .hero-text { padding: 32px 0 8px; }
  .hero--page .portrait { height: auto; max-width: 55%; }
}

/* =====================================================================
   Bühne mit Foto: auf ALLEN Seiten gleich groß (--hero-h)
   ===================================================================== */
:root { --hero-h: 400px; --hero-h-mobil-text: 176px; --hero-foto-mobil: 230px; --ecke: 32px; }
.hero.hero--page .wrap { min-height: 0; height: var(--hero-h); display: flex; align-items: center; }
.hero.hero--page .hero-text { padding: 0; max-width: 56%; }
.hero.hero--page .portrait { right: max(12px, 2.5vw); height: 94%; max-width: 34%; }

/* Abgerundete Innenecke zwischen Türkis-Streifen und Türkis-Kopf */
main { background: linear-gradient(var(--tuerkis), var(--tuerkis)) left top / calc(var(--ecke) + 2px) calc(var(--ecke) + 2px) no-repeat; }
.hero { border-top-left-radius: var(--ecke); }

@media (max-width: 720px) {
  :root { --ecke: 20px; }
  .hero.hero--page .wrap { height: auto; display: block; }
  .hero.hero--page .hero-text { max-width: none; padding: 28px 0 0; min-height: var(--hero-h-mobil-text); }
  .hero.hero--page .portrait { position: static; height: var(--hero-foto-mobil); width: auto; max-width: none; margin: 0 4px 0 auto; }
}

/* =====================================================================
   Seitenüberschrift (Bühne) = gleiche Größe wie „Hauke Hansen“ im Kopf
   ===================================================================== */
:root { --hl-size: 2.25rem; }
.brand-name, .headline { font-size: var(--hl-size); line-height: 1.1; }
.headline span { padding: .08em .3em .12em; }
/* Subline 1/3 der Headline (CD 4.4), aber nie kleiner als 12 px (Lesbarkeit) */
.subline, .brand-sub { font-size: max(calc(var(--hl-size) / 3), 12px); }
@media (max-width: 720px) {
  :root { --hl-size: 1.6rem; }
}

.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-reihe .btn { margin-top: .4rem; }
.intro a[href^="mailto:"] { white-space: nowrap; }

.linkliste { margin-top: 1.4rem; }
.linkliste a { font-family: var(--sans); font-weight: 500; text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.linkliste a.ext::after { content: " ↗"; font-size: .85em; opacity: .7; }

/* ---------- Medien ---------- */
.intro .wrap:has(.videos) { max-width: var(--max); }
.jahr { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: 1.5rem; margin: 2.4rem 0 1rem; }
.jahr:first-child { margin-top: 0; }
.jahr span { display: inline-block; background: var(--blau); color: var(--weiss); padding: .04em .3em .1em; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-karte { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--tuerkis-25); border-top: 6px solid var(--tuerkis); padding: 20px 22px 22px; }
.video-karte time { font-family: var(--sans); font-size: .85rem; color: var(--blau-60); }
.video-karte h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: 1.15rem; line-height: 1.25; margin: .3rem 0 .5rem; }
.video-karte .quelle { font-size: .85rem; color: var(--blau-60); margin: 0 0 1rem; }
.video-karte .aktionen { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.video-karte .btn { margin: 0; padding: .6em 1em; font-size: .95rem; color: var(--btn-fg); text-decoration: none; }
.btn-play::before { content: ""; display: inline-block; margin-right: .55em; border-style: solid; border-width: .38em 0 .38em .62em; border-color: transparent transparent transparent currentColor; vertical-align: -.02em; }
.vlink { font-family: var(--sans); font-weight: 500; font-size: .95rem; text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.vlink::after { content: " ↗"; font-size: .85em; opacity: .7; }
@media (max-width: 1000px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .videos { grid-template-columns: 1fr; } }

/* ---------- Impressum ---------- */
.impressum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--tuerkis-25); }
.impressum h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: 1.2rem; margin: 0 0 .4rem; }
.impressum p { margin: 0 0 1.4rem; }
.impressum a { text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 720px) { .impressum { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.rechtstext h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: 1.2rem; line-height: 1.3; margin: 2.2rem 0 .7rem; padding-top: 1.2rem; border-top: 1px solid var(--tuerkis-25); }
.rechtstext h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rechtstext p { margin: 0 0 .9rem; }
.rechtstext ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.rechtstext li { margin: .15rem 0; }
.rechtstext li::marker { color: var(--tuerkis); }
.rechtstext a { text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.rechtstext .stand { margin-top: 2.2rem; font-family: var(--sans); font-weight: 500; }

/* ---------- Presse ---------- */
.presse-liste { margin-top: 2.6rem; }
.presse-liste .jahr + .pm { border-top: 1px solid var(--tuerkis-25); }
.pm { border-bottom: 1px solid var(--tuerkis-25); }
.pm summary { list-style: none; cursor: pointer; position: relative; padding: 1rem 2.4rem 1rem 0; display: block; }
.pm summary::-webkit-details-marker { display: none; }
.pm summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border: solid var(--blau); border-width: 0 3px 3px 0; transform: rotate(45deg); transition: transform .15s ease; }
.pm details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.pm-meta { display: block; font-family: var(--sans); font-size: .85rem; color: var(--blau-60); margin-bottom: .2rem; }
.pm-titel { display: inline; font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; font-size: 1.15rem; line-height: 1.3; text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.pm summary:hover .pm-titel, .pm summary:focus-visible .pm-titel, a.pm-link:hover .pm-titel, a.pm-link:focus-visible .pm-titel { text-decoration-line: underline; text-decoration-color: var(--tuerkis); }
.pm-text { padding: 0 0 1.4rem; }
.pm-text p { margin: 0 0 .9rem; }
.pm-text a { text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pm-text figure { margin: 1.2rem 0 0; }
.pm-text figure img { width: 100%; height: auto; }
.pm-text figcaption { font-size: .85rem; color: var(--blau-60); margin-top: .5rem; }
.pm-text figcaption p { margin: 0 0 .2rem; }
a.pm-link { display: block; padding: 1rem 2.4rem 1rem 0; text-decoration: none; position: relative; }
a.pm-link::after { content: "↗"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 800; }
/* Auf-/Zu-Pfeil der Pressemitteilungen */
.pm summary::after { margin-top: 0; transform: translateY(-70%) rotate(45deg); }
.pm details[open] summary::after { margin-top: 0; transform: translateY(-20%) rotate(-135deg); }

/* Runde Ecke zwischen Streifen und Kopf: hängt am (mitlaufenden) Kopf,
   damit sie beim Scrollen sichtbar bleibt */
main { background: none; }
.hero { border-top-left-radius: 0; }
.site-header::after {
  content: ""; position: absolute; left: 0; top: 100%;
  width: var(--ecke); height: var(--ecke); pointer-events: none;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--ecke) - .5px), var(--tuerkis) var(--ecke));
}
/* Runde Ecke unten zwischen Streifen und Fußbereich */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; bottom: 100%;
  width: var(--ecke); height: var(--ecke); pointer-events: none;
  background: radial-gradient(circle at 100% 0, transparent calc(var(--ecke) - .5px), var(--tuerkis) var(--ecke));
}

/* =====================================================================
   Bühne mit Foto als Hintergrund (alle Seiten)
   ===================================================================== */
.hero--foto { background: var(--blau); }
.hero--foto .buehne-foto { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 60% 0%; z-index: 0; }
.hero--foto .wrap { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .hero--foto { display: flex; flex-direction: column; background: var(--tuerkis-10); }
  .hero--foto .buehne-foto { position: static; order: 2; height: 230px; object-position: 45% 15%; }
  .hero--foto .wrap { order: 1; width: 100%; }
  .hero--foto .hero-text { min-height: 0; padding-bottom: 24px; }
}

/* Link zur Originalmeldung am Ende einer Pressemitteilung */
.pm-text p.pm-quelle { margin-top: 1.2rem; font-family: var(--sans); font-weight: 800; font-size: .95rem; }
.pm-text p.pm-quelle a { color: var(--blau); }
.pm-text p.pm-quelle a::after { content: " ↗"; }

/* Themen-Link in der Meta-Zeile */
.pm-meta a.pm-thema { color: inherit; text-decoration-line: underline; text-decoration-color: var(--tuerkis-60); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pm-meta a.pm-thema:hover, .pm-meta a.pm-thema:focus-visible { color: var(--blau); text-decoration-color: var(--tuerkis); text-decoration-thickness: 2px; }

/* Unterschrift unter dem Startseitentext */
.intro .unterschrift { text-align: right; margin: .4rem 0 0; }
.intro .unterschrift img { display: inline-block; width: 250px; max-width: 60%; height: auto; mix-blend-mode: multiply; }

/* Datenschutz-Hinweis im Fuß (kein Banner, keine Speicherung) */
.site-footer .datenhinweis { flex: 1 0 100%; margin: .4rem 0 0; padding-top: 1rem; border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 30%, transparent); font-size: .85rem; line-height: 1.5; max-width: none; }
.site-footer .datenhinweis a { text-decoration: underline; }

/* Handy-Kopf: Name und Logo dürfen sich nie überlagern; Untertitel wieder sichtbar
   (seit die Unterseiten keine Unterzeile mehr haben). Schriftgröße folgt der
   Bildschirmbreite, damit auch vergrößerte System-Schrift passt. */
@media (max-width: 720px) {
  .site-header .wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .brand-name { font-size: min(1.6rem, 6.4vw); }
  .brand-name span { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .site-header .logo, .site-header .logo img { width: clamp(100px, 30vw, 112px); }   /* CD: mind. 100 px */
  .brand-sub { display: block; font-size: 12px; margin-top: 2px; }                     /* CD: Subline mind. 12 px */
}

/* Vergrößerte System-Schrift auf dem Handy: nichts darf seitlich überstehen */
.site-footer ul { flex-wrap: wrap; row-gap: .6rem; }
.pm-titel, .headline span, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 720px) {
  .impressum a, .intro a[href^="mailto:"] { white-space: normal; overflow-wrap: anywhere; }
}
.videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .videos { grid-template-columns: minmax(0, 1fr); } }
/* lange deutsche Wörter trennen statt überstehen; Screenreader-Texte erzeugen keine Breite */
body { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.sr-only { clip-path: inset(50%); left: 0; }
html { overflow-x: clip; }

/* Sprachumschalter DE · EN · TR unter dem Logo (außerhalb des Logo-Schutzraums) */
.kopf-rechts { grid-area: logo; position: relative; justify-self: end; }
.sprachen { position: absolute; right: 0; top: 100%; margin: 6px 0 0; display: flex; gap: 4px;
  font-family: var(--sans); font-weight: 700; font-size: .78rem; line-height: 1; letter-spacing: .02em; }
.sprachen a { display: block; padding: 4px 6px; color: var(--blau); text-decoration: none; border-radius: 2px; }
.sprachen a:hover, .sprachen a:focus-visible { background: var(--weiss); }
.sprachen a[aria-current] { background: var(--blau); color: var(--weiss); }
@media (max-width: 720px) { .sprachen { margin-top: 8px; } }

/* Hinweis auf übersetzte Rechtstexte */
.hinweis-uebersetzung { background: var(--tuerkis-10); border-left: 4px solid var(--tuerkis); padding: .8rem 1rem; font-size: .95rem; }
/* Handy: Sprachumschalter in die Zeile des Menü-Knopfs (rechts), damit er den Namen nie berührt */
@media (max-width: 720px) {
  .kopf-rechts { display: contents; }
  .site-header .logo { grid-area: logo; justify-self: end; }
  .sprachen { grid-column: 1 / -1; grid-row: 2; position: static; justify-self: end; align-self: center; margin: 0; }
}
