/* ADLARIS · Design-Regeln Fassung 3
   Layout: dunkle Bühne oben, danach helles Papier; Inhalt links, Asymmetrie gewollt, eine Idee pro Abschnitt.
   Bewusst einthemig (Marke): Bühne Nachtschwarz, Papier Cremeweiß. Farben unabhängig vom Betriebssystem-Thema. */
:root {
  --nacht: #0E1116;
  --papier: #F6F4EF;
  --papier-tief: #EEEBE4;
  --gold: #C8A862;
  --text: #15130F;
  --text-neben: #5F5B53;
  --text-hell: #F6F4EF;
  --text-hell-neben: #A5A198;
  --linie: #D9D5CC;
  --linie-dunkel: #2A2E35;
  --f-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-titel: "Gloock", "Didot", "Bodoni 72", Georgia, serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 168px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap { padding-left: max(80px, env(safe-area-inset-left, 0px)); padding-right: max(80px, env(safe-area-inset-right, 0px)); }
}

/* Wortmarke */
.marke {
  font-family: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.fuss .marke { font-size: 26px; }
.marke .punkt { color: var(--gold); letter-spacing: 0; }

/* Kopf */
.kopf { background: var(--nacht); color: var(--text-hell); }
.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); padding-block: var(--s3);
  flex-wrap: wrap;
}
.nav { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-hell-neben); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-hell); }
.knopf {
  display: inline-block;
  background: var(--papier); color: var(--nacht);
  font: 500 15px/1 var(--f-text);
  padding: 14px 20px; border-radius: 2px; border: 0;
  text-decoration: none; cursor: pointer;
}
.knopf:hover { background: #fff; }
.knopf--dunkel { background: var(--nacht); color: var(--text-hell); }
.knopf--dunkel:hover { background: #1c2129; }
.nav .knopf { color: var(--nacht); }
.nav .kurz { display: none; }
@media (max-width: 640px) {
  .nav .nur-breit:not([href="/ratgeber/"]), .nav .knopf { display: none; }
  .kopf .wrap { gap: var(--s2); padding-block: var(--s2); }
  .nav { flex-basis: 100%; flex-wrap: nowrap; gap: 0; white-space: nowrap; font-size: 15px; }
  .nav a:not(:first-child)::before { content: "·"; content: "·" / ""; speak: never; display: inline-block; margin-inline: 10px; color: var(--text-hell-neben); }
  .nav .lang { display: none; }
  .nav .kurz { display: inline; }
}

/* Bühne */
.buehne { background: var(--nacht); color: var(--text-hell); }
.buehne .wrap { padding-block: var(--s5) var(--s6); }
.ueber { font: 500 12px/1.4 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-hell-neben); margin: 0 0 var(--s3); }
.ueber--hell { color: var(--text-neben); }
h1 {
  font-family: var(--f-titel); font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0; max-width: 15ch; text-wrap: balance;
}
.lead { font-size: 19px; color: var(--text-hell-neben); max-width: 34em; margin: var(--s3) 0 0; }
.buehne .knopf { margin-top: var(--s4); }

/* Abschnitte */
.abschnitt { padding-block: var(--s6); }
.abschnitt + .abschnitt { padding-top: 0; }
h2 {
  font: 400 clamp(30px, 3.4vw, 46px)/1.05 var(--f-titel); letter-spacing: -0.01em;
  margin: 0; text-wrap: balance; max-width: 22ch;
}
h3 { font: 600 19px/1.3 var(--f-text); margin: 0; }
p { margin: 0; }
.raster {
  display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: start;
}
@media (min-width: 900px) {
  .raster { grid-template-columns: 4fr 7fr; gap: var(--s5); }
  .raster > * { min-width: 0; }
}
.text { max-width: 36em; display: grid; gap: var(--s2); align-content: start; }
.neben { color: var(--text-neben); font-size: 15px; }
.linie { border: 0; border-top: 1px solid var(--linie); margin: 0; }

/* Türen */
.tueren { display: grid; grid-template-columns: 1fr; gap: var(--s5); padding-block: var(--s6) var(--s5); }
@media (min-width: 900px) {
  .tueren { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto 1fr auto; gap: var(--s3) var(--s5); align-items: end; }
  .tuer { grid-row: 1 / span 5; grid-template-rows: subgrid; }
  .tuer > * { align-self: start; }
  .tuer .mehr { align-self: end; }
}
.tuer { display: grid; gap: var(--s3); text-decoration: none; min-width: 0; }
.tuer img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--papier-tief); }
.tuer h2 { font-size: clamp(30px, 3.4vw, 46px); }
.tuer .mehr { font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--text); justify-self: start; padding-bottom: 2px; }
.tuer:hover .mehr { border-color: var(--gold); }
.tuer--klein { padding-top: 0; }
.tuer-bild { position: relative; display: block; }
.tuer-bild img { display: block; }
.tuer-bild .bildnotiz { position: absolute; left: 0; bottom: 0; font: 500 12px/1.4 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-hell); background: var(--nacht); padding: 5px 8px; }

