/* First & Kehle · Konzept-Demo 01 · Dachdecker
   Stil: Schiefer, Kreide, Rapsgelb. Archivo breit für Überschriften, JetBrains Mono für Etiketten.
   Mobile first. Klassen ohne Präfix, weil jede Demo eine eigene statische Seite ist. */

:root {
  --schiefer: #1B242B;
  --schiefer-2: #26323B;
  --schiefer-3: #34424C;
  --nacht: #12181D;
  --kreide: #F3F0E8;
  --kreide-2: #EAE5D9;
  --papier: #FBFAF6;
  --raps: #FFC53D;
  --raps-tief: #F2B205;
  --text-gedimmt: #55606A;
  --hell-gedimmt: #B8C1C7;
  --linie: rgba(27, 36, 43, 0.16);
  --linie-hell: rgba(243, 240, 232, 0.16);
  --gruen: #3E9B4F;
  --gelb: #E9A800;
  --rot: #D2452D;
  --kopf: 58px;
  --breit: 125%;
  --rund: 14px;
  --abstand: clamp(48px, 5.5vw, 68px);
  --schatten: 0 18px 50px rgba(18, 24, 29, 0.14);
  --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (min-width: 900px) {
  :root { --kopf: 66px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 12px); }
body {
  margin: 0;
  background: var(--kreide);
  color: var(--schiefer);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--raps); outline-offset: 3px; border-radius: 4px; }

.nur-leser {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 14px; border-radius: 8px; background: var(--raps); color: var(--schiefer);
  font-weight: 700; text-decoration: none;
}
.sprung:focus { top: 12px; }

.rahmen { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.abschnitt { padding-block: var(--abstand); }

/* ---------- Typo ---------- */
.titel {
  font-size: clamp(1.85rem, 4.4vw, 3.4rem);
  font-weight: 800;
  font-stretch: var(--breit);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.titel-hell { color: var(--kreide); }
.etikett {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gedimmt);
  margin-bottom: 14px;
}
.etikett::before { content: "▲ "; font-size: 0.7em; vertical-align: 0.12em; color: var(--raps-tief); }
.etikett-hell { color: var(--hell-gedimmt); }
.etikett-hell::before { color: var(--raps); }
.etikett-dunkel { color: var(--schiefer); }
.etikett-dunkel::before { color: var(--schiefer); }
.gross { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.5; }
.klein { font-size: 0.9rem; }
.hell-gedimmt { color: var(--hell-gedimmt); }
.kopfzeile { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.kopfzeile .titel + p { margin-top: 16px; }

.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--raps-tief);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.textlink:hover { text-decoration-color: currentColor; }
.textlink-hell { color: var(--kreide); text-decoration-color: var(--raps); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border: 0; border-radius: 999px;
  background: var(--raps); color: var(--schiefer);
  font-weight: 750; font-stretch: 112%; font-size: 1.02rem; letter-spacing: 0.005em;
  text-decoration: none; text-align: center;
  box-shadow: 0 6px 0 var(--raps-tief);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.knopf::after {
  content: ""; width: 0.62em; height: 0.62em;
  border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor;
  transform: rotate(45deg); margin-left: 2px;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--raps-tief); }
.knopf:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--raps-tief); }
.knopf-gross { min-height: 58px; padding: 16px 30px; font-size: 1.1rem; }
@media (max-width: 380px) {
  .knopf-gross { padding: 14px 18px; font-size: 1rem; }
}
.knopf-klein { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; box-shadow: 0 4px 0 var(--raps-tief); }
.knopf-klein::after { display: none; }
.knopf-voll { width: 100%; }
.knopf-dunkel { background: var(--schiefer); color: var(--kreide); box-shadow: 0 6px 0 #000; }
.knopf-dunkel:hover { box-shadow: 0 8px 0 #000; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--schiefer); color: var(--kreide);
  border-bottom: 1px solid var(--linie-hell);
  transition: box-shadow 0.25s ease;
}
.kopf.ist-gescrollt { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.kopf-innen {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--kopf); max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px);
}
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.marke-zeichen { width: 34px; height: 24px; flex: none; }
.marke-text {
  font-weight: 800; font-stretch: var(--breit); text-transform: uppercase;
  font-size: 1rem; letter-spacing: 0.02em; white-space: nowrap;
}
.marke-text .und { color: var(--raps); }
.hauptnav { display: none; }
.kopf-aktion { display: flex; align-items: center; gap: 14px; }
.kopf-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--schiefer-2); color: var(--raps); text-decoration: none; font-weight: 650;
}
.kopf-tel svg { width: 19px; height: 19px; }
.kopf-tel span { display: none; }
.kopf-aktion .knopf-klein { display: none; }

