/* --------------------------------------------------------------------------
   0. Schriften — lokal eingebunden, keine Verbindung zu Google
      Archivo und Space Mono stehen unter der SIL Open Font License 1.1.
      unicode-range bleibt erhalten: der Browser laedt nur das Subset,
      das auf der Seite tatsaechlich vorkommt.
   -------------------------------------------------------------------------- */
/* Archivo — 100 900 latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url(../fonts/archivo-100-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo — 100 900 latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url(../fonts/archivo-100-900-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;
}

/* Space Mono — 400 latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/space-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Mono — 400 latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/space-mono-400-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;
}

/* ==========================================================================
   TCF Creative Solutions — Design System
   Dark editorial: deep near-black, steel blue, hairline rules,
   restrained type weights, slow considered motion.
   No frameworks, no runtime dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — deep night blue, three levels of elevation */
  --void:      #0b0e14;          /* Nachtblau statt reinem Schwarz */
  --surface:   #10141b;
  --surface-2: #161b24;
  --surface-3: #1d232e;

  /* Ink on dark — contrast ratios verified against --void */
  --bone:      #ece9e3;          /* 16.2:1 */
  --bone-dim:  #a8a49c;          /*  8.0:1 */
  --muted:     #7d7a73;          /*  4.6:1 — AA for body copy */

  /* Accent — steel blue (matched to the founder's portrait) */
  --steel:        #8fa9c9;        /*  8.4:1 on --void */
  --steel-bright: #b8cade;
  --steel-deep:   #5d7899;

  /* Hairlines — elegance lives here. Never heavier than 1px. */
  --hair:        rgba(236, 233, 227, 0.09);
  --hair-2:      rgba(236, 233, 227, 0.16);
  --hair-steel:   rgba(143, 169, 201, 0.32);

  /* Typography */
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:    'Space Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --t-hero:  clamp(2.5rem, 7.8vw, 7.75rem);
  --t-h1:    clamp(2rem, 5.2vw, 4.75rem);
  --t-h2:    clamp(1.625rem, 3.4vw, 3rem);
  --t-h3:    clamp(1.1875rem, 1.8vw, 1.625rem);
  --t-lead:  clamp(1.0625rem, 1.45vw, 1.375rem);
  --t-body:  clamp(1rem, 1.05vw, 1.0625rem);
  --t-small: 0.9375rem;
  --t-label: 0.6875rem;

  /* Spacing — 8px rhythm, generous by default */
  --s-1: 8px;   --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 48px;  --s-6: 72px;  --s-7: 104px; --s-8: 144px;
  --section:  clamp(88px, 11vw, 184px);
  --gutter:   clamp(20px, 4.6vw, 76px);
  --grid-gap: clamp(16px, 1.9vw, 32px);
  --maxw:     1560px;

  /* Motion — slower and softer than the default web tempo */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --d-fast:   200ms;
  --d-base:   340ms;
  --d-slow:   580ms;
  --d-reveal: 1000ms;

  /* Layering */
  --z-base: 1; --z-sticky: 20; --z-nav: 40; --z-overlay: 90; --z-modal: 100;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--void);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-variation-settings: 'wdth' 100, 'wght' 380;
  line-height: 1.65;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Sanft driftende Lichtebene — gibt der dunklen Flaeche Leben, ohne laut zu
   werden: zwei stahlblaue Schleier und ein Hauch Petrol, 90-Sekunden-Drift
   nur ueber transform. Unter dem Korn, ueber dem Grundton. */
body::after {
  content: '';
  position: fixed;
  inset: -35%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 34% at 24% 22%, rgba(143, 169, 201, 0.07) 0%, transparent 70%),
    radial-gradient(38% 30% at 78% 68%, rgba(143, 169, 201, 0.05) 0%, transparent 70%),
    radial-gradient(30% 26% at 60% 18%, rgba(96, 148, 144, 0.05) 0%, transparent 70%);
  animation: haze-drift 90s var(--ease-soft) infinite alternate;
}
@keyframes haze-drift {
  0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  50%  { transform: translate3d(1.5%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.02); }
}