/* Vertrauen */
.vertrauen { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-size: 15px; color: var(--text-neben); padding-block: var(--s3); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }

/* Gründer */
.gruender { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: start; }
@media (min-width: 900px) { .gruender { grid-template-columns: 4fr 7fr; gap: var(--s5); } }
.gruender img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.85); }
.gruender .text { min-width: 0; }

/* Werkstück-Folge */
.folge-kopf { display: flex; justify-content: space-between; align-items: end; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.umschalter { display: inline-flex; border: 1px solid var(--linie); border-radius: 2px; }
.umschalter button {
  font: 500 15px/1 var(--f-text); background: transparent; color: var(--text-neben);
  border: 0; padding: 10px 16px; cursor: pointer;
}
.umschalter button[aria-pressed="true"] { background: var(--nacht); color: var(--text-hell); }
.folge { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 760px) { .folge { grid-template-columns: 1fr 1fr; } .folge .gross { grid-column: 1 / -1; } }
.folge figure { margin: 0; display: grid; gap: var(--s1); min-width: 0; }
.folge img { width: 100%; background: var(--papier-tief); }
.folge .bild-skizze { aspect-ratio: 3 / 2; object-fit: cover; }
.folge .bild-plan { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.folge figcaption { display: flex; justify-content: space-between; gap: var(--s2); font-size: 15px; color: var(--text-neben); }
.marker { font: 500 12px/1.4 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-neben); }

/* Video */
.video { background: var(--nacht); }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Ablauf */
.schritte { display: grid; gap: 0; }
.schritt { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding-block: var(--s3); border-top: 1px solid var(--linie); }
@media (min-width: 760px) { .schritt { grid-template-columns: 10ch 1fr; gap: var(--s3); } }
.schritt .zeit { font-size: 15px; color: var(--text-neben); font-variant-numeric: tabular-nums; }

/* Preise */
.preise { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.preise td, .preise th { text-align: left; padding: var(--s2) 0; border-top: 1px solid var(--linie); vertical-align: top; font-weight: 400; }
.preise td.betrag { text-align: right; white-space: nowrap; padding-left: var(--s3); }
.preise .was { display: block; font-size: 15px; color: var(--text-neben); }
.paket { display: grid; gap: var(--s2); padding: var(--s4); background: var(--papier-tief); }
.paket .preis { font: 400 clamp(52px, 7vw, 72px)/1 var(--f-titel); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.paket .preis small { font: 400 19px var(--f-text); color: var(--text-neben); letter-spacing: 0; }
.paket ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s1); }
.pionier { font-size: 15px; }
.pionier strong { font-weight: 600; }

/* Fragen */
.fragen details { border-top: 1px solid var(--linie); padding-block: var(--s3); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; color: var(--text-neben); font-weight: 400; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin-top: var(--s2); max-width: 36em; }

/* Formular */
.formular { display: grid; gap: var(--s3); max-width: 34em; }
.feld { display: grid; gap: var(--s1); }
.feld label { font-size: 15px; font-weight: 500; }
.feld input, .feld textarea {
  font: 400 17px/1.4 var(--f-text); color: var(--text); background: #fff;
  border: 1px solid var(--linie); border-radius: 2px; padding: 12px 14px; width: 100%;
}
.feld textarea { min-height: 7em; resize: vertical; }
.hinweis { font-size: 15px; color: var(--text-neben); }
.danke { padding: var(--s3); background: var(--papier-tief); }

/* Ratgeber-Text */
.ratgeber { max-width: 38em; display: grid; gap: var(--s2); }
.ratgeber h2 { margin-bottom: var(--s1); }
.ratgeber h3 { margin-top: var(--s3); }
.kurzantwort { font-size: 19px; padding-left: var(--s3); border-left: 1px solid var(--gold); }

/* Fuß */
.fuss { background: var(--nacht); color: var(--text-hell-neben); font-size: 15px; }
.fuss .wrap { padding-block: var(--s5); display: grid; gap: var(--s3); }
.fuss .marke { color: var(--text-hell); }
.fuss-zeile { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); border-top: 1px solid var(--linie-dunkel); padding-top: var(--s3); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--text-hell); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Gestapelter Abschnitt: Überschrift oben, Inhalt darunter, schmal */
.stapel { display: grid; gap: var(--s4); max-width: 46em; }
.stapel .schritt { grid-template-columns: 1fr; }
@media (min-width: 760px) { .stapel .schritt { grid-template-columns: 12ch 1fr; } }
.tuer img { aspect-ratio: 3 / 2; object-fit: cover; background: var(--papier-tief); }

