/* Der Langzeitdenker · Seite „In Arbeit“
   Gestaltung nach Entwurfsrunde 3, Richtung D „Geerbt“ (Farben, Schrift und Maße aus der FigCraft-Datei).
   Die Platzhalter in den Schrift-Adressen ersetzt bauen.mjs durch die Dateinamen mit Prüfsumme. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.f7b5a6f17c.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-kursiv.a3d91bdcba.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plusjakartasans.bad9cd8af1.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben, Modus D */
  --grund: #f7eced;            /* Patina */
  --flaeche: #edd9e4;
  --linie: #8b8c86;            /* Suevit */
  --text: #181826;             /* Obsidian */
  --text-leise: #5b5862;
  --akzent: #5d4684;           /* Heliotrop dunkel */
  --akzent-tief: #4c3970;
  --heliotrop: #8c74aa;
  --vergissmeinnicht: #d7accf;
  --dunkel: #181826;
  --auf-dunkel: #f7eced;
  --auf-dunkel-leise: #bfb7bb;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --rand: 20px;
}
@media (min-width: 720px) {
  :root { --rand: clamp(40px, 8.3333vw, 120px); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--grund);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 29px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

::selection { background: var(--vergissmeinnicht); color: var(--text); }

h1, h2, h3, p, dl, dd, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
svg { display: block; }

a { color: inherit; }
a:focus-visible, .knopf:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 4px;
  border-radius: 4px;
}
.fuss a:focus-visible { outline-color: var(--auf-dunkel); }

.innen {
  width: min(100% - 2 * var(--rand), 1200px);
  margin-inline: auto;
}

.sprung {
  position: absolute;
  left: var(--rand);
  top: -80px;
  z-index: 10;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--grund);
  font: 600 15px/20px var(--sans);
  text-decoration: none;
}
.sprung:focus { top: 28px; }

/* ---------- Schriftstile aus dem Entwurf ---------- */

.label {
  font: 700 12px/16px var(--sans);
  letter-spacing: 1.92px;
  text-transform: uppercase;
  color: var(--akzent);
}
.klein {
  font: 500 13px/20px var(--sans);
  letter-spacing: 0.13px;
  color: var(--text-leise);
}

/* ---------- Kopf ---------- */

