/* Otto Maass, Demo-Fassung zur Abstimmung (Techiota, 2026-11-26).
   Warmweiss, Anthrazit, Backsteinrot. Nur Systemschriften, keine externen Ressourcen. */

:root {
  color-scheme: light;
  --papier: #faf8f4;
  --weiss: #ffffff;
  --text: #25282c;
  --text-weich: #4d5257;
  --linie: #ddd7cc;
  --rand: #8a8478;
  --akzent: #9b3a2a;
  --akzent-tief: #7e2d20;
  --akzent-hell: #f3e4df;
  --dunkel: #25282c;
  --dunkel-text: #ece8e0;
  --dunkel-weich: #c4bfb5;
  --dunkel-link: #f2c9a8;
  --fokus: #1d4e89;
  --entwurf: #7a4f00;
  --entwurf-bg: #fdf3dc;
  --entwurf-rand: #ecd39a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mass: min(1120px, 100% - 2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
svg { display: block; max-width: 100%; }
a { color: var(--akzent); text-underline-offset: 0.18em; }
a:hover { color: var(--akzent-tief); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 3px; }
.dunkel :focus-visible { outline-color: #ffd9a8; }
.wrap { width: var(--mass); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--weiss); color: var(--text); padding: 0.6rem 1rem; }

/* Entwurfsleiste, entfaellt mit der Freigabe */
.entwurf-leiste { background: var(--entwurf-bg); color: #4a3508; border-bottom: 1px solid var(--entwurf-rand); font-size: 0.92rem; padding: 0.55rem 0; }
.entwurf-leiste .wrap { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: baseline; justify-content: space-between; }
.entwurf-leiste a { color: #4a3508; font-weight: 700; }

/* Annahme-Marke im Text, verweist auf die Liste am Seitenende */
.annahme {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.28em 0.5em;
  border-radius: 999px;
  background: var(--entwurf-bg);
  color: var(--entwurf);
  border: 1px solid var(--entwurf-rand);
  text-decoration: none;
  vertical-align: 0.2em;
  margin-left: 0.25em;
  white-space: nowrap;
}
.annahme:hover { background: #fae7b8; color: var(--entwurf); }

/* Kopf */
.kopf { padding: 1rem 0; border-bottom: 1px solid var(--linie); background: var(--weiss); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.marke:hover { color: var(--text); }
.marke-zeichen { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.marke-text { display: flex; flex-direction: column; line-height: 1.1; }
.marke-text b { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.marke-text span { font-size: 0.8rem; color: var(--text-weich); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav a:hover { color: var(--akzent); }
.nav .tel { font-weight: 700; white-space: nowrap; background: var(--akzent); color: #fff; padding: 0.55rem 1rem; border-radius: 4px; }
.nav .tel:hover { background: var(--akzent-tief); color: #fff; }
@media (max-width: 860px) { .nav a:not(.tel) { display: none; } }
@media (max-width: 480px) {
  .marke-text span { display: none; }
  .nav .tel { padding: 0.5rem 0.8rem; font-size: 0.92rem; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hero-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .hero-text { grid-template-columns: 1fr; } .hero-zeichen { display: none; } }
.hero h1 { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 700; margin: 0 0 1.2rem; max-width: 22ch; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-weich); max-width: 40rem; margin: 0 0 1.8rem; }
.hero-zeichen { width: 200px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.knopf { display: inline-block; font-weight: 700; font-size: 1rem; padding: 0.8rem 1.4rem; border-radius: 4px; text-decoration: none; border: 2px solid var(--akzent); }
.knopf.voll { background: var(--akzent); color: #fff; }
.knopf.voll:hover { background: var(--akzent-tief); border-color: var(--akzent-tief); color: #fff; }
.knopf.rand { background: transparent; color: var(--akzent); }
.knopf.rand:hover { background: var(--akzent-hell); color: var(--akzent-tief); }

.belege { list-style: none; margin: clamp(2rem, 5vw, 3.2rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--weiss); }
.belege li { padding: 1.1rem 1.2rem; border-left: 1px solid var(--linie); }
.belege li:first-child { border-left: 0; }
.belege b { display: block; font-size: 1.02rem; }
.belege span { display: block; font-size: 0.9rem; color: var(--text-weich); margin-top: 0.1rem; }
@media (max-width: 760px) { .belege { grid-template-columns: 1fr; } .belege li { border-left: 0; border-top: 1px solid var(--linie); } .belege li:first-child { border-top: 0; } }

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.abschnitt.weiss { background: var(--weiss); }
.abschnitt.dunkel { background: var(--dunkel); color: var(--dunkel-text); }
.abschnitt.dunkel a { color: var(--dunkel-link); }
.kopfzeile { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); max-width: 46rem; }
h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; font-weight: 700; margin: 0 0 0.7rem; }
.kopfzeile p { margin: 0; color: var(--text-weich); }
.dunkel .kopfzeile p { color: var(--dunkel-weich); }

/* Leistungen */
.leistungen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.2rem; }
.leistungen li { background: var(--papier); border: 1px solid var(--linie); border-top: 4px solid var(--akzent); border-radius: 4px; padding: 1.2rem 1.2rem 1.3rem; }
.leistungen h3 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; margin: 0 0 0.5rem; }
.leistungen p { margin: 0; color: var(--text-weich); font-size: 0.98rem; }

/* Hausverwaltungen und Gewerbe */
.punkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2rem; }
.punkt h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 0.5rem; color: #fff; }
.punkt p { margin: 0; color: var(--dunkel-weich); }
.vob { margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid #4a4f55; color: var(--dunkel-text); max-width: 46rem; }

/* Ablauf */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; counter-reset: schritt; }
@media (max-width: 960px) { .ablauf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ablauf { grid-template-columns: 1fr; } }
.ablauf li { counter-increment: schritt; padding-top: 3.2rem; position: relative; }
.ablauf li::before {
  content: counter(schritt);
  position: absolute; top: 0; left: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--akzent); color: #fff; font-weight: 700;
}
.ablauf h3 { font-family: var(--serif); margin: 0 0 0.3rem; font-size: 1.15rem; }
.ablauf p { margin: 0; color: var(--text-weich); font-size: 0.98rem; }

/* Ansprechpartner */
.person { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 2rem 4rem; align-items: center; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; max-width: 320px; width: 100%; border-radius: 4px; background: var(--akzent-hell); border: 1px solid var(--linie); display: grid; place-items: center; color: var(--akzent-tief); position: relative; }
.portrait b { font-family: var(--serif); font-size: clamp(3.6rem, 9vw, 5.5rem); font-weight: 700; }
.portrait span { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; font-size: 0.88rem; text-align: center; }
.zitat { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; margin: 0 0 1.2rem; }
.person p { max-width: 38rem; }
.person .name { font-weight: 700; margin: 1.2rem 0 0; }

/* Partner */
.partner { margin: 0; padding: 1.6rem 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); color: var(--text-weich); }
.partner b { color: var(--text); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 4rem; align-items: start; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }
.grosse-nummer { font-family: var(--serif); font-size: clamp(2.1rem, 8vw, 3.8rem); font-weight: 700; line-height: 1.05; color: #fff; text-decoration: none; display: inline-block; margin: 0.4rem 0 1rem; }
.abschnitt.dunkel a.grosse-nummer { color: #fff; }
.abschnitt.dunkel a.grosse-nummer:hover { color: var(--dunkel-link); }
.kontakt p { color: var(--dunkel-weich); max-width: 32rem; margin: 0; }
.kontakt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.4rem; }
.kontakt dt { color: var(--dunkel-weich); }
.kontakt dd { margin: 0; color: #fff; }

/* Annahmenliste */
.annahmen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.annahmen-liste li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.6rem; align-items: start; background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--entwurf-rand); border-radius: 4px; padding: 0.8rem 1rem; scroll-margin-top: 1rem; }
.annahmen-liste .id { font-weight: 800; color: var(--entwurf); }
.annahmen-liste small { display: block; color: var(--text-weich); font-size: 0.88rem; }

/* Fuss */
.fuss { padding: 2rem 0 3rem; font-size: 0.92rem; color: var(--text-weich); border-top: 1px solid var(--linie); }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; }
.fuss nav { display: flex; gap: 1.4rem; }

/* Textseiten (Impressum) */
.textseite { padding: clamp(2rem, 5vw, 4rem) 0 5rem; }
.textseite .wrap { max-width: 820px; }
.textseite h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 1rem; }
.textseite h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 2.2rem 0 0.6rem; }
.textseite p { max-width: 68ch; margin: 0 0 0.8rem; }
.hinweisbox { background: var(--entwurf-bg); border: 1px solid var(--entwurf-rand); border-radius: 4px; padding: 1rem 1.2rem; color: #4a3508; }
