/* ==========================================================================
   Stilus Studio – v4 „Die Feder schreibt die Seite“
   Logo-Schrift (Cormorant) nur im Logo. Alle Texte: Bricolage Grotesque.
   Keine weißen Flächen: Tinte, Zinnober, Wachs.
   ========================================================================== */

/* Schriften lokal einbinden. Dateien in assets/fonts ablegen (siehe LIESMICH). */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-var.woff") format("woff"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --ink: #161615;
  --ink-2: #1F1F1D;
  --ink-3: #2A2A27;
  --paper: #EFEDE8;
  --muted: #A8A39A;         /* Nebentext auf Tinte */
  --red: #D2543F;
  --red-field: #BC4631;
  --red-dark: #8E2F20;
  --wax: #D9B56C;
  --wax-deep: #B8924A;
  --wood: #6E522B;
  --wa: #1F6F4A;

  --sans: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --t-mega: clamp(56px, 8.4vw, 150px);
  --t-xl: clamp(44px, 6vw, 96px);
  --t-l: clamp(28px, 3vw, 44px);
  --t-body: 19px;
  --t-s: 15px;

  --rail: clamp(14px, 3.4vw, 56px);
  --pad-l: clamp(36px, 8vw, 128px);
  --pad-r: clamp(18px, 4vw, 64px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-optical-sizing: auto; font-weight: 400; font-size: var(--t-body); line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-weight: 650; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
a, button, label.chip { touch-action: manipulation; }
button, .btn, .chip { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
.todo { background: #FFE58A; color: #3D3200; padding: 0 4px; }
.inner { padding-left: max(var(--pad-l), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad-r), env(safe-area-inset-right, 0px)); }
.red { color: var(--red); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 17px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--red { background: var(--red); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--ghost { background: var(--ink-3); color: var(--paper); }
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .btn--paper:hover { background: #fff; }
  .btn--red:hover { background: #E0644E; }
  .btn--ink:hover { background: #000; }
  .btn--wa:hover { background: #185C3D; }
  .btn--ghost:hover { background: #3A3A36; }
}

/* Federlinie */
.pen-layer { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 5; overflow: visible; }
.pen-layer path.trail { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }

/* Kopfzeile */
.bar { position: absolute; left: 0; right: 0; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: calc(20px + env(safe-area-inset-top, 0px)) max(var(--pad-r), env(safe-area-inset-right, 0px)) 0 max(var(--pad-r), env(safe-area-inset-left, 0px)); font-size: var(--t-s); font-weight: 500; }
.bar .home { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 25px; letter-spacing: -0.02em; }
.bar .home svg { width: 20px; height: 30px; }
.bar nav { display: flex; align-items: center; gap: 26px; }
.bar ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.bar ul a { text-decoration: none; color: var(--muted); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .bar ul a:hover { color: var(--paper); } }
.lang { display: inline-flex; background: var(--ink-3); border-radius: 999px; padding: 3px; }
.lang a, .lang span { padding: 6px 11px; text-decoration: none; border-radius: 999px; font-weight: 600; }
.lang [aria-current] { background: var(--paper); color: var(--ink); }
.bar .btn { min-height: 44px; font-size: var(--t-s); padding: 0 18px; }

/* ---------- Hero: die Feder schreibt das Logo ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: 112px; padding-bottom: 36px; overflow: hidden; background:
  radial-gradient(60vw 60vw at 78% 40%, rgba(210, 84, 63, 0.16), transparent 60%), var(--ink); }
.hero .top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hero .claim { font-size: clamp(48px, 7vw, 112px); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.hero .side { display: grid; gap: 22px; align-content: start; max-width: 36ch; padding-top: 10px; }
.hero .side p { color: var(--muted); font-size: var(--t-body); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .writing { position: relative; align-self: end; margin-top: 24px; }
.hero .wordmark { width: min(100%, calc(42svh * 2.85)); height: auto; }
.hero .wordmark path { fill: var(--paper); }
.nib-pos { position: absolute; left: auto; right: 4%; bottom: 96%; width: var(--nib-w, 120px); pointer-events: none; z-index: 3; transform-origin: 50% 100%; }
.big-nib { width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; }
.big-nib .body { fill: var(--paper); }
.big-nib .outline { display: none; }
.big-nib .slit { stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; }
.big-nib .dot { fill: var(--red); transform-box: fill-box; transform-origin: center; }
.big-nib .ring { fill: none; stroke: var(--red); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; }
.big-nib .shade { fill: rgba(0,0,0,.12); }
.hero .meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: var(--t-s); color: var(--muted); }

/* ---------- Leistungen: Wörter füllen sich beim Scrollen ---------- */
.services { background: var(--ink-2); padding-top: 140px; padding-bottom: 120px; position: relative; }
.services .intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; flex-wrap: wrap; margin-bottom: 70px; }
.services h2 { font-size: var(--t-l); max-width: 18ch; }
.services .intro p { color: var(--muted); max-width: 34ch; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0; }
.svc-row + .svc-row { border-top: 1px solid var(--ink-3); }
.fillword { position: relative; font-size: var(--t-mega); font-weight: 700; letter-spacing: -0.015em; line-height: 1; white-space: nowrap; font-variation-settings: "opsz" 48; }
.fillword .o { color: transparent; -webkit-text-stroke: 1.5px rgba(239, 237, 232, .35); }
.fillword .f { position: absolute; left: 0; top: 0; color: var(--paper); clip-path: inset(0 0 0 0); }
.fillword .f .red { color: var(--red); }
.svc-row .txt { display: grid; gap: 16px; }
.svc-row .txt p { color: var(--muted); }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips-list li { background: var(--ink-3); border-radius: 999px; padding: 8px 14px; font-size: var(--t-s); font-weight: 500; }

/* ---------- Wachstafel ---------- */
.tablet { background: var(--wax); color: var(--ink); padding-top: 120px; padding-bottom: 120px; position: relative; }
.tablet .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.tablet .copy { display: grid; gap: 24px; }
.tablet h2 { font-size: var(--t-xl); }
.tablet .copy > p { max-width: 38ch; }
.field label, .chips legend { display: block; font-size: var(--t-s); font-weight: 700; margin-bottom: 8px; padding: 0; }
.field input { width: 100%; font: 600 var(--t-l)/1.15 var(--sans); letter-spacing: -0.01em; color: var(--ink); background: var(--wax-deep); border: 0; border-radius: 16px; padding: 16px 20px; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: rgba(22,22,21,.5); }
.field input:focus { outline: 3px solid var(--ink); outline-offset: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--wax-deep); font-weight: 600; font-size: var(--t-s); transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.chip:active span { transform: scale(0.97); }
.tablet .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--wax { background: var(--wax-deep); color: var(--ink); }
.phone-wrap { display: grid; justify-items: center; gap: 16px; }
.phone { width: min(330px, 100%); aspect-ratio: 9 / 18.5; background: var(--ink); padding: 11px; border-radius: 46px; transform: rotate(-4deg); transition: transform 600ms var(--ease-out); }
.tablet.is-hot .phone { transform: rotate(0deg); }
.screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; }
.screen .s-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 20px 0; font-size: 14px; font-weight: 600; }
.screen .s-top b { max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen .s-body { padding: 20px; display: grid; align-content: start; gap: 12px; }
.screen .s-name { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.screen .s-head { font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.screen .s-pic { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.screen .s-pic svg { width: 100%; height: 100%; }
.screen .s-meta { font-size: 14px; color: #5A5750; }
.screen .s-cta { justify-self: start; background: #B03E2C; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 999px; }
.screen .s-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 10px; font-size: 12px; font-weight: 700; text-align: center; background: #E2E0DA; }
.screen .s-bar span { background: var(--paper); padding: 10px 4px; border-radius: 999px; }
.screen .s-bar span:last-child { background: var(--ink); color: var(--paper); }
.screen [data-fade] { transition: opacity 200ms ease, filter 200ms ease; }
.screen.is-swapping [data-fade] { opacity: .3; filter: blur(2px); }
.phone-wrap .caption { font-size: var(--t-s); text-align: center; max-width: 34ch; }

/* ---------- Ablauf ---------- */
.process { background: var(--ink); padding-top: 140px; padding-bottom: 150px; position: relative; }
.process .intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; flex-wrap: wrap; }
.process h2 { font-size: var(--t-xl); }
.process .intro p { color: var(--muted); max-width: 34ch; }
.steps { margin-top: 70px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.steps li { background: var(--ink-2); border-radius: 24px; padding: 14px 14px 26px; display: grid; gap: 18px; align-content: start; transition: transform 300ms var(--ease-out), background-color 300ms ease; }
@media (hover: hover) and (pointer: fine) { .steps li:hover { transform: translateY(-6px); background: var(--ink-3); } }
.steps .sheet { background: var(--paper); border-radius: 14px; padding: 10px; aspect-ratio: 520 / 360; }
.steps .sheet.wax { background: var(--wood); }
.steps h3 { font-size: var(--t-l); padding: 0 8px; }
.steps li:nth-child(odd) h3 { color: var(--red); }
.steps p { color: var(--muted); padding: 0 8px; font-size: 17px; }
.mock { width: 100%; height: 100%; }
.mock .ink { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Kontakt ---------- */
.contact { background: var(--red-field); color: var(--paper); padding-top: 130px; padding-bottom: 130px; position: relative; overflow: hidden; }
.contact .big-dot { position: absolute; right: -14vw; top: -14vw; width: 46vw; height: 46vw; border-radius: 50%; background: var(--red); }
.contact .content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact h2 { font-size: var(--t-xl); }
.contact .say { font-size: 21px; line-height: 1.45; margin-top: 24px; max-width: 34ch; }
.ways { margin-top: 36px; display: grid; gap: 10px; max-width: 420px; }
.way { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 20px; background: var(--red-dark); text-decoration: none; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.way:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .way:hover { background: #7A2619; } .way:hover .arr { transform: translateX(4px); } }
.way .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.way .ic svg { width: 22px; height: 22px; }
.way.wa .ic { background: var(--wa); color: #fff; }
.way b { display: block; font-size: 18px; }
.way span.s { font-size: var(--t-s); color: #F3C9C0; }
.way .arr { width: 22px; height: 22px; transition: transform 160ms var(--ease-out); }
.contact .fine { margin-top: 28px; font-size: var(--t-s); color: #F3C9C0; max-width: 42ch; }
form.ask { background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.ask h3 { grid-column: 1 / -1; font-size: var(--t-l); margin-bottom: 6px; }
form.ask .full { grid-column: 1 / -1; }
form.ask label { display: block; font-size: var(--t-s); font-weight: 600; margin-bottom: 7px; color: var(--muted); }
form.ask input, form.ask textarea { width: 100%; font: 500 17px/1.4 var(--sans); color: var(--paper); background: var(--ink-3); border: 0; border-radius: 14px; padding: 15px 16px; -webkit-appearance: none; appearance: none; transition: background-color 150ms ease; }
form.ask input::placeholder, form.ask textarea::placeholder { color: #77736B; }
form.ask input:focus, form.ask textarea:focus { outline: 2px solid var(--red); outline-offset: 0; background: #33332F; }
form.ask textarea { min-height: 130px; resize: vertical; }
form.ask .note { font-size: 14px; color: var(--muted); }
form.ask .note a { color: var(--paper); }
form.ask .btn { width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--ink); padding-top: 80px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.site-footer .wm { width: 100%; height: auto; }
.site-footer .row { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: var(--t-s); color: var(--muted); }
.site-footer .row a { text-decoration: none; color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .site-footer .row a:hover { color: var(--red); } }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.wa-float, .action-bar { display: none !important; }
.wa-float-off { position: fixed; right: max(22px, env(safe-area-inset-right, 0px)); bottom: max(22px, env(safe-area-inset-bottom, 0px)); z-index: 40; opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.action-bar { display: none; }

/* Rechtsseiten / Danke */
.legal-head { position: relative; min-height: 100px; }
.legal-main { background: var(--ink-2); padding-top: 64px; padding-bottom: 120px; }
.legal-main .box { max-width: 780px; }
.legal-main h1 { font-size: var(--t-xl); margin-bottom: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; }
.legal-main h2 { font-size: var(--t-l); margin: 44px 0 12px; }
.legal-main p, .legal-main ul { margin: 0 0 14px; color: #D8D5CE; }
.legal-main .note { background: var(--ink-3); padding: 14px 18px; border-radius: 14px; font-size: var(--t-s); margin-bottom: 30px; }
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.thanks .box { display: grid; gap: 24px; justify-items: center; max-width: 640px; }
.thanks h1 { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; }
.thanks p { color: var(--muted); }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero .rv { opacity: 0; transform: translateY(22px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0ms) + var(--intro, 0ms)); }
  .motion .hero .claim .w { display: inline-block; opacity: 0; transform: translateY(0.35em) rotate(2deg); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0ms) + var(--intro, 0ms)); }
  .motion .rv-s { opacity: 0; transform: translateY(28px); }
  .motion .rv-s.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .motion .steps .sheet { clip-path: inset(0 0 100% 0 round 14px); }
  .motion .steps li.in .sheet { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 800ms var(--ease-in-out); transition-delay: calc(var(--d, 0ms) + 150ms); }
  .motion .contact .big-dot { transform: scale(0.6); transition: transform 1200ms var(--ease-out); }
  .motion .contact.in .big-dot { transform: scale(1); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(6); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .bar ul { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --pad-l: 34px; --pad-r: 18px; --rail: 15px; --t-body: 18px; --t-mega: 17vw; }
  .bar .btn { display: none; }
  .bar .home { font-size: 21px; }
  .hero { padding-top: 92px; min-height: 100svh; }
  .hero .top { grid-template-columns: 1fr; gap: 20px; }
  .hero .side { padding-top: 0; gap: 18px; }
  .hero .actions .btn--wa { display: none; }
  .hero .meta span:last-child { display: none; }
  .services, .tablet, .process, .contact { padding-top: 96px; padding-bottom: 96px; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .tablet .grid, .contact .content { grid-template-columns: 1fr; }
  .phone { width: min(290px, 100%); }
  .steps { grid-template-columns: 1fr; margin-top: 48px; }
  form.ask { grid-template-columns: 1fr; }
  .contact .big-dot { width: 80vw; height: 80vw; right: -30vw; top: -30vw; }
  .wa-float { display: none; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); padding: 8px max(8px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
  .action-bar .btn { min-height: 52px; padding: 0 8px; font-size: var(--t-s); gap: 6px; }
  .action-bar .btn svg { width: 18px; height: 18px; }
}

/* Kontaktbox direkt beim Formular */
.direct { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--ink-3); }
.direct b { font-weight: 600; color: var(--muted); font-size: var(--t-s); width: 100%; }
.direct a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: 18px; }
.direct a svg { width: 20px; height: 20px; color: var(--red); }
.direct a.wa svg { color: #3FB27A; }
@media (hover: hover) and (pointer: fine) { .direct a:hover { color: var(--red); } }
.contact .fine { margin-top: 32px; }

/* Vorhang beim Laden: die Feder zieht eine Linie, dann öffnet sich die Seite */
.curtain { display: none; }
.has-curtain .curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--ink); pointer-events: none; clip-path: inset(0 0 0 0); animation: lift 800ms var(--ease-in-out) 1150ms forwards; }
.curtain .c-in { display: grid; justify-items: center; gap: 22px; width: min(420px, 70vw); }
.curtain svg.c-nib { width: 46px; height: 64px; opacity: 0; animation: rise 500ms var(--ease-out) 80ms forwards; transform: translateY(10px); }
.curtain .c-line { width: 100%; height: 3px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left center; animation: grow 700ms var(--ease-in-out) 350ms forwards; }
.curtain .c-word { font-weight: 600; letter-spacing: 0.02em; font-size: var(--t-s); color: var(--muted); opacity: 0; animation: fade 400ms ease 650ms forwards; }
@keyframes lift { to { clip-path: inset(0 0 100% 0); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
.has-curtain { --intro: 1500ms; }

/* ---------- Arbeiten ---------- */
.work { background: var(--ink); padding-top: 130px; padding-bottom: 120px; position: relative; }
.work .intro, .about .intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; flex-wrap: wrap; }
.work h2 { font-size: var(--t-xl); }
.work .intro p { color: var(--muted); max-width: 34ch; }
.work-grid { margin: 28px calc(-1 * var(--pad-r)) 48px 0; padding: 0 var(--pad-r) 18px 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 440px); gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.work-grid > * { scroll-snap-align: start; }
.work-grid:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.work-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 40px; }
.wbtn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink-3); color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.wbtn svg { width: 22px; height: 22px; }
.wbtn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .wbtn:hover { background: var(--red); color: var(--ink); } }
.work-card { display: grid; gap: 14px; text-decoration: none; }
.work-card img, .work-card .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.work-card .ph { background: var(--wax); display: grid; place-items: center; box-shadow: inset 0 0 0 12px var(--wood); }
.work-card .ph svg { width: 12%; min-width: 34px; }
.work-card h3 { font-size: var(--t-l); }
.work-card.empty h3 { color: var(--muted); font-weight: 500; font-size: 22px; }
.work-card p { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { a.work-card img { transition: transform 500ms var(--ease-out); } a.work-card:hover img { transform: scale(1.02); } }

/* ---------- Über mich ---------- */
.about { background: var(--ink-2); padding-top: 130px; padding-bottom: 130px; position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.portrait { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ink-3); display: grid; place-items: center; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait svg { width: 22%; }
.portrait figcaption { position: absolute; left: 20px; bottom: 16px; font-size: var(--t-s); color: var(--muted); }
.about-text { display: grid; gap: 20px; }
.about-text h2 { font-size: var(--t-s); font-weight: 600; letter-spacing: 0.02em; color: var(--red); }
.about-text .hi { font-size: var(--t-xl); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.about-text p { max-width: 52ch; font-size: 21px; line-height: 1.55; }
.about-text p + p { color: var(--muted); }
.about-text .facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-text .facts li { background: var(--ink-3); border-radius: 999px; padding: 8px 14px; font-size: var(--t-s); font-weight: 500; }
@media (max-width: 860px) {
  .work, .about { padding-top: 96px; padding-bottom: 96px; }
  .work-nav { display: none; }
  .work-grid { margin-top: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
}

/* Großer Haupt-Button im Hero */
.btn--big { min-height: 68px; padding: 0 30px 0 34px; font-size: 21px; gap: 14px; }
.btn--big .arr { width: 24px; height: 24px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn--big:hover .arr { transform: translateX(5px); } }
@media (max-width: 860px) { .btn--big { width: 100%; justify-content: space-between; min-height: 62px; font-size: 19px; } }
/* Logo im Fuß */
.site-footer .wm { max-width: 1100px; }

button[aria-busy="true"] { opacity: .7; cursor: progress; }
