/* Azure Spark · Website v2
   Tokens aus dem Brand Board: Leinen, Sand, Tintenblau, Stein, Azur (Akzent), Teak (Linie, sparsam).
   Fliesstext und Auszeichnung: Univers Next Pro. Titel: Archivo (variabel, lokal gehostet, SIL OFL). Ecken überall 0. */

@font-face { font-family: "Univers Next Pro"; src: local("Univers Next Pro Light"), local("UniversNextPro-Light"), url("../assets/fonts/UniversNextPro-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Univers Next Pro"; src: local("Univers Next Pro"), local("UniversNextPro-Regular"), url("../assets/fonts/UniversNextPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Univers Next Pro"; src: local("Univers Next Pro Medium"), local("UniversNextPro-Medium"), url("../assets/fonts/UniversNextPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Archivo, variabel (Stärke 200–600, Breite 62–125 %). Lokal gehostet, Lizenz: assets/fonts/Archivo-OFL.txt */
@font-face { font-family: "Archivo"; src: url("../assets/fonts/Archivo-latin-ext.woff2") format("woff2"); font-weight: 200 600; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/Archivo-latin.woff2") format("woff2"); font-weight: 200 600; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --leinen: #FBFAF8;   /* Papierweiss (seit 11.10.2026, vorher Leinen #F4F1EB) */
  --sand: #ECE9E3;
  --tinte: #0E1A2B;
  --stein: #B9B4AB;
  --azur: #2E78AE;
  --azur-hell: #5BA3D6; /* Azur auf Tintenblau */
  --teak: #8C6B4A;

  --bg: var(--leinen);
  --bg-2: var(--sand);
  --fg: var(--tinte);
  --fg-2: #5F5A52;
  --line: var(--stein);
  --deep: var(--tinte);        /* dunkle Flächen (Logbuch, Kontakt) */
  --on-deep: var(--leinen);
  --on-deep-2: var(--stein);  /* Nebentext auf Tintenblau (Brand Kit: Stein, ca. 8.5:1) */
  color-scheme: light;

  --font: "Univers Next Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Titelschrift (entschieden): Archivo, leicht gestreckt, Light. */
  --display: "Archivo", "Univers Next Pro", "Helvetica Neue", Arial, sans-serif;
  --display-stretch: 118%;
  --display-weight: 260;
  --display-track: -.025em;
  --gutter: 20px;
  --max: 1320px;
  --sec: 96px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}
/* Dunkelmodus (Brand Kit): Grund Tintenblau, Text Papierweiss, Nebentext Stein.
   --bg-2 = Sand mit 8 % Deckkraft über Tintenblau (deckend gerechnet), --deep einen Hauch tiefer, damit Logbuch, Kontakt und Fuss sich absetzen. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--tinte); --bg-2: #202B3A; --fg: var(--leinen); --fg-2: var(--stein);
    --line: rgba(185,180,171,.25); --deep: #09131F; --on-deep: var(--leinen); --on-deep-2: var(--stein); --azur: var(--azur-hell);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--tinte); --bg-2: #202B3A; --fg: var(--leinen); --fg-2: var(--stein);
  --line: rgba(185,180,171,.25); --deep: #09131F; --on-deep: var(--leinen); --on-deep-2: var(--stein); --azur: var(--azur-hell);
  color-scheme: dark;
}
@media (min-width: 720px)  { :root { --gutter: 40px; --sec: 128px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; --sec: 176px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ol, dl, dd { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { text-wrap: balance; font-weight: var(--display-weight); font-family: var(--display); font-stretch: var(--display-stretch); }
p { text-wrap: pretty; }
::selection { background: var(--azur); color: var(--leinen); }
/* Im Dunkelmodus ist --azur das helle Azur: Tintenblau als Schrift, sonst nur ca. 2.7:1 */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) ::selection { color: var(--tinte); } }
:root[data-theme="dark"] ::selection { color: var(--tinte); }
/* Azur steht an mehreren Stellen (Logo-Linie, Hero-Öffnung, letzter Logbuch-Punkt, Referenz-Ergebnis, Textauswahl):
   Website-Ausnahme von «ein Azur-Element pro Seite», Entscheidung 11.10.2026 */
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--fg); color: var(--bg); padding: 8px 16px; }
.skip:focus { top: 16px; }