@media (min-width: 900px) {
  .hauptnav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
  .hauptnav a {
    position: relative; text-decoration: none; font-size: 0.93rem; font-weight: 550; color: var(--kreide); opacity: 0.86;
    padding-block: 6px;
  }
  .hauptnav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--raps);
    transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
  }
  .hauptnav a:hover { opacity: 1; }
  .hauptnav a:hover::after, .hauptnav a.ist-aktiv::after { transform: scaleX(1); }
  .kopf-aktion .knopf-klein { display: inline-flex; }
  .marke-text { font-size: 1.08rem; }
}
@media (min-width: 1180px) {
  .kopf-tel { width: auto; height: auto; padding: 0; background: none; color: var(--kreide); }
  .kopf-tel span { display: inline; font-size: 0.95rem; }
  .kopf-tel svg { color: var(--raps); }
}

/* ---------- 1 · Hero ---------- */
.held { position: relative; background: var(--schiefer); color: var(--kreide); overflow: hidden; }
.held-bild { position: relative; height: min(54vw, 380px); overflow: hidden; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.held-bild::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%;
  background: linear-gradient(to bottom, rgba(27, 36, 43, 0), var(--schiefer));
}
.held-inhalt { position: relative; padding: 6px 0 26px; }
.vorzeile {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--raps); margin-bottom: 10px;
}
.held-titel {
  font-size: clamp(2.05rem, 8.4vw, 5.6rem);
  font-weight: 800; font-stretch: var(--breit);
  line-height: 0.98; letter-spacing: -0.028em;
  text-wrap: balance;
}
.held-titel .markiert { color: var(--raps); }
.held-satz { margin-top: 14px; max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.28rem); line-height: 1.48; color: #DCE2E5; }
.held-aktion { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 20px; }
.held-aktion .textlink { align-self: flex-start; font-size: 0.98rem; }
.belegleiste {
  display: grid; gap: 2px;
  padding: 14px clamp(16px, 4vw, 40px) 18px;
  background: var(--nacht);
  border-top: 1px solid var(--linie-hell);
  font-weight: 600; font-size: 0.95rem;
}
.belegleiste li { display: flex; align-items: center; gap: 10px; padding-block: 4px; }
.beleg-punkt { width: 10px; height: 10px; flex: none; background: var(--raps); transform: rotate(45deg); }