/* Großes Bild mit Titel darin (Hero mit Video oder Bild) */
.hero-bild { position: relative; background: var(--nacht); color: var(--text-hell); overflow: hidden; }
.hero-bild .medium { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bild .abdunkeln { position: absolute; inset: 0; background: rgba(14,17,22,0.74); }
.hero-bild .wrap { position: relative; min-height: clamp(560px, 82vh, 860px); display: grid; align-content: end; padding-block: var(--s6) var(--s5); }
.hero-bild h1 { max-width: 12ch; }
.hero-bild .lead { color: #F1EFE9; }
.hero-bild .bildnotiz { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 16px; font: 500 12px/1.4 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,244,239,0.7); }

/* Bild über die volle Breite mit Zeile darin */
.band { position: relative; background: var(--nacht); color: var(--text-hell); }
.band video, .band img { width: 100%; max-height: 86vh; object-fit: cover; }
.band .im-bild { position: absolute; left: 0; right: 0; bottom: 0; }
.band .im-bild .wrap { padding-block: var(--s4); }
.band .im-bild p { font: 400 clamp(26px, 3.2vw, 44px)/1.05 var(--f-titel); max-width: 18ch; text-shadow: 0 1px 24px rgba(14,17,22,0.5); }
.band .im-bild .marker { color: rgba(246,244,239,0.75); font-family: var(--f-text); font-size: 12px; text-shadow: none; margin-top: 8px; }

/* Etikett im Bild */
.folge figure { position: relative; }
.etikett { position: absolute; top: 12px; left: 12px; font: 500 12px/1 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; background: var(--nacht); color: var(--text-hell); padding: 7px 9px; border-radius: 2px; }
.groesser { padding-block: var(--s5); }
@media (min-width: 900px) { .folge-voll { margin-inline: calc(-1 * max(80px, env(safe-area-inset-left, 0px))); } }

.video-klein { margin: 0; position: relative; min-width: 0; }
.video-klein figcaption { position: absolute; top: 100%; left: 0; margin-top: var(--s1); }
.video-klein video { width: 100%; height: 100%; min-height: 260px; object-fit: cover; background: var(--papier-tief); border-radius: 2px; }
.raster--video { align-items: stretch !important; }
@media (max-width: 860px) { .video-klein video { height: auto; aspect-ratio: 16 / 9; } .video-klein figcaption { position: static; } }

/* Formular: Einwilligung und Honigtopf */
.feld--web { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.einwilligung { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--text-neben); max-width: 52ch; }
.einwilligung input { margin-top: 4px; accent-color: var(--nacht); }
.einwilligung a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

[hidden] { display: none !important; }
.fehler { font-size: 15px; font-weight: 500; }

/* Ratgeber */
.hero-bild--artikel .wrap { min-height: clamp(420px, 62vh, 640px); }
.hero-bild--artikel h1 { max-width: 16ch; font-size: clamp(36px, 5vw, 68px); }
.artikel { max-width: 40em; display: grid; gap: var(--s2); padding-block: var(--s5) var(--s6); }
.artikel h2 { margin-top: var(--s4); margin-bottom: var(--s1); font-size: clamp(26px, 2.6vw, 34px); }
.artikel .kurzantwort { margin-bottom: var(--s2); }
.artikel ul, .artikel ol { padding-left: 1.2em; display: grid; gap: var(--s1); }
.artikel a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.artikel figure { margin: var(--s3) 0; }
.paar { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
.paar img { width: 100%; height: auto; display: block; background: #fff; }
.paar figcaption { font-size: 14px; color: var(--text-neben); margin-top: var(--s1); }
.paar .etikett { position: static; display: inline-block; font: 500 11px/1 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase; background: var(--nacht); color: var(--text-hell); padding: 5px 7px; margin-right: 8px; }
.paar a { display: block; text-decoration: none; }
@media (max-width: 640px) { .paar img { width: calc(100% + 40px); max-width: none; margin-inline: -20px; } .paar figcaption { padding-inline: 0; } }
@media (min-width: 1000px) { .paar { width: min(960px, calc(100vw - 160px)); } }
.video-klein--artikel video { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
.autor { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); align-items: start; border-top: 1px solid var(--linie); padding-top: var(--s4); margin-top: var(--s4); }
.autor img { width: 96px; height: 96px; object-fit: cover; object-position: top; border-radius: 2px; }
.autor p { margin-bottom: var(--s1); font-size: 16px; }
.weiter, .quellen { border-top: 1px solid var(--linie); padding-top: var(--s3); }
.weiter ul, .quellen ol { padding-left: 1.2em; font-size: 15px; color: var(--text-neben); display: grid; gap: 6px; margin-top: var(--s2); }
.quellen a { text-decoration: none; }
.quellen a:hover { text-decoration: underline; }
.abschnitt--kopf { padding-bottom: var(--s4); }
.abschnitt--kopf h1 { font-size: clamp(40px, 6vw, 80px); max-width: 14ch; }
.abschnitt--kopf .lead { max-width: 40em; color: var(--text); }
.anker-artikel { display: grid; gap: var(--s3); text-decoration: none; margin-bottom: var(--s6); }
.anker-artikel img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--papier-tief); }
.anker-artikel .bildzeile { font: 500 12px/1.4 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-neben); }
.folge a, .paar a, .einzel a, #lnk-skizze, #lnk-plan, #lnk-3d { display: block; cursor: zoom-in; }
.anker-artikel .text { display: grid; gap: var(--s1); max-width: 40em; }
.anker-artikel h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.anker-artikel p:last-child { font-size: 19px; }
.anker-artikel:hover h2, .eintrag:hover h2 { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.liste { display: grid; gap: var(--s5); max-width: 40em; padding-bottom: var(--s6); }
.eintrag { display: grid; gap: var(--s1); text-decoration: none; }
.eintrag h2, .anker-artikel h2 { max-width: none; } .eintrag h2 { font-size: clamp(24px, 2.2vw, 30px); }
.einzel img { width: 100%; height: auto; background: var(--papier-tief); }
.einzel figcaption { font-size: 14px; color: var(--text-neben); margin-top: var(--s1); }

/* Textseiten (Impressum, Datenschutz): ruhige Lesespalte, links, ohne Kopfbild */
.rechtstext { max-width: 40em; padding-block: var(--s5) var(--s6); display: grid; gap: var(--s2); }
.rechtstext h1 { font-size: 37px; line-height: 1.1; letter-spacing: -0.02em; max-width: none; }
@media (min-width: 900px) { .rechtstext h1 { font-size: 46px; } }
.rechtstext .ueber { margin: 0; }
.rechtstext .lead { color: var(--text); max-width: none; margin: 0; }
.rechtstext section { display: grid; gap: var(--s2); margin-top: var(--s4); }
.rechtstext h2 { font-size: 24px; line-height: 1.2; letter-spacing: 0; max-width: none; text-wrap: wrap; }
.rechtstext h3 { font: 400 19px/1.3 var(--f-titel); margin-top: var(--s1); }
.rechtstext a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.rechtstext address { font-style: normal; }
.rechtstext ul, .rechtstext ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s1); }
.rechtstext .toc { list-style: none; padding-left: 0; margin-top: var(--s2); }
.rechtstext .toc a { color: var(--text-neben); text-decoration: none; }
.rechtstext .toc a:hover, .rechtstext .toc a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .rechtstext .toc { gap: 6px; line-height: 1.3; } }
.rechtstext dl { margin: 0; display: grid; gap: var(--s2); }
.rechtstext dt { font: 500 12px/1.4 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-neben); }
.rechtstext dd { margin: 0; overflow-wrap: anywhere; }
.rechtstext .folge-absatz { margin-top: var(--s1); }
.rechtstext .stand { font-size: 15px; color: var(--text-neben); margin-top: var(--s3); }
.rechtstext section[id] { scroll-margin-top: var(--s3); }
