/* ============================================================
   ABC · Webdesign (Fassung „Werkbank") – ergänzt assets/style.css
   Hero = Schreibtisch in Draufsicht auf roter Schneidematte (CI-Rot), Objekte
   rund um die freie Mitte, darunter die hellen Apple-Flächen.
   ============================================================ */

.wd3 {
  --x-ink: #1D1D1F;
  --x-ink-2: #6E6E73;
  --x-bg: #FFFFFF;
  --x-grey: #F5F3F0;
  --x-line: #E4E0DA;
  --x-radius: 28px;
  --x-maxw: 1120px;
  --mat: #A9212B;                     /* Matte: CI-Rot, etwas tiefer als der Knopf */
  --mat-line: rgba(255,255,255,.13);  /* 1-cm-Linien */
  --mat-line-5: rgba(255,255,255,.3); /* 5-cm-Linien */
  --on-mat: #FFFFFF;
  --on-mat-2: rgba(255,255,255,.8);
  --paper-shadow: 0 1px 2px rgba(0,0,0,.16), 0 14px 28px -14px rgba(0,0,0,.42);
  color: var(--x-ink);
  background: var(--x-bg);
}

/* Navigation: über der Matte weiß, nach dem Scrollen weiße Leiste */
.wd3 .nav-wrap:not(.scrolled) .nav-links a, .wd3 .nav-wrap:not(.scrolled) .brand-text, .wd3 .nav-wrap:not(.scrolled) .brand-text b, .wd3 .nav-wrap:not(.scrolled) .brand-text span { color: #fff; }
.wd3 .nav-wrap:not(.scrolled) .brand-mark { filter: brightness(0) invert(1); }
.wd3 .nav-wrap:not(.scrolled) .btn-ink { background: #fff; color: var(--x-ink); }
.wd3 .nav-wrap.scrolled { background: rgba(255,255,255,.9); }

.x-shell { max-width: var(--x-maxw); margin-inline: auto; padding-inline: var(--gutter); }
.x-section { padding: clamp(4.5rem, 10vw, 8rem) 0; }

/* Typografie im Apple-Maß: groß, eng, ruhig */
.wd3 h1, .wd3 h2, .wd3 h3 { color: var(--x-ink); letter-spacing: -0.022em; }
.x-head { max-width: 780px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.x-head h2 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.8rem); line-height: 1.06; margin-bottom: .45em; }
.x-head p { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--x-ink-2); margin: 0; }

.x-link { font-size: 1.1rem; font-weight: 500; color: var(--red-deep); text-decoration: none; letter-spacing: -0.01em; }
.x-link:hover { text-decoration: underline; color: var(--red); }
.x-link-light, .x-link-light:hover { color: #fff; }
.btn-lg { font-size: 1.06rem; padding: 1em 1.9em; }
.btn-paper { background: #fff; color: var(--red-deep); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 12px 24px -12px rgba(0,0,0,.45); }
.btn-paper:hover { background: #fff; color: var(--red); }

/* ---------- Hero: Schneidematte, darauf die Bühne in festen Maßen ---------- */

.x-hero {
  position: relative;
  min-height: 100svh;
  box-sizing: border-box;
  padding-top: 72px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--on-mat);
  background-color: var(--mat);
  background-image:
    linear-gradient(var(--mat-line-5) 1px, transparent 1px),
    linear-gradient(90deg, var(--mat-line-5) 1px, transparent 1px),
    linear-gradient(var(--mat-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mat-line) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); /* Mattenkante auf dem hellen Tisch */
  z-index: 0;
}
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(60,0,8,.3) 100%); }

/* Zentimeterleisten links und rechts */
.x-mat-rule {
  position: absolute; z-index: 1; top: 0; bottom: 0; width: 30px;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.55) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.3) 0 1px, transparent 1px 8px);
  background-size: 14px 100%, 7px 100%;
  background-repeat: no-repeat;
}
.x-mat-rule-l { left: 0; border-right: 1px solid rgba(255,255,255,.35); }
.x-mat-rule-r { right: 0; border-left: 1px solid rgba(255,255,255,.35); background-position: right top; }
.x-mat-rule span { position: absolute; left: 0; width: 30px; text-align: center; font-size: 10px; line-height: 1; color: rgba(255,255,255,.7); transform: translateY(-50%); font-variant-numeric: tabular-nums; }