/* Fine film grain — one 140px tile, painted once, gives the depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.028em;
  text-wrap: balance;
  /* German compounds ("Kommunikationsdesign", "Orientierungssysteme") are long
     enough to overrun a narrow grid column. Relies on <html lang="de">. */
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Display type is hand-set — break it with &shy; where needed, not automatically */
.hero__title, .footer__cta, .display, .menu__link { -webkit-hyphens: manual; hyphens: manual; }

/* Komposita mit Bindestrich (z. B. Online-Marketing-Kampagnen) brechen nur an
   ihren eigenen Bindestrichen — nie zusaetzlich mitten im Wort. */
.break-at-hyphens { -webkit-hyphens: manual; hyphens: manual; }

p { margin: 0 0 var(--s-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

hr { border: 0; border-top: 1px solid var(--hair); margin: 0; }

::selection { background: var(--steel); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 4px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: -100px; left: var(--gutter);
  z-index: var(--z-modal);
  padding: 14px 22px;
  background: var(--steel);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top var(--d-base) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 7vw, 112px); }
.section--flush-top { padding-top: 0; }

/* Elevated surface — the only alternation. Everything stays dark. */
.section--raise { background: var(--surface); }
.section--raise-2 { background: var(--surface-2); }

/* Hairline seam between stacked sections */
.section--seam { border-top: 1px solid var(--hair); }

/* Column spans — mobile-first.
   These set grid-column-END only. Using the `grid-column: span N` shorthand
   would set the START to `span N` and leave the end `auto`, so any companion
   .start-N class would collapse the item to a single track. */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-12 { grid-column-end: span 12; }

@media (min-width: 900px) {
  .col-1  { grid-column-end: span 1; }
  .col-2  { grid-column-end: span 2; }
  .col-3  { grid-column-end: span 3; }
  .col-4  { grid-column-end: span 4; }
  .col-5  { grid-column-end: span 5; }
  .col-6  { grid-column-end: span 6; }
  .col-7  { grid-column-end: span 7; }
  .col-8  { grid-column-end: span 8; }
  .col-9  { grid-column-end: span 9; }
  .col-10 { grid-column-end: span 10; }
  .start-2 { grid-column-start: 2; }
  .start-3 { grid-column-start: 3; }
  .start-4 { grid-column-start: 4; }
  .start-5 { grid-column-start: 5; }
  .start-6 { grid-column-start: 6; }
  .start-7 { grid-column-start: 7; }
  .start-9 { grid-column-start: 9; }
}

/* --------------------------------------------------------------------------
   4. Typography components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--hair-steel);
  flex: none;
}

.display {
  font-size: var(--t-hero);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.h1 {
  font-size: var(--t-h1);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.h2 {
  font-size: var(--t-h2);
  font-variation-settings: 'wdth' 100, 'wght' 450;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.h3 {
  font-size: var(--t-h3);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  font-variation-settings: 'wdth' 100, 'wght' 350;
  color: var(--bone-dim);
  max-width: 36ch;
}

.body-copy { max-width: 62ch; color: var(--bone-dim); }
.body-copy--wide { max-width: 72ch; }

.muted { color: var(--muted); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.accent { color: var(--steel); }

/* Inline link — hairline underline that retracts on hover */
.link {
  color: var(--steel);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size var(--d-base) var(--ease-out), color var(--d-fast);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--steel-bright); }

/* --------------------------------------------------------------------------
   5. Buttons — hairline outline that fills with brass
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 34px;
  border: 1px solid var(--hair-steel);
  border-radius: 0;
  background: transparent;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  min-height: 48px;
  transition: color var(--d-base) var(--ease-out),
              border-color var(--d-base) var(--ease-out);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-slow) var(--ease-out);
}
.btn:hover::after,
.btn:focus-visible::after { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--void); border-color: var(--steel); }

.btn__arrow { transition: transform var(--d-base) var(--ease-out); flex: none; }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* Solid variant for the single primary action per screen */
.btn--solid {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--void);
}
.btn--solid::after { background: var(--bone); }
.btn--solid:hover { color: var(--void); border-color: var(--bone); }

.btn--ghost { border-color: var(--hair-2); color: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--void); border-color: var(--steel); }

