/* Zackto – Gestaltung "Zeitung" · Stand 12.11.2026 */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #FAFAF7;
  --weiss: #FFFFFF;
  --flaeche: #F0EFEA;
  --tinte: #161616;
  --text: #33332F;
  --grau: #4A4A45;
  --rot: #C8102E;
  --rot-dunkel: #B00D27;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--tinte); }
a:hover { color: var(--rot-dunkel); }

:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
}

.sprung {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tinte);
  color: var(--papier);
  padding: 12px 16px;
  z-index: 10;
}
.sprung:focus { left: 8px; top: 8px; color: var(--papier); }

.seite {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Kopf */
.kopf { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.kopf-zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--grau);
}
.sprachen { display: flex; gap: 4px; align-items: center; }
.sprachen a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
  color: var(--grau);
}
.sprachen a[aria-current="true"] { color: var(--tinte); font-weight: 600; }
.titelzeile {
  border-top: 3px solid var(--tinte);
  border-bottom: 1px solid var(--tinte);
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
}
.wortmarke {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--tinte);
}
.wortmarke:hover { color: var(--tinte); }
.wortmarke span { color: var(--rot); }
.menue {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-weight: 500;
}
.menue a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

/* Bausteine */
.rubrik {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rot-dunkel);
}
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--tinte);
  background: var(--tinte);
  color: var(--papier);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: #000000; color: var(--papier); }
.knopf.hell { background: transparent; color: var(--tinte); }
.knopf.hell:hover { background: var(--tinte); color: var(--papier); }
.knopf.rot { background: var(--rot); border-color: var(--rot); color: var(--weiss); }
.knopf.rot:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: var(--weiss); }

.abschnittskopf {
  border-top: 3px solid var(--tinte);
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.abschnittskopf h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
}
.abschnittskopf .zusatz { font-size: 14px; color: var(--grau); }

/* Aufmacher */
.aufmacher { display: flex; flex-wrap: wrap; gap: 40px; }
.aufmacher-text {
  flex: 3 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aufmacher-text h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -1px;
}
.aufmacher-text p {
  margin: 0;
  font-size: 20px;
  color: var(--text);
  max-width: 34em;
}
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

/* Werkzeug im Aufmacher */
.rechner {
  flex: 2 1 320px;
  min-width: 0;
  border: 1px solid var(--tinte);
  background: var(--weiss);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rechner-kopf {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  border-bottom: 1px solid var(--tinte);
  padding-bottom: 10px;
}
.rechner-kopf h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}
.rechner-kopf span { font-size: 13px; color: var(--grau); }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-size: 14px; font-weight: 600; }
.feld input, .feld select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--tinte);
  border-radius: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: inherit;
  font-size: 18px;
}
.feld select { font-size: 16px; }
.feldreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.feldreihe .feld { flex: 1 1 120px; }
.ergebnis {
  background: var(--flaeche);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ergebnis-titel { font-size: 13px; color: var(--grau); }
.ergebnis-wert {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.rechner-hinweis { margin: 0; font-size: 14px; color: var(--grau); }

/* Werkzeuge */
.abschnitt { display: flex; flex-direction: column; gap: 18px; }
.werkzeuge { display: flex; flex-wrap: wrap; gap: 28px; }
.werkzeug {
  flex: 1 1 220px;
  min-width: 0;
  border-top: 1px solid var(--tinte);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.werkzeug h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
.werkzeug p { margin: 0; color: var(--text); }
.werkzeug .klein { font-size: 14px; color: var(--grau); }
.werkzeug a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Ratgeber */
.ratgeber-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.25;
  max-width: 30em;
}

/* Fuß */
.fuss {
  border-top: 3px solid var(--tinte);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--grau);
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss .urheber { display: inline-flex; align-items: center; min-height: 44px; }

/* Status statt Link */
.werkzeug .status {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grau);
}
.seite-inhalt { display: flex; flex-direction: column; gap: 40px; }

/* Textseiten */
.text { max-width: 46em; }
.text h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.5px;
}
.text h2 {
  margin: 36px 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}
.text h3 { margin: 22px 0 6px; font-size: 17px; font-weight: 600; }
.text p, .text li { color: var(--text); }
.text p { margin: 0 0 12px; }
.text ul { margin: 0 0 12px; padding-left: 22px; }
.text li { margin-bottom: 4px; }
.text .vorspann { font-size: 20px; }
.text .stand, .text .zurueck { margin-top: 32px; }
.text .stand { font-size: 14px; color: var(--grau); }
.text .knopf { color: var(--papier); }

@media (max-width: 560px) {
  .seite { padding: 0 16px 40px; gap: 32px; }
  .wortmarke { font-size: 44px; }
  .aufmacher-text p { font-size: 18px; }
  .rechner { padding: 18px; }
}
