/* Faldren – eigene Website. Statisches HTML und CSS, ohne Build.
   Aufbau: 1 Grundlagen · 2 Kopf und Navigation · 3 Bühne (Startseite) · 4 Geräterahmen
           5 Abschnitte · 6 Ablauf · 7 Beispiele · 8 Preise · 9 Über mich, Recht · 10 Band und Fuß */

/* ---------- 1 Grundlagen ---------- */
:root {
  --papier: #F4F6F3;
  --weiss: #FFFFFF;
  --tanne: #14352A;
  --tanne-tief: #0B1F18;
  --blatt: #3FA77A;
  --blatt-tief: #1B7150;
  --minze: #8FD5B3;
  --salbei: #DDE8E1;
  --text: #15261F;
  --leise: #52625A;
  --linie: #D3DCD5;
  --butter: #FFD566;

  --anzeige: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --lese: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --rand: clamp(1.25rem, 5vw, 4.5rem);
  --aussen: clamp(.5rem, 1.1vw, 1rem);
  --breite: 78rem;
  --rund: clamp(1.25rem, 2.4vw, 2.25rem);
  --weich: cubic-bezier(.2, .7, .2, 1);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--lese);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--anzeige); font-optical-sizing: auto; text-wrap: balance; }
h1 { font-weight: 800; font-stretch: 76%; letter-spacing: -.022em; line-height: .93; }
h2 { font-weight: 750; font-stretch: 80%; letter-spacing: -.015em; line-height: 1; font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.75rem); }
h3 { font-weight: 700; font-stretch: 86%; letter-spacing: -.008em; line-height: 1.1; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }

:focus-visible { outline: 3px solid var(--blatt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--tanne); color: #fff; padding: .6rem 1rem; border-radius: 99px; }
.skip:focus { left: .5rem; }

.hinweis { background: var(--butter); color: var(--tanne-tief); text-align: center; font-size: .8125rem; font-weight: 600; padding: .3rem 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.5em; border-radius: 99px; border: 1.5px solid transparent;
  background: var(--tanne); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--weich);
}
.btn:hover { background: var(--blatt-tief); }
.btn:active { transform: scale(.97); }
.btn--rand { background: transparent; color: inherit; border-color: currentColor; }
.btn--rand:hover { background: var(--tanne); color: #fff; border-color: var(--tanne); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }

.stempel {
  display: inline-block; vertical-align: middle; margin-left: .6em; padding: .25em .7em; border-radius: 99px;
  background: var(--butter); color: var(--tanne-tief);
  font: 600 .75rem/1.2 var(--lese); letter-spacing: 0; white-space: nowrap;
}
.platzhalter { display: inline-block; padding: .5em .9em; border: 1.5px dashed var(--leise); border-radius: .6rem; color: var(--leise); }

/* ---------- 2 Kopf und Navigation ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--papier) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  view-transition-name: kopf;
}
.kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.25rem; width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.logo { display: block; flex: none; }
.logo img { height: 1.9rem; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav ul { display: flex; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav ul a { position: relative; text-decoration: none; font-weight: 500; padding: .4rem 0; }
.nav ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blatt);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich);
}
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.nav .btn { padding: .6em 1.2em; font-size: .95rem; }
.menue-knopf { display: none; }

@media (max-width: 52rem) {
  .kopf__in { height: 3.75rem; }
  .logo img { height: 1.65rem; }
  .js .menue-knopf {
    display: inline-flex; align-items: center; gap: .55em; padding: .5em 1em; border-radius: 99px;
    border: 1.5px solid var(--tanne); background: transparent; font-weight: 600; font-size: .95rem; line-height: 1.2;
  }
  .js .menue-knopf::before { content: ''; width: 1rem; height: .5rem; border-block: 2px solid currentColor; transition: height .2s; }
  .js .nav-offen .menue-knopf::before, .js.nav-offen .menue-knopf::before { height: 0; border-bottom: 0; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 3.75rem);
    flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem;
    padding: 2rem var(--rand) 2.5rem; background: var(--tanne); color: #fff;
    visibility: hidden; opacity: 0; transform: translateY(-.75rem);
    transition: opacity .25s, transform .35s var(--weich), visibility 0s .35s;
  }
  .js.nav-offen .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js.nav-offen { overflow: hidden; }
  .js .nav ul { flex-direction: column; gap: .2rem; }
  .js .nav ul a { font: 750 2.6rem/1.15 var(--anzeige); font-stretch: 80%; letter-spacing: -.015em; padding: .15rem 0; }
  .js .nav ul a::after { background: var(--minze); height: 3px; }
  .js .nav .btn { background: var(--minze); color: var(--tanne-tief); font-size: 1.05rem; padding: .9em 1.6em; }
  /* ohne JavaScript: Navigation als zweite Zeile */
  .no-js .kopf__in { height: auto; flex-wrap: wrap; padding: .6rem 0; gap: .4rem 1rem; }
  .no-js .nav { flex-wrap: wrap; gap: .4rem 1rem; }
  .no-js .nav ul { flex-wrap: wrap; gap: .2rem 1rem; }
  .no-js .nav .btn { display: none; }
}

