/* Alpha Consult – Theme "Hell". All colours through tokens; no inline styles in templates. */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-variable-latin-ext.woff2') format('woff2');
  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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-variable-latin.woff2') format('woff2');
  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 {
  --c-night: #0A1630;
  --c-teal: #008585;
  --c-teal-ink: #006B6B;
  --c-teal-bright: #1FA3A0;
  --c-teal-hover: #7FD1CF;
  --c-ice: #F2F6F8;
  --c-bg: #F7FAFB;
  --c-white: #FFFFFF;
  --c-text-2: #2A3650;
  --c-muted: #46536A;
  --c-muted-dark: #C4CDD9;
  --c-body-dark: #D3DBE5;
  --c-quote-intro: #DCE4EC;
  --c-hairline: #C9D3DD;
  --c-chip: #A9B5C2;
  --c-inset: #D3E3E6;
  --c-inset-tint: #C9DFE2;
  --c-portrait-bg: #DCE3EA;
  --c-line-dark: rgba(10, 22, 48, 0.35);
  --c-line-dark-soft: rgba(10, 22, 48, 0.12);
  --c-line-light: rgba(242, 246, 248, 0.45);
  --c-line-footer: rgba(242, 246, 248, 0.14);

  --g-brand: linear-gradient(120deg, #0A1630 0%, #0A3A4A 50%, #006B6B 100%);
  --g-card: linear-gradient(120deg, #0A1630 0%, #0A3A4A 45%, #006B6B 100%);
  --g-line: linear-gradient(90deg, #0A1630, #008585);
  --g-text: linear-gradient(100deg, #0A1630 0%, #007A7A 100%);
  --g-button: linear-gradient(100deg, #0A1630 0%, #006B6B 50%, #0A1630 100%);
  --g-hero: radial-gradient(70% 90% at 92% 8%, #CBEAE9 0%, rgba(203, 234, 233, 0) 65%),
            radial-gradient(60% 70% at 0% 100%, #DCE4F2 0%, rgba(220, 228, 242, 0) 70%);
  --g-tint: linear-gradient(135deg, #F4FAFA 0%, #DCEFEF 50%, #C6E5E5 100%);
  --g-panel: linear-gradient(135deg, #F4FAFA 0%, #DCEFEF 100%);
  --g-section: linear-gradient(160deg, #F7FAFB 0%, #E4F2F2 60%, #D6EBEB 100%);
  --g-werdegang: linear-gradient(180deg, #FFFFFF 0%, #F2F8F8 100%);
  --g-contact: linear-gradient(115deg, #006B6B 0%, #0A3A4A 45%, #0A1630 80%);
  --g-plate: linear-gradient(135deg, #008585 0%, #0A1630 100%);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-colors: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  --t-gradient: var(--t-colors), background-position .6s var(--ease);

  --container: 1320px;
  --pad-inline: clamp(20px, 4vw, 48px);
  --pad-section: clamp(72px, 10vw, 140px);
  --gap-cols: clamp(40px, 6vw, 96px);
  --radius: 20px;
  --radius-portrait: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-night);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-teal-ink); text-decoration: none; transition: var(--t-colors); }
a:hover { color: var(--c-night); }
::selection { background: var(--c-teal-ink); color: var(--c-ice); }
:focus-visible { outline: 3px solid var(--c-ice); outline-offset: 2px; box-shadow: 0 0 0 6px var(--c-night); border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
/* Long German compounds ("unternehmerischer") must not overflow small screens (WCAG 1.4.10). */
@media (max-width: 559.98px) {
  h1, h2, h3, .contact__title, .quote__text { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}

.icon { width: 1.1em; height: 1.1em; flex: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  background: var(--c-ice); color: var(--c-night);
  padding: 12px 20px; border-radius: 6px; font-weight: 700; font-size: 16px;
}
.skip-link:focus { top: 12px; color: var(--c-night); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-inline); }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }

.grad-text {
  background-image: var(--g-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--c-night);
}
@media (forced-colors: active) {
  .grad-text { -webkit-text-fill-color: currentColor; background: none; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background-color: var(--c-night); background-image: var(--g-button);
  background-size: 200% 100%; background-position: 0% 50%;
  color: var(--c-ice); padding: 17px 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; line-height: 1.3;
  transition: var(--t-gradient);
}
.btn:hover { background-position: 100% 50%; color: var(--c-ice); }
.btn--start { align-self: flex-start; margin-top: 8px; }
.btn--block { display: flex; justify-content: space-between; padding: 20px 26px; font-weight: 700; font-size: 19px; }

.pill {
  display: inline-flex; align-items: center;
  background-color: var(--c-night); background-image: var(--g-button);
  background-size: 200% 100%; background-position: 0% 50%;
  color: var(--c-ice); padding: 12px 22px; border-radius: 999px; font-weight: 600;
  transition: var(--t-gradient);
}
.pill:hover { background-position: 100% 50%; color: var(--c-ice); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-night); font-weight: 600; font-size: 15px;
  border: 1px solid var(--c-line-dark); border-radius: 999px; padding: 11px 20px;
}
.btn-outline:hover { background: var(--c-night); color: var(--c-ice); }

.text-link {
  color: var(--c-night); font-weight: 600; font-size: 17px;
  border-bottom: 2px solid var(--c-teal); padding: 6px 0;
}
.text-link:hover { color: var(--c-teal-ink); border-bottom-color: var(--c-night); }

/* ---------- Type helpers ---------- */
.eyebrow, .label, .section-label__text {
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); line-height: 1.4;
}
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.eyebrow__line { width: 36px; height: 2px; flex: none; background-image: var(--g-line); transform-origin: left; }
.label { margin-bottom: 28px; }
.label--panel { margin-bottom: 18px; }

.section-label { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.section-label__n { font-weight: 800; font-size: 22px; color: var(--c-teal-ink); }
.section-label__line { width: 48px; height: 2px; background-image: var(--g-line); }

.h-lead { margin-bottom: 28px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; text-wrap: pretty; }
.h2-m { font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.h2-m--narrow { max-width: 16ch; }
.h2-l {
  margin-bottom: clamp(48px, 6vw, 88px);
  font-weight: 800; font-size: clamp(40px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.035em;
  max-width: 15ch; text-wrap: balance;
}
.h2-l--wide { max-width: 17ch; }

.body-copy { font-size: 19px; line-height: 1.65; color: var(--c-text-2); }
.body-copy p { text-wrap: pretty; }
.profil__text .body-copy { line-height: 1.6; }
.profil__text .body-copy p + p { margin-top: 20px; }
.lead { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.45; font-weight: 600; color: var(--c-night); }
.lead--werdegang { font-size: clamp(22px, 2vw, 27px); }

.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--20 { gap: 20px; }

/* ---------- Header ---------- */
.site-header {
  background-color: var(--c-white);
  background-image: var(--g-line); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%;
}
.site-header--sticky {
  position: sticky; top: 0; z-index: 20;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header--clear { position: relative; background: none; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.site-header--simple .site-header__bar { padding-block: 22px; gap: 24px; }
.site-header--clear .site-header__bar { padding-block: 28px; }
.site-logo { display: flex; align-items: center; padding: 4px 0; }
.site-logo img { height: 30px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; flex-wrap: wrap; }
.main-nav__link { color: var(--c-night); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav__link:hover { color: var(--c-teal-ink); border-bottom-color: var(--c-teal-ink); }

.mobile-bar { display: none; align-items: center; gap: 10px; }
.pill--mobile { padding: 12px 18px; font-size: 15px; min-height: 44px; }
.menu-btn {
  display: flex; justify-content: center; align-items: center;
  width: 48px; height: 48px; padding: 0; color: var(--c-night);
  background: transparent; border: 1px solid var(--c-line-dark); border-radius: 50%; cursor: pointer;
  font-size: 22px;
}
.menu-btn[hidden] { display: none; }
.menu-btn .menu-btn__close, .menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

.mobile-menu {
  height: calc(100dvh - 81px); overflow-y: auto;
  padding: 8px var(--pad-inline) 32px;
  display: flex; flex-direction: column;
  animation: acMenu .35s var(--ease-out) both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { border-top: 1px solid var(--c-line-dark-soft); }
.mobile-menu__list li { border-bottom: 1px solid var(--c-line-dark-soft); animation: acFade .45s var(--ease-out) both; }
.mobile-menu__list li:nth-child(1) { animation-delay: .05s; }
.mobile-menu__list li:nth-child(2) { animation-delay: .1s; }
.mobile-menu__list li:nth-child(3) { animation-delay: .15s; }
.mobile-menu__list li:nth-child(4) { animation-delay: .2s; }
.mobile-menu__list li:nth-child(n+5) { animation-delay: .25s; }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; color: var(--c-night); }
.mobile-menu__n { font-size: 14px; font-weight: 700; color: var(--c-muted); min-width: 24px; }
.mobile-menu__label { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; flex: 1; line-height: 1.2; }
.mobile-menu__arrow { font-size: 22px; color: var(--c-teal-ink); align-self: center; }
.mobile-menu__foot { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 14px; animation: acFade .5s .25s var(--ease-out) both; }
.mobile-menu__mail { color: var(--c-night); font-size: 17px; font-weight: 500; padding: 8px 4px; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 959.98px) {
  .js .main-nav { display: none; }
  .js .mobile-bar { display: flex; }
  /* Without JS the links wrap under the logo. */
  html:not(.js) .site-header__bar { flex-wrap: wrap; }
  html:not(.js) .main-nav ul { gap: 8px 24px; }
}
@media (min-width: 960px) {
  .mobile-menu { display: none !important; }
}
.menu-open body { overflow: hidden; }

/* ---------- Watermarks ---------- */
.watermark { position: absolute; pointer-events: none; height: auto; }
.watermark--hero { right: -8vw; bottom: -14vw; width: 62vw; max-width: 980px; opacity: 0.07; animation: acFloat 18s ease-in-out infinite alternate; will-change: transform; }
.watermark--soon { right: -10vw; bottom: -16vw; width: 70vw; max-width: 1100px; opacity: 0.07; animation: acFloat 18s ease-in-out infinite alternate; }
.watermark--contact { right: -10vw; top: 50%; transform: translateY(-50%); width: min(78vw, 1000px); opacity: 0.09; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background-color: var(--c-bg); background-image: var(--g-hero); color: var(--c-night); }
.hero__inner { position: relative; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(64px, 8vw, 110px); }
.hero__title { font-weight: 800; font-size: clamp(46px, 8.4vw, 128px); line-height: 0.96; letter-spacing: -0.035em; max-width: 13ch; text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--pad-section); }
.section--white { background: var(--c-white); }
.section--werdegang { background-color: var(--c-bg); background-image: var(--g-werdegang); }
.section--tint { background-color: #EEF6F6; background-image: var(--g-section); color: var(--c-night); }

.grid-2 { display: grid; gap: var(--gap-cols); align-items: start; }
.grid-2--380 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-2--400 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }

/* Profil */
.profil { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--gap-cols); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: clamp(220px, 62vw, 520px); width: 100%; }
.portrait__plate { position: absolute; inset: 0; transform: translate(clamp(10px, 1.4vw, 20px), clamp(10px, 1.4vw, 20px)); border-radius: var(--radius-portrait); background-image: var(--g-plate); }
.portrait__frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-portrait); background: var(--c-portrait-bg); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__tag { position: absolute; left: 0; bottom: 0; background-color: var(--c-night); background-image: var(--g-brand); color: var(--c-ice); padding: 22px 26px; border-radius: 0 var(--radius-portrait) 0 var(--radius-portrait); }
.portrait__name { display: block; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; line-height: 1.3; }
.portrait__role { display: block; font-size: 15px; color: var(--c-muted-dark); margin-top: 4px; line-height: 1.4; }
@media (max-width: 959.98px) {
  .portrait { order: 2; }
}

/* Werdegang */
@media (min-width: 960px) {
  .werdegang__aside { position: sticky; top: 120px; }
}
.stat {
  display: flex; align-items: last baseline; gap: 16px;
  margin-top: 48px; padding-top: 28px;
  border-top: 2px solid var(--c-night); border-image: var(--g-line) 1;
}
.stat__value { font-weight: 800; font-size: clamp(72px, 8vw, 120px); line-height: 0.9; letter-spacing: -0.04em; padding-right: 4px; }
.stat__label { font-size: 17px; line-height: 1.3; font-weight: 500; max-width: 16ch; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.chips li { border: 1px solid var(--c-chip); border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 600; color: var(--c-night); background: var(--c-white); line-height: 1.3; }

.quote {
  margin-top: clamp(72px, 9vw, 128px); padding: clamp(36px, 5vw, 72px);
  background-color: var(--c-night); background-image: var(--g-brand); color: var(--c-ice);
  border-radius: var(--radius);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start;
}
.quote__icon { width: clamp(56px, 7vw, 96px); height: auto; margin-top: 8px; }
.quote__intro { margin-bottom: 20px; font-size: 18px; line-height: 1.6; color: var(--c-quote-intro); max-width: 60ch; }
.quote__text { font-weight: 700; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }

/* Schwerpunkte */
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head__intro { font-size: 19px; line-height: 1.6; color: var(--c-text-2); max-width: 36ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 5vw, 72px);
  min-height: clamp(240px, 30vw, 420px); padding: clamp(24px, 3.5vw, 48px);
  border-radius: var(--radius); transition: var(--t-gradient);
}
.card--dark { background-color: var(--c-night); background-image: var(--g-card); background-size: 200% 100%; background-position: 0% 50%; color: var(--c-ice); }
.card--dark:hover { background-position: 100% 50%; color: var(--c-ice); }
.card--light { background-color: #E3F2F2; background-image: var(--g-tint); background-size: 200% 200%; background-position: 0% 0%; color: var(--c-night); box-shadow: inset 0 0 0 1px var(--c-inset-tint); }
.card--light:hover { background-position: 100% 100%; color: var(--c-night); }
.card__top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.card__n { font-weight: 800; font-size: clamp(44px, 6vw, 72px); line-height: 0.85; letter-spacing: -0.04em; }
.card--dark .card__n { color: var(--c-teal-bright); }
.card--light .card__n { background-image: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--c-night); }
.card__arrow { width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px); flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; border: 1px solid var(--c-line-light); }
.card--light .card__arrow { border-color: var(--c-line-dark); }
.card__kicker { font-size: 15px; font-weight: 600; margin-bottom: 14px; line-height: 1.4; }
.card--dark .card__kicker { color: var(--c-muted-dark); }
.card--light .card__kicker { color: var(--c-text-2); }
.card__title { font-weight: 800; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
@media (forced-colors: active) {
  .card--light .card__n { -webkit-text-fill-color: currentColor; background: none; }
}

/* Panels */
.panel { border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.panel--white { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-inset); }
.panel--tint { background-color: #EEF6F6; background-image: var(--g-panel); margin-top: 12px; }
.panel__text { font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.015em; text-wrap: pretty; color: var(--c-night); }

/* Topics */
.topics { border-top: 2px solid var(--c-night); border-image: var(--g-line) 1; }
.topics li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--c-hairline); }
.topics__n { font-weight: 800; font-size: 15px; color: var(--c-muted); }
.topics__label { font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -0.01em; }

/* Kontakt */
.contact { position: relative; overflow: hidden; background: var(--c-teal-ink); background-image: var(--g-contact); color: var(--c-ice); }
.contact__inner { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.contact__title { font-weight: 800; font-size: clamp(44px, 6.6vw, 104px); line-height: 0.96; letter-spacing: -0.035em; max-width: 13ch; text-wrap: balance; }
.contact__text { margin-top: clamp(28px, 3vw, 40px); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.contact__mail {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: clamp(40px, 5vw, 56px); color: var(--c-ice);
  font-weight: 800; font-size: clamp(26px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.1;
  border-bottom: 3px solid var(--c-ice); padding-bottom: 10px; max-width: 100%; overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--c-teal-hover); border-bottom-color: var(--c-teal-hover); }
.contact__sig { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid rgba(242, 246, 248, 0.5); display: flex; flex-direction: column; gap: 4px; font-size: 17px; line-height: 1.5; }
.contact__sig-name { font-weight: 800; font-size: 22px; }

/* ---------- Subpages ---------- */
.page-hero { background-color: var(--c-bg); background-image: var(--g-hero); color: var(--c-night); }
.page-hero__inner { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero__title { font-weight: 800; font-size: clamp(48px, 7vw, 104px); line-height: 0.96; letter-spacing: -0.035em; text-wrap: balance; }
.tpl-legal .page > main { background: var(--c-white); }

.legal { padding-block: clamp(56px, 7vw, 96px); }
.legal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px var(--gap-cols); font-size: 18px; line-height: 1.6; }
.legal__cell h2 { margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.legal__cell p + p { margin-top: 6px; }
.legal__cell p > strong:first-child { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.legal__more {
  margin-top: clamp(56px, 7vw, 96px); padding-top: 40px;
  border-top: 2px solid var(--c-night); border-image: var(--g-line) 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px var(--gap-cols);
  font-size: 17px; line-height: 1.65; color: var(--c-text-2);
}
.legal__more h3 { margin-bottom: 12px; font-size: 20px; font-weight: 700; color: var(--c-night); }
.legal__more p { text-wrap: pretty; }
.legal__more p + p { margin-top: 12px; }
.legal a, .prose a { text-decoration: underline; text-underline-offset: 3px; }

.prose { padding-block: clamp(56px, 7vw, 96px); max-width: calc(76ch + 2 * var(--pad-inline)); margin-inline: 0; font-size: 18px; line-height: 1.6; color: var(--c-text-2); }
.prose h2 { margin: 1.6em 0 .5em; font-size: 28px; line-height: 1.2; color: var(--c-night); }
.prose h3 { margin: 1.4em 0 .4em; font-size: 20px; color: var(--c-night); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul { list-style: disc; padding-left: 1.2em; }

/* Coming soon / error */
.page--soon { position: relative; overflow: hidden; background-color: var(--c-bg); background-image: var(--g-hero); }
.soon { position: relative; display: flex; flex-direction: column; justify-content: center; }
.soon__inner { width: 100%; padding-block: clamp(48px, 8vw, 120px); }
.soon__title { font-weight: 800; font-size: clamp(48px, 8vw, 124px); line-height: 0.96; letter-spacing: -0.035em; max-width: 12ch; text-wrap: balance; }
.soon__text { margin-top: clamp(28px, 3vw, 40px); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--c-text-2); max-width: 44ch; text-wrap: pretty; }
.soon__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.soon .btn { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--c-night); color: var(--c-muted-dark); }
.site-footer > .container { padding-top: 64px; padding-bottom: 32px; }
.page--soon .site-footer > .container { padding-top: 56px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 40px 64px; padding-bottom: 40px; border-bottom: 1px solid var(--c-line-footer); }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.site-footer__logo { display: block; }
.site-footer__logo img { height: clamp(40px, 4vw, 52px); width: auto; }
.site-footer__brand p { font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.site-footer__links { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.site-footer__links a { display: inline-block; padding: 6px 0; color: var(--c-ice); }
.site-footer__links a:hover { color: var(--c-teal-hover); }
.site-footer__bottom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 28px; font-size: 14px; line-height: 1.6; }
.site-footer__bottom a { color: var(--c-ice); padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: var(--c-teal-hover); }

/* ---------- Motion ---------- */
@keyframes acReveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes acRise { from { transform: translateY(32px); } to { transform: none; } }
@keyframes acFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes acLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes acFloat { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-2vw, -1.5vw, 0) rotate(-4deg); } }
@keyframes acZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes acMenu { from { opacity: 0; } to { opacity: 1; transform: none; } }

.eyebrow--animate { animation: acFade .7s .1s var(--ease-out) both; }
.eyebrow--animate .eyebrow__line { animation: acLine .8s .3s var(--ease-out) both; }
/* H1 animates transform only, so it never starts invisible and stays the LCP element. */
.rise { animation: acRise 1s var(--ease-out) both; }
.fade-up { animation: acFade .8s var(--ease-out) both; }
.fade-up--2 { animation-delay: .35s; }
.fade-up--3 { animation-delay: .45s; }
.page--soon .fade-up--3 { animation-delay: .5s; }

@supports (animation-timeline: view()) {
  .reveal { animation: acReveal linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  .portrait.reveal, .profil__text.reveal, .quote.reveal { animation-range: entry 0% cover 30%; }
  .contact .reveal { animation-range: entry 0% cover 30%; }
  .topics li.reveal { animation-range: entry 0% cover 20%; }
  .portrait__frame img { animation: acZoom linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