@media (min-width: 900px) {
  .held {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: min(calc(100svh - var(--kopf) - 34px), 900px);
    min-height: min(calc(100vh - var(--kopf) - 34px), 900px);
  }
  .held-bild { position: absolute; inset: 0; height: auto; }
  .held-bild img { object-position: 50% 58%; animation: zoom 14s ease-out both; }
  .held-bild::after {
    inset: 0; height: auto;
    background:
      linear-gradient(90deg, rgba(15, 20, 24, 0.82) 0%, rgba(15, 20, 24, 0.58) 34%, rgba(15, 20, 24, 0.08) 66%, rgba(15, 20, 24, 0) 100%),
      linear-gradient(0deg, rgba(15, 20, 24, 0.55) 0%, rgba(15, 20, 24, 0) 30%);
  }
  .held-inhalt { flex: 1; display: flex; align-items: center; padding: 56px 0 64px; }
  .held-inhalt .rahmen { max-width: 1320px; }
  .held-titel { max-width: 12ch; }
  .held-satz { margin-top: 22px; }
  .held-aktion { flex-direction: row; align-items: center; gap: 28px; margin-top: 32px; }
  .held-aktion .textlink { align-self: center; }
  .belegleiste {
    position: relative; grid-template-columns: repeat(3, auto); justify-content: space-between;
    padding: 20px max(clamp(16px, 4vw, 40px), calc((100vw - 1320px) / 2 + 40px));
    background: rgba(18, 24, 29, 0.9);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
}
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Niedrige Bildschirme: Button bleibt im ersten Bildschirm */
@media (max-width: 899px) and (max-height: 700px) {
  .held-bild { height: min(40vw, 240px); }
  .held-titel { font-size: clamp(1.9rem, 7.6vw, 2.4rem); }
  .held-satz { margin-top: 10px; font-size: 0.98rem; }
  .held-aktion { margin-top: 16px; gap: 10px; }
}
@media (min-width: 900px) {
  .held-titel { font-size: clamp(2.6rem, min(5.6vw, 9.2vh), 5.6rem); }
}
@media (min-width: 900px) and (max-height: 780px) {
  .held-inhalt { padding: 28px 0 36px; }
  .held-satz { margin-top: 14px; }
  .held-aktion { margin-top: 20px; }
  .belegleiste { padding-top: 14px; padding-bottom: 14px; }
}

/* ---------- 2 · Problem ---------- */
.problem-raster { display: grid; gap: 32px; align-items: center; }
.problem-text .titel { margin-bottom: 18px; }
.problem-text p + p { margin-top: 12px; color: var(--text-gedimmt); }
.problem-text .textlink { display: inline-block; margin-top: 22px; }
.problem-bild { position: relative; }
.problem-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: var(--rund); }
.problem-bild figcaption {
  margin-top: 12px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--text-gedimmt);
}
@media (min-width: 900px) {
  .problem-raster { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); }
  .problem-bild img { aspect-ratio: 4 / 5; max-height: 600px; }
}

/* ---------- Giebelkante ---------- */
.giebel {
  --g: clamp(26px, 6vw, 92px);
  position: relative;
  margin-top: calc(var(--g) * -1);
  padding-top: calc(var(--g) + var(--abstand));
  clip-path: polygon(0 var(--g), 50% 0, 100% var(--g), 100% 100%, 0 100%);
}

/* Abschnitte direkt vor einer Giebelkante brauchen unten Platz für die Spitze */
.vor-giebel { padding-bottom: calc(var(--abstand) + clamp(26px, 6vw, 92px)); }

/* ---------- 3 · Dachwache ---------- */
.dachwache { background: var(--schiefer); color: var(--kreide); }
.pruefung { display: grid; gap: 18px; }
.haus { position: relative; aspect-ratio: 800 / 560; width: 100%; }
.haus-zeichnung { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.punkt {
  position: absolute; left: var(--x); top: var(--y);
  width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--raps); color: var(--schiefer);
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500;
  box-shadow: 0 0 0 4px rgba(27, 36, 43, 0.9);
  transition: transform 0.2s ease, background 0.2s ease;
}
.punkt::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.punkt::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--raps); opacity: 0;
  animation: puls 2.4s ease-out infinite;
}
.punkt[aria-pressed="true"] { background: var(--kreide); transform: scale(1.14); }
.punkt[aria-pressed="true"]::after { border-color: var(--kreide); }
.punkt:hover { transform: scale(1.12); }
@keyframes puls { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: calc(clamp(16px, 4vw, 40px) * -1); padding-inline: clamp(16px, 4vw, 40px); }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--linie-hell); border-radius: 999px;
  background: transparent; color: var(--kreide); font-size: 0.9rem; font-weight: 600;
}
.chips button[aria-pressed="true"] { background: var(--raps); border-color: var(--raps); color: var(--schiefer); }