/* ---------- 3 Bühne (Startseite) ---------- */
.buehne {
  --b-bg: #2B1F1B; --b-akz: #D2A56B; --b-flaeche: #EFEEF1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr);
  grid-template-areas: 'text schau' 'wahl wahl';
  column-gap: clamp(2rem, 4vw, 4rem); align-items: center;
  margin: .25rem var(--aussen) 0; padding: clamp(2rem, 4.2vw, 4rem); padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--rund); overflow: hidden;
  background: var(--b-bg); color: #fff;
  transition: background-color .7s var(--weich);
}
.buehne[data-stil="gasthaus"] { --b-bg: #1E3A2F; --b-akz: #DDBB72; --b-flaeche: #F5EEDF; }
.buehne[data-stil="hotel"]    { --b-bg: #26313F; --b-akz: #CDAA74; --b-flaeche: #EEE9E1; }
.buehne[data-stil="handwerk"] { --b-bg: #1D1F23; --b-akz: #FFC20E; --b-flaeche: #E9E8E4; }
.buehne[data-stil="praxis"]   { --b-bg: #235650; --b-akz: #F49A83; --b-flaeche: #F3E9DC; }

.buehne__text { grid-area: text; display: grid; gap: clamp(1.25rem, 2.2vw, 2rem); justify-items: start; }
.buehne h1 { font-size: clamp(3.1rem, 6.3vw, 5.9rem); }
.buehne__lead { font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem); line-height: 1.5; max-width: 30em; color: rgb(255 255 255 / .82); }
.buehne .btn { background: var(--b-akz); color: var(--b-bg); transition-duration: .7s, .7s, .2s, .2s; }
.buehne .btn:hover { background: #fff; transition-duration: .2s; }
.buehne .btn--rand { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.buehne .btn--rand:hover { background: #fff; color: var(--b-bg); border-color: #fff; }
.buehne :focus-visible { outline-color: #fff; }

.buehne__schau { grid-area: schau; position: relative; padding: 0 0 7% 9%; }
.buehne__handy { position: absolute; left: 0; bottom: 0; width: 24.5%; }

.buehne__wahl {
  grid-area: wahl; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.75rem); padding-top: clamp(1rem, 1.6vw, 1.5rem);
  border-top: 1px solid rgb(255 255 255 / .16); font-size: .98rem;
}
.wahl { display: flex; flex-wrap: wrap; gap: .45rem; }
.wahl a {
  padding: .46em 1.05em; border-radius: 99px; border: 1.5px solid rgb(255 255 255 / .3);
  text-decoration: none; font-weight: 600; line-height: 1.25;
  transition: background-color .25s, color .25s, border-color .25s;
}
.wahl a:hover { border-color: #fff; }
.wahl a[aria-current] { background: var(--b-akz); border-color: var(--b-akz); color: var(--b-bg); }
.buehne__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-left: auto; color: rgb(255 255 255 / .82); }
.buehne__zeile b { color: #fff; font-weight: 600; }
.buehne__zeile .stempel { margin-left: .5em; }
.buehne__zeile a { color: #fff; font-weight: 600; text-underline-offset: .25em; text-decoration-color: var(--b-akz); text-decoration-thickness: 2px; }
.lauf-knopf {
  display: none; width: 2.25rem; height: 2.25rem; padding: 0; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .3); background: transparent; place-items: center;
}
.js .lauf-knopf { display: grid; }
.lauf-knopf:hover { border-color: #fff; }
.lauf-knopf::before { content: ''; width: .62rem; height: .7rem; border-inline: .2rem solid #fff; }
.lauf-knopf[aria-pressed="true"]::before { width: 0; height: 0; border: .4rem solid transparent; border-left: .66rem solid #fff; border-right: 0; margin-left: .15rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .buehne__text > * { animation: auf .9s var(--weich) both; }
  .js .buehne__text > :nth-child(2) { animation-delay: .1s; }
  .js .buehne__text > :nth-child(3) { animation-delay: .2s; }
  .js .buehne__rechner { animation: herein 1.2s var(--weich) .15s both; }
  .js .buehne__handy { animation: herein 1.2s var(--weich) .4s both; }
}
@keyframes auf { from { opacity: 0; transform: translateY(1.5rem); } }
@keyframes herein { from { opacity: 0; transform: translateY(4rem); } }

@media (max-width: 56rem) {
  .buehne { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'text' 'wahl' 'schau'; padding: 2.25rem 1.25rem 0; }
  .buehne h1 { font-size: clamp(3.1rem, 14.5vw, 5rem); }
  .buehne__wahl { flex-direction: column; align-items: flex-start; margin-top: 2rem; }
  .buehne__zeile { margin-left: 0; }
  /* Handy ganz zeigen; vorher ragte es per negativem Rand unten hinaus und wurde von overflow: hidden abgeschnitten (Nico, 2026-11-11) */
  .buehne__schau { padding: 0; margin: 2.25rem auto 1.5rem; width: min(68%, 17.5rem); }
  .buehne__rechner { display: none; }
  .buehne__handy { position: static; width: 100%; }
}

/* ---------- 4 Geräterahmen ---------- */
.geraet {
  --fb: 1280px; --fh: 800px;
  border-radius: .8rem; overflow: hidden; background: #E6E9E5;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 2.2rem 4rem -1.5rem rgb(0 0 0 / .55), 0 .6rem 1.4rem -.6rem rgb(0 0 0 / .35);
}
.leiste { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 2.1rem; padding: 0 .8rem; }
.ampel { display: flex; gap: .34rem; }
.ampel i { width: .56rem; height: .56rem; border-radius: 50%; background: #C3CAC4; }
.adresse { min-width: 0; max-width: 100%; padding: .16em 1.1em; border-radius: 99px; background: #fff; color: var(--leise); font-size: .72rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sicht { position: relative; aspect-ratio: 1280 / 800; overflow: hidden; background: var(--b-flaeche, #fff); transition: background-color .7s; }
.sicht__name { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; font: 700 clamp(1rem, 2.4vw, 1.8rem)/1.1 var(--anzeige); font-stretch: 80%; color: var(--b-bg, var(--tanne)); }
.sicht iframe {
  position: absolute; left: 0; top: 0; width: calc(var(--fb) + var(--sb, 0px)); height: var(--fh); max-width: none; border: 0;
  transform-origin: 0 0; transform: scale(var(--k, .5)); opacity: 0; transition: opacity .45s; pointer-events: none; background: #fff;
}
.sicht iframe.da { opacity: 1; }

/* Handy schlank und hell (Vorbild Bitvavo, Nico 2026-11-11): feste, dünne Einfassung statt %-Padding,
   das sich nach dem Elternelement richtet und am PC ~25 px dick wurde.
   Ecken wachsen mit der Größe (12 % der Breite, wie bei echten Handys), sonst wird ein kleines Handy zur Pille
   (Nico, 2026-11-22). Innen: gleiche Rundung abzüglich der Einfassung. */
.geraet.ist-handy {
  --fb: 390px; --fh: 780px; padding: .4rem; border-radius: 12% / 6%; background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 2rem 3.5rem -1.25rem rgb(0 0 0 / .5), 0 .5rem 1.2rem -.5rem rgb(0 0 0 / .3);
}
.geraet.ist-handy .leiste { display: none; }
.geraet.ist-handy .sicht { aspect-ratio: 390 / 780; border-radius: calc(12% - .3rem) / calc(6% - .3rem); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .05); }
/* Home-Balken, damit der Rahmen als Handy lesbar ist; dunkel mit heller Kontur, sichtbar auf jeder Seite */
.geraet.ist-handy .sicht::after {
  content: ''; position: absolute; z-index: 2; left: 50%; bottom: .45rem; translate: -50% 0;
  width: 34%; height: .25rem; border-radius: 99px; pointer-events: none;
  background: rgb(17 17 17 / .55); box-shadow: 0 0 0 1px rgb(255 255 255 / .4);
}

/* ---------- 5 Abschnitte ---------- */
.abschnitt { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.abschnitt + .abschnitt { padding-top: 0; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.kopfzeile p { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--leise); max-width: 34em; }

.zusagen li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem clamp(2rem, 5vw, 5rem); align-items: baseline; padding-block: clamp(1.5rem, 2.6vw, 2.25rem); border-top: 1.5px solid var(--tanne); }
.zusagen li:last-child { border-bottom: 1.5px solid var(--tanne); }
.zusagen h3 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); font-stretch: 80%; font-weight: 750; }
.zusagen p { max-width: 32em; font-size: 1.125rem; }

.seitenkopf { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2.5rem, 5vw, 4.5rem); }
.seitenkopf .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem clamp(2rem, 5vw, 5rem); align-items: end; }
.seitenkopf h1 { font-size: clamp(3.4rem, 1.5rem + 9vw, 8.5rem); }
.seitenkopf p { font-size: clamp(1.0625rem, 1rem + .5vw, 1.4rem); line-height: 1.45; color: var(--leise); max-width: 30em; padding-bottom: .5em; }

@media (max-width: 46rem) {
  .kopfzeile, .zusagen li, .seitenkopf .wrap { grid-template-columns: minmax(0, 1fr); }
}
/* Fehlerseite (404.html): Knopf unter dem Satz, Fuß bleibt auf kurzen Seiten unten */
.fehlt { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.fehlt main { flex: 1 0 auto; display: grid; align-content: center; }
.fehlt .seitenkopf p { margin-bottom: 1rem; }

/* ---------- 6 Ablauf ---------- */
.ablauf { margin-inline: var(--aussen); padding: clamp(3rem, 7vw, 6.5rem) 0; border-radius: var(--rund); background: var(--tanne); color: #fff; }
.ablauf .kopfzeile p { color: rgb(255 255 255 / .75); }
.schritte { counter-reset: schritt; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.schritte::before { content: ''; position: absolute; left: 0; right: 0; top: 1.5rem; height: 1.5px; background: rgb(255 255 255 / .22); }
.schritte::after { content: ''; position: absolute; left: 0; right: 0; top: 1.5rem; height: 1.5px; background: var(--minze); transform-origin: left; }
.schritte li { counter-increment: schritt; position: relative; z-index: 1; display: grid; gap: .6rem; align-content: start; }
.schritte li::before {
  content: counter(schritt); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .9rem; border-radius: 50%;
  background: var(--minze); color: var(--tanne-tief); font: 800 1.35rem/1 var(--anzeige); box-shadow: 0 0 0 .6rem var(--tanne);
}
.schritte p { color: rgb(255 255 255 / .8); font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .schritte::after { transform: scaleX(0); transition: transform 1.8s var(--weich); }
  .js .schritte li::before { background: var(--tanne); color: var(--minze); box-shadow: 0 0 0 .6rem var(--tanne), inset 0 0 0 1.5px rgb(255 255 255 / .3); transition: background-color .4s, color .4s, box-shadow .4s; }
  .js .schritte.da::after { transform: none; }
  .js .schritte.da li::before { background: var(--minze); color: var(--tanne-tief); box-shadow: 0 0 0 .6rem var(--tanne); }
  .js .schritte.da li:nth-child(2)::before { transition-delay: .4s; }
  .js .schritte.da li:nth-child(3)::before { transition-delay: .85s; }
  .js .schritte.da li:nth-child(4)::before { transition-delay: 1.3s; }
}
@media (max-width: 56rem) {
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .schritte::before, .schritte::after { left: 1.5rem; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform-origin: top; }
  .js .schritte::after { transform: scaleY(0); }
  .schritte li { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.25rem; }
  .schritte li::before { grid-row: span 2; margin: 0; }
  .schritte li h3 { align-self: center; }
  .schritte li p { grid-column: 2; }
}

/* ---------- 6a Szene „So entsteht Ihre Seite“ (W-025) ----------
   Endzustand ist der Standard (ohne JavaScript, „Bewegung reduzieren“): alle Werte 1.
   bewegung.js (data-bewegung-szene) setzt --szene und --s1 … --s5 (0…1), data-aktiv und die Klasse
   szene-pin (Rechner: Abschnitt bleibt stehen) bzw. szene-lauf (Handy: kein Pin, Rahmen klebt per CSS).
   1 Aufbau · 2 Schrift · 3 Farben · 4 Inhalte · 5 Fertig (Handy, Bewegung) */
.szene { --szene: 1; --s1: 1; --s2: 1; --s3: 1; --s4: 1; --s5: 1; }
.szene__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.szene__text { display: grid; gap: 1.1rem; align-content: start; }
.szene__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--leise); max-width: 30em; }
.szene__schritte { position: relative; display: grid; gap: 1.5rem; margin-top: 1.4rem; }
/* die durchlaufende Linie (Vorbild Fyvor): Spur und Füllung, die mit dem Scrollen wächst */
.szene__schritte::before, .szene__schritte::after {
  content: ''; position: absolute; left: calc(1.2rem - 1px); top: 1.2rem; bottom: 1.2rem; width: 2px; border-radius: 2px; background: var(--linie);
}
.szene__schritte::after { background: var(--blatt); transform-origin: top; transform: scaleY(var(--szene)); }
.szene__schritte li { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; row-gap: .3rem; align-content: start; }
.szene .nr {
  position: relative; z-index: 1; grid-row: span 2; align-self: start;
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--blatt); color: #fff; font: 800 1.05rem/1 var(--anzeige);
  box-shadow: 0 0 0 .4rem var(--papier); transition: background-color .3s, color .3s, box-shadow .3s;
}
.szene__schritte h3 { display: flex; align-items: center; min-height: 2.4rem; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); transition: color .3s; }
.szene__schritte p { grid-column: 2; color: var(--leise); max-width: 30em; }
.szene li[data-aktiv] .nr { background: var(--tanne); box-shadow: 0 0 0 .4rem var(--papier), 0 0 0 .55rem var(--minze); }
.szene li[data-aktiv] ~ li .nr { background: var(--papier); color: var(--leise); box-shadow: 0 0 0 .4rem var(--papier), inset 0 0 0 1.5px var(--linie); }
.szene li[data-aktiv] ~ li h3 { color: var(--leise); }

.szene__schau { position: relative; padding: 0 0 8% 17%; }
.szene .geraet:not(.ist-handy) { box-shadow: 0 0 0 1px rgb(20 53 42 / .1), 0 2rem 3.5rem -1.5rem rgb(11 31 24 / .35), 0 .5rem 1.2rem -.6rem rgb(11 31 24 / .2); }
.szene .sicht { background: #fff; container-type: inline-size; }
.szene__handy { position: absolute; left: 0; bottom: 0; width: 23%; opacity: var(--s5); translate: 0 calc((1 - var(--s5)) * 3rem); }
/* kleines Handy: dünnere Einfassung und kleinerer Home-Balken, Ecken wie überall 12 % */
.szene .geraet.ist-handy { padding: .22rem; }
.szene .geraet.ist-handy .sicht { border-radius: calc(12% - .17rem) / calc(6% - .17rem); }
.szene .geraet.ist-handy .sicht::after { bottom: .3rem; height: .18rem; }

/* Rechner: Abschnitt bleibt stehen, nur der Text des aktuellen Schritts steht unter der Liste */
.szene-pin .szene__in { min-height: calc(100vh - 4.25rem); align-content: center; align-items: center; padding-block: 1.5rem; }
.szene-pin .szene__schritte { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; row-gap: .75rem; }
.szene-pin .szene__schritte li { display: contents; }
.szene-pin .szene__schritte li:nth-child(1) > :not(p) { grid-row: 1; }
.szene-pin .szene__schritte li:nth-child(2) > :not(p) { grid-row: 2; }
.szene-pin .szene__schritte li:nth-child(3) > :not(p) { grid-row: 3; }
.szene-pin .szene__schritte li:nth-child(4) > :not(p) { grid-row: 4; }
.szene-pin .szene__schritte li:nth-child(5) > :not(p) { grid-row: 5; }
.szene-pin .szene__schritte .nr { grid-column: 1; }
.szene-pin .szene__schritte h3 { grid-column: 2; }
.szene-pin .szene__schritte::before, .szene-pin .szene__schritte::after { grid-row: 1 / 6; grid-column: 1; }
.szene-pin .szene__schritte li > p {
  grid-row: 6; grid-column: 2; align-self: start; margin-top: .9rem; font-size: 1.125rem;
  opacity: 0; translate: 0 .5rem; transition: opacity .35s, translate .35s var(--weich);
}
.szene-pin .szene__schritte li[data-aktiv] > p { opacity: 1; translate: none; }

/* Handy und schmale Fenster: Text, Rahmen, Schritte untereinander */
@media (max-width: 56rem) {
  .szene__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .szene__text { display: contents; }
  .szene__lead { margin-top: 1rem; }
  .szene__schau { order: 1; margin-top: 2rem; }
  .szene__schritte { order: 2; margin-top: 2.25rem; }
}
/* laufende Szene ohne Pin: Rahmen klebt oben, die Schritte scrollen darunter vorbei */
.szene-lauf .szene__schau {
  position: sticky; top: 3.75rem; z-index: 2; margin-inline: calc(-1 * var(--rand)); padding: 1rem var(--rand) 1.25rem calc(var(--rand) + 15%);
  background: var(--papier);
}
.szene-lauf .szene__schau::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 1.75rem; background: linear-gradient(var(--papier), rgb(244 246 243 / 0)); pointer-events: none; }
.szene-lauf .szene__handy { left: var(--rand); bottom: 1.25rem; width: 21%; }
.szene-lauf .szene__schritte li { min-height: 42svh; }

/* die Beispielseite im Rahmen: gebaut auf 1280 px (Handy 390 px), 1em = 16 px dort */
.mock {
  --m-dunkel: #2B1F1B; --m-gold: #D2A56B; --m-flaeche: #EFEEF1; --m-skel: #DCE1DD; --m-strich: #A9B2AC;
  --m-serif: 'Bodoni 72', Didot, 'Bodoni MT', Georgia, serif;
  --m-bg: color-mix(in srgb, var(--m-dunkel) calc(var(--s3) * 100%), #fff);
  --m-ink: color-mix(in srgb, #fff calc(var(--s3) * 100%), #23272A);
  --m-akz: color-mix(in srgb, var(--m-gold) calc(var(--s3) * 100%), #8C948F);
  position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  font: 400 1.25cqw/1.35 var(--lese); color: #23272A; text-align: left;
  background: color-mix(in srgb, var(--m-flaeche) calc(var(--s3) * 100%), #fff);
}
.mock--handy { --s1: 1; --s2: 1; --s3: 1; --s4: 1; --s5: 1; font-size: 4.1cqw; grid-template-rows: auto auto 1fr; }
/* Text: erst graue Leiste (Aufbau), dann die Schrift (Schritt 2) bzw. der Inhalt (Schritt 4) */
.m-t { position: relative; display: block; width: fit-content; white-space: nowrap; }
.m-t > span { display: block; opacity: var(--s2); translate: 0 calc((1 - var(--s2)) * .3em); }
.m-t::before {
  content: ''; position: absolute; inset: .18em 0; border-radius: .22em; background: var(--m-skel);
  transform: scaleX(var(--s1)); transform-origin: left; opacity: calc(1 - var(--s2));
}
.m-t--inhalt > span { opacity: var(--s4); translate: 0 calc((1 - var(--s4)) * .3em); }
.m-t--inhalt::before { opacity: calc(1 - var(--s4)); }
/* Flächen: gestrichelt im Aufbau, gefüllt mit den Farben */
.m-knopf, .m-bild, .m-karte { opacity: var(--s1); border: .1em dashed color-mix(in srgb, transparent calc(var(--s3) * 100%), var(--m-strich)); }
.m-kopf { display: flex; align-items: center; gap: 2.4em; padding: 1.5em 4em; background: var(--m-bg); color: var(--m-ink); }
.m-logo { font: 500 1.7em/1 var(--m-serif); letter-spacing: .03em; }
.m-nav { display: flex; gap: 2.2em; margin-left: auto; font-size: .95em; }
.m-knopf { display: inline-block; padding: .65em 1.4em; border-radius: 99em; background: color-mix(in srgb, var(--m-gold) calc(var(--s3) * 100%), transparent); color: var(--m-dunkel); font-weight: 600; }
.m-knopf--gross { margin-top: 1.6em; padding: .85em 1.8em; font-size: 1.1em; }
.m-held { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4em; align-items: center; padding: 2.5em 4em 3.5em; background: var(--m-bg); color: var(--m-ink); }
.m-held__text { display: grid; justify-items: start; gap: .5em; }
.m-vor { font-size: 1.05em; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--m-akz); }
.m-titel { font: 400 7.2em/.95 var(--m-serif); letter-spacing: -.01em; }
.m-lead { font-size: 1.25em; }
.m-bild { position: relative; height: 21em; border-radius: 14em 14em 1.2em 1.2em; overflow: hidden; }
.m-bild::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #E9C894, #A87A52 55%, #4A3226); opacity: var(--s3); }
/* Schritt 5, Bewegung: der Doppelkreis zeichnet sich, „Jetzt geöffnet“ pulsiert */
.m-bild svg { position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; fill: none; stroke: rgb(255 255 255 / .8); stroke-width: .6; stroke-dasharray: 100px; stroke-dashoffset: calc((1 - var(--s5)) * 100px); }
.m-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6em; padding: 2.4em 4em 2.8em; }
.m-karte { position: relative; display: grid; align-content: start; gap: .7em; min-height: 9.5em; padding: 1.3em 1.5em; border-radius: 1em; background: color-mix(in srgb, #fff calc(var(--s3) * 100%), transparent); }
.m-karte::after {
  content: ''; position: absolute; left: 1.5em; right: 1.5em; top: 3.6em; height: 4.6em; border-radius: .2em;
  background: repeating-linear-gradient(to bottom, var(--m-skel) 0 .55em, transparent .55em 1.55em); opacity: calc(1 - var(--s4));
}
.m-k-titel { font: 600 1.35em/1.1 var(--m-serif); color: var(--m-dunkel); }
.m-inhalt { display: grid; gap: .1em; opacity: var(--s4); translate: 0 calc((1 - var(--s4)) * .5em); }
.m-zeile { display: flex; justify-content: space-between; gap: 1em; padding-block: .35em; border-bottom: .06em solid #E6E2DC; font-size: .95em; color: #4A4F4C; white-space: nowrap; }
.m-zeile b { font-weight: 600; color: var(--m-dunkel); }
.m-zeile--frei { border: 0; }
.m-anruf { justify-self: start; margin-top: .5em; padding: .55em 1.2em; border-radius: 99em; background: var(--m-dunkel); color: #fff; font-weight: 600; font-size: .95em; }
.m-offen { position: absolute; right: 1.2em; top: 1.45em; display: flex; align-items: center; gap: .45em; font-size: .8em; font-weight: 600; color: #2F7A55; opacity: var(--s5); }
.m-offen i { width: .6em; height: .6em; border-radius: 50%; background: #3FA77A; }
.szene[data-szene-aktiv="5"] .m-offen i { animation: m-puls 1.6s ease-out infinite; }
@keyframes m-puls { from { box-shadow: 0 0 0 0 rgb(63 167 122 / .55); } to { box-shadow: 0 0 0 .7em rgb(63 167 122 / 0); } }
/* Handyfassung der Beispielseite */
.mock--handy .m-kopf { justify-content: space-between; padding: 1.1em 1.3em; }
.mock--handy .m-logo { font-size: 1.4em; }
.m-menue { width: 1.4em; height: .8em; border-block: .14em solid currentColor; }
.mock--handy .m-held { grid-template-columns: minmax(0, 1fr); gap: .45em; justify-items: start; padding: 2.2em 1.3em 2.4em; }
.mock--handy .m-titel { font-size: 4.4em; }
.mock--handy .m-lead { font-size: 1.05em; }
.mock--handy .m-knopf--gross { justify-self: stretch; margin-top: 1.1em; }
.mock--handy .m-knopf--gross .m-t { margin-inline: auto; }
.mock--handy .m-karten { grid-template-columns: minmax(0, 1fr); padding: 1.3em; }
.mock--handy .m-karte { min-height: 0; }

/* ---------- 7 Beispiele ---------- */
.faelle { display: grid; gap: var(--aussen); margin-inline: var(--aussen); padding-bottom: clamp(4.5rem, 9vw, 8.5rem); }
.fall {
  --b-bg: #2B1F1B; --b-akz: #D2A56B; --b-flaeche: #EFEEF1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding: clamp(2rem, 4.2vw, 4rem); border-radius: var(--rund); background: var(--b-bg); color: #fff; scroll-margin-top: 5rem;
}
.fall[data-stil="gasthaus"] { --b-bg: #1E3A2F; --b-akz: #DDBB72; --b-flaeche: #F5EEDF; }
.fall[data-stil="hotel"]    { --b-bg: #26313F; --b-akz: #CDAA74; --b-flaeche: #EEE9E1; }
.fall[data-stil="handwerk"] { --b-bg: #1D1F23; --b-akz: #FFC20E; --b-flaeche: #E9E8E4; }
.fall[data-stil="praxis"]   { --b-bg: #235650; --b-akz: #F49A83; --b-flaeche: #F3E9DC; }
.fall__text { display: grid; gap: 1.1rem; justify-items: start; }
.fall h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.fall__text > p { color: rgb(255 255 255 / .82); max-width: 24em; }
.farben { display: flex; margin-block: .4rem; }
.farben li { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 2.5px var(--b-bg), 0 0 0 3.5px rgb(255 255 255 / .28); }
.farben li + li { margin-left: -.55rem; }
.fall .btn { background: var(--b-akz); color: var(--b-bg); }
.fall .btn:hover { background: #fff; }
.fall :focus-visible { outline-color: #fff; }
.fall__schau { position: relative; display: grid; gap: 1rem; justify-items: center; min-width: 0; }
.fall__schau .geraet { width: 100%; }
.fall__schau .geraet.ist-handy { width: min(100%, 19.5rem); }
.fall__auf { display: none; }
.umschalter { display: none; padding: .25rem; border-radius: 99px; background: rgb(255 255 255 / .12); }
.js .umschalter { display: inline-flex; }
.umschalter button { padding: .4em 1.1em; border: 0; border-radius: 99px; background: transparent; color: #fff; font-weight: 600; font-size: .92rem; transition: background-color .2s, color .2s; }
.umschalter button[aria-pressed="true"] { background: #fff; color: var(--b-bg); }
@media (min-width: 56.01rem) {
  .fall:nth-child(even) .fall__text { order: 2; }
  .fall:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .fall .sicht iframe { pointer-events: auto; }
}
@media (max-width: 56rem) {
  .fall { grid-template-columns: minmax(0, 1fr); padding: 2.25rem 1.25rem; }
  .js .umschalter { display: none; }
  .fall__auf { display: block; position: absolute; inset: 0; z-index: 2; border-radius: 2rem; }
}

/* ---------- 8 Preise ---------- */
.preise li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: baseline; padding-block: clamp(1.5rem, 2.6vw, 2.25rem); border-top: 1.5px solid var(--tanne); }
.preise li:last-child { border-bottom: 1.5px solid var(--tanne); }
.preise h3 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); font-stretch: 80%; font-weight: 750; }
.preise p { grid-column: 1; max-width: 34em; color: var(--leise); }
.betrag { grid-column: 2; grid-row: 1; font: 800 clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem)/1.1 var(--anzeige); font-stretch: 80%; white-space: nowrap; color: var(--blatt-tief); }
.betrag small { font: 500 1rem/1 var(--lese); color: var(--leise); }
.preis-hinweise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2.5rem; margin-top: clamp(2rem, 4vw, 3rem); color: var(--leise); font-size: 1rem; }
.preis-hinweise li { padding-left: 1.6rem; position: relative; }
.preis-hinweise li::before { content: ''; position: absolute; left: 0; top: .42em; width: .85rem; height: .45rem; border-left: 2.5px solid var(--blatt); border-bottom: 2.5px solid var(--blatt); transform: rotate(-45deg); }
@media (max-width: 46rem) {
  .preise li { grid-template-columns: minmax(0, 1fr); }
  .betrag { grid-column: 1; grid-row: auto; }
  .preis-hinweise { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 9 Über mich, Recht ---------- */
.zwei { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.zwei > div:not(.foto) { display: grid; gap: 1.4rem; justify-items: start; }
.zwei--text { grid-template-columns: minmax(0, 46rem); }
.zwei a { color: var(--blatt-tief); font-weight: 600; text-underline-offset: .22em; }
.foto { aspect-ratio: 4 / 5; width: 100%; max-width: 26rem; display: grid; place-items: center; border-radius: var(--rund); border: 1.5px dashed var(--leise); background: var(--salbei); color: var(--leise); }
.recht { display: grid; gap: 1.4rem; justify-items: start; max-width: 44rem; }
.recht h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
@media (max-width: 46rem) {
  .zwei { grid-template-columns: minmax(0, 1fr); }
  .foto { max-width: 20rem; width: 100%; }
}

/* ---------- 10 Band und Fuß ---------- */
/* Der Knick aus dem Logo: gleiche Schräge wie der Schnitt im Schriftzug */
.band {
  margin: 0 var(--aussen) var(--aussen); border-radius: var(--rund); overflow: hidden; color: #fff;
  background: linear-gradient(126.87deg, var(--tanne) 0 61%, var(--blatt) 61.05% 100%);
  scroll-margin-top: 5rem;
}
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end; padding-block: clamp(4rem, 9vw, 8rem); }
.band h2 { font-size: clamp(2.7rem, 1.2rem + 6vw, 6.25rem); font-weight: 800; font-stretch: 76%; letter-spacing: -.022em; line-height: .93; }
.band__vor { grid-column: 1 / -1; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); color: rgb(255 255 255 / .8); margin-bottom: -1rem; }
.kontakt { display: grid; gap: .3rem; justify-items: end; text-align: right; color: var(--tanne-tief); font-weight: 500; }
.kontakt a { font: 750 clamp(1.55rem, 1.1rem + 1.5vw, 2.3rem)/1.2 var(--anzeige); font-stretch: 82%; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--weich); }
.kontakt a:hover { background-size: 100% 2px; }
.band :focus-visible { outline-color: #fff; }
@media (max-width: 56rem) {
  .band { background: var(--tanne); }
  .band .wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; width: 100%; }
  .band h2, .band__vor { padding-inline: var(--rand); }
  .kontakt { justify-items: start; text-align: left; background: var(--blatt); padding: 4.5rem var(--rand) 2.75rem; clip-path: polygon(0 3rem, 100% 0, 100% 100%, 0 100%); }
}

.fuss { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; font-size: .98rem; color: var(--leise); }
.fuss .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.fuss__marke { display: grid; gap: .8rem; justify-items: start; }
.fuss__marke img { height: 2.1rem; width: auto; }
.fuss nav { display: grid; gap: .45rem; justify-items: start; align-content: start; }
.fuss a { text-decoration: none; color: var(--text); font-weight: 500; }
.fuss a:hover { color: var(--blatt-tief); text-decoration: underline; text-underline-offset: .22em; }
.fuss__klein { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--linie); font-size: .9rem; }
@media (max-width: 46rem) {
  .fuss .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fuss__marke { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .hinweis, .kopf, .buehne__schau, .buehne__wahl, .fall__schau { display: none; }
}