/* Schriftstile */
.label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.label--teak { color: var(--teak); }  /* Website-Ausnahme vom Brand Kit (Entscheidung 11.10.2026): Teak als Textfarbe für Logbuch-Zeiten, Ziffern und zwei Beschriftungen */
.caption { font-size: 13px; line-height: 20px; color: var(--fg-2); }
.h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.015em; max-width: 16em; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.teak { display: block; height: 1px; width: 160px; background: var(--teak); }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }

/* ───── Kopfzeile ───── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--leinen); transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: block; color: inherit; padding: 12px 0; }
.brand__mark { display: block; width: 200px; height: auto; }
@media (min-width: 900px) { .brand__mark { width: 248px; } }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__a { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav__a:hover { background-size: 100% 1px; } }
.nav__a:not(.nav__a--cta) { display: none; }
@media (min-width: 900px) { .nav__a:not(.nav__a--cta) { display: inline-flex; } }
.toggle { width: 44px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; display: grid; place-items: center; transition: transform .16s var(--ease); }
.toggle__mark { width: 14px; height: 14px; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform .5s var(--ease-io); }
:root[data-theme="dark"] .toggle__mark { transform: rotate(180deg); }
.toggle:active { transform: scale(.94); }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--fg); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hdr.is-deep { background: color-mix(in srgb, var(--deep) 86%, transparent); box-shadow: 0 1px 0 rgba(251,250,248,.1); color: var(--on-deep); }
/* Trenner der Wortmarke: helles Azur auf dunklem Grund, kräftiges Azur auf Leinen */
.brand__sep { stroke: var(--sep, var(--azur-hell)); }
.hdr.is-solid { --sep: var(--azur); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hdr.is-solid { --sep: var(--azur-hell); } }
:root[data-theme="dark"] .hdr.is-solid { --sep: var(--azur-hell); }