.kopfband {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 12px;
  fill: var(--akzent);
  pointer-events: none;
  z-index: 2;
}
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .innen {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 7.2px;
  color: var(--text);
  text-decoration: none;
  font: 500 18px/1 var(--serif);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.marke svg { width: 28.8px; height: 14.4px; flex: none; }
.zeichen-linie { fill: none; stroke: currentColor; stroke-width: 1.03; stroke-linecap: round; }
.zeichen-punkt { fill: currentColor; }
.zeichen-ursprung { fill: var(--akzent); }
.fuss .zeichen-ursprung { fill: currentColor; }

.nav a {
  font: 500 15px/20px var(--sans);
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
}
.nav a:hover { color: var(--akzent); }

@media (min-width: 720px) {
  .kopfband { height: 20px; }
  .kopf .innen { height: 96px; }
  .marke { font-size: 23px; gap: 9.2px; }
  .marke svg { width: 36.8px; height: 18.4px; }
}

/* ---------- Bühne ---------- */

main { flex: 1 0 auto; }

.buehne { overflow: hidden; }
.buehne .innen {
  display: grid;
  gap: 22px;
  padding: 36px 0 48px;
}
.buehne-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.buehne h1 {
  font: 500 54px/54px var(--serif);
  letter-spacing: -0.81px;
}
.buehne-vorspann {
  max-width: 540px;
  font-size: 19px;
  line-height: 29px;
}
/* Keine einzelnen Wörter in der letzten Zeile. */
.buehne-vorspann, .fliess p, .absender p { text-wrap: pretty; }

.knoepfe {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 6px 0 12px;
}
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 9px 8px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--akzent);
  background: var(--akzent);
  color: var(--grund);
  font: 600 15px/20px var(--sans);
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.knopf:hover { background: var(--akzent-tief); border-color: var(--akzent-tief); }
.knopf-pfeil {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grund);
  color: var(--akzent);
}
.knopf-pfeil svg { width: 14px; height: 11px; overflow: visible; }
.pfeil-linie { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.knopf--linie {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.knopf--linie:hover { background: var(--flaeche); border-color: var(--text); }
.knopf--linie .knopf-pfeil {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.bild { position: relative; z-index: 0; aspect-ratio: 1 / 1; }
.bild-kreis { position: relative; width: 100%; height: 100%; }
.mischen { mix-blend-mode: multiply; }
.kegel { display: none; }

@media (min-width: 560px) {
  .knoepfe { flex-direction: row; width: auto; padding: 8px 0 0; gap: 16px; }
  .knopf { justify-content: center; }
  .bild { width: min(100%, 520px); }
}

@media (min-width: 1000px) {
  .buehne .innen {
    grid-template-columns: minmax(0, 600fr) minmax(0, 520fr);
    column-gap: clamp(40px, 5.5556vw, 80px);
    align-items: center;
    padding: 88px 0 96px;
  }
  .buehne-text { gap: 28px; }
  .buehne h1 {
    font-size: clamp(72px, 7.2222vw, 104px);
    line-height: 0.9615;
    letter-spacing: -0.02em;
  }
  .buehne-vorspann { font-size: 23px; line-height: 34px; max-width: min(500px, 83.333%); }
  .bild { width: 100%; }

  /* Großer Kegel hinter dem Bild: Spitze links vom Kreis, läuft bis zum rechten Seitenrand. */
  .kegel {
    display: block;
    position: absolute;
    z-index: -1;
    left: -30.769%;
    top: -79.615%;
    width: 461.538%;
    height: 274.615%;
    pointer-events: none;
  }
  .kegel-flaeche { fill: var(--vergissmeinnicht); opacity: 0.26; }
  .kegel-linie { fill: none; stroke: var(--vergissmeinnicht); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
}

/* ---------- Kontakt ---------- */

.kontakt .innen { padding-bottom: 56px; }
.kontakt-kopf { display: grid; gap: 10px; margin-bottom: 28px; }
.kontakt h2 {
  font: 500 34px/38px var(--serif);
  letter-spacing: -0.34px;
}

.liste { border-bottom: 1px solid var(--linie); }
.zeile {
  display: grid;
  gap: 8px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--linie);
}
.zeile dt { padding-top: 2px; }
.zeile dd {
  font: 500 clamp(21px, 6vw, 27px)/1.2 var(--serif);
  letter-spacing: -0.14px;
  overflow-wrap: anywhere;
}
.zeile dd a {
  text-decoration: underline;
  text-decoration-color: var(--heliotrop);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.zeile dd a:hover { color: var(--akzent); text-decoration-color: var(--akzent); }
.mehrere { display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 6px; }
.nw { white-space: nowrap; }

@media (min-width: 720px) {
  .kontakt .innen { padding-bottom: 104px; }
  .kontakt-kopf { gap: 14px; margin-bottom: 40px; }
  .kontakt h2 { font-size: 48px; line-height: 52px; letter-spacing: -0.72px; }
  .zeile {
    grid-template-columns: minmax(140px, 216px) minmax(0, 1fr);
    column-gap: 24px;
    align-items: baseline;
    padding: 24px 0 26px;
  }
  .zeile dt { padding-top: 0; }
  .zeile dd { font-size: 27px; line-height: 32px; }
}

/* ---------- Textseiten (Impressum, Datenschutz, 404) ---------- */

.textseite .innen { padding: 44px 0 64px; }
.textseite-kopf { display: grid; gap: 10px; margin-bottom: 32px; }
.textseite h1 {
  font: 500 34px/38px var(--serif);
  letter-spacing: -0.34px;
}
.textseite h2 {
  font: 500 24px/30px var(--serif);
  letter-spacing: -0.14px;
  margin: 40px 0 12px;
}
.fliess { max-width: 720px; }
.fliess p + p, .fliess p + address, .fliess address + p { margin-top: 14px; }
.fliess a {
  text-decoration: underline;
  text-decoration-color: var(--heliotrop);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.fliess a:hover { color: var(--akzent); text-decoration-color: var(--akzent); }
.fliess .klein { margin-top: 40px; }
.zurueck { margin-top: 36px; }

@media (min-width: 720px) {
  .textseite .innen { padding: 80px 0 112px; }
  .textseite-kopf { gap: 14px; margin-bottom: 44px; }
  .textseite h1 { font-size: 48px; line-height: 52px; letter-spacing: -0.72px; }
  .textseite h2 { font-size: 27px; line-height: 32px; margin-top: 52px; }
}

/* ---------- Fuß ---------- */

.fuss { background: var(--dunkel); color: var(--auf-dunkel); }
.fuss .innen { padding: 48px 0 32px; }
.fuss-oben { display: grid; gap: 40px; }
.fuss .marke { color: var(--auf-dunkel); font-size: 24px; gap: 9.6px; }
.fuss .marke svg { width: 38.4px; height: 19.2px; }
.claim {
  margin-top: 36px;
  display: grid;
  gap: 3.4px;
  font: 400 21px/1 var(--serif);
}
.claim span { white-space: nowrap; }
.claim em { font-style: italic; font-weight: 500; }
.absender { display: grid; gap: 14px; align-content: start; }
.absender .label { color: var(--auf-dunkel); }
.absender .klein { color: var(--auf-dunkel-leise); }
.fuss-linie {
  height: 1px;
  margin: 40px 0 32px;
  border: 0;
  background: var(--auf-dunkel);
  opacity: 0.28;
}
.fuss-unten { display: grid; gap: 10px; }
.fuss-unten .label { color: var(--auf-dunkel); }
.recht { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 500 13px/20px var(--sans); letter-spacing: 0.13px; color: var(--auf-dunkel-leise); }
.recht a { text-decoration: none; padding: 6px 0; }
.recht a:hover, .recht a[aria-current="page"] { color: var(--auf-dunkel); }

@media (min-width: 720px) {
  .fuss .innen { padding: 72px 0 40px; }
  .fuss-oben {
    grid-template-columns: auto minmax(0, 480px);
    justify-content: space-between;
    column-gap: 40px;
  }
  .fuss .marke { font-size: 30px; gap: 12px; }
  .fuss .marke svg { width: 48px; height: 24px; }
  .claim { margin-top: 40px; font-size: 24px; gap: 3.84px; }
  .absender { gap: 16px; }
  .fuss-linie { margin: 56px 0; }
  .fuss-unten { grid-template-columns: 1fr auto; align-items: center; }
}

/* Grafiken sind kein Inhalt zum Mitnehmen. */
.bild svg, .kegel, .kopfband { user-select: none; -webkit-user-select: none; }

@media print {
  .kopfband, .kegel, .nav, .knoepfe, .sprung { display: none; }
  body { background: #fff; }
}