.x-stage { --sw: 1440; --sh: 830; --s: 1; position: relative; z-index: 1; width: calc(var(--sw) * var(--s) * 1px); height: calc(var(--sh) * var(--s) * 1px); }
/* Skalierung ohne Skript: tan(atan2(a, b)) ergibt das einheitenlose Verhältnis a/b. So stimmt die Größe schon
   beim ersten Bild und nichts springt, wenn das Skript später lädt (das Skript greift nur noch in alten Browsern). */
@supports (width: calc(1px * tan(atan2(1px, 1px)))) {
  .x-stage { --s: max(.3, min(tan(atan2(100vw, 1440px)), tan(atan2(calc(100svh - 72px), 830px)))); }
}
.x-stage-in { position: absolute; left: 0; top: 0; width: calc(var(--sw) * 1px); height: calc(var(--sh) * 1px); transform: scale(var(--s)); transform-origin: 0 0; }

/* Ein Objekt auf dem Tisch: Lage in Bühnen-Pixeln (--x/--y/--w/--r), Tiefe --z für die Zeiger-Parallaxe,
   Einschweben mit Verzögerung --d. Nach der Landung wird die Animation abgelegt (Klasse is-landed),
   damit translate3d(--px/--py) der Parallaxe greift. */
.o { position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); width: calc(var(--w) * 1px); transform: rotate(var(--r, 0deg)); }
.o:not(.is-landed) { animation: x-land .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
.o.is-landed { transition: translate .5s cubic-bezier(.2,.7,.2,1), scale .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) {
  .o.is-landed:not(.o-ui):not(.o-copy):not(.o-cable):hover { translate: 0 -5px; scale: 1.015; }
}
@keyframes x-land { from { opacity: 0; transform: rotate(var(--r, 0deg)) translateY(-18px) scale(1.035); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
.o-svg { display: block; width: 100%; height: auto; }

.o-copy { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--on-mat); }
.o-copy h1 { color: #fff; font-size: 62px; font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 .32em; max-width: 10.4em; text-wrap: balance; }
.o-copy .x-hero-sub { font-size: 22px; line-height: 1.42; color: var(--on-mat-2); margin: 0 0 1.3em; max-width: 26em; text-wrap: balance; }
.x-hero-cta { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }

/* Ausdrucke (A4, Hoch- oder Querformat über --pa) */
.o-print { background: #fff; padding: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.05), var(--paper-shadow); } /* bündiger Druck; Prozent-Innenabstand bezöge sich auf die Bühne */
.o-print img { display: block; width: 100%; height: auto; aspect-ratio: var(--pa, 1.414); object-fit: cover; object-position: top; }

/* Notizbuch mit Stift */
.o-book { aspect-ratio: 190 / 250; border-radius: 4px 10px 10px 4px; background: linear-gradient(135deg, #232327 0%, #141417 55%, #1C1C20 100%); box-shadow: inset 1px 0 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.3), 0 16px 26px -12px rgba(0,0,0,.55); }
.o-book-band { position: absolute; top: 0; bottom: 0; right: 16%; width: 6.5%; background: #2E2E34; box-shadow: inset 1px 0 0 rgba(255,255,255,.05), inset -1px 0 0 rgba(0,0,0,.4); }
.o-book-pages { position: absolute; top: 2.5%; bottom: 2.5%; right: -2.4%; width: 2.6%; border-radius: 0 2px 2px 0; background: repeating-linear-gradient(to bottom, #F2EEE6 0 1.5px, #D6D1C7 1.5px 3px); }
.o-pen { filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)) drop-shadow(0 8px 10px rgba(0,0,0,.4)); }

/* Konzeptblatt mit Büroklammer, Smartwatch */
.o-doc { box-sizing: border-box; aspect-ratio: .707; overflow: hidden; padding: 20px 20px 16px; background: #fff; color: #2A2A2E; box-shadow: var(--paper-shadow); font-size: 7.4px; line-height: 1.45; } /* Prozent-Innenabstand bezöge sich auf die Bühne, daher px */
.o-doc-head { display: flex; align-items: center; gap: 5px; font-family: var(--font-brand); font-size: 8px; color: #3A1C21; margin-bottom: 14px; }
.o-doc-head svg { width: 12px; height: 12px; }
.o-doc h4 { margin: 0 0 2px; font-size: 15px; line-height: 1.1; letter-spacing: -.01em; color: #1D1D1F; }
.o-doc .o-doc-sub { margin: 0 0 10px; font-size: 7px; color: #6E6E73; }
.o-doc p { margin: 0 0 7px; }
.o-doc ul { margin: 0 0 8px; padding-left: 10px; }
.o-doc li { margin: 0 0 1px; }
.o-doc .o-doc-foot { position: absolute; left: 20px; right: 20px; bottom: 12px; margin: 0; text-align: right; font-size: 6.5px; color: #9A9AA0; }
.o-clip { position: absolute; left: 9%; top: -4.5%; width: 12%; height: auto; transform: rotate(6deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.o-watch { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)) drop-shadow(0 10px 14px rgba(0,0,0,.4)); }

/* Tastatur, Maus, Kaffee, Visitenkarte, Haftnotiz, Etui, Kabel, Lineal, Stift */
.o-keyboard { filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)) drop-shadow(0 12px 18px rgba(0,0,0,.28)); }
.o-mouse { aspect-ratio: 62 / 112; border-radius: 31px / 40px; background: linear-gradient(180deg, #FFFFFF 0%, #F2F2F4 55%, #DCDCE0 100%); box-shadow: inset 0 -1px 0 rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.22), 0 12px 20px -10px rgba(0,0,0,.45); }
.o-mouse::after { content: ""; position: absolute; left: 50%; top: 10%; width: 1px; height: 38%; margin-left: -.5px; background: rgba(0,0,0,.08); }
.o-cup { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.22)) drop-shadow(0 14px 20px rgba(0,0,0,.35)); }
.o-card { aspect-ratio: 85 / 55; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 10px 18px -10px rgba(0,0,0,.45); padding: 10px 12px; box-sizing: border-box; display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-content: center; overflow: hidden; }
.o-card svg { width: 24px; height: 24px; grid-row: 1 / span 2; align-self: center; }
.o-card b { font-family: var(--font-brand); font-size: 10.5px; line-height: 1.1; color: #3A1C21; white-space: nowrap; }
.o-card span { font-size: 6px; letter-spacing: .22em; text-transform: uppercase; color: #8C2332; line-height: 1.5; }
.o-note { aspect-ratio: 1; box-sizing: border-box; padding: 16px 13px 12px; display: flex; flex-direction: column; gap: 3px; color: #4A3B00; background: linear-gradient(180deg, #FFF3AE 0%, #FFE97A 100%); box-shadow: 0 1px 2px rgba(0,0,0,.14), 0 10px 16px -10px rgba(0,0,0,.4); }
.o-note::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 13%; background: rgba(0,0,0,.05); }
.o-note b { font-size: 14px; line-height: 1.2; }
.o-note span { font-size: 12px; line-height: 1.3; opacity: .8; }
.o-note em { font-style: normal; font-size: 24px; line-height: 1; color: #2E6B2F; margin-top: auto; align-self: flex-end; }
.o-pods { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.22)) drop-shadow(0 10px 14px rgba(0,0,0,.4)); }
.o-cable { pointer-events: none; }
.o-ruler { filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)) drop-shadow(0 8px 12px rgba(0,0,0,.3)); }
.o-pencil { height: 300px; border-radius: 7px; background: linear-gradient(90deg, #D7D7DC 0%, #FFFFFF 38%, #FBFBFC 55%, #C9C9CF 100%); box-shadow: 0 1px 2px rgba(0,0,0,.22), 0 10px 16px -8px rgba(0,0,0,.45); }
.o-pencil::before { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 24px; background: linear-gradient(90deg, #D7D7DC, #FFFFFF 40%, #C9C9CF); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.o-pencil::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 4px; height: 8px; margin-left: -2px; background: #3A3A3F; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* Schwebende UI-Karten: Benachrichtigung und Termin */
.o-ui { box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.97); color: var(--x-ink); font-size: 13px; box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 26px 44px -18px rgba(0,0,0,.55); }
.o-ui span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.o-ui b { font-weight: 600; white-space: nowrap; }
.o-ui small { font-size: 12px; color: var(--x-ink-2); white-space: nowrap; }
.o-toast > i, .o-sale > i { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--red); box-shadow: inset 0 -8px 12px rgba(0,0,0,.14); display: grid; place-items: center; }
.o-sale > i { background: #1E8E3E; }
.o-toast > i svg, .o-sale > i svg { width: 22px; height: 22px; display: block; }
.o-sale.is-landed { animation-duration: 7.2s; }
.o-appt > i { flex: none; width: 40px; height: 44px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--x-line); display: flex; flex-direction: column; align-items: center; }
.o-appt > i small { width: 100%; text-align: center; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 0; }
.o-appt > i b { font-size: 18px; line-height: 1.35; }
@keyframes x-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.o-ui.is-landed { animation: x-bob 5.5s ease-in-out infinite; }
.o-appt.is-landed { animation-duration: 6.4s; }

/* Tablet: Alurand → schwarze Blende → Bildschirm (cqw = 1 % der Tabletbreite) */
.x-tab { position: relative; container-type: inline-size; aspect-ratio: 1.4; border-radius: 6.25% / 8.75%; background: linear-gradient(135deg, #B9B9BE 0%, #E9E9EC 30%, #F4F4F6 50%, #E2E2E6 72%, #B3B3B9 100%); box-shadow: 0 1px 2px rgba(0,0,0,.28), 0 34px 54px -24px rgba(0,0,0,.6), 0 12px 20px -10px rgba(0,0,0,.35); }
.x-tab-body { position: relative; box-sizing: border-box; margin: .55cqw; height: calc(100% - 1.1cqw); padding: 2.6cqw; background: #08080A; border-radius: 5.7cqw; }
.x-tab-screen { position: relative; height: 100%; overflow: hidden; border-radius: 3.1cqw; background: #111; }
.x-tab-cam { position: absolute; z-index: 3; top: 1.05cqw; left: 50%; width: .9cqw; height: .9cqw; margin-left: -.45cqw; border-radius: 50%; background: #1E2433; box-shadow: inset 0 0 0 .25cqw #0E1119; }
.o-tab .x-tab { cursor: pointer; }
.x-tab-hint { position: absolute; z-index: 6; left: 50%; bottom: 4cqw; transform: translateX(-50%) translateY(6px); padding: 1.6cqw 3cqw; border-radius: 999px; background: rgba(29,29,31,.82); color: #fff; font-size: 2.6cqw; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.o-tab .x-tab:hover .x-tab-hint { opacity: 1; transform: translateX(-50%) translateY(0); }

/* iPhone: Titanrand → schwarzer Körper → Bildschirm, Maße nach iPhone 16 */
.x-phone { position: relative; container-type: inline-size; aspect-ratio: 0.478; border-radius: 16.5% / 7.9%; background: linear-gradient(90deg, #8A8A8F 0%, #C4C4C9 5%, #E6E6E9 16%, #F3F3F5 50%, #E6E6E9 84%, #C4C4C9 95%, #8A8A8F 100%); box-shadow: 0 1px 1.5px rgba(0,0,0,.22), 0 30px 46px -22px rgba(20,20,30,.6), 0 12px 20px -12px rgba(20,20,30,.35); }
.x-phone::before, .x-phone::after { content: ""; position: absolute; width: 1.2%; background: #B7B7BC; }
.x-phone::before { left: -1.1%; top: 16%; height: 24%; border-radius: 1px 0 0 1px; background: linear-gradient(to bottom, #B7B7BC 0 14%, transparent 14% 23%, #B7B7BC 23% 54%, transparent 54% 62%, #B7B7BC 62% 93%, transparent 93%); }
.x-phone::after { right: -1.1%; top: 23%; height: 15%; border-radius: 0 1px 1px 0; }
.x-phone-body { position: relative; box-sizing: border-box; margin: 1.4cqw; height: calc(100% - 2.8cqw); padding: 3.1cqw; background: #08080A; border-radius: 15.1cqw; }
.x-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 12cqw; background: #111; }
.x-phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.x-phone-island { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); top: 5.6cqw; width: 29cqw; height: 8.6cqw; border-radius: 999px; background: #050506; }

/* Bildwechsel und lange Screenshots (Bild liegt oben an und wird per Skript geschoben) */
.x-rotate img { opacity: 0; transition: opacity 1s cubic-bezier(.4,0,.2,1); }
.x-rotate img.is-on { opacity: 1; }
.x-scrollshot { overflow: hidden; }
.x-scrollshot > img { position: absolute; inset: auto; top: 0; left: 0; width: 100%; height: auto; object-fit: unset; will-change: transform; }

/* Bildschirm des Tablets geht nach dem Einschweben an */
@keyframes x-screen-on { from { opacity: 1; } to { opacity: 0; } }
.o-tab .x-tab-screen::after { content: ""; position: absolute; inset: 0; z-index: 5; background: #000; pointer-events: none; animation: x-screen-on .9s ease-out 1s both; }

/* ---------- Logos ---------- */

.x-logos { padding: clamp(2.2rem, 4vw, 3rem) 0; background: var(--x-grey); }
.x-logos-paper { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.4rem); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 24px -16px rgba(0,0,0,.18); }
.x-logos p { margin: 0; font-size: .95rem; color: var(--x-ink-2); }
.x-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 3.4vw, 3rem); }
.x-logos li { height: 40px; display: flex; align-items: center; }
.x-logos li.tall { height: 58px; }
.x-logos img { height: 100%; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.x-logos li.tall img { filter: grayscale(1) brightness(.5) contrast(1.4); }
.x-logos li:hover img { filter: none; opacity: 1; }

/* ---------- Arbeiten: Ausdrucke liegen versetzt auf dem Tisch, das Handy daneben ---------- */

/* Die schräg gelegten Ausdrucke dürfen nicht über den Rand ragen: Schon wenige Pixel Überbreite lassen
   Safari am iPhone die ganze Seite verkleinert darstellen. */
html.wd3-root, html.wd3-root body { overflow-x: hidden; }
@supports (overflow: clip) { html.wd3-root, html.wd3-root body { overflow-x: clip; } }
.x-works { background: var(--x-bg); padding-bottom: clamp(3rem, 6vw, 5rem); overflow-x: clip; }
.x-desk { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; row-gap: 40px; align-items: start; }
.x-set { position: relative; grid-column: var(--c); margin-top: calc(var(--mt, 0) * 1px); padding: 0 12% 0 0; transform: rotate(var(--r, 0deg)); }
.x-set::before { content: ""; position: absolute; z-index: 3; top: -9px; left: 7%; width: 74px; height: 22px; background: linear-gradient(90deg, rgba(228,221,208,.92), rgba(238,233,224,.92)); box-shadow: 0 1px 2px rgba(0,0,0,.1); transform: rotate(-3deg); }
.x-print { position: relative; background: #fff; padding: 12px 12px 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.04), var(--paper-shadow); }
.x-print-shot { position: relative; aspect-ratio: 1.414; overflow: hidden; background: #EEEDEA; }
.x-print-label { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 2px 0; }
.x-print-label h3 { margin: 0 0 .12rem; font-size: 1.15rem; line-height: 1.15; }
.x-print-label p { margin: 0; font-size: .82rem; color: var(--x-ink-2); }
.x-print-label a { flex: none; font-size: .86rem; font-weight: 600; color: var(--red-deep); text-decoration: none; white-space: nowrap; padding: .45em .8em; border-radius: 999px; background: #FBF0EF; }
.x-print-label a:hover { background: #F5DEDB; }
.x-print-desc { margin: 10px 2px 0; font-size: .9rem; line-height: 1.45; color: var(--x-ink-2); }
.x-set-phone { position: absolute; right: -14%; top: 7%; width: 30%; z-index: 2; transform: rotate(calc(var(--r, 0deg) * -1.6)); }

/* Einschweben beim Scrollen (Papier landet auf dem Tisch) – überstimmt die allgemeine Reveal-Regel */
.wd3 [data-reveal="land"] { opacity: 0; transform: translateY(22px) scale(1.02); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.wd3 [data-reveal="land"].in { opacity: 1; transform: none; }
.wd3 .x-set[data-reveal="land"] { transform: rotate(var(--r, 0deg)) translateY(22px) scale(1.02); }
.wd3 .x-set[data-reveal="land"].in { transform: rotate(var(--r, 0deg)); }

/* ---------- Leistungen: Kacheln ---------- */

.x-features { background: var(--x-grey); }
.x-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.x-tile { position: relative; background: var(--x-bg); border-radius: var(--x-radius); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 1.6rem; overflow: hidden; min-height: 380px; }
.x-tile-wide { grid-column: span 2; flex-direction: row; align-items: center; }
.x-tile-wide .x-tile-text { flex: 1 1 42%; }
.x-tile h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; margin: 0 0 .5em; }
.x-tile p { color: var(--x-ink-2); margin: 0; font-size: 1.02rem; line-height: 1.5; }

.x-phones { flex: 1 1 58%; display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin-bottom: -70px; }
.x-phone-sm { width: min(196px, 31%); }
.x-phone-sm.is-lift { transform: translateY(-26px); }

.x-mock-tag { position: absolute; top: 12px; left: 20px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--x-ink-2); background: var(--x-grey); padding: .3em .6em; border-radius: 6px; }
.x-serp, .x-mail { position: relative; margin-top: auto; background: var(--x-grey); border-radius: 18px; padding: 40px 20px 20px; font-family: Arial, Helvetica, sans-serif; }
.x-serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.x-serp-site i { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--x-line); }
.x-serp-site span { display: flex; flex-direction: column; line-height: 1.25; font-size: .82rem; color: #202124; }
.x-serp-site small { color: #4D5156; font-size: .76rem; }
.x-tile .x-serp-title { color: #1A0DAB; font-size: 1.12rem; line-height: 1.3; margin: 0 0 4px; }
.x-tile .x-serp-desc { color: #4D5156; font-size: .86rem; line-height: 1.5; }
.x-mail { font-family: var(--font-ui); }
.x-mail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.x-mail-head i { width: 34px; height: 34px; border-radius: 9px; background: var(--red); flex: none; box-shadow: inset 0 -8px 12px rgba(0,0,0,.12); }
.x-mail-head span { display: flex; flex-direction: column; line-height: 1.25; font-size: .88rem; }
.x-mail-head small { color: var(--x-ink-2); font-size: .76rem; }
.x-mail dl { margin: 0; display: grid; gap: 6px; }
.x-mail dl div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: .86rem; }
.x-mail dt { color: var(--x-ink-2); }
.x-mail dd { margin: 0; color: var(--x-ink); font-weight: 500; }

.x-tile-type { justify-content: space-between; }
.x-tile .x-big { margin: 0; order: -1; font-family: var(--font-brand); font-weight: 700; font-size: clamp(3.4rem, 2.4rem + 3vw, 5.2rem); line-height: .95; color: var(--red) !important; display: flex; flex-direction: column; gap: .35rem; }
.x-tile .x-big.is-word { font-size: clamp(2.4rem, 1.4rem + 2.4vw, 3.6rem); }
.x-tile .x-big span { font-family: var(--font-ui); font-size: .95rem; font-weight: 600; color: var(--x-ink-2); letter-spacing: 0; }

/* ---------- Ablauf ---------- */

.x-steps-section { background: var(--x-bg); }
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.x-steps li { border-top: 1px solid var(--x-line); padding-top: 1.4rem; }
.x-steps span { display: block; font-family: var(--font-brand); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--red); margin-bottom: 1rem; }
.x-steps h3 { font-size: 1.3rem; margin: 0 0 .4rem; }
.x-steps p { margin: 0; color: var(--x-ink-2); font-size: 1rem; line-height: 1.5; }

/* ---------- Stimmen ---------- */

.x-voices { background: var(--x-grey); }
.x-voice-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.x-voice-list li { position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: 50px 32px 32px; border-radius: var(--x-radius); background: var(--x-bg); min-height: 240px; }
.x-voice-list blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--x-ink); }
.x-voice-list li.is-placeholder { background: #FBF6F5; outline: 1.5px dashed #DDA9A4; outline-offset: -1.5px; }
.x-voice-flag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.x-skel { display: flex; flex-direction: column; gap: .6rem; }
.x-skel i { height: .75rem; border-radius: 999px; background: #EFDCD9; }
.x-skel i.short { width: 60%; }
.x-who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.x-avatar { width: 46px; height: 46px; border-radius: 50%; background: #EFDCD9; flex: none; }
.x-who > span:last-child { display: flex; flex-direction: column; line-height: 1.3; font-size: .92rem; color: var(--x-ink-2); }
.x-who b { color: var(--x-ink); }

/* ---------- Abschluss (dunkel) ---------- */

.x-cta { background: var(--x-bg); }
.x-cta-block { border-radius: clamp(28px, 3vw, 40px); background: radial-gradient(80% 90% at 50% 0%, #2B1417 0%, #1D1D1F 62%); color: #F5F5F7; text-align: center; padding: clamp(3.4rem, 8vw, 6rem) clamp(1.6rem, 6vw, 5rem); display: flex; flex-direction: column; align-items: center; }
.x-cta-block h2 { color: #F5F5F7; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.2rem); line-height: 1.04; margin-bottom: .4em; }
.x-cta-block > p { color: #A1A1A6; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.5; max-width: 34em; margin: 0 0 2rem; }
.x-cta-alt { margin: 1.4rem 0 0 !important; font-size: .95rem !important; }
.x-cta-alt a { color: #FF7B72; }

/* ---------- FAQ ---------- */

.x-faq-section { background: var(--x-bg); padding-top: 0; }
.x-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.x-faq-grid h2 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.8rem); line-height: 1.06; }
.x-faq { margin: 0; border-top: 1px solid var(--x-line); }
.x-faq > div { padding: 1.4rem 0; border-bottom: 1px solid var(--x-line); }
.x-faq dt { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; margin-bottom: .45rem; }
.x-faq dd { margin: 0; color: var(--x-ink-2); line-height: 1.55; }

/* ---------- Brücke, Footer, Sticky-CTA ---------- */

.x-bridge { background: var(--x-grey); padding: 1.6rem 0; }
.x-bridge p { margin: 0 auto; text-align: center; font-size: .98rem; color: var(--x-ink-2); max-width: none; }
.x-bridge a { color: var(--red-deep); font-weight: 500; text-decoration: none; margin-left: .3em; white-space: nowrap; }
.x-bridge a:hover { text-decoration: underline; }
.wd3 footer { background: var(--x-grey); border-top: 1px solid var(--x-line); }
.wd3 .footer-note { max-width: none; }

.x-sticky-cta { position: fixed; z-index: 900; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; box-shadow: 0 16px 34px -12px rgba(210,47,47,.6); display: none; }
.x-sticky-cta.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .x-bento { grid-template-columns: 1fr 1fr; }
  .x-tile-wide { grid-column: span 2; }
  .x-steps { grid-template-columns: 1fr 1fr; }
  .x-voice-list { grid-template-columns: 1fr; }
  .x-faq-grid { grid-template-columns: 1fr; }
  .x-desk { column-gap: 20px; }
}
@media (max-width: 860px) {
  .x-sticky-cta { display: inline-flex; }
  .x-mat-rule { display: none; }
}
@media (max-width: 700px) {
  .x-hero { padding-top: 70px; align-items: flex-start; }
  .x-stage { --sw: 390; --sh: 772; }
  @supports (width: calc(1px * tan(atan2(1px, 1px)))) {
    .x-stage { --s: max(.3, tan(atan2(100vw, 390px))); }
  }
  .o-copy h1 { font-size: 33px; max-width: none; }
  .o-copy .x-hero-sub { font-size: 17px; }
  .x-hero-cta { gap: 1rem; }
  /* Handy-Bühne: eigene Lagen (--mx/--my/--mw/--mr aus dem Inline-Stil), Objekte mit --mw:0 fehlen */
  .o { left: calc(var(--mx) * 1px); top: calc(var(--my) * 1px); width: calc(var(--mw) * 1px); transform: translate3d(0, 0, 0) rotate(var(--mr)); animation-name: x-land-m; }
  .o[style*="--mw:0;"] { display: none; }
  .o-pencil { height: 190px; }
  .o-ui { padding: 10px 12px 10px 10px; font-size: 12px; gap: 10px; }
  .o-ui small { font-size: 11px; }
  .x-bento { grid-template-columns: 1fr; }
  .x-tile-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .x-phones { margin-bottom: -40px; }
  .x-tile { min-height: 0; }
  .x-steps { grid-template-columns: 1fr; }
  .x-desk { grid-template-columns: 1fr; row-gap: 28px; }
  .x-set { grid-column: auto !important; margin-top: 0 !important; padding: 0 10% 0 0; }
  .x-set-phone { right: -11%; width: 27%; }
  .x-set:nth-child(odd) { --r: -1.5deg; }
  .x-set:nth-child(even) { --r: 1.5deg; }
  .x-set::before { width: 58px; height: 18px; }
  .x-print { padding: 9px 9px 12px; }
  .x-print-label { flex-wrap: wrap; }
}
@keyframes x-land-m { from { opacity: 0; transform: rotate(var(--mr, 0deg)) translateY(-14px) scale(1.03); } to { opacity: 1; transform: rotate(var(--mr, 0deg)); } }
@media (prefers-reduced-motion: reduce) {
  .o, .o:not(.is-landed), .o-ui.is-landed { animation: none; }
  .o.is-landed { transition: none; }
  .o-tab .x-tab-screen::after { animation: none; opacity: 0; }
  .x-rotate img { transition: none; }
  .wd3 [data-reveal="land"] { transition: none; }
}
@media (max-width: 860px) { .wd3 footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