.btn[disabled], .btn[aria-disabled='true'] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  padding-block: var(--s-2);
  background: color-mix(in srgb, var(--void) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: transform var(--d-slow) var(--ease-out),
              background-color var(--d-base) var(--ease-soft),
              border-color var(--d-base) var(--ease-soft);
}
@supports (backdrop-filter: blur(1px)) {
  .header { backdrop-filter: blur(18px) saturate(1.3); }
}
.header--stuck { border-bottom-color: var(--hair); }
.header--hidden { transform: translateY(-101%); }
.header--open { transform: none; background: transparent; backdrop-filter: none; border-color: transparent; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  line-height: 1;
  z-index: 2;
}
.logo__mark { flex: none; transition: transform var(--d-slow) var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-90deg); }
.logo__sub {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
@media (min-width: 560px) { .logo__sub { display: block; } }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: var(--s-5); }
}
.nav__link {
  position: relative;
  padding-block: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color var(--d-fast) var(--ease-soft);
}
.nav__link:hover { color: var(--bone); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--d-base) var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current='page'] { color: var(--steel); }
.nav__link[aria-current='page']::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--s-2); z-index: 2; }
.header__cta { display: none; }
@media (min-width: 1000px) { .header__cta { display: inline-flex; padding: 14px 24px; min-height: 44px; } }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px; height: 48px;
  padding: 0 11px;
  border: 0;
  background: none;
  cursor: pointer;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger__bar {
  display: block;
  width: 100%; height: 1px;
  background: var(--bone);
  transition: transform var(--d-base) var(--ease-out),
              opacity var(--d-fast) var(--ease-soft);
}
.header--open .burger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header--open .burger__bar:nth-child(2) { opacity: 0; }
.header--open .burger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) var(--s-5);
  background: var(--void);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;         /* belt and braces: never intercept input when closed */
  transition: opacity var(--d-base) var(--ease-soft),
              visibility 0s linear var(--d-base);
  overflow-y: auto;
}
.menu[data-open='true'] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--d-base) var(--ease-soft), visibility 0s;
}
.menu__list { display: flex; flex-direction: column; }
.menu__item { overflow: hidden; clip-path: inset(0); border-bottom: 1px solid var(--hair); }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8.5vw, 3rem);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  line-height: 1;
  letter-spacing: -0.025em;
  transform: translateY(105%);
  transition: transform var(--d-slow) var(--ease-out), color var(--d-fast);
  min-height: 48px;
}
.menu[data-open='true'] .menu__link {
  transform: translateY(0);
  transition-delay: calc(70ms * var(--i, 0) + 110ms);
}
.menu__link:hover { color: var(--steel); }
.menu__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--steel);
}
.menu__foot {
  margin-top: var(--s-6);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Scroll progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: calc(var(--z-nav) + 1);
  height: 1px;
  width: 100%;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(150px, 19vh, 240px);
  padding-bottom: var(--section);
  overflow: hidden;
}

/* Soft brass bloom behind the headline — pure gradient, no filters */
.hero::before {
  content: '';
  position: absolute;
  top: -18%; left: 50%;
  width: min(1200px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle,
              rgba(143, 169, 201, 0.10) 0%,
              rgba(143, 169, 201, 0.04) 38%,
              transparent 68%);
}

.hero__rules { position: absolute; inset: 0; pointer-events: none; }
.hero__rule {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--hair);
  transform: scaleY(0);
  transform-origin: top;
  animation: rule-draw 1.6s var(--ease-out) forwards;
  animation-delay: calc(120ms * var(--i));
}
@keyframes rule-draw { to { transform: scaleY(1); } }

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: var(--t-hero);
  font-variation-settings: 'wdth' 100, 'wght' 340;
  line-height: 0.98;
  letter-spacing: -0.038em;
  margin-bottom: var(--s-6);
}
/* The rotating word carries the weight, the frame stays quiet */
.hero__title .rotator { font-variation-settings: 'wdth' 100, 'wght' 500; }

/* clip-path, not just overflow: a composited transform on the child can
   escape an `overflow: hidden` ancestor that isn't itself a clip source. */
.line {
  display: block;
  overflow: hidden;
  clip-path: inset(0);
  padding-bottom: 0.08em;
}
.line > span {
  display: block;
  transform: translateY(110%);
  animation: line-up 1200ms var(--ease-out) forwards;
  animation-delay: calc(140ms * var(--i) + 180ms);
}
@keyframes line-up { to { transform: translateY(0); } }

