/* Beer Studio, Fassung 3: „Anprobe“ plus „Werkplan, von Hand“.
   Oben das Fotostudio: Der Besucher tippt den Namen seines Betriebs ein und sieht ein Muster.
   Darunter die bisherige Seite: wie der echte Entwurf von Hand entsteht.
   Die Farbe der Papierbahn (je nach Betrieb) zieht sich durch die ganze Seite. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Besley";
  src: url("fonts/besley-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --wand: #eeeeea;        /* Studiowand */
  --wand-tief: #dfdfd9;   /* Wand im Schatten */
  --tinte: #000;
  --grau: #55554e;
  --weiss: #fff;

  --kirsche: #a3273a;     /* Papierbahn Friseur */
  --marille: #f0b23e;     /* Papierbahn Café */
  --kobalt: #2f55d4;      /* Papierbahn Studio */
  --tanne: #1f5a44;       /* Papierbahn Handwerk */
  --papier: var(--kirsche);
  --auf-papier: #fff;

  --display: "Archivo", "Avenir Next Condensed", "HelveticaNeue-CondensedBold", "Arial Narrow", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --hand: "Besley", Georgia, serif;   /* die Stimme der Handarbeit */
  --linie: #c9c9c2;
  --ok: #2f9e62;
  --krakel: 255px 15px 225px 15px / 15px 225px 15px 255px; /* handgezeichnete Kante */

  --rand: clamp(16px, 4vw, 48px);
  --seite: max(var(--rand), calc((100vw - 1200px) / 2));
  --kopf-h: 60px;
  --aus: cubic-bezier(.2, .8, .2, 1);
}

body[data-fach="cafe"] { --papier: var(--marille); --auf-papier: #000; }
body[data-fach="studio"] { --papier: var(--kobalt); }
body[data-fach="handwerk"] { --papier: var(--tanne); }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h) + 12px);
}

body {
  margin: 0;
  background: var(--wand);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }

.sprung {
  position: absolute;
  left: var(--rand);
  top: -60px;
  z-index: 30;
  padding: .6rem 1rem;
  background: var(--tinte);
  color: var(--wand);
  border-radius: 0 0 12px 12px;
  font-weight: 600;
}
.sprung:focus { top: 0; }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--kopf-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--seite);
  background: var(--wand);
}

.marke {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 900;
  word-spacing: .05em;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
}

.kopf__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .95rem;
  border: 1.5px solid var(--tinte);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Anprobe ---------- */

.probe {
  display: grid;
  gap: 18px;
  padding: 6px var(--seite) 48px;
}

.wer {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .85rem;
  color: var(--grau);
  font-size: .98rem;
  line-height: 1.3;
}
.wer img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 900;
  font-size: clamp(2.7rem, 13vw, 3.9rem);
  line-height: .9;
  letter-spacing: -.018em;
  word-spacing: .04em;
  text-wrap: balance;
}

/* Das Studio-Set */

.set {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: min(54svh, 440px);
  min-height: 300px;
  border-radius: 22px;
  background: var(--wand-tief);
}

.papier {
  position: absolute;
  inset: 0;
  background-color: var(--papier);
}
.papier--alt { background-color: transparent; }

/* Licht auf dem Papier und die Kehle, in der es auf den Boden läuft */
.papier::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .13)),
    linear-gradient(to bottom, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 12%);
}

.papier--neu {
  transform: translateY(-103%);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .3);
}
.set.start .papier--neu { animation: abrollen .85s var(--aus) both; }
.set.rollt .papier--neu { animation: abrollen .7s var(--aus) both; }
.set.liegt .papier--neu { transform: none; box-shadow: none; }

@keyframes abrollen {
  from { transform: translateY(-103%); }
  to { transform: translateY(0); }
}

.rolle {
  position: absolute;
  z-index: 3;
  left: -3%;
  right: -3%;
  top: -11px;
  height: 20px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #fff, #d6d6d0 38%, #8b8b84);
  box-shadow: 0 3px 7px rgba(0, 0, 0, .28);
}

/* Das Handy. Alle Maße darin hängen an seiner Breite (cqw). */