/* ───── 1 · Hero ───── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; color: var(--leinen); background: var(--tinte); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--azur-hell); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.85) brightness(.82) contrast(1.05); transform-origin: 50% 60%; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,26,43,.72) 0%, rgba(14,26,43,.25) 38%, rgba(14,26,43,.1) 60%, rgba(14,26,43,.75) 100%); }
/* Licht, das dem Zeiger folgt, wie eine Taschenlampe über der Landschaft */
.hero__light { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(251,250,248,.16), transparent 62%); mix-blend-mode: soft-light; }
.hero.is-lit .hero__light { opacity: 1; }
.hero__grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__in { align-self: center; padding-top: 120px; padding-bottom: 32px; will-change: transform, opacity; }
.hero__lead { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.35; font-weight: 400; max-width: 20em; color: rgba(251,250,248,.86); }
.claim { margin-top: clamp(20px, 3vw, 36px); font-size: clamp(38px, 7.6vw, 132px); line-height: .98; letter-spacing: var(--display-track); }
.claim__l { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.claim__l--2 { padding-left: .5em; color: var(--stein); }
@media (min-width: 720px) { .claim__l--2 { padding-left: .9em; } }
.claim__w { display: inline-block; }
.hero .teak { margin-top: clamp(28px, 4vw, 48px); width: 200px; }
.hero__foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; display: flex; gap: 12px; }
.meta__v { font-variant-numeric: tabular-nums; opacity: .75; }
.dossier { grid-column: 1 / -1; order: -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.dossier__k { opacity: .6; }
.dossier__p { white-space: nowrap; display: inline-flex; gap: 10px; align-items: baseline; }
@media (max-width: 480px) { .dossier { font-size: 11px; letter-spacing: .14em; } }
@media (min-width: 900px) { .hero__foot { grid-template-columns: 1fr auto 1fr; } .dossier { grid-column: auto; order: 0; } .scroll { justify-self: end; } }
.scroll { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.scroll__line { width: 1px; height: 40px; background: currentColor; transform-origin: top; }

/* Schwärzung: Balken liegt über dem Wort, Breite folgt --p (0 … 1), gesetzt per Scroll */
.redact { position: relative; display: inline-block; vertical-align: baseline; --p: 1; --bar: var(--on-deep); }
.redact__x { color: inherit; user-select: none; -webkit-user-select: none; }
.redact::after { content: ""; position: absolute; left: -.12em; right: -.12em; top: .12em; bottom: .02em; background: var(--bar);
  transform: scaleX(var(--p)); transform-origin: left center; }
.js .redact { --p: 0; }
.redact--hero { --bar: var(--leinen); }
.redact--hero::after { transition: transform 1.1s var(--ease-io); }
.redact--hero .redact__x { color: rgba(251,250,248,.8); }
.redact--light { --bar: var(--leinen); }

/* ───── 2 · Positionierung ───── */
.intro { padding: var(--sec) 0; }
.intro__in { display: grid; gap: 28px; }
@media (min-width: 1000px) { .intro__in { grid-template-columns: 3fr 9fr; } .intro__k { padding-top: 14px; } }
.intro__t { font-family: var(--display); font-stretch: var(--display-stretch); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.012em; font-weight: 300; max-width: 22em; }
.intro__t .w { transition: opacity .5s ease; }

/* ───── 3 · Leistungen ───── */
.svc { padding: 0 0 var(--sec); }
.svc__grid { display: grid; gap: 48px; }
.svc__list { border-top: 1px solid var(--line); }
.svc__item { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.svc__n { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--fg-2); padding-top: 14px; font-variant-numeric: tabular-nums; }
.svc__name { font-size: clamp(38px, 5.2vw, 76px); line-height: 1; letter-spacing: -.03em; transition: color .3s ease, transform .5s var(--ease); }
.svc__d { margin-top: 16px; color: var(--fg-2); max-width: 30em; }
.svc__m { grid-column: 1 / -1; margin-top: 24px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.svc__m img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.svc__stage { display: none; }
@media (min-width: 1000px) {
  .svc__grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
  .svc__m { display: none; }
  .svc__item { cursor: default; padding: 40px 0; }
  .svc__d { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s ease, margin .6s var(--ease); margin-top: 0; }
  .svc__item.is-active .svc__d { max-height: 8em; opacity: 1; margin-top: 16px; }
  .svc__item:not(.is-active) .svc__name { color: var(--fg-2); }
  .svc__item.is-active .svc__name { transform: translateX(12px); }
  .svc__stage { display: block; position: sticky; top: 110px; }
  .svc__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
  .svc__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82);
    clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path .9s var(--ease-io), transform 1.4s var(--ease); }
  .svc__pic.is-on { clip-path: inset(0); transform: none; z-index: 1; }
  .svc__pic.is-leaving { clip-path: inset(0); z-index: 0; }
  .svc__cap { display: block; margin-top: 14px; font-variant-numeric: tabular-nums; }
}

/* ───── 4 · Logbuch ───── */
.log { background: var(--deep); color: var(--on-deep); padding: var(--sec) 0; }
.log__grid { display: grid; gap: 56px; }
.log__head { display: grid; gap: 20px; align-content: start; }
.log__note { color: var(--on-deep-2); max-width: 22em; }
.log__fig { margin-top: 24px; aspect-ratio: 4 / 5; overflow: hidden; max-width: 420px; background: #14202f; }
.log__fig img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
@media (min-width: 1000px) {
  .log__grid { grid-template-columns: 5fr 7fr; gap: 96px; }
  .log__head { position: sticky; top: 120px; }
}
.log__list { position: relative; border-left: 1px solid rgba(251,250,248,.18); }
.entry { position: relative; display: grid; gap: 8px; padding: 0 0 56px 32px; }
.entry::before { content: ""; position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; background: var(--on-deep-2); }
.entry--last { padding-bottom: 0; }
.entry--last::before { background: var(--azur-hell); }
@media (min-width: 720px) { .entry { grid-template-columns: 120px 1fr; gap: 24px; padding-left: 40px; } }
.entry__t { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--teak); font-variant-numeric: tabular-nums; padding-top: 6px; white-space: nowrap; }
.entry__x { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 300; color: var(--on-deep-2); max-width: 26em; }
.entry__x strong { font-weight: 300; color: var(--on-deep); }

/* ───── 4b · Referenzen (Diskretion) ───── */
.disc { padding: var(--sec) 0; }
.disc__list { border-top: 1px solid var(--line); }
.disc__r { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.disc__r dt { color: var(--fg-2); }
.disc__r dd { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(30px, 4.6vw, 68px); line-height: 1.05; letter-spacing: var(--display-track); }
.redact--big { --bar: var(--fg); }
.disc__ok { color: var(--azur); }
@media (min-width: 900px) { .disc__r { grid-template-columns: 3fr 9fr; } }

/* ───── 5 · Haltung ───── */
.vals { display: grid; }
.val { position: relative; display: grid; min-height: 80svh; color: var(--leinen); isolation: isolate; overflow: hidden; }
.val__m { position: absolute; inset: 0; z-index: -1; background: var(--tinte); }
.val__m img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.86); transform: scale(1.08); will-change: transform; }
.val__m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,26,43,.78) 0%, rgba(14,26,43,.1) 55%); }
.val__c { align-self: end; padding: 120px var(--gutter) clamp(40px, 6vw, 72px); display: grid; gap: 16px; }
.val__h { font-size: clamp(56px, 8vw, 128px); line-height: .95; letter-spacing: -.035em; }
.val__t { max-width: 22em; font-size: 18px; color: rgba(251,250,248,.85); }
@media (min-width: 900px) { .vals { grid-template-columns: 1fr 1fr; } .val { min-height: 100svh; } .val--b .val__c { padding-top: 220px; } }