.rotator {
  display: inline-grid;
  vertical-align: baseline;
  position: relative;
  overflow: hidden;
  clip-path: inset(0);          /* same reason as .line above */
  color: var(--steel);
}
.rotator__item {
  grid-area: 1 / 1;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 820ms var(--ease-out), opacity 420ms var(--ease-soft);
  white-space: nowrap;
}
.rotator__item[data-active='true'] { transform: translateY(0); opacity: 1; }
.rotator__item[data-leaving='true'] { transform: translateY(-110%); opacity: 0; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--s-6);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--d-fast);
}
.hero__scroll:hover { color: var(--steel); }
.hero__scroll svg { animation: nudge 3s var(--ease-soft) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* Interior page header */
.page-head {
  padding-top: clamp(140px, 17vh, 216px);
  padding-bottom: clamp(56px, 6.5vw, 96px);
}
.page-head__title { font-size: var(--t-h1); font-variation-settings: 'wdth' 100, 'wght' 380; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--steel); }

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  --speed: 68s;
  position: relative;
  display: flex;
  overflow: hidden;
  padding-block: var(--s-4);
  border-block: 1px solid var(--hair);
  user-select: none;
}
.marquee__track {
  display: flex;
  flex: none;
  gap: var(--s-6);
  padding-right: var(--s-6);
  animation: marquee var(--speed) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-6);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.625rem);
  font-variation-settings: 'wdth' 100, 'wght' 350;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--bone-dim);
}
.marquee__item::after {
  content: '';
  width: 4px; height: 4px;
  background: var(--steel);
  border-radius: 50%;
  flex: none;
}

/* --------------------------------------------------------------------------
   9. Device showcase — the site shown on a phone, drawn entirely in CSS
   -------------------------------------------------------------------------- */
/* Its own lighting instead of a flat surface change, so the alternation of
   --void / --surface sections either side stays intact. */
.stage { position: relative; overflow: hidden; }
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(56% 54% at 68% 48%,
              rgba(143, 169, 201, 0.15) 0%,
              rgba(143, 169, 201, 0.05) 42%,
              transparent 72%);
}
.stage > * { position: relative; }

.device-wrap { perspective: 1400px; display: flex; justify-content: center; }

/* Textspalte auf die Mitte des Geraets ausrichten (nur wo es zwei Spalten gibt) */
@media (min-width: 900px) { .stage__copy { align-self: center; } }

/* Slow idle drift, kept on a wrapper so it composes with the tilt below */
.device-float { animation: device-float 9s var(--ease-soft) infinite; }
@keyframes device-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.device {
  --dw: clamp(240px, 24vw, 320px);
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: var(--dw);
  aspect-ratio: 9 / 19.5;
  padding: calc(var(--dw) * 0.026);
  border-radius: calc(var(--dw) * 0.145);
  /* Brushed metal rail: light catches the top-left and bottom-right edges */
  background: linear-gradient(148deg, #3a3a42 0%, #17171a 26%,
              #0d0d0f 58%, #2b2b32 88%, #45454e 100%);
  box-shadow: 0 44px 90px -24px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(236, 233, 227, 0.07);
  transform: rotateY(calc(-13deg + var(--ry))) rotateX(calc(4deg + var(--rx))) rotateZ(-1deg);
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}

.device__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--dw) * 0.12);
  background: var(--void);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9);
}

.device__island {
  position: absolute;
  top: calc(var(--dw) * 0.035);
  left: 50%;
  z-index: 3;
  width: calc(var(--dw) * 0.27);
  height: calc(var(--dw) * 0.075);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.device__glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(118deg,
              rgba(255, 255, 255, 0.09) 0%,
              rgba(255, 255, 255, 0.025) 20%,
              transparent 44%);
}

/* Miniature of the hero. Everything is em-based off --dw, so the whole
   screen scales as one piece — no media queries needed inside the phone. */
.mini {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.9em 1.25em 1.3em;
  font-size: calc(var(--dw) / 25);
}
.mini__rules { position: absolute; inset: 0; pointer-events: none; }
.mini__rules i {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--hair);
}
.mini__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.6em;
}
.mini__logo {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  font-size: 0.95em;
  letter-spacing: 0.05em;
}
.mini__burger { display: grid; gap: 0.22em; }
.mini__burger i { display: block; width: 1.1em; height: 1px; background: var(--bone); }
.mini__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1.5em;
  font-family: var(--font-mono);
  font-size: 0.4em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.mini__eyebrow::before { content: ''; width: 1.8em; height: 1px; background: var(--hair-steel); flex: none; }
