/* ScoutX Landing – Seite in Richtung B („Der Weg“). Baut auf basis.css auf. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--creme); }
[hidden] { display: none !important; }
.innen { max-width: 1320px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
section { position: relative; }

/* Kopf bleibt oben */
.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--creme) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; }

/* 1 · Erster Bildschirm */
.buehne { min-height: calc(100svh - 96px); display: flex; flex-direction: column; }
.titel { padding: clamp(4px, 1.5vh, 18px) var(--rand) 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: end; }
h1 { font-weight: 800; letter-spacing: -.055em; line-height: .92; font-size: clamp(44px, 8.4vw, 148px); }
h1 span, .gelb { display: inline-block; background: var(--gelb); padding: 0 .12em .04em; margin-left: -.06em; }
.neben p { font-size: clamp(15px, 1.2vw, 18px); color: #3b3327; max-width: 30em; }
.neben .tat { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; align-items: flex-start; }
.neben .tat a.nebenlink { font-size: 14px; font-weight: 700; text-underline-offset: 3px; }

.demo { flex: 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; padding: clamp(14px, 2.6vh, 28px) var(--rand) 10px; min-height: 0; }
.weg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: s; }
.weg button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 30px 1fr; align-items: baseline; gap: 2px 6px; padding: 11px 12px; border-radius: 6px; position: relative; overflow: hidden; }
.weg button::before { counter-increment: s; content: "0" counter(s); font: 700 11px var(--mono); opacity: .45; }
.weg b { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.weg small { grid-column: 2; font-size: 12.5px; color: var(--grau-h); display: none; }
.weg li.an button { background: var(--kohle); color: var(--papier); }
.weg li.an small { display: block; color: var(--grau-d); }
.weg li.an button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gelb); animation: lauf var(--dauer, 7s) linear forwards; }
@keyframes lauf { from { width: 0; } to { width: 100%; } }
.weg button:focus-visible, a:focus-visible, .feld :focus-visible { outline: 2px solid var(--kohle); outline-offset: 2px; }
.bild { position: relative; min-height: 0; }
.bild .fenster { height: 100%; min-height: 300px; background: #dfe3df; }
.bild video, .bild img { width: 100%; height: 100%; object-fit: cover; object-position: top center; position: absolute; inset: 0; }
.bild .fenster { position: relative; }
.bild .mappe { object-fit: contain; background: #cfd4d0; padding: 2.5% 0; }
.unterzeile { padding: 0 var(--rand) 14px; display: flex; gap: 6px 18px; justify-content: space-between; flex-wrap: wrap; }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 10vw, 140px) 0; }
.abschnitt.dunkel { background: var(--tinte); color: var(--papier); }
.abschnitt.papier { background: var(--papier); }
.etikett { color: var(--grau-h); margin-bottom: 18px; display: block; }
.dunkel .etikett { color: var(--gelb); }
h2 { font-weight: 800; letter-spacing: -.045em; line-height: .98; font-size: clamp(34px, 5.2vw, 84px); max-width: 14em; }
.lauf { font-size: clamp(16px, 1.3vw, 19px); max-width: 36em; margin-top: 22px; color: #3b3327; }
.dunkel .lauf { color: var(--grau-d); }
.dunkel .lauf b { color: var(--papier); }

/* 2 · Drei Rollen */
.rollen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rollen ol { list-style: none; margin: 0; padding: 0; }
.rollen li { padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--linie-d); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 28px; align-items: baseline; }
.rollen li:last-child { border-bottom: 1px solid var(--linie-d); }
.rollen li b { font-weight: 800; letter-spacing: -.04em; line-height: 1; font-size: clamp(26px, 3.4vw, 52px); }
.rollen li b em { font-style: normal; color: var(--gelb); }
.rollen li p { color: var(--grau-d); font-size: 15.5px; }
.rollen figure { margin: 0; }
.rollen figure .fenster { max-width: 430px; margin-left: auto; }
figcaption { margin-top: 10px; }

