/* ───────────────────────────────────────────────────────────────────────────
   baier.ai, die Unternehmensseite. Neubau 12.11.2026.
   Dieselbe Familie wie dihai (ballon/src/stil.css): Instrument Serif fuer
   Titel, Geist fuer Text, Nachtblau, Papier, ein Licht.
   Startseite (Fassung 3): sechs Botschaften in Baendern, mit Bewegung und je
   einem Griff (js/seite.js). Unterseiten: gesetzter Lesetext, kein Skript,
   hell und dunkel nach Systemeinstellung. Eine Datei, keine fremden Hosts.
   ─────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Instrument Serif";
  src: url("../schrift/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../schrift/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../schrift/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* Die Familienwerte, wie bei dihai. */
:root {
  --nacht: #0b1220;
  --papier: #f4eee3;
  --tinte: #15171c;
  --licht: #ffb85c;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --grotesk: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --rand: clamp(1.25rem, 4.2vw, 4.5rem);
  --spalte: 43rem;        /* Textbreite, rund 70 Zeichen */
  --randspalte: 15rem;
}
/* Hell: Papier traegt Tinte. Kontraste gegen --grund: Schrift 15.6, leise 5.6,
   Marke 10.9. Der Akzent ist auf Papier abgedunkelt und traegt nie Text. */
:root {
  color-scheme: light dark;
  --grund: var(--papier);
  --flaeche: #eae2d3;
  --schrift: var(--tinte);
  --titelfarbe: var(--nacht);
  --leise: #5b5f6b;
  --linie: rgba(21, 23, 28, .16);
  --marke: #1c3a78;
  --auf-marke: var(--papier);
  --akzent: #b96d0a;
  /* Nur fuer die Kaesten auf /technik/: der Text dort nennt Violett und Gruen. */
  --violett: #5a3ea6;
  --gruen: #24734a;
}
@media (prefers-color-scheme: dark) {
  /* Dunkel: Nachtblau traegt Papier. Schrift 15.9, leise 7.3, Marke 9.4. */
  :root {
    --grund: var(--nacht);
    --flaeche: #121b2e;
    --schrift: var(--papier);
    --titelfarbe: var(--papier);
    --leise: #9aa4b8;
    --linie: rgba(244, 238, 227, .17);
    --marke: #a9c2ff;
    --auf-marke: var(--nacht);
    --akzent: var(--licht);
    --violett: #bcaaff;
    --gruen: #7fd6a4;
  }
}

/* ── Grundlage ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* Grosse Bildschirme: die Grundschrift waechst ab rund 1800 px mit, wie bei dihai. */
html { font-size: clamp(100%, min(.889vw, 1.75vh), 137.5%); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: var(--grotesk);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  /* Ein warmer Schein oben rechts, dasselbe Licht wie im Punkt der Wortmarke. */
  background-image: radial-gradient(70rem 34rem at 88% -8rem, rgba(255, 184, 92, .2), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--akzent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 3px; }
[id] { scroll-margin-top: 1.5rem; }
.ueberspringen { position: absolute; left: -999rem; }
.ueberspringen:focus { left: var(--rand); top: .6rem; background: var(--grund); padding: .4rem .7rem; z-index: 5; }

/* Das Licht: derselbe Punkt wie bei dihai, hier ohne Atmen. */
.licht {
  display: inline-block; flex: none;
  width: .34em; height: .34em; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff3dc 0%, var(--licht) 55%, #f09a2e 100%);
  box-shadow: 0 0 .45em .06em rgba(255, 184, 92, .6);
}

/* ── Kopf ────────────────────────────────────────────────────────────────── */
.kopf {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .6rem 2rem;
  /* Dieselbe linke Kante wie das Blatt darunter, auch auf breiten Schirmen. */
  padding: clamp(1.1rem, 2.2vw, 1.7rem) max(var(--rand), calc((100vw - 84rem) / 2 + var(--rand)));
}
.marke, .fuss-marke {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--serif); font-size: 1.75rem; line-height: 1;
  color: var(--titelfarbe); text-decoration: none; white-space: nowrap;
}
.menu { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; flex: 1 1 auto; font-size: .98rem; }
.menu a { text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: var(--linie); }
.menu a[aria-current="page"] { border-bottom-color: var(--akzent); }
.zum-produkt {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  padding: .45rem 1.2rem; border-radius: 99px;
  background: var(--marke); color: var(--auf-marke);
  font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.zum-produkt::after { content: "↗"; margin-left: .45em; }
.zum-produkt:hover { filter: brightness(1.12); }

/* ── Blatt, Titel, Spalten ───────────────────────────────────────────────── */
.blatt { padding: 0 var(--rand); max-width: 84rem; margin: 0 auto; }
.titel { padding-block: clamp(2.2rem, 6vw, 4.6rem) clamp(2rem, 4vw, 3.2rem); max-width: 60rem; }
/* Startseite: der Titel ist ein ganzer Satz, darum etwas kleiner und breiter. */
.titel.mit-leitsatz { max-width: 68rem; }
.titel.mit-leitsatz h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.06; }
.dachzeile {
  margin: 0 0 1.1rem; font-family: var(--grotesk);
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--leise);
}
h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.012em;
  color: var(--titelfarbe); text-wrap: balance;
}
.vorspann {
  margin: 1.5rem 0 0; max-width: 34em;
  font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.28;
}
.titel .stand { margin: 1.4rem 0 0; max-width: var(--spalte); color: var(--leise); font-size: 1.1rem; line-height: 1.55; }