.handy {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 9%;
  width: min(70%, 280px);
  transform: translateX(-50%);
  container-type: inline-size;
  transition: top .3s var(--aus);
}
/* Am Handy rückt das Muster beim Tippen nach oben, damit der Name über der Tastatur bleibt */
.set.nah .handy { top: 1%; }
.handy { animation: auftritt .9s .3s var(--aus) both; }

@keyframes auftritt {
  from { transform: translate(-50%, 16%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.handy__koerper {
  position: relative;
  aspect-ratio: 9 / 19.2;
  padding: 3.3cqw;
  border-radius: 15cqw;
  background: #0c0c0c;
  box-shadow:
    inset 0 0 0 .5cqw #3a3a3a,
    inset 0 0 0 1.1cqw #0c0c0c,
    0 12cqw 16cqw -7cqw rgba(0, 0, 0, .55);
}

.handy__insel {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 5.6cqw;
  width: 27cqw;
  height: 7.6cqw;
  border-radius: 4cqw;
  background: #000;
  transform: translateX(-50%);
}

.schirm {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 11.8cqw;
  background: var(--s-bg);
  color: var(--s-tinte);
  font-family: var(--s-text);
  transition: background-color .45s, color .45s;
}

.schirm::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0) 27%);
}

.blitz {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.set.liegt .blitz { animation: blitz .5s ease-out; }
@keyframes blitz {
  0% { opacity: 0; }
  12% { opacity: .3; }
  100% { opacity: 0; }
}

.s-leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
  padding: 15.5cqw 6.5cqw 0;
  font-size: 4cqw;
  font-weight: 600;
}
.s-klein {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.s-muster {
  flex: none;
  padding: .7cqw 2.6cqw;
  border: .45cqw solid currentColor;
  border-radius: 99px;
  font-size: 3.3cqw;
  opacity: .7;
}

.s-text {
  padding: 7cqw 6.5cqw 6cqw;
  text-align: var(--s-achse, left);
}
.s-art { margin: 0 0 1.6cqw; font-size: 3.7cqw; opacity: .72; }
.s-name {
  margin: 0;
  min-height: 1em;
  font-family: var(--s-display);
  font-weight: var(--s-gewicht, 700);
  font-stretch: var(--s-breite, 100%);
  font-size: 15cqw;
  line-height: .98;
  letter-spacing: var(--s-sperrung, -.01em);
  overflow-wrap: break-word;
  hyphens: auto;
}
.s-satz { margin: 3cqw 0 0; font-size: 4.4cqw; line-height: 1.35; }
.s-knopf {
  display: inline-block;
  margin-top: 5cqw;
  padding: 3.1cqw 6.2cqw;
  border-radius: var(--s-knopf-rund, 99px);
  background: var(--s-akzent);
  color: var(--s-auf-akzent);
  font-size: 4.2cqw;
  font-weight: 600;
  transition: background-color .45s, color .45s, border-radius .45s;
}

.s-bild {
  position: relative;
  height: 46cqw;
  margin: 0 var(--s-bild-rand, 6.5cqw);
  overflow: hidden;
  border-radius: var(--s-bild-rund, 5cqw);
  background: var(--s-bild-bg);
  transition: border-radius .45s, margin .45s;
}
.motiv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .45s;
}
.schirm[data-fach="friseur"] .motiv--friseur,
.schirm[data-fach="cafe"] .motiv--cafe,
.schirm[data-fach="studio"] .motiv--studio,
.schirm[data-fach="handwerk"] .motiv--handwerk { opacity: 1; }

.s-liste {
  list-style: none;
  margin: 6cqw 6.5cqw 0;
  padding: 0;
  border-top: .4cqw solid var(--s-linie);
  font-size: 4.2cqw;
}
.s-liste li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.3cqw 0;
  border-bottom: .4cqw solid var(--s-linie);
}
.s-liste li::after {
  content: "";
  width: 2.2cqw;
  height: 2.2cqw;
  border-top: .55cqw solid currentColor;
  border-right: .55cqw solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
}

/* Vier Muster, vier Haltungen */