.tafel {
  padding: 22px 20px;
  border: 1px solid var(--linie-hell); border-radius: var(--rund);
  background: var(--schiefer-2);
}
.tafel-nr { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--raps); }
.tafel-titel { margin: 10px 0 16px; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 750; font-stretch: 112%; line-height: 1.18; }
.tafel-liste { display: grid; gap: 14px; }
.tafel-liste dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hell-gedimmt); margin-bottom: 4px; }
.tafel-liste dd { color: #E3E7E9; }
.tafel.ist-neu .tafel-titel, .tafel.ist-neu .tafel-liste { animation: auftauchen 0.35s ease both; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .pruefung { grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  .chips { display: none; }
  .punkt { width: 40px; height: 40px; margin: -20px 0 0 -20px; font-size: 0.95rem; }
  .tafel { padding: 32px 30px; min-height: 340px; }
}

.angebot {
  display: grid; margin-top: clamp(40px, 6vw, 72px);
  border-radius: calc(var(--rund) + 4px); overflow: hidden;
  background: var(--kreide); color: var(--schiefer);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.angebot-bild img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.angebot-inhalt { padding: 26px 20px 30px; }
.angebot-titel { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; font-stretch: var(--breit); line-height: 1.1; margin-bottom: 18px; }
.haken { display: grid; gap: 10px; margin-bottom: 22px; }
.haken li { position: relative; padding-left: 34px; font-weight: 550; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--schiefer);
}
.haken li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 9px; height: 5px;
  border-left: 2.5px solid var(--raps); border-bottom: 2.5px solid var(--raps); transform: rotate(-45deg);
}
.preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-weight: 600; }
.preis-zahl { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: var(--breit); letter-spacing: -0.02em; }
.angebot .klein { margin: 6px 0 22px; color: var(--text-gedimmt); }
@media (min-width: 900px) {
  .angebot { grid-template-columns: 5fr 7fr; }
  .angebot-bild img { aspect-ratio: auto; min-height: 100%; }
  .angebot-inhalt { padding: 44px 48px; }
}

/* Beispiel-Kennzeichnung */
.marke-beispiel {
  display: inline-block;
  padding: 4px 8px; border-radius: 5px;
  background: rgba(18, 24, 29, 0.88); color: var(--kreide);
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.3; vertical-align: middle;
}
.marke-beispiel-dunkel { background: var(--schiefer); color: var(--raps); }
.marke-beispiel-klein { font-size: 0.6rem; padding: 3px 6px; }

/* ---------- 4 · Leistungen ---------- */
.leistungen { background: var(--kreide); }
.karten { display: grid; gap: 18px; }
.karte {
  display: flex; flex-direction: column;
  border-radius: var(--rund); overflow: hidden;
  background: var(--papier); box-shadow: var(--schatten);
}
.karte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.karte-text { padding: 20px 20px 24px; }
.karte-text .etikett { margin-bottom: 8px; }
.karte h3 { font-size: 1.3rem; font-weight: 800; font-stretch: 112%; line-height: 1.15; margin-bottom: 8px; }
.karte p:not(.etikett) { color: var(--text-gedimmt); }
.abschluss-zeile { margin-top: 30px; font-weight: 550; }