.mini__title {
  margin: 0 0 0.9em;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100, 'wght' 340;
  font-size: 1.9em;
  line-height: 1;
  letter-spacing: -0.038em;
}
.mini__title span { color: var(--steel); font-variation-settings: 'wdth' 100, 'wght' 500; }
/* Two weighted spacers put the lead/button block at roughly the same
   height as in the real mobile hero, instead of jamming it at the base. */
.mini__gap { flex: 1.3 1 auto; min-height: 1.2em; }
.mini__gap--end { flex: 1 1 auto; min-height: 0; }

.mini__lead {
  margin: 0 0 1.7em;
  font-size: 0.5em;
  line-height: 1.55;
  color: var(--bone-dim);
}
.mini__btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.7em;
  padding: 0.85em 1.2em;
  background: var(--steel);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 0.38em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mini__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8em;
  margin-top: 0;
  padding-top: 1em;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 0.34em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. Services
   -------------------------------------------------------------------------- */
.service {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: var(--s-2) var(--grid-gap);
  padding-block: clamp(30px, 3.6vw, 58px);
  border-top: 1px solid var(--hair);
}
.service:last-child { border-bottom: 1px solid var(--hair); }

.service__num, .service__title, .service__body, .service__list { grid-column: span 12; }

@media (min-width: 900px) {
  .service__num   { grid-column: 1 / span 1; }
  .service__title { grid-column: 2 / span 4; }
  .service__body  { grid-column: 6 / span 4; }
  .service__list  { grid-column: 10 / span 3; }
}

.service__num {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  color: var(--steel);
  padding-top: 10px;
}
.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.3vw, 2rem);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  transition: transform var(--d-slow) var(--ease-out);
}
@media (hover: hover) { .service:hover .service__title { transform: translateX(12px); } }
.service__body { color: var(--muted); font-size: var(--t-small); }
.service__list li {
  padding-block: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Stats / process / quotes / team
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-5) var(--grid-gap); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat { padding-top: var(--s-3); border-top: 1px solid var(--hair-steel); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-variation-settings: 'wdth' 100, 'wght' 300;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--steel);
  font-variant-numeric: tabular-nums;   /* no reflow while counting up */
}
.stat__label {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps { display: grid; gap: var(--grid-gap); grid-template-columns: repeat(12, minmax(0,1fr)); }
.step { grid-column: span 12; padding-top: var(--s-3); border-top: 1px solid var(--hair-2); }
@media (min-width: 640px) { .step { grid-column: span 6; } }
@media (min-width: 1100px) { .step { grid-column: span 3; } }
.step__num {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--s-3);
  display: block;
}
.step__title { font-size: var(--t-h3); font-variation-settings: 'wdth' 100, 'wght' 450; margin-bottom: 12px; }
.step__body { color: var(--muted); font-size: var(--t-small); }

.quote { border-left: 1px solid var(--hair-steel); padding-left: clamp(24px, 3.5vw, 52px); }
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 2.125rem);
  font-variation-settings: 'wdth' 100, 'wght' 300;
  line-height: 1.32;
  letter-spacing: -0.022em;
  margin-bottom: var(--s-4);
  color: var(--bone);
}
.quote__cite {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

.team__portrait {
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  border: 1px solid var(--hair);
  margin-bottom: var(--s-3);
  overflow: hidden;
}
.team__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--ease-out); }
.team__portrait:hover img { transform: scale(1.04); }
.team__name { font-size: var(--t-h3); font-variation-settings: 'wdth' 100, 'wght' 450; }
.team__role {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 8px;
}

/* Fact tiles */
.facts { display: grid; gap: var(--s-4) var(--grid-gap); grid-template-columns: repeat(12, minmax(0,1fr)); }
.fact { grid-column: span 6; padding-top: var(--s-3); border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .fact { grid-column: span 3; } }
.fact__label {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.fact__value { font-size: var(--t-h3); font-variation-settings: 'wdth' 100, 'wght' 450; }

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 10px; }
.field__label {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.field__req { color: var(--steel); }
.field__hint { font-size: var(--t-small); color: var(--muted); }

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--hair-2);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;                  /* 16px prevents iOS zoom-on-focus */
  color: var(--bone);
  transition: border-color var(--d-base) var(--ease-soft);
  appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover, .field select:hover { border-bottom-color: var(--bone-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--steel);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }

