/* Gemeinsames Design der Unterseiten (Über uns, FAQ) im Stil „Zwei Seiten“.
   Gleiche Grundflächen, Schriften und Bausteine wie index.html. */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope_600SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope_700Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #E8E4DA; --pencil: #23221F; --pencil-soft: #5A564D;
  --green: #045C3C; --green-deep: #03492F; --chalk: #F4F1EA; --chalk-soft: #C9DDD2; --charcoal: #0D0D0D;
  --pad: clamp(1.25rem, 3.4vw, 3.5rem);
  --section: clamp(4rem, 9vw, 9rem);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--pencil); overflow-x: clip; }
body { font-family: "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--green); color: var(--chalk); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-green :focus-visible, .foot :focus-visible { outline: 3px solid var(--chalk); outline-offset: 4px; }
.sc-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.board { font-family: "Archivo", system-ui, sans-serif; font-stretch: 72%; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hl { font-family: "Archivo", system-ui, sans-serif; font-stretch: 78%; font-weight: 800; line-height: .94; letter-spacing: -.012em; text-wrap: balance; margin: 0; }
.hl--xl { font-size: clamp(2.8rem, 6vw, 6.6rem); }
.hl--lg { font-size: clamp(2.2rem, 4.2vw, 4.4rem); }
.lede { font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem); line-height: 1.6; max-width: 40ch; margin: 1.1rem 0 0; text-wrap: pretty; }
.tag { display: inline-block; font-size: .72rem; padding: .35rem .6rem; border: 1.5px solid currentColor; }

/* Ecke oben links: einzige Navigation, als Etikett wie die Naht der Startseite */
.plate { position: fixed; top: 16px; left: 16px; z-index: 50; display: flex; align-items: stretch; background: var(--charcoal); color: var(--chalk); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.plate a { display: flex; align-items: center; padding: .55rem .8rem; text-decoration: none; font-size: .74rem; }
.plate a + a { border-left: 1px solid #333; }
.plate a:hover, .plate a[aria-current] { background: var(--green); }
.plate .k { padding: .35rem .55rem; }
.plate .k img { width: 26px; height: 26px; }

/* Zwei Seiten nebeneinander */
.duel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.side { position: relative; min-width: 0; padding: var(--section) var(--pad); }
.paper { background: var(--paper); color: var(--pencil); }
.on-green { background: var(--green); color: var(--chalk); position: relative; overflow: hidden; }
.on-green::before { content: ""; position: absolute; inset: 0; background: url("img/maehstreifen.webp") center / cover; opacity: .14; mix-blend-mode: luminosity; pointer-events: none; }
.on-green > * { position: relative; }
.seam-line { border-left: 2px solid var(--charcoal); }

/* Einblenden beim Erscheinen (einmalig) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Schluss + Footer (wie Startseite) */
.cta { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; padding: 1.05rem 1.6rem; background: var(--chalk); color: var(--green); text-decoration: none; font: 800 1.05rem/1 "Archivo", sans-serif; font-stretch: 80%; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 2px 0 var(--green-deep), 0 16px 30px -16px rgba(0,0,0,.5); transition: transform .14s var(--ease), background .16s; }
.cta:hover { background: #fff; } .cta:active { transform: translateY(1px); }
.cta svg { width: 1em; height: 1em; }
.foot { background: var(--charcoal); color: #cfcfcf; padding: 2rem calc(var(--pad) + 72px) 2.6rem var(--pad); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; font-size: .9rem; }
.foot img { height: 34px; width: auto; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot a { text-decoration: none; padding: .5rem 0; } .foot a:hover { color: #fff; }
.social { display: flex; gap: .5rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #333; border-radius: 50%; padding: 0; }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.small { font-size: .82rem; line-height: 1.45; }

@media (max-width: 760px) {
  .duel { grid-template-columns: 1fr; }
  .seam-line { border-left: 0; border-top: 2px solid var(--charcoal); }
  .side { padding: 4.5rem 1.25rem 3rem; }
  .plate { top: 10px; left: 10px; }
  .plate a { padding: .5rem .6rem; font-size: .68rem; }
  .foot { padding: 2rem 1.25rem 6.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Rechtstexte (Impressum, Datenschutz): ohne Fotos, Fokus auf Lesbarkeit */
.legal .intro .side { min-height: 52svh; display: flex; flex-direction: column; justify-content: flex-end; }
.legal .intro .paper { padding-top: 7rem; }
.legal .intro h1 { margin-top: 1.4rem; font-size: clamp(2.3rem, 4.8vw, 5.4rem); hyphens: manual; }
.stand { margin: 1.2rem 0 0; font-size: .8rem; color: var(--pencil-soft); }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; font-size: .82rem; }
.toc li { break-inside: avoid; border-top: 1px solid rgba(244,241,234,.25); }
.toc a { display: block; padding: .6rem 0; text-decoration: none; }
.toc a:hover { color: #fff; text-decoration: underline; }
.legal-text { max-width: 46rem; padding: var(--section) var(--pad); font-size: 1.02rem; line-height: 1.7; color: var(--pencil); }
.legal-text h2 { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 "Archivo", sans-serif; font-stretch: 78%; margin: 3.4rem 0 1rem; padding-top: 1rem; border-top: 2px solid var(--pencil); scroll-margin-top: 5rem; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font: 800 1.15rem/1.2 "Archivo", sans-serif; font-stretch: 82%; margin: 2rem 0 .6rem; }
.legal-text p, .legal-text ul, .legal-text ol { margin: 0 0 1rem; }
.legal-text a { color: var(--green); font-weight: 600; overflow-wrap: anywhere; }
.legal-text address { font-style: normal; margin: 0 0 1rem; padding: 1rem 1.2rem; background: #FBF9F4; border-left: 4px solid var(--green); }
.legal-text .tablewrap { overflow-x: auto; margin: 0 0 1.4rem; background: #FBF9F4; box-shadow: 0 1px 0 rgba(35,34,31,.15); }
.legal-text table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.legal-text th { background: var(--charcoal); color: var(--chalk); text-align: left; padding: .7rem .9rem; font: 800 .78rem/1.2 "Archivo", sans-serif; font-stretch: 78%; text-transform: uppercase; letter-spacing: .04em; }
.legal-text td { padding: .7rem .9rem; border-top: 1px solid #d8d3c6; vertical-align: top; }
@media (max-width: 760px) {
  .legal .intro .side { min-height: 0; }
  .legal .intro .paper { padding-top: 5.5rem; }
  .toc ol { columns: 1; }
  .legal-text { padding: 3.5rem 1.25rem; }
}
