/* Typografie und Proportionen wie norma2030.com (Alex 28.11.2026, 15:50 und 15:58).
   Für alle Seiten mit r1v3.css (Startseite, Ratgeber, Zukunftsberufe, Über mich, Quiz-Seiten):
   kopf-fuss.mjs hängt die Datei bei jedem Deploy als letzte vor </head> ein.
   Maße gemessen auf norma2030.com am 28.11.2026 (1440 und 390 px, computed styles).
   Farben bleiben Blau, Weiß, Gold. Texte unverändert. html:not(#ahs) hebt die Regeln über die Seitenregeln. */

:root {
  --f-inter: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-cond: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html:not(#ahs) body {
  font-family: var(--f-inter);
  line-height: 1.62;
}

/* ---------- Breite wie norma2030.com (Alex 16:15): Inhalt 1200 px ohne Innenpolster,
   bisher 1200 px mit 32 px Polster = 1136 px Inhalt. norma: min(1200px, 100% − 80px), ≤1100 px: 100% − 48px, ≤560 px: 100% − 36px.
   Kopf und Fuß auf diesen Seiten in derselben Breite, damit Logo und Inhalt auf einer Linie stehen. ---------- */
html:not(#ahs) .wrap,
html:not(#ahs) .ahn-kopf .ahn-wrap,
html:not(#ahs) .ahn-fuss .ahn-wrap {
  width: min(1200px, calc(100% - 80px));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
@media (max-width: 1100px) {
  html:not(#ahs) .wrap,
  html:not(#ahs) .ahn-kopf .ahn-wrap,
  html:not(#ahs) .ahn-fuss .ahn-wrap {
    width: calc(100% - 48px);
  }
}
@media (max-width: 560px) {
  html:not(#ahs) .wrap,
  html:not(#ahs) .ahn-kopf .ahn-wrap,
  html:not(#ahs) .ahn-fuss .ahn-wrap {
    width: calc(100% - 36px);
  }
}

/* ---------- Erster Bildschirm (norma: Kicker 20/600, H1 62/700 −0.04em, Lead 21/1.5) ---------- */
html:not(#ahs) .held h1 {
  font-family: var(--f-inter);
  font-weight: 700;
  font-size: clamp(40px, 3.9vw + 6px, 62px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 600px;
}
html:not(#ahs) .held-kicker {
  display: block;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 540px;
}
html:not(#ahs) .held-lead {
  font-size: 21px;
  line-height: 1.5;
  max-width: 520px;
}

/* ---------- Abschnittstitel (norma: Golos 36/700, −0.035em, normale Schreibweise) ---------- */
html:not(#ahs) .h2,
html:not(#ahs) .h2-name,
html:not(#ahs) .berufe h2,
html:not(#ahs) .dossier h2 {
  font-family: var(--f-inter);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-transform: none;
}
html:not(#ahs) .h2 em,
html:not(#ahs) .rg-kopf h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  font-size: 1em;
  letter-spacing: inherit;
  color: var(--navy-3);
}
html:not(#ahs) .eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ---------- Karten- und Zwischentitel (norma: h3 600, 20–30 px) ---------- */
html:not(#ahs) .panel-titel {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
html:not(#ahs) .karte-titel,
html:not(#ahs) .modell h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
html:not(#ahs) .grimasse h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
}
html:not(#ahs) main h3 {
  font-weight: 600;
}

/* ---------- Knöpfe (norma .btn: 16/600, Höhe 52, Polster 13/24, Radius 7) ---------- */
html:not(#ahs) .knopf {
  font-family: var(--f-inter);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 7px;
  white-space: nowrap;
}
html:not(#ahs) .textlink {
  white-space: nowrap;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Link unter den Grimassen: Fließtext-Link statt Versalien-Zeile, passt auf eine Zeile */
html:not(#ahs) .frei-link a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
}

/* ---------- Pyramide (norma: jede Stufe 10 % schmaler, unten 70 %; Polster 12/42; Stufenname 20 px) ---------- */
html:not(#ahs) .stufe {
  min-height: 84px;
  padding: 12px 42px;
}
html:not(#ahs) .stufe.s1 {
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}
html:not(#ahs) .stufe.s2 {
  width: 90%;
  clip-path: polygon(0 0, 100% 0, 94.4% 100%, 5.6% 100%);
}
html:not(#ahs) .stufe.s3 {
  width: 80%;
  clip-path: polygon(0 0, 100% 0, 93.75% 100%, 6.25% 100%);
}
html:not(#ahs) .stufe.s4 {
  width: 70%;
  min-height: 92px;
  padding: 12px 24px 22px;
  clip-path: polygon(0 0, 100% 0, 92.9% 82%, 50% 100%, 7.1% 82%);
}
html:not(#ahs) .stufe-nr {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
html:not(#ahs) .stufe-name {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}
html:not(#ahs) .stufe.ist-aktiv .stufe-name {
  font-weight: 700;
}

/* ---------- Zitate: als Zitat erkennbar (goldene Linie links), einheitlich ---------- */
html:not(#ahs) main blockquote:not([class]) {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--gold);
  font-size: 19px;
  line-height: 1.5;
  font-style: normal;
  color: var(--text);
}
html:not(#ahs) .zitat p {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Ratgeber (norma Guide: H1 48/700, H2 30/700, Text 18/1.7) ---------- */
html:not(#ahs) .rg-artikel h1,
html:not(#ahs) .rg-kopf h1,
html:not(#ahs) .um-kopf h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
html:not(#ahs) .rg-abschnitt h2,
html:not(#ahs) .rg-schritt h2,
html:not(#ahs) .rg-faq h2,
html:not(#ahs) .rg-cta h2,
html:not(#ahs) .rg-weiter h2,
html:not(#ahs) .rg-band h2,
html:not(#ahs) .rg-berufe h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
html:not(#ahs) .rg-frage h2 {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
html:not(#ahs) .rg-artikel .rg-abschnitt p,
html:not(#ahs) .rg-artikel .rg-abschnitt li {
  font-size: 18px;
  line-height: 1.7;
}
html:not(#ahs) .rg-gross-titel,
html:not(#ahs) .rg-angebot .rg-angebot-titel,
html:not(#ahs) .ak-karte-titel {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Zukunftsberufe (norma Beruf: H1 48/700, H2 36/700, H3 20/600) ---------- */
html:not(#ahs) .bk-held h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
html:not(#ahs) .bk-h2,
html:not(#ahs) .bk-angebot-text h2,
html:not(#ahs) .bk-dossier h2,
html:not(#ahs) .bk-person h2,
html:not(#ahs) .bu-report h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -0.035em;
}
html:not(#ahs) .bk-karte h3,
html:not(#ahs) .bu-gruppe-titel {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}
html:not(#ahs) .bk-u-name,
html:not(#ahs) .bk-angebot-text .bk-preis {
  font-weight: 700;
}

/* ---------- Quiz-Seiten ---------- */
html:not(#ahs) .qe h1,
html:not(#ahs) .qe-haupt h2,
html:not(#ahs) .qe-frei h2,
html:not(#ahs) .qe-termin h2,
html:not(#ahs) .qe-info h2,
html:not(#ahs) .qe-stufe-titel {
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------- Telefon (norma bei 390: H1 32, H2 24–28, Kicker 16, Stufen 70 px / 18 px) ---------- */
@media (max-width: 767.98px) {
  html:not(#ahs) .held h1 {
    font-size: 32px;
    line-height: 1.08;
  }
  html:not(#ahs) .held-kicker {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  html:not(#ahs) .held-lead {
    font-size: 16px;
    line-height: 1.45;
  }
  html:not(#ahs) .h2,
  html:not(#ahs) .h2-name,
  html:not(#ahs) .berufe h2,
  html:not(#ahs) .dossier h2,
  html:not(#ahs) .bk-h2,
  html:not(#ahs) .bk-angebot-text h2,
  html:not(#ahs) .bk-dossier h2,
  html:not(#ahs) .bk-person h2,
  html:not(#ahs) .bu-report h2 {
    font-size: 28px;
    line-height: 1.14;
  }
  html:not(#ahs) .panel-titel {
    font-size: 24px;
  }
  html:not(#ahs) .rg-artikel h1,
  html:not(#ahs) .rg-kopf h1,
  html:not(#ahs) .um-kopf h1 {
    font-size: 32px;
    line-height: 1.12;
  }
  html:not(#ahs) .bk-held h1 {
    font-size: 34px;
    line-height: 1.14;
  }
  html:not(#ahs) .rg-abschnitt h2,
  html:not(#ahs) .rg-schritt h2,
  html:not(#ahs) .rg-faq h2,
  html:not(#ahs) .rg-cta h2,
  html:not(#ahs) .rg-weiter h2,
  html:not(#ahs) .rg-band h2,
  html:not(#ahs) .rg-berufe h2 {
    font-size: 23px;
    line-height: 1.22;
  }
  html:not(#ahs) .rg-frage h2 {
    font-size: 22px;
  }
  html:not(#ahs) .knopf {
    min-height: 48px;
  }
  html:not(#ahs) .stufe {
    min-height: 70px;
    padding: 12px 26px;
  }
  html:not(#ahs) .stufe.s4 {
    min-height: 88px;
    padding: 12px 14px 22px;
  }
  html:not(#ahs) .stufe-name {
    font-size: 18px;
  }
  html:not(#ahs) .stufe.s4 .stufe-name {
    font-size: 16px;
  }
  html:not(#ahs) main blockquote:not([class]) {
    font-size: 17px;
    padding-left: 16px;
  }
  /* «KOSTENLOSES DOSSIER · PDF» passt in die schmale Spalte neben dem Heft */
  html:not(#ahs) .hinweis-text .eyebrow {
    font-size: 12px;
    letter-spacing: 0.04em;
  }
}

/* Textspalte im Ratgeber wie norma-Guide (780 px statt 760 px) */
html:not(#ahs) .rg-artikel,
html:not(#ahs) .rg-kopf {
  max-width: 780px;
}

/* Schlusszeile im Dossier-Block: Golos statt Serifen-Kursive, wie alle Texte auf norma2030.com */
html:not(#ahs) .dossier-schluss {
  font-family: var(--f-inter);
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