.spalten { border-top: 1px solid var(--linie); padding-top: clamp(1.8rem, 3.5vw, 3rem); }
.rand { display: none; }
.inhalt { max-width: var(--spalte); min-width: 0; }
@media (min-width: 64rem) {
  .spalten { display: grid; grid-template-columns: var(--randspalte) minmax(0, 1fr); column-gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .rand { display: block; position: sticky; top: 1.6rem; max-height: calc(100vh - 3.2rem); overflow-y: auto; font-size: .92rem; line-height: 1.4; }
}
.rand-titel { margin: 0 0 .8rem; font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.abschnitte ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--linie); }
.abschnitte li { margin: 0; }
.abschnitte a { display: block; padding: .32rem 0 .32rem .9rem; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--leise); }
.abschnitte a:hover { color: var(--schrift); border-left-color: var(--akzent); }

/* ── Lauftext ────────────────────────────────────────────────────────────── */
.inhalt > :first-child { margin-top: 0; }
.inhalt p, .inhalt ul, .inhalt ol, .inhalt dl { margin: 1.05em 0 0; }
.inhalt h2 {
  margin: 3.4rem 0 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.45rem + 1.1vw, 2.35rem); line-height: 1.12;
  color: var(--titelfarbe); text-wrap: balance;
}
.inhalt h3 { margin: 2.3rem 0 0; font-size: 1.17rem; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.inhalt h2 + p, .inhalt h3 + p { margin-top: .7em; }
.inhalt strong { font-weight: 600; }
.inhalt em { font-family: var(--serif); font-size: 1.14em; line-height: 1; }
.inhalt li { margin-top: .35em; }
.inhalt li::marker { color: var(--akzent); }
.inhalt dt { font-weight: 600; margin-top: 1.15em; }
.inhalt dd { margin: .2em 0 0; }
.inhalt code, .inhalt pre { font-family: var(--mono); font-size: .92em; }
.inhalt pre { overflow-x: auto; padding: 1rem; background: var(--flaeche); border-radius: .4rem; }
.inhalt > .stand, .inhalt > .verweis { margin-top: 3.2rem; padding-top: 1.3rem; border-top: 1px solid var(--linie); color: var(--leise); }
.inhalt > .verweis + .stand { margin-top: 1.05em; padding-top: 0; border-top: 0; }
.inhalt > .verweis { color: var(--schrift); }
.mundart { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; text-wrap: balance; }
.hinweis { border-left: 2px solid var(--akzent); padding-left: 1rem; margin: 0; }

/* ── Startseite (Fassung 3): Baender, Botschaften, Bilder ────────────────────
   Die Startseite hat einen festen Wechsel aus Nacht und Papier, unabhaengig
   von der Systemeinstellung: jedes Band setzt die Farbwerte fuer sich neu.
   Kopf und Fuss stehen dort in der Nacht. */
.nacht, .tief, .start .kopf, .start .fuss {
  --grund: var(--nacht); --flaeche: #131d33; --schrift: var(--papier); --titelfarbe: var(--papier);
  --leise: #9aa4b8; --linie: rgba(244, 238, 227, .17); --marke: #a9c2ff; --auf-marke: var(--nacht);
  --akzent: var(--licht); --gut: #7fd6a4;
}
.tief, .start .fuss { --grund: #070c17; --flaeche: #0f1728; }
.papier, .warm {
  --grund: var(--papier); --flaeche: #eae2d3; --schrift: var(--tinte); --titelfarbe: var(--nacht);
  --leise: #5b5f6b; --linie: rgba(21, 23, 28, .16); --marke: #1c3a78; --auf-marke: var(--papier);
  --akzent: #b96d0a; --gut: #24734a;
}
.warm { --grund: #ecdfc8; --flaeche: #f6f0e5; --leise: #55544f; }
body.start { background: var(--nacht); }
.start .kopf, .start .fuss { background: var(--grund); color: var(--schrift); }
.start .fuss { margin-top: 0; color: var(--leise); }
@media (min-width: 64rem) {
  .start .kopf { position: sticky; top: 0; z-index: 10; background: rgba(11, 18, 32, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-block: .85rem; }
  .start [id] { scroll-margin-top: 4.2rem; }
}

.band { background: var(--grund); color: var(--schrift); padding-block: clamp(4.5rem, 11vw, 8.5rem); position: relative; overflow: clip; }
.band[id]:not(#fragen):not(#kontakt) { display: grid; align-items: center; min-height: min(92svh, 62rem); }
.innen { width: 100%; max-width: 84rem; margin: 0 auto; padding-inline: var(--rand); }
.zwei { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 60rem) {
  .zwei { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .zwei.oben { align-items: start; }
}
.buehne h1, .buehne h2 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--titelfarbe); letter-spacing: -.01em; text-wrap: balance; }
.buehne h2 { font-size: clamp(2.7rem, 1.7rem + 4.2vw, 5.2rem); line-height: 1.02; }
.buehne h2 em { font-style: italic; }
.wort p { max-width: 31em; margin: 1.3rem 0 0; font-size: clamp(1.12rem, 1.02rem + .4vw, 1.3rem); line-height: 1.55; }
.wort.breit { max-width: 52rem; }
.wort .klein, .leise { color: var(--leise); }
.wort .klein { font-size: 1.02rem; }
.teil { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem !important; font-size: .82rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.teil::before { content: ""; width: 2.2rem; height: 2px; background: var(--akzent); }
.buehne blockquote { margin: 1.8rem 0 0; padding: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.2; color: var(--akzent); max-width: 22em; }
.weiter { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem !important; font-size: 1.05rem !important; }
/* Griffe sind im Quelltext versteckt, das Skript deckt sie auf. */
.buehne [hidden] { display: none !important; }
.nur-js { display: none; }
.js .nur-js { display: inline; }

.knopf, .griff {
  display: inline-flex; align-items: center; gap: .55em; min-height: 3rem; padding: .6rem 1.45rem;
  border-radius: 99px; border: 1.5px solid transparent; font: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .18s, background-color .18s, border-color .18s;
}
.knopf:hover, .griff:hover { transform: translateY(-2px); }
.knopf.hell { background: var(--licht); color: var(--nacht); }
.knopf.hell .licht { background: var(--nacht); box-shadow: none; width: .5em; height: .5em; }
.knopf.hell::after { content: "↗"; }
.knopf.hell:hover { background: #ffc97f; }
.knopf.leer, .griff { background: transparent; color: var(--schrift); border-color: var(--linie); }
.knopf.leer:hover, .griff:hover { border-color: var(--akzent); }
.griff { margin-top: 1.6rem; border-color: var(--akzent); }
.griff[aria-pressed="true"] { background: var(--akzent); color: var(--grund); }

/* Auftakt */
.band.auftakt { display: grid; align-items: center; min-height: min(88svh, 60rem); padding-top: clamp(2.5rem, 6vw, 5rem);
  background-image: radial-gradient(60rem 34rem at 86% 28%, rgba(255, 184, 92, .17), transparent 70%); background-repeat: no-repeat; }
.auftakt-raster { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .auftakt-raster { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.dach { margin: 0 0 1.5rem; font-size: .86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.buehne h1 { font-size: clamp(2.5rem, 1rem + 6.2vw, 5.6rem); line-height: 1.02; }
.buehne h1 > span { display: block; }
@media (max-width: 59.99rem) { .buehne h1 { font-size: clamp(2.2rem, 12.2vw, 4.6rem); } }
.buehne h1 > .dreh { display: grid; font-style: italic; color: var(--licht); white-space: nowrap; padding-bottom: .12em; }
.dreh span { grid-area: 1 / 1; opacity: 0; }
.dreh .zuletzt { opacity: 1; }
.unter { max-width: 30em; margin: 1.7rem 0 0; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.5; color: #d9d6cf; }
.wege { display: flex; flex-wrap: wrap; gap: .9rem 1rem; margin-top: 2.2rem; }

.kreis { position: relative; width: min(74vw, 24rem); aspect-ratio: 1; margin-inline: auto; }
.kern { position: absolute; inset: 39%; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff3dc 0%, var(--licht) 52%, #f09a2e 100%);
  box-shadow: 0 0 3.5rem 1rem rgba(255, 184, 92, .45), 0 0 9rem 3rem rgba(255, 184, 92, .16); }
.bahn { position: absolute; border-radius: 50%; border: 1px solid rgba(244, 238, 227, .16); }
.bahn.b1 { inset: 27%; } .bahn.b2 { inset: 13%; } .bahn.b3 { inset: 0; }
.bahn i { position: absolute; width: .62rem; height: .62rem; margin: -.31rem; border-radius: 50%; background: var(--papier); }
.bahn i:nth-child(1) { left: 50%; top: 0; }
.bahn i:nth-child(2) { left: 6.7%; top: 75%; background: #a9c2ff; }
.bahn i:nth-child(3) { left: 93.3%; top: 75%; background: #7fd6a4; }

/* Idee: drei Pfannen werden eine. Endzustand ist die eine; .getrennt setzt das Skript. */
.bild { min-width: 0; }
.herd { position: relative; width: min(100%, 30rem); aspect-ratio: 5 / 4; margin-inline: auto; }
.pfanne { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, var(--essen, #26324a) 0 47%, #26324a 48% 64%, #0b1220 65%);
  box-shadow: 0 1rem 1.6rem -1rem rgba(11, 18, 32, .6);
  transition: left .9s cubic-bezier(.6, 0, .2, 1), top .9s cubic-bezier(.6, 0, .2, 1), opacity .5s .45s, transform .9s cubic-bezier(.6, 0, .2, 1); }
/* Der Stiel setzt am Pfannenrand an und zeigt in die Richtung --stiel. */
.pfanne::after { content: ""; position: absolute; left: 50%; top: 44%; width: 46%; height: 12%; border-radius: 99px; background: #0b1220; transform-origin: 0 50%; transform: rotate(var(--stiel, 25deg)) translateX(104%); }
.pfanne b { font-size: clamp(.78rem, .6rem + .7vw, 1rem); font-weight: 600; color: var(--nacht); }
.p1 { --essen: #e9b44c; --stiel: 155deg; } .p2 { --essen: #7fb77e; --stiel: 20deg; } .p3 { --essen: #c98a4b; --stiel: 185deg; }
.p1, .p2, .p3 { left: 33%; top: 29%; opacity: 0; transform: scale(.7); }
.pfanne.eine { left: 21%; top: 12%; width: 58%; --essen: #26324a; --stiel: 32deg; transition: opacity .6s .5s, transform .8s .45s cubic-bezier(.3, 1.4, .5, 1); }
.pfanne.eine b { position: absolute; bottom: 21%; color: var(--papier); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.pfanne.eine .licht { width: 22%; height: 22%; margin-bottom: 12%; box-shadow: 0 0 2.2rem .6rem rgba(255, 184, 92, .55); }
.getrennt .p1 { left: 14%; top: 2%; } .getrennt .p2 { left: 62%; top: 12%; } .getrennt .p3 { left: 24%; top: 58%; }
.getrennt .p1, .getrennt .p2, .getrennt .p3 { opacity: 1; transform: none; transition-delay: 0s; }
.getrennt .eine { opacity: 0; transform: scale(.6); transition-delay: 0s; }
.pfannen { text-align: center; }

/* Betrieb: wer macht's? Endzustand ist «wir». */
.pflichten, .rest { background: var(--flaeche); border-radius: 1.6rem; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 1.4rem 3rem -2rem rgba(11, 18, 32, .45); }
.schalter, .filter { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem; border-radius: 99px; background: var(--grund); border: 1px solid var(--linie); }
.schalter-frage { padding: 0 .7rem 0 .9rem; font-weight: 600; }
.schalter button, .filter button { min-height: 2.6rem; min-width: 4.2rem; padding: .3rem 1.1rem; border: 0; border-radius: 99px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.schalter button[aria-pressed="true"], .filter button[aria-pressed="true"] { background: var(--titelfarbe); color: var(--grund); }
.pflichten ul, .rest ul { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.pflichten li { display: flex; align-items: center; gap: .9rem; padding: .78rem 0; border-top: 1px solid var(--linie); font-size: 1.1rem; line-height: 1.3; }
.pflichten li:first-child { border-top: 0; }
.pflichten li::before { content: ""; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 2px solid var(--leise); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.pflichten li::after { content: "Du"; margin-left: auto; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.pflichten.wir li::before { background: var(--licht); border-color: var(--licht); box-shadow: 0 0 .9rem .1rem rgba(255, 184, 92, .7); }
.pflichten.wir li::after { content: "Wir"; color: var(--akzent); }
.pflichten.wir li:nth-child(2)::before { transition-delay: .09s; } .pflichten.wir li:nth-child(3)::before { transition-delay: .18s; }
.pflichten.wir li:nth-child(4)::before { transition-delay: .27s; } .pflichten.wir li:nth-child(5)::before { transition-delay: .36s; }
.pflichten.wir li:nth-child(6)::before { transition-delay: .45s; }
.fazit { margin: 1.3rem 0 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); line-height: 1.2; color: var(--titelfarbe); }
.fazit .leise { display: block; margin-top: .5rem; font-family: var(--grotesk); font-size: 1rem; line-height: 1.45; }
.pflichten .bei-du, .pflichten.wir .bei-wir { display: inline; }
.pflichten .bei-wir, .pflichten.wir .bei-du { display: none; }

/* Ausgang: das eine Licht geht aus, der Rest bleibt. */
.rest ul { margin-top: 0; }
.rest li { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; transition: opacity .5s, color .5s; }
.rest li .licht { width: .42em; height: .42em; transition: background .5s, box-shadow .5s; }
.rest.ohne li.wir { color: var(--leise); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--leise); opacity: .6; }
.rest.ohne li.wir .licht { background: #3a4458; box-shadow: none; }
.rest.ohne li:not(.wir) .licht { box-shadow: 0 0 1.1em .25em rgba(255, 184, 92, .75); }
.js .rest .fazit { transition: opacity .5s .2s; }
.js .rest:not(.ohne) .fazit { opacity: 0; }

/* Offen: Partner zum Antippen. */
.partner { display: grid; gap: .9rem; margin-top: clamp(2rem, 5vw, 3.2rem); align-items: start; }
@media (min-width: 40rem) { .partner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .partner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 1.2rem; padding: 1.2rem 1.35rem 1.25rem; transition: border-color .25s, background-color .25s; }
.karte h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--titelfarbe); }
.karte h3 small { margin-left: .35em; font-family: var(--grotesk); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); }
.karte h3 button { all: unset; display: flex; align-items: baseline; width: 100%; cursor: pointer; }
.karte h3 button::after { content: "+"; margin-left: auto; font-family: var(--grotesk); font-size: 1.4rem; color: var(--akzent); transition: transform .25s; }
.karte h3 button[aria-expanded="true"]::after { transform: rotate(45deg); }
.karte h3 button:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; border-radius: 3px; }
.karte p { margin: .7rem 0 0; line-height: 1.5; }
.karte.zu p:not(.status) { display: none; }
.karte:not(.zu) { border-color: var(--akzent); }
.status { display: inline-flex; align-items: center; gap: .5em; font-size: .88rem; font-weight: 600; color: var(--leise); }
.status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; border: 1.5px solid currentColor; }
.status.steht { color: var(--gut); }
.status.steht::before { background: currentColor; }

/* Stand: was steht, was kommt. */
.weg { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.weg ol { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0 3rem; }
/* Breit: links was steht, rechts was kommt. */
@media (min-width: 60rem) {
  .weg ol { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
  .weg li.steht { grid-column: 1; } .weg li.kommt { grid-column: 2; }
}
.weg li { display: flex; align-items: baseline; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--linie); font-size: 1.12rem; line-height: 1.35; }
.weg li b { flex: none; width: 4.6rem; padding: .18rem 0; border-radius: 99px; text-align: center; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--linie); color: var(--leise); }
.weg li.steht b { background: var(--gut); border-color: var(--gut); color: var(--grund); }
.weg[data-zeig="steht"] li.kommt, .weg[data-zeig="kommt"] li.steht { display: none; }
.buehne blockquote.gross { margin-top: clamp(2.5rem, 6vw, 4rem); font-size: clamp(2rem, 1.3rem + 3vw, 3.8rem); line-height: 1.06; color: var(--titelfarbe); max-width: 16em; }

/* Fragen */
.antworten details { border-top: 1px solid var(--linie); }
.antworten details:last-child { border-bottom: 1px solid var(--linie); }
.antworten summary { display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.15; color: var(--titelfarbe); }
.antworten summary::-webkit-details-marker { display: none; }
.antworten summary::after { content: "+"; margin-left: auto; font-family: var(--grotesk); font-size: 1.4rem; color: var(--akzent); transition: transform .25s; }
.antworten details[open] summary::after { transform: rotate(45deg); }
.antworten p { margin: 0 0 1.3rem; max-width: 38em; font-size: 1.08rem; line-height: 1.6; }

/* Zitat */
.zitat { text-align: center; padding-block: clamp(5rem, 13vw, 10rem); background-image: radial-gradient(44rem 22rem at 50% 108%, rgba(255, 184, 92, .2), transparent 70%); }
.buehne .zitat blockquote { margin: 0 auto; max-width: none; color: var(--titelfarbe); }
.zitat blockquote p { margin: 0; font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6.2rem); line-height: 1.02; text-wrap: balance; }
.zitat footer { margin-top: 1.8rem; font-family: var(--grotesk); font-style: normal; font-size: 1rem; color: var(--leise); }

/* Kontakt */
.band.kontakt { margin-top: 0; }
.post { margin: 1.2rem 0 0 !important; font-family: var(--serif); font-size: clamp(2.2rem, 1rem + 6vw, 5.4rem); line-height: 1.05; overflow-wrap: anywhere; }
.post a { color: var(--licht); text-decoration-thickness: 2px; text-underline-offset: .12em; }
.tueren { list-style: none; margin: clamp(2.2rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 52rem) { .tueren { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tueren a { display: grid; gap: .4rem; height: 100%; padding: 1.3rem 1.4rem 1.4rem; border-radius: 1.2rem; background: var(--flaeche); border: 1px solid var(--linie); text-decoration: none; transition: border-color .2s, transform .2s; }
.tueren a:hover { border-color: var(--akzent); transform: translateY(-3px); }
.tueren b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.tueren b::after { content: " →"; color: var(--akzent); }
.tueren span { color: var(--leise); line-height: 1.45; }
.wer { margin: 2.4rem 0 0; color: var(--leise); font-size: .98rem; }

/* Sprungmarken am Rand: sechs Punkte, die auf Nacht und Papier lesbar bleiben. */
.marken { display: none; }
@media (min-width: 72rem) {
  .marken { display: grid; gap: .25rem; position: fixed; z-index: 9; right: .55rem; top: 50%; transform: translateY(-50%); mix-blend-mode: difference; }
  .marken a { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; min-height: 1.7rem; padding: 0 .4rem; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
  .marken a::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1.5px solid #fff; transition: transform .2s, background-color .2s; }
  .marken span { opacity: 0; transition: opacity .2s; }
  .marken a:hover span, .marken a:focus-visible span, .marken a.hier span { opacity: 1; }
  .marken a.hier::after { background: #fff; transform: scale(1.35); }
}

/* Bewegung: nur wer sie nicht abbestellt hat, und nur mit Skript (.bewegt). */
@media (prefers-reduced-motion: no-preference) {
  .dreh span { animation: dreh 15s infinite both; }
  .dreh span:nth-child(2) { animation-delay: 2.5s; } .dreh span:nth-child(3) { animation-delay: 5s; }
  .dreh span:nth-child(4) { animation-delay: 7.5s; } .dreh span:nth-child(5) { animation-delay: 10s; }
  .dreh .zuletzt { animation-delay: 12.5s; }
  @keyframes dreh {
    0% { opacity: 0; transform: translateY(.3em); }
    2.5%, 14% { opacity: 1; transform: none; }
    16.6%, 100% { opacity: 0; transform: translateY(-.3em); }
  }
  .bahn { animation: kreisen 46s linear infinite; }
  .bahn.b2 { animation-duration: 70s; animation-direction: reverse; }
  .bahn.b3 { animation-duration: 110s; }
  @keyframes kreisen { to { transform: rotate(360deg); } }
  .kern { animation: atmen 5.5s ease-in-out infinite; }
  @keyframes atmen { 50% { transform: scale(1.07); } }
  .bewegt .band:not(.auftakt) .wort, .bewegt .band:not(.auftakt) .bild, .bewegt .band > .innen > h2, .bewegt .zitat blockquote, .bewegt .antworten, .bewegt .tueren, .bewegt .post {
    opacity: 0; transform: translateY(1.6rem); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1);
  }
  .bewegt .band .bild, .bewegt .antworten, .bewegt .tueren { transition-delay: .15s; }
  .bewegt .band.da .wort, .bewegt .band.da .bild, .bewegt .band.da > .innen > h2, .bewegt .band.da blockquote, .bewegt .band.da .antworten, .bewegt .band.da .tueren, .bewegt .band.da .post { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pfanne, .pflichten li::before, .rest li, .rest li .licht, .knopf, .griff { transition: none !important; }
}
@media print {
  .band { min-height: 0 !important; padding-block: 1.5rem; background: none !important; color: #000; }
  .marken, .griff, .schalter, .filter, .kreis { display: none !important; }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.verzeichnis details { border-top: 1px solid var(--linie); }
.verzeichnis details:last-of-type { border-bottom: 1px solid var(--linie); }
.verzeichnis summary { display: flex; gap: .5rem; align-items: baseline; padding: .55rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.verzeichnis summary::-webkit-details-marker { display: none; }
.verzeichnis summary::before { content: "+"; width: .9em; color: var(--akzent); font-weight: 400; }
.verzeichnis details[open] > summary::before { content: "−"; }
.verzeichnis ul { list-style: none; margin: 0 0 .8rem; padding: 0 0 0 1.4em; }
.verzeichnis li { margin-top: .4rem; }
.verzeichnis a { text-decoration: none; color: var(--leise); }
.verzeichnis a:hover { color: var(--schrift); text-decoration: underline; text-decoration-color: var(--akzent); }
@media (max-width: 63.99rem) {
  /* Am schmalen Schirm steht das Verzeichnis ueber den Fragen. */
  .art-faq .rand { display: block; margin-bottom: 2.6rem; }
}
.sprung { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 3.8rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }
.inhalt > .sprung:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sprung h2 { margin: 0; }
.hoch { display: inline-flex; align-items: center; gap: .3em; font-size: .9rem; color: var(--leise); text-decoration: none; white-space: nowrap; }
.hoch:hover { color: var(--schrift); }
.ikon { display: block; width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hoch .ikon { width: 1em; height: 1em; stroke-width: 2.4; }
.hoch .spitze { fill: currentColor; stroke: none; }

/* ── Technik: die Kaesten (Shortcode figur) ──────────────────────────────────
   Wer in wem steckt. Vier Schalen, jede mit eigener Farbe UND eigenem
   Linienstil, damit die Ordnung auch ohne Farbe lesbar bleibt; jede Linie
   traegt ihr Etikett (Web/BEGRIFFSMODELL.md):
     Team     Violett durchgezogen 3px     Mensch  Violett gestrichelt 2px
     Persona  Gruen   durchgezogen 2px     Agent   Gruen   gestrichelt 1px
   Die Sicherheitsstufe liegt als neutrale Huelle darum und zaehlt in Linien:
   Basis eine, Dedicated Cloud zwei, Dedicated Hardware drei. */
.figur { margin-top: 1.6rem; font-size: .95rem; line-height: 1.45; }
@media (min-width: 64rem) { .figur { width: min(60rem, calc(100vw - var(--randspalte) - 2 * var(--rand) - 6rem)); } }
.figur .reihe { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); min-width: 0; }
.figur p { margin: 0; }
.figur .notiz { margin: 0 0 .7rem; color: var(--leise); }
.figur .legende { margin: .9rem 0 0; color: var(--leise); }
.etikett { display: inline-block; margin: 0 0 .6rem !important; padding: .12em .5em; font-weight: 600; background: var(--violett); color: var(--grund); line-height: 1.3; border-radius: 2px; }
.etikett.gruen { background: var(--gruen); color: var(--grund); }
.etikett.neutral { background: var(--leise); color: var(--grund); }
.etikett.hell { background: var(--grund); color: var(--schrift); border: 2px dashed var(--violett); padding: calc(.12em - 2px) calc(.5em - 2px); }
.stufe { border: 2px solid var(--leise); padding: .75rem; min-width: 0; }
.stufe.l2 { margin: 6px; box-shadow: 0 0 0 4px var(--grund), 0 0 0 6px var(--leise); }
.stufe.l3 { margin: 12px; box-shadow: 0 0 0 4px var(--grund), 0 0 0 6px var(--leise), 0 0 0 10px var(--grund), 0 0 0 12px var(--leise); }
.plattform { border: 2px dotted var(--leise); padding: .9rem; min-width: 0; }
.team    { border: 3px solid var(--violett); padding: .85rem; min-width: 0; }
.mensch  { border: 2px dashed var(--violett); padding: .7rem; min-width: 0; }
.persona { border: 2px solid var(--gruen); padding: .6rem; min-width: 0; }
.agent   { border: 1px dashed var(--gruen); padding: .45rem .6rem; margin-top: .6rem; }
.persona > .agent:first-of-type { margin-top: 0; }
.figur .art { font-weight: 600; }
.figur .zugriff { color: var(--leise); }
@media (max-width: 48rem) { .figur .reihe { grid-template-columns: minmax(0, 1fr); } }

/* ── Bestellen: der Konfigurator, ohne Skript ────────────────────────────────
   Gefiltert wird mit :has() auf dem Behaelter; als Versteck-Regel geschrieben,
   damit ein Browser ohne :has() alles zeigt statt nichts. Begruendung im Vault:
   Chluettere/produkt/angebot-geruest.md. */
.baum > section { margin-top: 2.4rem; }
.baum > section:first-child { margin-top: 0; }
.baum h2 { margin-top: 0; }
.baum > p:first-child { margin-top: 0; }
.fragen .fuerwen { margin-top: 1.5rem; }
.fragen .legende, .fragen legend { margin: 0; padding: 0; font-weight: 600; }
.fragen fieldset { margin: 1.7rem 0 0; padding: 0; border: 0; min-width: 0; }
.fragen .wahl { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.fragen label, .fragen .fuerwen a {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 2.75rem; padding: .5rem 1rem;
  border: 1px solid var(--linie); border-radius: 99px;
  color: var(--schrift); text-decoration: none; cursor: pointer;
}
.fragen label:hover, .fragen .fuerwen a:hover { border-color: var(--schrift); }
.fragen label:has(input:checked), .fragen .fuerwen a[aria-current="page"] {
  background: var(--marke); border-color: var(--marke); color: var(--auf-marke);
}
.fragen .fuerwen a[aria-current="page"] { font-weight: 600; }
.fragen input[type="radio"] { accent-color: var(--marke); margin: 0; flex: none; }
.fragen label:has(input:checked) input[type="radio"] { accent-color: var(--auf-marke); }
@supports selector(:has(*)) {
  .fragen input[type="radio"]:focus-visible { outline: none; }
  .fragen label:has(input:focus-visible) { outline: 2px solid var(--akzent); outline-offset: 3px; }
}
@media (max-width: 34rem) { .fragen .wahl { flex-direction: column; align-items: stretch; } .fragen label, .fragen .fuerwen a { border-radius: .7rem; } }
.baum:not(:has(#f-wir:checked))     .wenn-wir     { display: none; }
.baum:not(:has(#f-mit:checked))     .wenn-mit     { display: none; }
.baum:not(:has(#f-selbst:checked))  .wenn-selbst  { display: none; }
.baum:not(:has(#o-basis:checked))   .wenn-basis   { display: none; }
.baum:not(:has(#o-cloud:checked))   .wenn-cloud   { display: none; }
.baum:not(:has(#o-eigen:checked))   .wenn-eigen   { display: none; }
.baum:not(:has(#s-wir:checked))     .wenn-s-wir   { display: none; }
.baum:not(:has(#s-du:checked))      .wenn-s-du    { display: none; }
.baum:not(:has(#o-eigen:checked))   .wenn-blech   { display: none; }
.baum:not(:has(#o-eigen:checked))   .wenn-selber  { display: none; }
.baum:not(:has(#s-du:checked))      .wenn-selber  { display: none; }
.baum:not(:has(#f-selbst:checked))  .wenn-selber  { display: none; }
.baum:not(:has(#o-eigen:checked))   .wenn-betreut { display: none; }
.baum:not(:has(#s-du:checked))      .wenn-betreut { display: none; }
.baum:has(#f-selbst:checked)        .wenn-betreut { display: none; }
.baum:not(:has(#f-selbst:checked))  .wenn-selbstverwaltet { display: none; }
/* Die Folge haengt an der Ursache und springt nicht: alle Saetze liegen im
   selben Rasterfeld, die unbenutzten sind unsichtbar statt entfernt. */
@supports selector(:has(*)) {
  .folge { display: grid; margin-top: 1rem; padding: 1rem 1.2rem; background: var(--flaeche); border-radius: .6rem; }
  .folge > p { grid-area: 1 / 1; margin: 0; }
  .baum:not(:has(#f-wir:checked))     .folge > .wenn-wir,
  .baum:not(:has(#f-mit:checked))     .folge > .wenn-mit,
  .baum:not(:has(#f-selbst:checked))  .folge > .wenn-selbst,
  .baum:not(:has(#o-basis:checked))   .folge > .wenn-basis,
  .baum:not(:has(#o-cloud:checked))   .folge > .wenn-cloud,
  .baum:not(:has(#o-eigen:checked))   .folge > .wenn-eigen,
  .baum:not(:has(#s-wir:checked))     .folge > .wenn-s-wir,
  .baum:not(:has(#s-du:checked))      .folge > .wenn-s-du { display: block; visibility: hidden; }
}

/* ── Fuss ────────────────────────────────────────────────────────────────── */
.fuss { margin-top: clamp(5rem, 10vw, 9rem); padding: 3rem var(--rand) 3.5rem; border-top: 1px solid var(--linie); color: var(--leise); font-size: .98rem; }
.fuss-raster { display: grid; gap: 2.2rem 3rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); max-width: calc(84rem - 2 * var(--rand)); margin: 0 auto; }
.fuss-marke { margin: 0 0 .9rem; font-size: 1.5rem; }
.fuss p { margin: 0 0 .5rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss a { color: var(--schrift); text-decoration-color: var(--linie); }
.fuss a:hover { text-decoration-color: var(--akzent); }
.zeichen { display: flex; gap: 1rem; margin-top: 1.1rem !important; }
.zeichen a { display: block; color: var(--leise); }
.zeichen a:hover { color: var(--schrift); }
@media (max-width: 44rem) { .fuss-raster { grid-template-columns: 1fr; } }

/* ── Schmal ──────────────────────────────────────────────────────────────── */
@media (max-width: 44rem) {
  .kopf { gap: .5rem 1.2rem; }
  .menu { order: 3; flex-basis: 100%; gap: .1rem 1.05rem; font-size: .9rem; }
  .zum-produkt { margin-left: auto; min-height: 2.4rem; padding: .35rem 1rem; font-size: .9rem; }
  .marke { font-size: 1.55rem; }
}

/* ── Druck: ein Dossier darf man ausdrucken ──────────────────────────────── */
@media print {
  :root { --grund: #fff; --flaeche: #f2f2f2; --schrift: #000; --titelfarbe: #000; --leise: #444; --linie: #bbb; --marke: #1c3a78; --auf-marke: #fff; --akzent: #8a5200; --violett: #4b2f96; --gruen: #1d5f3c; }
  html { font-size: 11pt; }
  .kopf .menu, .zum-produkt, .produkt-knopf, .rand, .hoch, .ueberspringen, .fuss nav { display: none !important; }
  .blatt { padding: 0; max-width: none; }
  .spalten { display: block; }
  .inhalt h2, .inhalt h3 { break-after: avoid; }
  .baum [class^="wenn-"] { display: revert !important; }
  .fuerwen, .fragen fieldset { display: none !important; }
  .folge { display: block !important; background: none; padding: 0; }
  .folge > p { visibility: visible !important; margin-top: .6rem; }
}