.schirm[data-fach="friseur"] {
  --s-bg: #f1eadf;
  --s-tinte: #2a1712;
  --s-akzent: #7a2230;
  --s-auf-akzent: #fff;
  --s-linie: rgba(42, 23, 18, .2);
  --s-bild-bg: #3a2218;
  --s-bild-rund: 23cqw 23cqw 3cqw 3cqw;
  --s-text: Georgia, "Times New Roman", serif;
  --s-display: "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --s-gewicht: 400;
  --s-sperrung: 0;
  --s-achse: center;
}
.schirm[data-fach="cafe"] {
  --s-bg: #fff4dd;
  --s-tinte: #2b1a12;
  --s-akzent: #d6452b;
  --s-auf-akzent: #fff;
  --s-linie: rgba(43, 26, 18, .18);
  --s-bild-bg: #f0b23e;
  --s-bild-rand: 0cqw;
  --s-bild-rund: 0cqw;
  --s-knopf-rund: 3cqw;
  --s-text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s-display: "Besley", Georgia, serif;
  --s-gewicht: 800;
  --s-sperrung: -.02em;
}
.schirm[data-fach="studio"] {
  --s-bg: #eef2ff;
  --s-tinte: #101a44;
  --s-akzent: #2f55d4;
  --s-auf-akzent: #fff;
  --s-linie: rgba(16, 26, 68, .16);
  --s-bild-bg: #cfd9ff;
  --s-bild-rund: 9cqw;
  --s-text: "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-display: "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-gewicht: 300;
  --s-sperrung: -.025em;
}
.schirm[data-fach="handwerk"] {
  --s-bg: #fff;
  --s-tinte: #10231b;
  --s-akzent: #ffc61a;
  --s-auf-akzent: #10231b;
  --s-linie: rgba(16, 35, 27, .22);
  --s-bild-bg: #1f5a44;
  --s-bild-rund: 0cqw;
  --s-knopf-rund: 0cqw;
  --s-text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s-display: var(--display);
  --s-gewicht: 800;
  --s-breite: 72%;
  --s-sperrung: -.01em;
}

/* Eingabe */

.anprobe { display: grid; gap: 12px; }
.anprobe__frage { font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.anprobe__feld {
  width: 100%;
  min-height: 58px;
  padding: .8rem 1rem;
  border: 2px solid var(--tinte);
  border-radius: 14px;
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  caret-color: var(--papier);
  transition: box-shadow .2s;
}
.anprobe__feld::placeholder { color: #85857d; font-weight: 500; opacity: 1; }
.anprobe__feld:focus {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--papier) 50%, transparent);
}