/* ───── 6 · Zusammenarbeit ───── */
.work { padding: var(--sec) 0; }
.steps { display: grid; gap: 40px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.step { border-top: 1px solid var(--fg); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.step__n { font-size: 13px; letter-spacing: .2em; color: var(--teak); font-weight: 500; }
.step__h { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.015em; }
.step p { color: var(--fg-2); max-width: 22em; }
.terms { margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.terms__r { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.terms__r dt { color: var(--fg-2); padding-top: 5px; }
@media (min-width: 900px) { .terms__r { grid-template-columns: 3fr 9fr; } }

/* ───── 7 · Weitere Anliegen ───── */
.more { position: relative; min-height: 88svh; display: grid; align-items: end; color: var(--leinen); isolation: isolate; overflow: hidden; }
.more__media { position: absolute; inset: 0; z-index: -1; background: var(--tinte); }
.more__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.82); }
.more__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,26,43,.7) 0%, rgba(14,26,43,0) 60%); }
.more__in { padding-top: 160px; padding-bottom: clamp(48px, 8vw, 112px); }
.more__t { font-family: var(--display); font-stretch: var(--display-stretch); font-size: clamp(36px, 6.4vw, 104px); line-height: 1; letter-spacing: -.03em; font-weight: 300; max-width: 12em; }

/* ───── 8 · Kontakt ───── */
.contact { background: var(--deep); color: var(--on-deep); padding: var(--sec) 0 clamp(56px, 7vw, 96px); }
.contact__phone { font-family: var(--display); font-stretch: var(--display-stretch); margin-top: 28px; font-size: clamp(40px, 9.6vw, 156px); line-height: 1; letter-spacing: -.035em; font-weight: 300; white-space: nowrap; }
.contact__phone a { text-decoration: none; display: inline-block; transition: color .3s ease; }
@media (hover: hover) and (pointer: fine) { .contact__phone a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; } }
.contact .teak { margin: clamp(32px, 4vw, 56px) 0; }
.contact__row { display: grid; gap: 24px; }
.contact__role, .contact__place { color: var(--on-deep-2); }
@media (min-width: 900px) { .contact__row { grid-template-columns: 1fr 1fr 1fr; align-items: end; } .contact__place { text-align: right; } }

