/* Präsentation als geführte Geschichte: Kapitelleiste oben, Weiter unten, jede Seite ein Gedanke.
   --partner setzt pitch.js aus dem Partner; Farbe nur als Akzent. */
:root {
  --papier: #f6f5f1; --nacht: #111214;
  --ink: #17181b; --ink-2: #4a4b50; --ink-3: #6b6d72; --linie: #e2e0da;
  --partner: #4fad32; --partner-text: #2b7a22;
  --text: "DM Sans", system-ui, sans-serif; --anzeige: "Schibsted Grotesk", "DM Sans", system-ui, sans-serif;
  --rand: clamp(20px, 5vw, 80px); --kopf: 0px; --breite: 1240px;
  --aus: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--kopf); scroll-snap-type: y proximity; }
.seite { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--papier); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--partner-text); outline-offset: 4px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--partner) 28%, transparent); }
html { scrollbar-color: #cfcdc6 transparent; }
html.demo-offen { overflow: hidden; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.sprung:focus { top: 12px; }
.fehler { max-width: 40em; margin: 120px auto; padding: 0 var(--rand); }

/* ---------- Kopf mit Kapitelleiste ---------- */
/* Logo und Knopf liegen auf der ersten Seite und scrollen weg; stehen bleibt nur die Kapsel */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 100; height: 64px; }
.kopf-in { height: 100%; padding: 0 var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
/* Partnerlogo einfarbig grau, damit Farbe im Kopf nur die Kapitelführung trägt */
.kopf-marke img { height: 22px; width: auto; filter: brightness(0) invert(.42); }
/* Logo, Kapsel und Knopf teilen die Mittellinie bei 32 px; Kapsel und Knopf sind beide 40 px hoch */
.kapitel { position: fixed; top: 6px; left: 50%; translate: -50% 0; z-index: 101; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none; padding: 6px 4px 18px; }
.kapitel ol { list-style: none; margin: 0 auto; padding: 4px; height: 40px; box-sizing: border-box; display: flex; gap: 2px; width: max-content; border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 0 0 1px rgba(23, 24, 27, .07), 0 8px 24px -14px rgba(23, 24, 27, .28); }
.kapitel a { display: flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; font-size: .82rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .25s, background .25s; }
.kapitel a:hover { color: var(--ink); background: rgba(23, 24, 27, .05); }
.kapitel a[aria-current] { color: #fff; background: var(--ink); font-weight: 500; }
.vollbild-knopf { display: inline-flex; align-items: center; gap: 8px; height: 40px; box-sizing: border-box; padding: 0 16px 0 14px; border-radius: 999px; font-size: .82rem; color: var(--ink-2); background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(23, 24, 27, .1); transition: color .2s, box-shadow .2s, background .2s; }
.vollbild-knopf:hover { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(23, 24, 27, .2); }
.vollbild-knopf svg { width: 15px; height: 15px; }
/* Menü: ersetzt die Kapsel, sobald sie nicht mehr passt; bleibt oben rechts stehen */
.menue-knopf { display: none; position: fixed; top: 12px; right: var(--rand); z-index: 102; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 0 0 1px rgba(23, 24, 27, .1), 0 8px 24px -14px rgba(23, 24, 27, .28); }
.menue-knopf svg { width: 18px; height: 18px; }
.menue-knopf .auf, html.menue-offen .menue-knopf .zu { display: none; }
html.menue-offen .menue-knopf .auf { display: inline; }

/* Präsentieren: nur noch der Knopf zum Beenden, Seiten über die volle Höhe */
html.vollbild .kopf { position: fixed; left: auto; right: 0; height: auto; }
html.vollbild .kopf-in { display: block; padding: 16px 20px; }
html.vollbild .kopf-marke, html.vollbild .kapitel, html.vollbild .weiter { display: none; }
html.vollbild .vollbild-knopf { opacity: .35; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); transition: opacity .3s; }
html.vollbild .vollbild-knopf:hover, html.vollbild .vollbild-knopf:focus-visible { opacity: 1; }
/* Weiter: führt durch den Termin */
.weiter { position: fixed; right: var(--rand); bottom: 28px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: .92rem; box-shadow: 0 12px 30px -12px rgba(17, 18, 20, .5), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .3s var(--aus), background .2s; }
.weiter:hover { transform: translateY(-2px); background: #000; }
.weiter[hidden] { display: none; }
.weiter-label { color: #a9abb0; }
.weiter b { font-weight: 500; }
.weiter svg { width: 16px; height: 16px; color: var(--partner); }

/* ---------- Seiten ---------- */
.seite { min-height: calc(100svh - var(--kopf)); display: flex; align-items: center; }
.innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; width: 100%; padding: clamp(56px, 8vh, 104px) var(--rand); }
h1, h2 { margin: 0; font-family: var(--anzeige); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.05; max-width: 18em; }
h1 span, h2 span { color: var(--ink-3); }
h3 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.ruhig { color: var(--ink-2); max-width: 32em; font-size: 1.08rem; }
.klein { font-size: .86rem; color: var(--ink-3); }
.fussnote { margin-top: 32px; }
.innen > h2 { margin-bottom: clamp(36px, 6vh, 64px); }
.kreis { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--partner-text); color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.kreis.gross { width: 64px; height: 64px; font-size: 1.05rem; }

/* Geteilte Seiten: Text links, Szene rechts (gespiegelt umgekehrt) */
.geteilt { width: 100%; min-height: calc(100svh - var(--kopf)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.geteilt.gespiegelt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.geteilt.gespiegelt .text { order: 2; }
.geteilt .text { align-self: center; padding: clamp(48px, 7vh, 96px) clamp(28px, 4vw, 72px) clamp(48px, 7vh, 96px) var(--rand); }
.geteilt.gespiegelt .text { padding: clamp(48px, 7vh, 96px) var(--rand) clamp(48px, 7vh, 96px) clamp(28px, 4vw, 72px); }
.geteilt .ruhig { margin-top: 24px; }
.geteilt h1 { font-size: clamp(2.3rem, 3.5vw, 3.5rem); }
.geteilt h2 { font-size: clamp(2rem, 2.9vw, 2.75rem); }

/* Szene: Foto oben, Click-Dummy darunter im ausgestanzten Bildschirm */
.szene { position: relative; margin: 0; overflow: hidden; background: #2a2724; min-height: 420px; isolation: isolate; }
.szene-bild { position: absolute; z-index: 2; max-width: none; pointer-events: none; user-select: none; filter: sepia(.1) saturate(.92) contrast(1.02); }
.szene-flaeche { position: absolute; left: 0; top: 0; z-index: 1; transform-origin: 0 0; background: #fff; overflow: hidden; }
.szene-flaeche iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--papier); }
.szene-handy iframe { height: calc(100% - 50px); }

/* Statusleiste über dem Shop im Handy; 50 px Höhe, darunter beginnt der Shop */
.statusleiste { position: relative; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 38px; background: var(--papier); color: var(--ink); font: 600 16px/1 var(--text); letter-spacing: -.01em; }
.statusleiste svg { width: 64px; height: 14px; }
.statusleiste .insel { position: absolute; left: 50%; top: 11px; width: 118px; height: 33px; margin-left: -59px; border-radius: 20px; background: #0b0b0c; }
/* Filmkorn über allem, damit Foto und Bildschirm wie eine Aufnahme wirken */
.szene::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .16; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E"); }
.szene-laptop::after, .szene-handy::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .14), transparent 38%); }

/* Begrüßungskarte im Paket */
/* Verlauf statt Weiß, damit die Karte im Licht des Fotos liegt */
.karte { position: relative; width: 100%; height: 100%; padding: 54px 60px 0; display: grid; grid-template-rows: auto 1fr auto auto auto; background: linear-gradient(165deg, #f3efe6 10%, #e4ded2 95%); color: var(--ink); }
.karte img:first-child { height: 64px; width: auto; }
.karte-gruss { align-self: end; font: 500 46px/1.05 var(--anzeige); letter-spacing: -.03em; }
.karte-text { margin-top: 12px; font-size: 24px; color: var(--ink-2); }
.karte-fuss { margin: 40px -60px 0; padding: 18px 60px; background: var(--kunde); font-size: 20px; font-weight: 600; letter-spacing: .01em; }
/* Licht des Fotos auch über dem Farbband */
.karte::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(60, 45, 30, .1)); }

/* Start */
.start .kunde-logo { height: clamp(30px, 3vw, 40px); width: auto; margin-bottom: clamp(36px, 6vh, 64px); }
.absender { margin-top: clamp(36px, 6vh, 64px); }

/* Heute und morgen */
/* Ankommen: Paketetikett leicht schräg aufgeklebt, darunter vier Punkte; beides erscheint beim Ankommen */
.etikett { width: min(100%, 280px); margin: clamp(24px, 4vh, 40px) 0 0 2px; padding: 16px 20px 15px; background: #fff; border-radius: 4px; box-shadow: 0 14px 28px -20px rgba(23, 24, 27, .3); rotate: -1deg; opacity: 0; translate: -10px 8px; transition: opacity .6s var(--aus) .1s, translate .8s var(--aus) .1s; }
#ankommen.da .etikett { opacity: 1; translate: 0 0; }
.etikett img { display: block; height: 15px; width: auto; margin-bottom: 14px; }
.etikett-name { font: 500 1.3rem/1.15 var(--anzeige); letter-spacing: -.02em; }
.etikett-ort { margin-top: 3px; font-size: .82rem; color: var(--ink-3); }
.punkte { list-style: none; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.punkte li { --verzug: calc(.35s + var(--i, 0) * 90ms); padding-top: 12px; border-top: 1px solid var(--linie); opacity: 0; translate: 0 12px; transition: opacity .6s var(--aus) var(--verzug), translate .7s var(--aus) var(--verzug); }
#ankommen.da .punkte li { opacity: 1; translate: 0 0; }
.punkte b { display: block; font-weight: 600; font-size: .95rem; }
.punkte span { display: block; margin-top: 2px; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .etikett, .punkte li { transition: none; } }

/* Vorteile: zwei Reihen zu vier, beim Ankommen nacheinander eingeblendet; die Linie oben zieht sich grün auf */
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 5vh, 52px) clamp(24px, 3vw, 48px); }
.vorteile li { --verzug: calc(var(--i, 0) * 90ms); position: relative; padding-top: 22px; border-top: 1px solid var(--linie); opacity: 0; translate: 0 18px; transition: opacity .6s var(--aus) var(--verzug), translate .7s var(--aus) var(--verzug); }
.vorteile li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--partner); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--aus) calc(var(--verzug) + .15s); }
#vorteile.da .vorteile li { opacity: 1; translate: 0 0; }
#vorteile.da .vorteile li::before { transform: scaleX(1); }
.vorteile svg { width: 32px; height: 32px; margin-bottom: clamp(16px, 2.6vh, 28px); fill: none; stroke: var(--partner-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vorteile b { display: block; font: 500 clamp(1.2rem, 1.6vw, 1.45rem)/1.2 var(--anzeige); letter-spacing: -.025em; text-wrap: balance; }
.vorteile p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* Film */
.dunkel { background: var(--nacht); color: #f2f1ed; }
.dunkel h2 span { color: #8d8f94; }
.dunkel .innen { max-width: min(calc(var(--breite) + 2 * var(--rand)), max(600px, calc((100svh - var(--kopf) - 300px) * 16 / 9 + 2 * var(--rand)))); }
.dunkel h2 { max-width: none; font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.film { position: relative; border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-start { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(18px, 3vw, 36px); background: linear-gradient(transparent 60%, rgba(0, 0, 0, .5)); color: #fff; }
.film-start span { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; }
.film-start i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--partner); transition: scale .4s var(--aus); }
.film-start:hover i { scale: 1.08; }
.film-start svg { width: 20px; margin-left: 3px; }
.film-start small { color: #c9cacd; font-size: .9rem; }
.film.laeuft .film-start { display: none; }

/* Szenenseiten: wer und Stationen */
.wer { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 5vh, 48px); }
.wer b { display: block; font-weight: 600; line-height: 1.3; }
.stationen { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.stationen li { border-bottom: 1px solid var(--linie); }
.stationen button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 0; text-align: left; color: var(--ink-2); transition: color .2s, padding .3s var(--aus); }
.stationen button::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c3c1ba; transition: background .2s, box-shadow .2s; }
.stationen button:hover { color: var(--ink); padding-left: 4px; }
.stationen button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.stationen button[aria-pressed="true"]::after { background: var(--partner); box-shadow: none; }

/* Veredeln */
.techniken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.techniken img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.techniken img { margin-bottom: clamp(20px, 3vh, 28px); }
/* Druckarten mit Gewicht: Name in der Anzeigeschrift wie bei den Vorteilen, Text eine Stufe größer */
.techniken b { display: block; font: 500 clamp(1.45rem, 2.1vw, 1.95rem)/1.15 var(--anzeige); letter-spacing: -.03em; }
.techniken p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; margin-top: 8px; max-width: 24em; }

/* Sortiment: zwei Bänder laufen gegeneinander, groß und ohne festen Vorschlag */
.sortiment { flex-direction: column; justify-content: center; align-items: stretch; }
.sortiment .innen-kopf { padding-bottom: clamp(28px, 5vh, 52px); }
.sortiment .innen-kopf h2 { margin: 0; }
.sortiment .innen-fuss { padding-top: clamp(20px, 3vh, 32px); }
.baender { display: grid; gap: clamp(8px, 2vh, 20px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.band ul { --abstand: clamp(28px, 3.4vw, 56px); list-style: none; margin: 0; padding: 0 var(--abstand) 0 0; display: flex; gap: var(--abstand); width: max-content; animation: laufen var(--dauer, 60s) linear infinite; }
.band-rechts ul { animation-direction: reverse; }
.baender:hover ul { animation-play-state: paused; }
@keyframes laufen { to { transform: translateX(-50%); } }
.band li { height: clamp(190px, 27vh, 290px); display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 10px; }
.band li svg, .band li img { height: 100%; width: auto; max-width: clamp(150px, 15vw, 220px); filter: drop-shadow(0 18px 16px rgba(23, 24, 27, .12)); }
.band li span { font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .band { overflow-x: auto; }
  .band ul { animation: none; }
}

.druck-name { font-family: var(--text); font-weight: 700; letter-spacing: .06em; }

/* Ausprobieren */
.einstiege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.einstiege button { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 16px; text-align: left; }
.einstieg-buehne { grid-column: 1 / -1; position: relative; display: flex; align-items: flex-end; justify-content: center; height: clamp(230px, 34vh, 340px); margin-bottom: 22px; padding: 28px 24px 0; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 100%, #fff, #ebe9e3); box-shadow: inset 0 0 0 1px rgba(23, 24, 27, .05); }
.einstiege b { display: block; font: 500 1.6rem/1.1 var(--anzeige); letter-spacing: -.03em; }
.einstieg-text .klein { display: block; margin-top: 4px; }
.einstieg-los { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; font-weight: 500; color: var(--partner-text); }
.einstieg-los svg { width: 16px; height: 16px; transition: translate .3s var(--aus); }
.einstiege button:hover .einstieg-los svg { translate: 4px 0; }

/* Gerätegrafiken: Handy steht, Laptop ragt von unten ins Bild; beim Zeigen heben sie sich leicht */
.mini { display: block; transition: transform .5s var(--aus); }
.einstiege button:hover .mini { transform: translateY(-6px); }
.mini-schirm { position: relative; display: block; width: 100%; overflow: hidden; background: var(--papier); }
.mini-inhalt { position: absolute; left: 0; top: 0; display: block; transform-origin: 0 0; }
.mini-inhalt iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; background: var(--papier); }
.mini-handy .mini-inhalt iframe { height: calc(100% - 50px); }
.mini-handy { width: 44%; max-width: 190px; margin-bottom: -26%; padding: 7px; border-radius: 30px; background: #111214; box-shadow: 0 30px 40px -24px rgba(17, 18, 20, .55); }
.mini-handy .mini-schirm { border-radius: 23px; }
.mini-laptop { position: relative; width: 112%; margin-bottom: -8%; padding: 2.2% 2.2% 0; border-radius: 14px 14px 0 0; background: #1b1c1f; box-shadow: 0 30px 40px -26px rgba(17, 18, 20, .5); }
.mini-laptop .mini-schirm { border-radius: 4px 4px 0 0; }

/* Prozesslinie mit Gabel: gemeinsam, dann mit oder ohne Lager */
.prozess { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); }
.prozess-kopf { height: 44px; display: flex; align-items: center; margin-bottom: 22px; }
.linie { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.linie li { position: relative; padding: 34px 22px 0 0; }
.linie li::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: #cfcdc6; }
.gabel .linie li::before { background: var(--partner); height: 2px; top: 5px; }
.punkt { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.gabel .punkt { box-shadow: inset 0 0 0 2px var(--partner-text); }
.linie .hier .punkt { background: var(--partner); box-shadow: 0 0 0 5px color-mix(in srgb, var(--partner) 22%, transparent); }
.linie small { display: block; font-size: .8rem; color: var(--ink-3); }
.linie b { display: block; margin: 2px 0 6px; font-weight: 600; line-height: 1.3; }
.linie p { font-size: .9rem; color: var(--ink-2); }
.hier-marke { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--partner-text); }
.umschalter { display: inline-flex; gap: 2px; height: auto; align-self: start; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linie); background: #fff; }
.umschalter button { padding: 8px 16px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s; }
.umschalter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.weg[hidden] { display: none; }
.weg:not([hidden]) { animation: auftauchen .45s var(--aus); }
@keyframes auftauchen { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .weg:not([hidden]) { animation: none; } }
.eckdaten { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--linie); }
.eckdaten div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.eckdaten dt { font-size: .86rem; color: var(--ink-3); }
.eckdaten dd { margin: 0; font-size: .95rem; font-weight: 500; }

/* Weiter und Kontakt */
.abschluss { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.abschluss h2 { margin-bottom: 0; }
.schritte { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; }
.schritte li { padding: 20px 0; border-top: 1px solid var(--linie); }
.schritte b { display: block; font-weight: 600; margin-bottom: 4px; }
.schritte p { color: var(--ink-2); }
.kontakt { padding-top: 8px; }
.kontakt-name { margin: 18px 0 4px; font: 500 clamp(1.8rem, 2.6vw, 2.3rem)/1.1 var(--anzeige); letter-spacing: -.03em; }
/* Mit Foto: Bild und Angaben nebeneinander, die Kontaktwege schließen mit der Unterkante des Fotos ab */
.abschluss:has(.kontakt-bild) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.kontakt:has(.kontakt-bild) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 2.6vw, 36px); align-items: end; padding-top: 0; }
.kontakt-bild { display: block; width: 100%; max-height: calc(100svh - var(--kopf) - 260px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.kontakt:has(.kontakt-bild) .kontakt-name { margin-top: 0; }
.kontakt:has(.kontakt-bild) .kontakt-wege { margin-top: 28px; }
.kontakt:has(.kontakt-bild) .kontakt-wege a { flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
.kontakt-wege { list-style: none; margin: 32px 0 0; padding: 0; }
.kontakt-wege li { border-top: 1px solid var(--linie); }
.kontakt-wege li:last-child { border-bottom: 1px solid var(--linie); }
.kontakt-wege a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; text-decoration: none; transition: color .2s; }
.kontakt-wege a span { color: var(--ink-3); font-size: .9rem; }
.kontakt-wege a:hover { color: var(--partner-text); }
#kontakt { flex-direction: column; }
#kontakt > .abschluss { margin-block: auto; }
.fuss { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 28px var(--rand) 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8rem; color: var(--ink-3); }

/* ---------- Demo-Shop im Vollbild ---------- */
.demo { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #1b1c1f; color: #f2f1ed; }
.demo[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.demo::backdrop { background: #1b1c1f; }
.demo-leiste { display: flex; align-items: center; gap: 20px; padding: 12px var(--rand); border-bottom: 1px solid #2c2d31; }
.demo-titel { font-weight: 600; margin-right: auto; }
.demo-wahl, .demo-geraet { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #26272b; }
.demo-wahl button, .demo-geraet button { padding: 7px 14px; border-radius: 999px; font-size: .88rem; color: #b5b7bc; transition: background .2s, color .2s; }
.demo-wahl button[aria-selected="true"], .demo-geraet button[aria-pressed="true"] { background: #f2f1ed; color: var(--ink); }
.demo-zurueck { display: inline-flex; align-items: center; gap: 10px; padding: 8px 6px 8px 14px; font-size: .9rem; color: #f2f1ed; }
.demo-zurueck kbd { font: inherit; font-size: .74rem; padding: 2px 7px; border-radius: 5px; background: #2c2d31; color: #b5b7bc; }
.demo-buehne { display: grid; place-items: center; padding: 20px; min-height: 0; }
.demo-rahmen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: var(--papier); view-transition-name: demo-rahmen; }
.demo-rahmen iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; transform-origin: 0 0; background: var(--papier); }
.demo-rahmen.handy { box-sizing: content-box; padding: 10px; border-radius: 52px; background: #0b0b0c; box-shadow: 0 0 0 1px #34353a, 0 40px 80px -30px #000; }
.demo-rahmen.handy iframe { left: 10px; top: calc(10px + 50px * var(--k, 1)); border-radius: 0 0 42px 42px; }
.demo-rahmen > .statusleiste { display: none; }
.demo-rahmen.handy > .statusleiste { display: flex; position: absolute; left: 10px; top: 10px; z-index: 1; width: 390px; transform: scale(var(--k, 1)); transform-origin: 0 0; border-radius: 42px 42px 0 0; }

@media (max-width: 1100px) {
  .kapitel { display: none; }
  .menue-knopf { display: grid; }
  .vollbild-knopf { margin-right: 48px; }
  html.menue-offen .kapitel { display: block; top: 60px; left: auto; right: var(--rand); translate: none; max-height: calc(100svh - 80px); overflow-y: auto; padding: 0; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 0 0 1px rgba(23, 24, 27, .07), 0 18px 40px -18px rgba(23, 24, 27, .35); }
  html.menue-offen .kapitel ol { flex-direction: column; height: auto; width: min(260px, calc(100vw - 2 * var(--rand))); padding: 6px; gap: 0; background: none; backdrop-filter: none; box-shadow: none; border-radius: 0; }
  html.menue-offen .kapitel a { height: 44px; padding: 0 14px; font-size: .95rem; border-radius: 12px; }
  html.vollbild .menue-knopf { display: none; }
  html.vollbild .vollbild-knopf { margin-right: 0; }
}
@media (max-width: 1000px) {
  .geteilt, .geteilt.gespiegelt { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .geteilt.gespiegelt .text { order: 0; }
  .geteilt .text, .geteilt.gespiegelt .text { padding: 56px var(--rand) 32px; }
  /* Kundenlogo deutlich unter dem Partnerlogo im Kopf, damit beide für sich stehen */
  .start .geteilt .text { padding-top: 120px; }
  .szene { aspect-ratio: 4 / 3.4; min-height: 0; }
  .abschluss, .abschluss:has(.kontakt-bild), .prozess { grid-template-columns: minmax(0, 1fr); }
  .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gabel { margin-top: 40px; }
  .einstiege { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .vorteile li, .vorteile li::before { transition: none; } }
@media (max-width: 640px) {
  .seite { min-height: 0; }
  .vorteile { grid-template-columns: minmax(0, 1fr); }
  .kontakt:has(.kontakt-bild) { grid-template-columns: minmax(0, 1fr); }
  .kontakt-bild { max-width: 260px; }
  .techniken { grid-template-columns: minmax(0, 1fr); }
  .linie { grid-auto-flow: row; }
  .linie li { padding: 0 0 26px 30px; }
  .linie li::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .gabel .linie li::before { left: 5px; width: 2px; height: auto; top: 0; }
  .vollbild-knopf span, .weiter-label { display: none; }
  .demo-leiste { flex-wrap: wrap; gap: 10px; }
  .demo-geraet { display: none; }
}