.fach {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 3px;
  min-width: 0;
  border: 1.5px solid var(--tinte);
  border-radius: 999px;
}
.chip { position: relative; min-width: 0; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: 0 .25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.chip i {
  display: none;
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.chip--friseur i { background: var(--kirsche); }
.chip--cafe i { background: var(--marille); }
.chip--studio i { background: var(--kobalt); }
.chip--handwerk i { background: var(--tanne); }
/* Die gewählte Art trägt die Farbe der Papierbahn */
.chip input:checked + span { background: var(--papier); color: var(--auf-papier); }
.chip input:checked + span i { background: currentColor; }
.chip input:focus-visible + span { outline: 3px solid var(--tinte); outline-offset: 3px; }
@media (min-width: 420px) {
  .chip i { display: block; }
  .chip span { font-size: .98rem; }
}

/* Am Handy beim Tippen: nur das Feld bleibt stehen, damit das Muster über der Tastatur Platz hat */
@media (max-width: 899px) {
  .anprobe.tippt .anprobe__frage {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .anprobe.tippt .fach { display: none; }
}

/* Weiter */

.ehrlich { max-width: 34rem; margin: 0; color: var(--grau); font-size: .98rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.knopf {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  min-height: 54px;
  padding: .55rem 1.4rem;
  border: 2px solid var(--tinte);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.knopf:active { transform: translateY(1px); }
.knopf--voll { background: var(--tinte); color: var(--wand); }
.knopf--rand { background: transparent; color: var(--tinte); }
.knopf--klein { min-height: 44px; padding: .4rem 1.1rem; font-size: .95rem; }
.knopf--voll small {
  max-width: 15rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .8rem;
  font-weight: 500;
  opacity: .82;
}

@media (hover: hover) {
  .kopf__tel:hover, .knopf--rand:hover { background: var(--tinte); color: var(--wand); }
  .knopf--voll:hover { background: var(--papier); border-color: var(--papier); color: var(--auf-papier); }
}

/* ---------- Ab Tablet quer: Text links, Studio rechts ---------- */

@media (min-width: 900px) {
  :root { --kopf-h: 72px; }

  .marke { font-size: 1.8rem; }

  .probe {
    --set-hoehe: clamp(560px, calc(100svh - var(--kopf-h) - 24px), 860px);
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: 22px;
    align-items: start;
    padding-bottom: 24px;
  }
  .probe__kopf { grid-column: 1; grid-row: 1; padding-top: clamp(4px, 3.5vh, 44px); }
  .anprobe { grid-column: 1; grid-row: 2; max-width: 33rem; }
  .probe__weiter { grid-column: 1; grid-row: 3; }

  .wer { margin-bottom: 1.2rem; font-size: 1.05rem; }
  .wer img { width: 48px; height: 48px; }
  h1 { font-size: clamp(3.6rem, 6.3vw, 6.6rem); }

  .set {
    grid-column: 2;
    grid-row: 1 / 4;
    height: var(--set-hoehe);
    border-radius: 28px;
  }
  .papier { left: 10%; right: 10%; top: 26px; }
  /* Boden: das Papier läuft nach vorn auf den Betrachter zu */
  .papier::before {
    content: "";
    position: absolute;
    left: -16%;
    right: -16%;
    bottom: 0;
    height: 23%;
    background: inherit;
    filter: brightness(1.09);
    clip-path: polygon(12.1% 0, 87.9% 0, 100% 100%, 0 100%);
  }
  .papier::after {
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .17) 77.5%, rgba(255, 255, 255, 0) 85%),
      linear-gradient(100deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .13)),
      linear-gradient(to bottom, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 10%);
  }
  .rolle { left: 6%; right: 6%; top: 14px; height: 24px; border-radius: 12px; }

  .handy, .set.nah .handy {
    top: auto;
    bottom: 7.5%;
    width: clamp(204px, calc(var(--set-hoehe) * .365), 316px);
  }
  .handy::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 4%;
    right: 4%;
    bottom: -3.5%;
    height: 8%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    filter: blur(5px);
  }
  .handy__koerper {
    transform: perspective(1500px) rotateY(calc(-9deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg)));
    transition: transform .3s ease-out;
  }
}

@media (min-width: 900px) and (max-height: 700px) {
  h1 { font-size: clamp(3.4rem, 6vw, 5.2rem); }
}

/* =====================================================================
   Ab hier: die Abschnitte der bisherigen Fassung, im neuen Look.
   Was von Hand kommt (Skizzen, Zettel, Strichliste), bleibt handgezeichnet
   und spricht in der alten Schrift Besley.
   ===================================================================== */

p { margin: 0; }

h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-wrap: balance;
}
h2 { font-stretch: 78%; font-weight: 900; font-size: clamp(2.3rem, 7.6vw, 4.4rem); line-height: .93; letter-spacing: -.018em; word-spacing: .04em; }
h3 { font-stretch: 82%; font-size: clamp(1.5rem, 3.2vw, 1.95rem); line-height: 1.02; letter-spacing: -.01em; }

.wrap { padding-inline: var(--seite); }
.sec { padding-block: 76px; }
.sec-head { max-width: 46rem; margin-bottom: 40px; }
.sec-head p { max-width: 34em; margin-top: 16px; font-size: 1.15rem; color: var(--grau); }

/* Navigation in der Kopfzeile */
.nav { display: none; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: border-color .18s;
}
@media (hover: hover) { .nav a:hover { border-bottom-color: var(--tinte); } }

/* ---------- Begrüßung ---------- */

.gruss { padding-block: 56px 76px; border-top: 1.5px solid var(--tinte); }
.gruss__grid { display: grid; gap: 44px; }