.field__error {
  display: none;
  font-size: var(--t-small);
  color: var(--steel-bright);        /* 11:1 on --void */
}
.field[data-invalid='true'] .field__error { display: block; }
.field[data-invalid='true'] input,
.field[data-invalid='true'] textarea { border-bottom-color: var(--steel-bright); }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 14px; }
/* Die globale appearance:none-Regel wuerde die Checkbox unsichtbar machen —
   deshalb ein eigenes, deutlich sichtbares Design mit gezeichnetem Haken. */
.field--check input {
  width: 22px; height: 22px; min-height: 0; margin-top: 2px; padding: 0; flex: none;
  appearance: none; -webkit-appearance: none;
  border: 2px solid var(--steel); border-radius: 0; background: transparent;
  cursor: pointer;
  transition: background-color var(--d-fast) var(--ease-soft), border-color var(--d-fast) var(--ease-soft);
}
.field--check input:hover { border-color: var(--steel-bright); }
.field--check input:checked {
  background: var(--steel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%230b0e14' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.field--check label { font-size: var(--t-small); color: var(--bone-dim); }

.form__status {
  padding: 20px 24px;
  border-left: 1px solid var(--hair-steel);
  background: var(--surface-2);
  font-size: var(--t-small);
  color: var(--bone-dim);
}
.form__status:empty { display: none; }

.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--void);
  border-top: 1px solid var(--hair);
  padding-top: var(--section);
  padding-bottom: var(--s-5);
}
.footer__cta {
  font-size: var(--t-hero);
  font-variation-settings: 'wdth' 100, 'wght' 300;
  line-height: 1;
  letter-spacing: -0.035em;
}
.footer__cta a { display: inline-block; transition: color var(--d-base) var(--ease-soft); }
.footer__cta a:hover { color: var(--steel); }

.footer__cols { display: grid; gap: var(--s-5) var(--grid-gap); grid-template-columns: repeat(12, minmax(0,1fr)); margin-top: var(--s-7); }
.footer__col { grid-column: span 6; }
@media (min-width: 900px) { .footer__col { grid-column: span 3; } }
.footer__heading {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--hair);
}
/* Two narrow footer columns on a 375px phone can't hold "Kommunikationsdesign" */
.footer__list li, .service__list li, .footer address {
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
.footer__list li { padding-block: 6px; }
.footer__list a { color: var(--muted); transition: color var(--d-fast); }
.footer__list a:hover { color: var(--bone); }
.footer address { font-style: normal; color: var(--muted); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  justify-content: space-between;
  margin-top: var(--s-7);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. Legal pages
   -------------------------------------------------------------------------- */
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.legal h3 { font-size: 1.0625rem; margin-top: var(--s-4); margin-bottom: 10px; color: var(--bone); }
.legal p, .legal li { color: var(--bone-dim); }
.legal ul { list-style: none; padding-left: 0; margin-bottom: var(--s-3); }
.legal li { padding-block: 5px; padding-left: 1.2em; position: relative; }
.legal li::before { content: '—'; position: absolute; left: 0; color: var(--steel); }
.legal .placeholder {
  color: var(--steel-bright);
  border-bottom: 1px dotted var(--hair-steel);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* --------------------------------------------------------------------------
   15. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--d-reveal) var(--ease-soft),
              transform var(--d-reveal) var(--ease-out);
  transition-delay: calc(90ms * var(--i, 0));
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  body::after { animation: none; }
  .line > span, .menu__link { transform: none; }
  .hero__rule { transform: scaleY(1); }
  .marquee__track { animation: none; }
  .device-float { animation: none; }
  .device { transform: none; }
  .hero__scroll svg { animation: none; }
}

/* --------------------------------------------------------------------------
   17. Print
   -------------------------------------------------------------------------- */
@media print {
  .header, .menu, .progress, .footer__cta, .hero__scroll,
  .marquee, body::before, .device-wrap { display: none !important; }
  body { background: #fff; color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}