/* 3 · Für wen */
.wer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 5vw, 64px); border-top: 2px solid var(--kohle); }
.wer article { padding: 22px 22px 26px 0; border-right: 1px solid var(--linie-h); margin-right: 22px; }
.wer article:last-child { border-right: 0; margin-right: 0; }
.wer .etikett { margin-bottom: 14px; color: var(--kohle); }
.wer h3 { margin: 0; font-weight: 800; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.025em; line-height: 1.12; }
.wer p { margin-top: 10px; font-size: 14.5px; color: var(--grau-h); }

/* 4 · Das Urteil */
.urteil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.urteil .paar { display: grid; gap: 14px; }
.urteil .punkt { display: inline-block; width: .32em; height: .32em; border-radius: 50%; margin-right: .2em; transform: translateY(-.2em); }
.liste { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.liste li { padding-left: 22px; position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--gelb); }
.papier .liste li::before, .liste.dunkelpunkt li::before { background: var(--kohle); }

/* 5 · Agent / 6 · IFC */
.zwei { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.schritte { list-style: none; counter-reset: n; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.schritte li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 15.5px; color: var(--grau-d); }
.schritte li::before { content: counter(n); font: 700 13px/34px var(--mono); width: 34px; height: 34px; text-align: center; border-radius: 50%; border: 1px solid var(--linie-d); color: var(--papier); }
.schritte b { color: var(--papier); display: block; font-weight: 700; }
.ifc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 52px); }
.ifc article { background: #fff; border: 1px solid var(--linie-h); border-radius: 8px; padding: clamp(20px, 2.4vw, 34px); }
.ifc h3 { margin: 0 0 10px; font-weight: 800; letter-spacing: -.03em; font-size: clamp(22px, 2.2vw, 32px); }
.ifc p { color: var(--grau-h); font-size: 15.5px; }
.stand { display: inline-block; font: 700 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; border-radius: 3px; background: var(--kohle); color: var(--papier); margin-bottom: 14px; }
.stand.bald { background: transparent; color: var(--kohle); box-shadow: inset 0 0 0 1px var(--kohle); }

/* 7 · Daten und Grenzen */
.tafel { width: 100%; border-collapse: collapse; margin-top: clamp(28px, 4vw, 52px); font-size: 14.5px; }
.tafel th { text-align: left; font: 700 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 0 12px 12px 0; border-bottom: 2px solid var(--kohle); vertical-align: bottom; }
.tafel td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--linie-h); vertical-align: top; }
.tafel td:first-child { font-weight: 800; white-space: nowrap; }
.m { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.m::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--kohle); }
.m.teil::before { background: transparent; box-shadow: inset 0 0 0 2px var(--kohle); }
.m.nein { color: var(--grau-h); } .m.nein::before { background: transparent; width: 9px; height: 2px; border-radius: 0; background: var(--grau-h); }
.tafelrahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.grenzen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: clamp(32px, 5vw, 60px); }
.grenzen div { border-top: 2px solid var(--kohle); padding-top: 14px; }
.grenzen b { display: block; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.grenzen p { font-size: 14.5px; color: var(--grau-h); margin-top: 6px; }

/* 8 · Zugang */
.zugang { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--kohle); border: 1px solid var(--linie-d); border-radius: 10px; padding: clamp(18px, 2.4vw, 32px); }
.feld { display: grid; gap: 6px; }
.feld.breit { grid-column: 1 / -1; }
.feld label, .feld .label { font: 700 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grau-d); }
.feld input, .feld select, .feld textarea { font: 500 16px/1.3 var(--schrift); color: var(--papier); background: var(--tinte); border: 1px solid var(--linie-d); border-radius: 4px; padding: 13px 12px; width: 100%; }
.feld textarea { min-height: 84px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--gelb); outline: none; }
.haken { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; color: var(--grau-d); align-items: start; }
.haken input { width: 20px; height: 20px; accent-color: var(--gelb); margin: 1px 0 0; }
form .knopf { grid-column: 1 / -1; justify-content: center; }
.meldung { grid-column: 1 / -1; font-size: 14px; padding: 12px 14px; border-radius: 4px; background: var(--tinte); border: 1px solid var(--linie-d); }
.meldung.gut { border-color: var(--gruen); } .meldung.fehler { border-color: var(--rot); }
.code { margin-top: 26px; font-size: 15px; color: var(--grau-d); }
.code a { color: var(--papier); font-weight: 700; text-underline-offset: 3px; }