/* Foto: echtes Bild vorn, Bleistiftrahmen darum, dahinter eine Fläche in der Farbe der Papierbahn */
.portrait { margin: 0; justify-self: center; width: min(100% - 16px, 400px); }
.portrait__frame { position: relative; }
.portrait__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: var(--papier);
  transform: translate(16px, 16px);
  transition: background-color .5s;
}
.portrait picture { position: relative; display: block; }
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: #cfdcea;
}
.portrait__sketch {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
.portrait__sketch path {
  fill: none;
  stroke: var(--tinte);
  stroke-opacity: .5;
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.portrait figcaption { margin-top: 32px; font-size: .92rem; color: var(--grau); }

.gruss__text h2 { margin-bottom: 22px; }
.lead { max-width: 32em; font-size: 1.25rem; line-height: 1.45; }
.gruss__mehr { max-width: 34em; margin-top: 14px; color: var(--grau); }

/* ---------- Ablauf: Schritte und das Handy, das sich verwandelt ---------- */

.ablauf { border-top: 1.5px solid var(--tinte); }
.ablauf__grid { display: grid; gap: 32px; }

/* Das Handy bleibt beim Scrollen kurz stehen, während es sich verwandelt */
.stage::after { content: ""; display: block; height: 70vh; }
.stage__inner {
  position: sticky;
  top: calc(var(--kopf-h) + 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone {
  --a: 0; --b: 0; --scan: 0; --scan-o: 0;
  position: relative;
  margin: 0;
  height: min(500px, calc(100svh - var(--kopf-h) - 232px));
  aspect-ratio: 300 / 620;
  padding: 9px;
  border-radius: 40px;
  background: #0c0c0c;
  box-shadow: inset 0 0 0 1.5px #3a3a3a, 0 30px 50px -30px rgba(0, 0, 0, .55);
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: var(--weiss);
}
.urlbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 4;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f1f1ee;
  border-bottom: 1px solid #dcdcd6;
  font: 600 11px/1 var(--text);
  color: #66665f;
}
.urlbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #c2c2bb; transition: background-color .3s; }
.phone[data-state="fertig"] .urlbar .dot { background: var(--ok); }

.layer { position: absolute; inset: 34px 0 0 0; overflow: hidden; }
.layer--draft { clip-path: inset(0 0 calc(100% - var(--a) * 100%) 0); filter: grayscale(1) contrast(.92); }
.layer--final { clip-path: inset(0 0 calc(100% - var(--b) * 100%) 0); }
.scan {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(34px + var(--scan) * (100% - 34px));
  height: 2px;
  background: var(--papier);
  opacity: var(--scan-o);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--papier) 24%, transparent);
}
.phone.is-anim .layer,
.phone.is-anim .scan { transition: clip-path .7s var(--aus), top .7s var(--aus), opacity .25s; }

/* Ebene 1: Bleistiftskizze */
.layer--plan {
  --stift: #4a443d;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #fffdf8;
  background-image:
    linear-gradient(rgba(74, 68, 61, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 68, 61, .07) 1px, transparent 1px);
  background-size: 14px 14px;
  color: var(--stift);
  font: 600 10px/1.25 var(--text);
}
.sk {
  display: grid;
  place-items: center;
  padding: 7px 8px;
  border: 1.4px solid var(--stift);
  border-radius: var(--krakel);
  background: rgba(255, 253, 248, .85);
  text-align: center;
}
.sk-nav { display: flex; justify-content: space-between; align-items: center; }
.sk-burger { position: relative; width: 22px; height: 13px; border-block: 1.4px solid var(--stift); }
.sk-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.4px solid var(--stift); transform: translateY(-50%); }
.sk--img, .sk--map { background-image: repeating-linear-gradient(-52deg, transparent 0 7px, rgba(74, 68, 61, .26) 7px 8px); }
.sk--img { height: 132px; }
.sk--img span, .sk--map span { padding: 2px 7px; border-radius: 6px; background: #fffdf8; }
.sk-lines i { display: block; height: 9px; margin-bottom: 6px; border-radius: 6px; background: var(--stift); opacity: .8; }
.sk-lines i.s { width: 62%; }
.sk-text i { height: 4px; margin-bottom: 5px; opacity: .3; }
.sk--btn { padding: 10px; border-style: dashed; }
.sk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sk-row .sk { min-height: 42px; }
.sk--map { flex: 1; min-height: 48px; }

/* Ebene 2 und 3: Beispielseite „Salon Muster“ (Farben und Schrift wie in der Demo) */
.fn { height: 100%; display: flex; flex-direction: column; background: #f1eadf; color: #3a2218; font-family: var(--text); }
.fn-nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 10px; }
.fn-logo { font: italic 700 16px/1 Georgia, "Times New Roman", serif; }
.fn-pill { padding: 6px 11px; border-radius: 5px; background: #7a2230; color: #fbf8f3; font-size: 10px; font-weight: 700; }
.fn-img { height: 132px; margin: 0 14px; padding: 5px; overflow: hidden; border-radius: 2px; background: linear-gradient(160deg, #5c3625, #3a2015 46%, #4d2c1d); }
.fn-img picture, .fn-img img { display: block; width: 100%; height: 100%; }
.fn-img img { object-fit: cover; }
.fn-body { flex: 1; display: flex; flex-direction: column; padding: 12px 14px 14px; }
.fn-h { margin: 0 0 6px; font: 700 20px/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.fn-p { margin: 0 0 10px; font-size: 11px; line-height: 1.4; color: #6a4b3c; }
.fn-btn { display: block; padding: 10px; border-radius: 5px; background: #7a2230; color: #fbf8f3; font-weight: 700; font-size: 12px; text-align: center; }
.fn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.fn-row div { padding: 7px 9px; border-radius: 4px; background: #fbf8f3; }
.fn-row small { display: block; font-size: 9px; color: #6a4b3c; }
.fn-row b { font-size: 12px; }
.fn-row .stars { color: #a67a32; letter-spacing: 1px; }
.fn-map {
  position: relative;
  flex: 1;
  min-height: 44px;
  margin-top: 9px;
  border-radius: 4px;
  background-color: #e7dccb;
  background-image:
    linear-gradient(115deg, transparent 44%, #fbf8f3 44% 50%, transparent 50%),
    linear-gradient(18deg, transparent 58%, #fbf8f3 58% 63%, transparent 63%);
}
.fn-map::after {
  content: "";
  position: absolute;
  left: 56%;
  top: 40%;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: #7a2230;
  transform: rotate(-45deg);
}
/* Im Entwurf steht statt des Fotos noch die Schraffur */
.layer--draft .fn-img picture { display: none; }
.layer--draft .fn-img { background: repeating-linear-gradient(-52deg, #e6e6e6 0 7px, #c6c6c6 7px 8px); }

/* Umschalter unter dem Handy, gebaut wie die Auswahl im Kopf */
.switch { display: inline-flex; padding: 3px; border: 1.5px solid var(--tinte); border-radius: 999px; }
.switch button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tinte);
  font: 600 .93rem/1 var(--text);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.switch button[aria-pressed="true"] { background: var(--tinte); color: var(--wand); }
.stage__note { font-size: .85rem; color: var(--grau); text-align: center; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 0 0 44px 66px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: 6px;
  border-left: 1.5px dashed var(--linie);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute;
  left: 0;
  top: -8px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--tinte);
  border-radius: 47% 53% 51% 49% / 52% 48% 53% 47%;
  background: var(--wand);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.2rem;
  transform: rotate(-4deg);
  transition: background-color .25s, color .25s;
}
.step h3 { margin-bottom: 10px; }
.step p { max-width: 32em; color: var(--grau); }

/* ---------- Beispiel: die Demo-Seite live im Kleinformat ---------- */

.beispiele { border-top: 1.5px solid var(--tinte); }
.beispiel { display: grid; gap: 40px; }
.beispiel__schau { position: relative; padding: 0 0 9% 0; }

.fenster {
  overflow: hidden;
  border: 1.5px solid var(--tinte);
  border-radius: 16px;
  background: var(--weiss);
  box-shadow: 0 30px 50px -34px rgba(0, 0, 0, .55);
}
.fenster__leiste {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #f1f1ee;
  border-bottom: 1px solid var(--linie);
  font: 600 .78rem/1 var(--text);
  color: var(--grau);
}
.fenster__leiste i { width: 9px; height: 9px; border: 1.4px solid var(--grau); border-radius: 50%; }
.fenster__leiste span { margin-left: 8px; }

/* Ohne Script zeigt der Rahmen die Demo in seiner eigenen Breite, mit Script maßstabsgetreu */
.vorschau { position: relative; overflow: hidden; background: #f1eadf; }
.vorschau iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

.taschen {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 25%;
  min-width: 104px;
  padding: 5px;
  border-radius: 22px;
  background: #0c0c0c;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .65);
}
.taschen .vorschau { border-radius: 17px; }

.beispiel__text h3 { margin-bottom: 12px; }
.beispiel__text p { color: var(--grau); }
.haken { list-style: none; margin: 14px 0 26px; padding: 0; display: grid; gap: 12px; max-width: 30em; }
.haken li { position: relative; padding-left: 34px; }
.haken li::before { /* handgezeichneter Haken */
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M2 11C4 13 6 15 8 18C11 11 15 6 20 2' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Gefunden werden (dunkel) ---------- */

.gefunden { background: var(--tinte); color: var(--weiss); }
.gefunden :focus-visible { outline-color: var(--weiss); }
.gefunden__grid { display: grid; gap: 44px; }
.gefunden__text p { max-width: 33em; margin-top: 18px; font-size: 1.1rem; color: #d4d4ce; }
.gefunden__text .gerade { padding-left: 16px; border-left: 3px solid var(--weiss); color: var(--weiss); font-weight: 600; }

/* Die Strichliste bleibt ein Zettel von Hand */
.zaehlung {
  margin: 0;
  padding: 28px 24px;
  border-radius: var(--krakel);
  background: var(--weiss);
  color: var(--tinte);
}
.zaehlung h3 { margin-bottom: 8px; font-family: var(--hand); font-stretch: normal; font-weight: 700; letter-spacing: -.012em; line-height: 1.1; }
.zaehlung p { color: var(--grau); }
.striche { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 24px 0 20px; }
.striche svg { width: 46px; height: 56px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.striche .ja { color: var(--tinte); }
.striche .nein { color: var(--kirsche); }
.legende { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legende li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; }
.legende i { width: 4px; height: 1.3em; margin: .15em 0 0 5px; border-radius: 2px; }
.legende i.ja { background: var(--tinte); }
.legende i.nein { background: var(--kirsche); }
.zaehlung figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--linie); font-size: .9rem; color: var(--grau); }

/* ---------- Angebot ---------- */

.angebot__grid { display: grid; gap: 40px; }
.leistungen { margin: 0; border-top: 1.5px solid var(--tinte); }
.leistungen > div { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.leistungen dt { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.leistungen dd { margin: 0; color: var(--grau); }

.preis { padding: 30px 24px; border: 1.5px solid var(--tinte); border-radius: 24px; background: var(--weiss); }
.preis h3 { margin-bottom: 14px; }
.preis p { margin-bottom: 14px; }
.preis .knopf { margin-top: 8px; }

/* ---------- Über mich ---------- */

.kevin { border-top: 1.5px solid var(--tinte); }
.kevin__grid { display: grid; gap: 40px; }
.kevin__text p { max-width: 33em; margin-top: 18px; font-size: 1.1rem; }
.kevin__side { display: grid; justify-items: center; gap: 8px; }
.skizze { width: min(100%, 440px); height: auto; overflow: visible; }
.skizze path { fill: none; stroke: var(--tinte); stroke-opacity: .62; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* Die Gondel fährt in der Farbe der Papierbahn */
.skizze path.rot { fill: var(--papier); stroke-opacity: .85; transition: fill .5s; }
.zettel {
  width: min(100%, 340px);
  margin: 0;
  padding: 16px 24px;
  border: 1.4px solid var(--tinte);
  border-radius: var(--krakel);
  background: var(--weiss);
  transform: rotate(-1.5deg);
}
.zettel div { display: grid; grid-template-columns: 6.4rem 1fr; gap: 10px; align-items: baseline; padding: 7px 0; }
.zettel div + div { border-top: 1px dashed var(--linie); }
.zettel dt { font-size: .92rem; color: var(--grau); }
.zettel dd { margin: 0; font-family: var(--hand); font-weight: 600; }

/* ---------- Anfrage: in der Farbe der Papierbahn ---------- */

.anfrage { background: var(--papier); color: var(--auf-papier); transition: background-color .5s, color .5s; }
.anfrage :focus-visible { outline-color: var(--auf-papier); }
.anfrage__grid { display: grid; gap: 44px; }
.anfrage__intro > p { max-width: 30em; margin-top: 18px; font-size: 1.1rem; opacity: .92; }
.direct { margin: 30px 0 0; display: grid; gap: 16px; }
.direct dt { font-size: .92rem; opacity: .88; }
.direct dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .98rem; }
.field label .opt { font-weight: 400; opacity: .88; }
.field input, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--weiss);
  color: var(--tinte);
  font: 400 1.0625rem/1.4 var(--text);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--auf-papier); outline-offset: 2px; }
.field input:user-invalid { border: 2px dashed var(--tinte); }
.form .knopf { justify-self: start; }
.anfrage .knopf--voll { background: var(--auf-papier); border-color: var(--auf-papier); color: var(--papier); }
.form__note { font-size: .9rem; opacity: .92; }
.form__status, .demo-badge { padding: 12px 14px; border: 2px dashed currentColor; border-radius: 12px; font-size: .98rem; }
.demo-badge { font-weight: 700; font-size: .92rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Fußzeile ---------- */

.foot { padding-bottom: 96px; background: var(--tinte); color: #cfcfc9; font-size: .95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: baseline; padding-top: 28px; }
.foot strong { margin-right: 8px; font-family: var(--display); font-stretch: 80%; font-weight: 900; font-size: 1.3rem; color: var(--weiss); }
.foot a { margin-right: 14px; color: var(--weiss); }
.foot :focus-visible { outline-color: var(--weiss); }
.foot__copy { margin-left: auto; }

/* ---------- Aktionsleiste am Handy ---------- */

.dock {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1.5px solid var(--tinte);
  background: var(--wand);
  transform: translateY(110%);
  transition: transform .25s var(--aus);
}
.dock.is-visible { transform: none; }
.dock .knopf { min-height: 50px; padding: 0 16px; font-size: .95rem; white-space: nowrap; }

/* ---------- Unterseiten (Impressum, Danke, Seite nicht gefunden) ---------- */

.page { padding: 56px 0 96px; }
.page h1 { margin-bottom: 24px; font-size: clamp(2.4rem, 7vw, 4rem); }
.page h2 { margin: 44px 0 12px; font-size: clamp(1.9rem, 4.4vw, 2.5rem); }
.page h3 { margin: 28px 0 8px; font-size: 1.45rem; }
.page p, .page li { max-width: 40em; margin-bottom: 12px; color: var(--grau); }
.page dl { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 8px 20px; max-width: 46em; margin: 0; }
.page dt { font-weight: 700; }
.page dd { margin: 0; color: var(--grau); }

@media (hover: hover) {
  .switch button:hover:not([aria-pressed="true"]) { background: var(--wand-tief); }
  .anfrage .knopf--voll:hover { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
  body[data-fach="cafe"] .anfrage .knopf--voll:hover { background: var(--weiss); border-color: var(--weiss); color: var(--tinte); }
}

@media (max-width: 719px) {
  .page dl { grid-template-columns: 1fr; gap: 2px; }
  .page dd { margin-bottom: 12px; }
}

@media (min-width: 720px) {
  .leistungen > div { grid-template-columns: 12rem 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .sec { padding-block: 124px; }
  .sec-head { margin-bottom: 60px; }

  .gruss { padding-block: 104px 124px; }
  .gruss__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 88px; align-items: center; }
  .portrait { justify-self: start; }

  .ablauf__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 72px; }
  .steps { grid-column: 1; grid-row: 1; padding-top: 4vh; }
  .stage { grid-column: 2; grid-row: 1; }
  .stage::after { display: none; }
  .stage__inner { top: calc(var(--kopf-h) + 4vh); }
  .phone { height: min(580px, calc(100svh - var(--kopf-h) - 190px)); }
  .step { min-height: 46vh; padding-bottom: 0; }
  .step:last-child { min-height: 34vh; }
  .step.is-active .step__num { background: var(--papier); color: var(--auf-papier); }

  .beispiel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 64px; align-items: center; }
  .gefunden__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 72px; align-items: center; }
  .zaehlung { padding: 36px 34px; }
  .angebot__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: start; }
  .preis { padding: 36px 34px; }
  .kevin__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 72px; align-items: center; }
  .anfrage__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px; }
  .foot { padding-bottom: 40px; }
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .set.start .papier--neu, .set.rollt .papier--neu, .handy, .set.liegt .blitz { animation: none; }
  .papier--neu { transform: none; box-shadow: none; }
  .handy, .handy__koerper { transition: none; }
  .schirm, .s-knopf, .s-bild, .motiv { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
