/*
  poetz-neuburger.de – statische Fassung (ersetzt WordPress/Bridge-Theme)
  Werte am 26.11.2026 von der laufenden WordPress-Seite gemessen (Chrome, berechnete Stile).
  Keine Anfragen an Dritte: alle Schriften liegen in /fonts/.
*/

/* ---------- Schriften (lokal) ---------- */
@font-face {
  font-family: "Neutra Text";
  src: url("fonts/neutra/NeutraText-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neutra Text";
  src: url("fonts/neutra/NeutraText-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Raleway (SIL OFL 1.1, siehe fonts/raleway-OFL.txt), variable Schrift für 300 bis 700 */
@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben (gemessen) ---------- */
:root {
  --text: #625d53;        /* rgb(98, 93, 83)   Fließtext und Überschriften */
  --balken: #969187;      /* rgb(150, 145, 135) Kopf- und Fußleiste */
  --link: #5eb988;        /* rgb(94, 185, 136)  Links */
  --akzent: #52be84;      /* rgb(82, 190, 132)  Willkommenstext, Trennlinien */
  --weiss: #ffffff;
  --breite: 1300px;       /* Rasterbreite des alten Themes (qode_grid_1300) */
  --rand: 24px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: "Neutra Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
p, ul { margin: 0 0 26px; }
ul { padding-left: 1.1em; list-style-position: outside; }
em { font-style: italic; }
.u { text-decoration: underline; }

.raster {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--balken);
}
.kopf .raster {
  max-width: none;
  padding: 0 40px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.kopf-logo img { height: 76px; width: auto; }
.menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.menue a {
  display: inline-block;
  padding: 7px 14px 5px;
  border: 2px solid transparent;
  color: var(--weiss);
  font-family: "Neutra Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.menue a:hover, .menue a:focus-visible, .menue a[aria-current="page"] {
  border-color: var(--weiss);
  text-decoration: none;
}

/* ---------- Abschnitte der Startseite ---------- */
.trenner { border: 0; border-top: 1px solid var(--akzent); margin: 0; }

.willkommen { padding: 200px 0 169px; text-align: center; }
.willkommen img { width: 804px; margin: 0 auto; }
.willkommen h1 {
  /* Das Logo trägt den Namen; die Überschrift ist nur für Suchmaschinen und Screenreader. */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hinweis {
  margin: 122px auto 0;
  max-width: 66.666%;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 34px;
  color: var(--akzent);
}

.abschnitt { padding: 101px 0 105px; }
.abschnitt .raster > :last-child, .text > :last-child { margin-bottom: 0; }
.veroeffentlichungen { padding-top: 112px; }
.kontakt { padding: 113px 0 70px; }

/* Über mich: Bild links (3/12), Text rechts (9/12) */
.ueber .raster { display: grid; grid-template-columns: 3fr 9fr; gap: 0 4vw; }
.ueber .bild img { width: 250px; margin: 0 auto; }
.name {
  margin: 0 0 14px;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.titel {
  margin: 0 0 49px;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18.6667px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ueber .luft { margin-top: 78px; }   /* nur vor „Rechtspolitisches Engagement“, wie im Original */

/* Überschriften wie im alten Theme */
h2 {
  margin: 0 0 26px;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.liste-titel {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Veröffentlichungen */
.veroeffentlichungen .einleitung { margin-bottom: 55px; }
.titelliste { list-style: none; padding: 0; margin: 0; }
.titelliste li { margin: 0 0 52px; }
.titelliste li:last-child { margin-bottom: 0; }
.titelliste strong, .titelliste em { display: block; }

/* Links */
.links { text-align: center; padding: 111px 0 105px; }
.links p { margin: 0; }

/* Kontakt */
.kontakt .raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.kontakt p { margin: 0 0 26px; }

/* ---------- Unterseiten ---------- */
.unterseite { padding: 100px 0 120px; }
.unterseite .raster { max-width: 860px; }
.unterseite h1 {
  margin: 0 0 12px;
  font-family: "Neutra Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.unterseite .untertitel {
  margin: 0 0 26px;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.unterseite h2 {
  margin: 34px 0 0;
  font-family: "Neutra Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  text-transform: none;
}
.unterseite h3 { margin: 18px 0 0; font-size: 18px; line-height: 26px; font-weight: 400; font-style: italic; }
.unterseite strong { font-weight: 700; }

/* ---------- Fußleiste ---------- */
.fuss { background: var(--balken); padding: 60px 0 70px; }
.fuss .raster { display: flex; justify-content: space-between; gap: 20px; }
.fuss a {
  color: var(--weiss);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1100px) {
  html { scroll-padding-top: 20px; }
  .kopf { position: static; }
  .kopf .raster { flex-direction: column; align-items: center; padding: 14px var(--rand) 12px; min-height: 0; gap: 8px; }
  .kopf-logo img { height: 54px; }
  .menue ul { justify-content: center; gap: 2px 4px; }
  .menue a { padding: 6px 8px 4px; letter-spacing: 1.5px; }
  .willkommen { padding: 70px 0 60px; }
  .hinweis { margin-top: 70px; max-width: none; }
  .abschnitt { padding: 60px 0 70px; }
  .ueber .raster { grid-template-columns: 1fr; }
  .ueber .bild img { width: 200px; margin-bottom: 40px; }
  .name { font-size: 26px; line-height: 32px; }
  .titel { margin-bottom: 40px; }
  .ueber .luft { margin-top: 52px; }
  .titelliste li { margin-bottom: 34px; }
  .links { padding: 70px 0; }
  .kontakt .raster { grid-template-columns: 1fr; }
  .unterseite { padding: 60px 0 80px; }
  .unterseite h1 { font-size: 26px; line-height: 32px; letter-spacing: 2px; }
  .fuss { padding: 36px 0 40px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .name, .unterseite h1 { font-size: 22px; line-height: 28px; }
  h2 { font-size: 24px; line-height: 32px; letter-spacing: 2px; }
}