/* 9 · Fragen */
.fragen { margin-top: clamp(28px, 4vw, 52px); border-top: 2px solid var(--kohle); max-width: 900px; }
details { border-bottom: 1px solid var(--linie-h); }
summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-weight: 800; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.02em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 24px/1 var(--schrift); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; max-width: 44em; color: #3b3327; font-size: 15.5px; }

/* Fuß */
.fuss { background: var(--tinte); color: var(--grau-d); padding: 44px 0 30px; font-size: 13.5px; }
.fuss .reihe { display: flex; gap: 18px 36px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.fuss nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.fuss a { color: var(--papier); text-decoration: none; font-weight: 600; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss .absender { display: flex; align-items: center; gap: 14px; color: var(--papier); }
.fuss .absender img { height: 26px; width: auto; }
.fuss .klein { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--linie-d); display: grid; gap: 6px; }

/* Textseiten (Impressum, Datenschutz, Quellen) */
.text { max-width: 820px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--rand) 90px; }
.text h1 { font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; }
.text h2 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.2; margin-top: 40px; }
.text p, .text li { font-size: 16px; color: #3b3327; margin-top: 12px; }
.text ul { padding-left: 20px; margin: 0; }
.text a { text-underline-offset: 3px; }
.text .hinweis { margin-top: 26px; padding: 14px 16px; border-left: 3px solid var(--gelb); background: #fff; font-size: 14.5px; }

/* Einblenden beim Scrollen */
.zeig { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.zeig.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .zeig { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .grenzen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wer article:nth-child(2) { border-right: 0; margin-right: 0; }
  .wer article:nth-child(n+3) { border-top: 1px solid var(--linie-h); }
}
@media (max-width: 900px) {
  .titel { grid-template-columns: 1fr; }
  .buehne { min-height: 0; }
  .demo { grid-template-columns: 1fr; }
  .weg { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 calc(var(--rand) * -1); padding: 0 var(--rand); }
  .weg::-webkit-scrollbar { display: none; }
  .weg li { flex: none; }
  .weg button { grid-template-columns: auto; padding: 10px 13px; }
  .weg button::before { display: none; }
  .weg b { font-size: 14px; }
  .weg li.an small { display: none; }
  .bild .fenster { aspect-ratio: 16 / 10.5; height: auto; min-height: 0; }
  .bild video, .bild img { object-position: 62% top; }
  .rollen, .urteil, .zwei, .zugang { grid-template-columns: 1fr; }
  .rollen li { grid-template-columns: 1fr; }
  .rollen figure .fenster { margin: 0; }
  .ifc, .grenzen { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wer { grid-template-columns: 1fr; }
  .wer article { border-right: 0; margin-right: 0; padding-right: 0; border-top: 1px solid var(--linie-h); }
  .wer article:first-child { border-top: 0; }
  .kopf .knopf.klein { padding: 10px 12px; font-size: 13px; }
}

mark.offen { background: var(--gelb); padding: 0 .25em; font: 600 .85em var(--mono); }

.tafel { min-width: 720px; }

/* Zugang per E-Mail */
.zugang .karte { background: var(--kohle); border: 1px solid var(--linie-d); border-radius: 10px; padding: clamp(20px, 2.6vw, 36px); display: grid; gap: 18px; justify-items: start; }
.zugang .karte p { font-size: clamp(16px, 1.3vw, 19px); color: var(--papier); max-width: 30em; }
.zugang .karte p.klein { font-size: 14px; color: var(--grau-d); }
.zugang .karte p.klein a { color: var(--papier); text-underline-offset: 3px; }
.fuss .klein a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