/* Wischreihe auf dem Handy */
@media (max-width: 899px) {
  .wischreihe {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(clamp(16px, 4vw, 40px) * -1); padding: 4px clamp(16px, 4vw, 40px) 18px;
    scrollbar-width: none;
  }
  .wischreihe::-webkit-scrollbar { display: none; }
  .wischreihe > li { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (min-width: 900px) {
  .karten { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- 5 · Ablauf ---------- */
.ablauf { background: var(--kreide-2); }
.ablauf-raster { display: grid; gap: 40px; }
.schritte { display: grid; gap: 4px; margin-bottom: 30px; counter-reset: s; }
.schritt {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--linie);
}
.schritt-nr {
  font-size: 2.6rem; font-weight: 800; font-stretch: var(--breit); line-height: 0.9; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.6px var(--schiefer);
  transition: color 0.3s ease;
  min-width: 2.3ch;
}
.schritt.ist-aktiv .schritt-nr { color: var(--schiefer); }
.schritt h3 { font-size: 1.2rem; font-weight: 750; font-stretch: 112%; margin-bottom: 4px; }
.schritt p { color: var(--text-gedimmt); }
.ablauf-rechts { display: flex; justify-content: center; }

.handy {
  width: min(300px, 82vw); aspect-ratio: 300 / 610;
  padding: 11px; border-radius: 44px;
  background: #0E1317; box-shadow: 0 30px 70px rgba(18, 24, 29, 0.35), inset 0 0 0 2px #2A353D;
}
.handy-schirm {
  height: 100%; overflow: hidden; border-radius: 34px;
  background: var(--papier); padding: 26px 16px 16px; font-size: 0.8rem;
}
.bericht-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.bericht-marke { font-weight: 800; font-stretch: var(--breit); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.02em; }
.bericht-titel { font-size: 1.35rem; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.bericht-ort { margin: 4px 0 12px; color: var(--text-gedimmt); font-size: 0.74rem; line-height: 1.4; }
.bericht-summe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.bericht-summe span {
  display: flex; flex-direction: column; gap: 5px; padding: 8px 7px; border-radius: 9px;
  background: var(--kreide); font-size: 0.66rem; font-weight: 650; line-height: 1.25;
}
.bericht-liste { display: grid; gap: 6px; }
.bericht-liste li {
  display: grid; grid-template-columns: 12px 1fr; column-gap: 9px; row-gap: 1px; align-items: center;
  padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 1px 0 var(--linie);
}
.bericht-liste b { font-size: 0.78rem; }
.bericht-liste small { grid-column: 2; color: var(--text-gedimmt); font-size: 0.68rem; line-height: 1.3; }
.ampel { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.ampel-gruen { background: var(--gruen); }
.ampel-gelb { background: var(--gelb); }
.ampel-rot { background: var(--rot); }
.js .handy .bericht-liste li { opacity: 0; transform: translateX(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js .handy.ist-da .bericht-liste li { opacity: 1; transform: none; }
.js .handy.ist-da .bericht-liste li:nth-child(2) { transition-delay: 0.12s; }
.js .handy.ist-da .bericht-liste li:nth-child(3) { transition-delay: 0.24s; }
.js .handy.ist-da .bericht-liste li:nth-child(4) { transition-delay: 0.36s; }
.js .handy.ist-da .bericht-liste li:nth-child(5) { transition-delay: 0.48s; }
.js .handy.ist-da .bericht-liste li:nth-child(6) { transition-delay: 0.6s; }
@media (min-width: 900px) {
  .ablauf-raster { grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .ablauf-rechts { position: sticky; top: calc(var(--kopf) + 32px); }
  .schritt-nr { font-size: 3.4rem; }
  .handy { width: 320px; }
}

/* ---------- 6 · Projekte ---------- */
.projekt-liste { display: grid; gap: 20px; }
.projekt-bild { position: relative; margin-bottom: 16px; }
.projekt-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
.projekt-bild .marke-beispiel { position: absolute; left: 12px; top: 12px; }
.projekt .etikett { margin-bottom: 6px; }
.projekt h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 112%; line-height: 1.18; margin-bottom: 8px; }
.projekt p:not(.etikett) { color: var(--text-gedimmt); }
.stimmen { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 60px); }
.stimme { padding: 22px 0 0; border-top: 3px solid var(--schiefer); }
.stimme .marke-beispiel { margin-bottom: 14px; }
.stimme blockquote { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 650; font-stretch: 108%; line-height: 1.32; text-wrap: pretty; }
.stimme figcaption { margin-top: 12px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-gedimmt); }
@media (min-width: 900px) {
  .projekt-liste { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stimmen { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---------- 7 · Team ---------- */
.team { background: var(--schiefer); color: var(--kreide); padding-block: 0; }
.team-raster { display: grid; }
.team-bild { position: relative; }
.team-bild img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 45% 40%; }
.team-bild .marke-beispiel { position: absolute; left: 14px; top: 14px; }
.team-text { padding: var(--abstand) clamp(16px, 4vw, 40px); }
.team-text .titel { color: var(--kreide); margin-bottom: 18px; }
.team-text p:not(.etikett):not(.gross) { margin-top: 12px; color: var(--hell-gedimmt); }
.team-text .etikett { color: var(--hell-gedimmt); }
.team-text .etikett::before { color: var(--raps); }
.fakten { display: grid; gap: 14px; margin: 28px 0 30px; }
.fakten li { display: grid; gap: 2px; padding-top: 12px; border-top: 3px solid var(--raps); }
.fakten b { font-weight: 800; font-stretch: 112%; }
.fakten span { color: var(--hell-gedimmt); font-size: 0.92rem; }
@media (min-width: 900px) {
  .team-raster { grid-template-columns: 11fr 9fr; min-height: 640px; }
  .team-bild img { aspect-ratio: auto; position: absolute; inset: 0; }
  .team-text { align-self: center; padding: var(--abstand) max(40px, calc((100vw - 1240px) / 2 + 40px)) var(--abstand) clamp(40px, 5vw, 72px); }
  .fakten { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 8 · FAQ ---------- */
.fragen-raster { display: grid; gap: 8px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq details:first-child { border-top: 1px solid var(--linie); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 52px 18px 0; font-weight: 700; font-stretch: 106%; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2.5px; margin-top: -1px;
  background: var(--schiefer); transition: transform 0.25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: #000; }
.faq details p { padding: 0 52px 20px 0; color: var(--text-gedimmt); }
.fragen .titel { font-size: clamp(1.85rem, 3.1vw, 2.7rem); }
@media (min-width: 900px) {
  .fragen-raster { grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .fragen-raster .kopfzeile { position: sticky; top: calc(var(--kopf) + 32px); }
}

/* ---------- 9 · Jobs ---------- */
.jobs { background: var(--raps); color: var(--schiefer); }
.jobs-raster { display: grid; gap: 22px; }
.jobs-titel { font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 0.98; }
.jobs-punkte { display: grid; gap: 8px; margin: 18px 0 26px; font-weight: 650; }
.jobs-punkte li { display: flex; align-items: center; gap: 10px; }
.jobs-punkte li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--schiefer); transform: rotate(45deg); }
@media (min-width: 900px) {
  .jobs-raster { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
}

/* ---------- 10 · Abschluss ---------- */
.abschluss { background: var(--schiefer); color: var(--kreide); }
.abschluss.giebel { padding-top: 0; }
.abschluss-bild { height: clamp(200px, 30vw, 420px); overflow: hidden; }
.abschluss-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.abschluss-raster { display: grid; gap: 30px; padding-top: var(--abstand); }
.abschluss-text .titel { margin-bottom: 16px; }
.abschluss-text p + p { margin-top: 14px; }
.anfrage {
  padding: 22px 18px 20px; border-radius: calc(var(--rund) + 4px);
  background: var(--kreide); color: var(--schiefer); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.anfrage-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.anfrage-stufe { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gedimmt); }
.anfrage-balken { position: relative; width: 120px; height: 6px; border-radius: 6px; background: var(--kreide-2); overflow: hidden; }
.anfrage-balken span { position: absolute; inset: 0 50% 0 0; background: var(--schiefer); border-radius: 6px; transition: right 0.35s ease; }
.anfrage[data-aktuell="2"] .anfrage-balken span, .anfrage.ist-fertig .anfrage-balken span { right: 0; }
.stufe { border: 0; margin: 0; padding: 0; min-width: 0; }
.stufe legend, .frage { font-weight: 750; font-stretch: 108%; font-size: 1.08rem; margin-bottom: 10px; padding: 0; }
.frage { margin-top: 18px; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid #CFC7B6; border-radius: 999px; background: var(--papier);
  font-weight: 600; font-size: 0.96rem; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wahl input:checked + span { background: var(--schiefer); border-color: var(--schiefer); color: var(--kreide); }
.wahl input:focus-visible + span { outline: 3px solid var(--raps); outline-offset: 2px; }
.stufe .knopf { margin-top: 22px; }
.feld { display: grid; gap: 6px; margin-bottom: 14px; }
.feld span { font-weight: 650; font-size: 0.92rem; }
.feld input {
  height: 52px; padding: 0 14px; border: 1.5px solid #CFC7B6; border-radius: 10px; background: var(--papier);
  font-size: 1rem;
}
.feld input:focus { outline: none; border-color: var(--schiefer); box-shadow: 0 0 0 3px var(--raps); }
.feld input.ist-fehler, .wahl.ist-fehler span { border-color: var(--rot); }
.stufe-knoepfe { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.stufe-knoepfe .knopf { margin-top: 0; }
.knopf-zurueck { border: 0; background: none; padding: 12px 4px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.anfrage-fertig { padding: 6px 0 4px; }
.anfrage-fertig-titel { font-size: 1.4rem; font-weight: 800; font-stretch: 112%; margin-bottom: 8px; }
.anfrage-hinweis { margin-top: 16px; color: var(--text-gedimmt); }
@media (min-width: 900px) {
  .abschluss-raster { grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; padding-bottom: 8px; }
  .anfrage { padding: 30px 30px 26px; margin-top: 6px; }
}

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: var(--kreide); padding: 44px 0 calc(110px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.fuss-raster { display: grid; gap: 28px; }
.marke-fuss { margin-bottom: 12px; }
.fuss p + p { margin-top: 6px; }
.fuss-nav { display: flex; gap: 20px; }
.fuss-nav a { color: var(--kreide); font-weight: 600; }
.fuss-demo { padding: 16px; border: 1px dashed rgba(243, 240, 232, 0.3); border-radius: 10px; color: var(--hell-gedimmt); font-size: 0.88rem; }
.fuss-demo strong { color: var(--kreide); }
@media (min-width: 900px) {
  .fuss { padding-bottom: 48px; }
  .fuss-raster { grid-template-columns: 5fr 2fr 5fr; align-items: start; }
}

/* ---------- Feste Handyleiste ---------- */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 24, 29, 0.96); border-top: 1px solid var(--linie-hell);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.leiste.ist-sichtbar { transform: none; }
.leiste-tel {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 50px;
  border-radius: 999px; background: var(--schiefer-3); color: var(--kreide); font-weight: 700; text-decoration: none;
}
.leiste-tel svg { width: 18px; height: 18px; color: var(--raps); }
.leiste-knopf { min-height: 50px; padding: 10px 12px; box-shadow: none; font-size: 0.96rem; font-stretch: 100%; white-space: nowrap; }
.leiste-knopf::after { display: none; }
.leiste-knopf:hover, .leiste-knopf:active { box-shadow: none; transform: none; }
@media (min-width: 900px) { .leiste { display: none; } }

/* ---------- Bewerbung ---------- */
.bewerbung {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 18px; overflow: auto;
  background: var(--kreide); color: var(--schiefer); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.bewerbung::backdrop { background: rgba(10, 14, 17, 0.72); }
.bewerbung-form { position: relative; padding: 28px 22px 22px; border-top: 8px solid var(--raps); }
.bewerbung-titel { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; line-height: 1.12; margin-bottom: 4px; padding-right: 34px; }
.bewerbung-zu {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--kreide-2); font-size: 1.5rem; line-height: 1;
}
.bewerbung .feld { margin-top: 18px; }
.bewerbung .knopf { margin-top: 6px; }
.bewerbung-fertig { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--schiefer); color: var(--kreide); font-weight: 600; }
.bewerbung .ww-demo-hinweis { margin-top: 14px; color: var(--text-gedimmt); }

/* ---------- Einblenden ---------- */
.js .einblenden { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .einblenden.ist-da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .einblenden, .js .handy .bericht-liste li { opacity: 1; transform: none; }
}

/* ---------- Rechtsseiten ---------- */
.recht { padding-block: var(--abstand); }
.recht .rahmen { max-width: 820px; }
.recht h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; font-stretch: var(--breit); line-height: 1; margin-bottom: 24px; }
.recht h2 { font-size: 1.25rem; font-weight: 750; font-stretch: 112%; margin: 28px 0 8px; }
.recht p { color: var(--text-gedimmt); }
.recht .platzhalter { display: inline-block; padding: 1px 8px; border-radius: 5px; background: var(--kreide-2); font-family: var(--mono); font-size: 0.86rem; color: var(--schiefer); }
.recht-kopf { background: var(--schiefer); color: var(--kreide); }
.recht-kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--kopf); max-width: 1320px; }
.recht-zurueck { color: var(--kreide); font-weight: 650; }