.ftr { background: var(--deep); color: var(--on-deep); border-top: 1px solid rgba(251,250,248,.12); padding: 22px 0 max(22px, env(safe-area-inset-bottom)); }
.ftr .caption { color: var(--on-deep-2); }
.ftr a { text-decoration: none; }
.ftr__in { display: grid; gap: 6px; }
@media (min-width: 900px) { .ftr__in { grid-template-columns: 1fr auto 1fr; } .ftr__in p:last-child { text-align: right; } }

/* ───── Bewegung ─────
   Einstieg: Bild setzt sich, Claim steigt zeilenweise auf, Teaklinie zieht sich.
   Scroll: Text hebt sich, Bilder öffnen sich von unten. Ohne JS oder bei reduzierter Bewegung bleibt alles sichtbar. */
@keyframes aperture-quick { from { clip-path: inset(30% 30%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@keyframes aperture { 0% { clip-path: inset(calc(50% - 22px) calc(50% - 1px)); } 22% { clip-path: inset(calc(50% - 22px) calc(50% - 1px)); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes settle2 { from { transform: scale(1.35); } to { transform: scale(1.04); } }
@keyframes drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.2%, -.8%, 0); } }
@keyframes unblur { from { opacity: 0; filter: blur(14px); transform: translateY(40%); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes grain { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } }

@media (prefers-reduced-motion: no-preference) {
  /* Ouvertüre: Die Azur-Linie der Wortmarke öffnet sich zum Bild (beim ersten Besuch pro Sitzung; danach kürzer) */
  .hero__media { animation: aperture 1.9s var(--ease-io) both; }
  .hero__img { animation: settle2 3.2s var(--ease) .3s both, drift 28s ease-in-out 3.5s infinite alternate; }
  .hero__lead { animation: fade 1.2s ease 1.5s both; }
  .claim__w { animation: unblur 1.4s var(--ease) both; animation-delay: calc(1.7s + var(--i, 0) * 110ms); }
  .teak--draw { transform-origin: left; animation: draw 1.6s var(--ease) 2.3s both; }
  .hero__foot { animation: fade 1.2s ease 2.4s both; }
  .hdr { animation: fade 1s ease 2s both; }
  .hero__grain { animation: grain 1.2s steps(4) infinite; }
  .scroll__line { animation: drip 2.4s var(--ease-io) 3.4s infinite; }
  :root.seen .hero__media { animation-duration: .9s; animation-name: aperture-quick; }
  :root.seen .hero__lead, :root.seen .hdr, :root.seen .hero__foot { animation-delay: .4s; }
  :root.seen .claim__w { animation-delay: calc(.5s + var(--i, 0) * 90ms); }
  :root.seen .teak--draw { animation-delay: .9s; }
  .js [data-reveal="text"] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal="image"] { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); }
  .js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0); }
}
@media (prefers-reduced-motion: reduce) {
  .svc__pic { transition: opacity .3s ease; clip-path: none !important; transform: none !important; opacity: 0; }
  .svc__pic.is-on { opacity: 1; }
  .val__m img { transform: none; }
  .js .redact { --p: 1; }
}


/* Rechtsseiten (Impressum, Datenschutz) */
.legal { max-width: 52rem; margin-inline: auto; padding-block: 150px 96px; }
.legal h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: var(--display-track); margin-bottom: 48px; }
.legal h2 { font-family: var(--font); font-stretch: 100%; font-weight: 500; font-size: 13px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase; margin: 44px 0 12px; }
.legal p { max-width: 62ch; color: var(--fg); }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; }

/* Tippflächen: Fusslinks und Kontakt-Link auf Touch-Geräten mind. 44 px */
@media (pointer: coarse) {
  .ftr a { display: inline-block; padding: 14px 6px; margin: -14px -6px; }
  .contact .link { display: inline-block; padding: 12px 0; }
}

/* Rechtsseiten: Kopfzeile sofort sichtbar (die Verzögerung gehört zum Hero der Startseite) */
.legal-page .hdr { animation: none; }

/* Versatz ohne Inline-Styles (CSP: style-src ohne 'unsafe-inline') */
.claim__w--0 { --i: 0; } .claim__w--1 { --i: 1; } .claim__w--2 { --i: 2; }
.d-80 { --d: 80ms; } .d-160 { --d: 160ms; }
