/* Carsten Peters – One-Pager
   Layout nach dem Muster ostertagdetewe.de: dunkler Hero mit weichen Lichtfeldern,
   helle Sektionen mit linierter Eyebrow, dunkle Kennzahlen, CTA-Banner, heller Footer.
   Farben aus dem eigenen Büroschild (Schildblau) und dem orangen Ballsessel. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Farben */
  --night: #0b121a;        /* Hero, Kennzahlen, CTA */
  --ink: #10202e;          /* Fließtext auf Hell */
  --ink-soft: #46586a;     /* Sekundärtext auf Hell */
  --paper: #ffffff;
  --mist: #eef2f6;         /* helle Wechselsektion, Footer */
  --line: #d6dee6;
  --schild: #0872b5;       /* Schildblau, Buttons und Eyebrows auf Hell (5,1:1 auf Weiß) */
  --schild-hover: #065d94;
  --sky: #5cb6ee;          /* Schildblau aufgehellt, Akzent auf Dunkel */
  --ball: #e8641e;         /* oranger Ballsessel, nur als Lichtakzent */
  --on-dark: #ffffff;
  --on-dark-soft: #b9c6d3;

  /* Schrift */
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Maße */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --radius-pill: 999px;
  --radius-card: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .on-light:focus-visible { outline-color: var(--schild); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--night); color: var(--on-dark); overflow: hidden; }

/* ---------- Eyebrow mit Linie (wie OD) ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--schild); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 1px; }
.section--dark .eyebrow, .cta .eyebrow { color: var(--sky); }

.h-display { font-size: clamp(44px, 8.2vw, 112px); line-height: .92; letter-spacing: -.035em; }
.h-section { font-size: clamp(34px, 5vw, 62px); line-height: 1; letter-spacing: -.025em; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; max-width: 38ch; }
.text { max-width: 62ch; color: var(--ink-soft); }
.text + .text { margin-top: 1em; }
.section--dark .text { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--font); text-decoration: none; padding: 18px 30px; border-radius: var(--radius-pill); border: 2px solid transparent; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease); cursor: pointer; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--schild); color: #fff; }
.btn--primary:hover { background: var(--schild-hover); }
.btn--ghost { color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.on-light .btn--ghost:hover { background: rgba(8,114,181,.08); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color .35s, box-shadow .35s, color .35s; color: var(--on-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 124px; transition: height .4s cubic-bezier(.4,0,.2,1); }
.logo { display: block; flex: none; }
.logo img { height: 85px; width: auto; filter: brightness(0) invert(1); transition: filter .35s, height .4s cubic-bezier(.4,0,.2,1); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { padding: 13px 22px; font-size: 15px; }
.site-header.is-solid { background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.site-header.is-solid .logo img { filter: none; }
.site-header.is-small .site-header__inner { height: 101px; }
.site-header.is-solid.is-menu { background: rgba(255,255,255,.96); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 48px; height: 48px; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform .3s, opacity .3s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header__inner { height: 96px; }
  .logo img { height: 62px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 96px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px var(--gutter) 32px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px rgba(11,18,26,.15); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 20px; }
  .nav .btn { margin-top: 12px; }
  .site-header.is-small .site-header__inner { height: 78px; }
  .site-header.is-small .nav { inset: 78px 0 auto 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-dark); min-height: clamp(640px, 92vh, 960px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__light { position: absolute; inset: -20%; z-index: -2; background:
    radial-gradient(40% 50% at 72% 32%, rgba(8,114,181,.62), transparent 60%),
    radial-gradient(36% 46% at 18% 78%, rgba(92,182,238,.32), transparent 62%),
    radial-gradient(28% 32% at 58% 96%, rgba(232,100,30,.22), transparent 60%),
    linear-gradient(135deg, #05080d 0%, #0b1b2b 45%, #0b121a 100%);
  animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.hero__photo { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: min(58%, 900px); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; opacity: .78; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%); mask-composite: intersect; }
.hero__content { position: relative; padding-top: 190px; padding-bottom: clamp(60px, 9vw, 110px); }
.pill { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 9px 18px; border-radius: var(--radius-pill); background: rgba(92,182,238,.16); border: 1px solid rgba(92,182,238,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 28px; }
.pill i { font-style: normal; color: var(--sky); }
.hero h1 { max-width: 11ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .strike { position: relative; color: var(--on-dark-soft); }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; background: var(--sky); border-radius: 2px; transform-origin: left; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-top: clamp(32px, 4vw, 52px); }
.hero__row .lead { color: var(--on-dark-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--on-dark); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Seitenaufbau-Sequenz im Hero */
.js .hero h1 .line > span { animation: rise 1s var(--ease) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero h1 .strike::after { animation: strike .7s var(--ease) .9s both; }
.js .hero .pill, .js .hero__row { animation: fade 1s var(--ease) .35s both; }
.js .hero__photo img { animation: photo 1.6s var(--ease) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes photo { from { opacity: 0; transform: scale(1.06); } to { opacity: .78; transform: none; } }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 0; }
  .hero__photo { width: 100%; height: 62%; bottom: auto; }
  .hero__photo img { opacity: .55; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 60%); mask-image: linear-gradient(0deg, transparent 0%, #000 60%); }
  .hero__content { padding-top: 240px; }
  .scroll-cue { display: none; }
}

/* ---------- Ohne Schnickschnack (Streichliste) ---------- */
.nofrills { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.nofrills__intro { position: sticky; top: 160px; }
.nofrills__intro .text { margin-top: 24px; }
.strikelist { border-top: 1px solid var(--line); }
.strikelist li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
.strikelist .item { position: relative; display: inline-block; transition: color .6s var(--ease) .2s; }
.strikelist .x { position: absolute; left: -3%; top: -8%; width: 106%; height: 116%; overflow: visible; pointer-events: none; }
.strikelist .x path { fill: none; stroke: var(--schild); stroke-width: 3.5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* Der Strich wird per Clip-Path von links nach rechts freigelegt, wie mit dem Stift gezogen */
.js .strikelist .x { clip-path: inset(-20% 100% -20% -6%); transition: clip-path .45s cubic-bezier(.6,.05,.4,1); }
.js .strikelist .x2 { transition-delay: .4s; }
.js .strikelist li.is-struck .x { clip-path: inset(-20% -6% -20% -6%); }
.strikelist .why { font-family: var(--font); font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--ink-soft); text-align: right; max-width: 24ch; flex: none; }
.strikelist li.is-struck .item { color: #8a99a8; }
.strikelist .instead { margin-top: 36px; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; max-width: 34ch; }
.strikelist .instead strong { color: var(--schild); font-weight: 700; }
.strikelist .item { flex: 0 1 auto; min-width: 0; }
@media (max-width: 1180px) {
  .strikelist li { flex-direction: column; gap: 6px; }
  .strikelist .why { text-align: left; max-width: none; }
}

@media (max-width: 900px) {
  .nofrills { grid-template-columns: 1fr; }
  .nofrills__intro { position: static; }
  .strikelist li { flex-direction: column; gap: 6px; }
  .strikelist .why { text-align: left; max-width: none; }
}

/* ---------- Ich bin ---------- */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; }
.about__media img { width: 100%; height: 118%; object-fit: cover; object-position: 70% 30%; will-change: transform; }
.about__badge { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.about__badge span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; padding: 7px 12px; border-radius: var(--radius-pill); background: rgba(11,18,26,.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.about__body h2 { margin-bottom: 30px; }
.about__body .lead { margin-bottom: 26px; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 0 0; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 6px 0 0; font-weight: 600; font-size: 18px; line-height: 1.3; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts div { padding-block: 14px; border-bottom: 1px solid var(--line); } }

/* ---------- Leistungen: Prozess ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head .text { justify-self: end; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } .section-head .text { justify-self: start; } }

.process { position: relative; display: grid; gap: 0; }
.process__rail { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.process__rail span { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--schild); }
.step { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr); gap: 16px clamp(24px, 4vw, 64px); padding-block: 34px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 15px; font-weight: 500; background: var(--mist); border: 2px solid var(--line); color: var(--ink-soft); transition: background-color .4s, border-color .4s, color .4s; }
.step.is-active .step__num { background: var(--schild); border-color: var(--schild); color: #fff; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.015em; padding-top: 10px; }
.step h3 small { display: block; margin-top: 8px; font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; align-content: flex-start; }
.chip { font-size: 15px; font-weight: 500; padding: 8px 15px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); line-height: 1.3; }
.chip--strong { border-color: var(--schild); color: var(--schild); }
.process__note { margin-top: 28px; padding-left: 88px; font-size: 16px; color: var(--ink-soft); max-width: none; }
@media (max-width: 760px) {
  .step { grid-template-columns: 56px minmax(0, 1fr); }
  .step .chips { grid-column: 2; padding-top: 0; }
  .process__note { padding-left: 0; }
}

/* ---------- Sie sind: Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--night); color: var(--on-dark); min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,18,26,.05) 15%, rgba(11,18,26,.94) 72%); }
.card:hover img, .card:focus-within img { transform: scale(1.06); }
.card__body { padding: 30px 28px 32px; }
.card__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; display: block; }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.015em; margin-bottom: 14px; }
.card p { color: var(--on-dark-soft); font-size: 17px; line-height: 1.55; }
.card__credit { display: block; margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } .card { min-height: 440px; } }

/* ---------- Kennzahlen ---------- */
.kpi__light { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(45% 60% at 80% 20%, rgba(8,114,181,.42), transparent 60%),
    radial-gradient(40% 50% at 15% 85%, rgba(92,182,238,.18), transparent 60%),
    linear-gradient(135deg, #05080d 0%, #0b1b2b 50%, #0b121a 100%); }
.kpi .wrap { position: relative; z-index: 1; }
.kpi__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: clamp(48px, 6vw, 80px); }
.kpi__item { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.kpi__value { font-size: clamp(64px, 8vw, 108px); font-weight: 700; line-height: .9; letter-spacing: -.035em; color: var(--sky); font-variant-numeric: tabular-nums; }
.kpi__label { margin-top: 14px; font-size: 16px; font-weight: 500; color: var(--on-dark); letter-spacing: .01em; }
.kpi__label small { display: block; margin-top: 4px; font-weight: 400; color: var(--on-dark-soft); font-size: 15px; }
@media (max-width: 900px) { .kpi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .kpi__grid { grid-template-columns: 1fr; } }

/* ---------- Netzwerk ---------- */
.network__img { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; margin-bottom: clamp(40px, 5vw, 72px); }
.network__img img { width: 100%; height: 130%; object-fit: cover; object-position: center 40%; will-change: transform; }
.network { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.network .chips { padding-top: 0; margin-top: 28px; }
@media (max-width: 900px) { .network { grid-template-columns: 1fr; } .network__img { aspect-ratio: 4 / 3; } }

/* ---------- CTA-Banner ---------- */
.cta { position: relative; overflow: hidden; color: var(--on-dark); background: var(--night); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(50% 90% at 92% 50%, rgba(92,182,238,.42), transparent 62%),
    radial-gradient(40% 70% at 10% 0%, rgba(8,114,181,.5), transparent 60%),
    radial-gradient(22% 40% at 75% 100%, rgba(232,100,30,.2), transparent 60%),
    linear-gradient(120deg, #07101a, #0b1b2b); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.cta h2 { margin-bottom: 26px; }
.cta .text { color: var(--on-dark-soft); }
.contact-lines { display: grid; gap: 14px; margin-top: 36px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.01em; text-decoration: none; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.contact-lines a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.contact-lines a:hover span { background-size: 100% 2px; }
.contact-lines svg { width: 26px; height: 26px; color: var(--sky); flex: none; }
.cta__img { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.cta__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.cta__img figcaption { position: absolute; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } .cta__img { aspect-ratio: 16 / 10; } }
@media (min-width: 901px) { .cta__img img { object-position: 100% center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.footer__brand img { height: 80px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--ink-soft); }
.site-footer h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer ul { display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--schild); text-decoration: underline; text-underline-offset: 3px; }
.footer__top { display: flex; justify-content: center; margin-top: 48px; }
.footer__top a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--paper); transition: border-color .2s, color .2s; }
.footer__top a:hover { border-color: var(--schild); color: var(--schild); text-decoration: none; }
.footer__top + .footer__bottom { margin-top: 28px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll-Reveals ---------- */
/* Elemente starten sichtbar. Erst das Skript setzt .is-pending, und zwar nur
   für Elemente unterhalb des ersten Bildschirms. */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal].is-pending { opacity: 0; transform: translateY(40px); }
[data-reveal="left"].is-pending { transform: translateX(-40px); }
[data-reveal="zoom"].is-pending { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
  .about__media img, .network__img img { transform: none !important; height: 100%; }
}

/* ---------- Variante Originaltexte ---------- */
.hero h1.h-claim { max-width: none; }
.hero .claim { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.3; color: var(--on-dark); max-width: 26ch; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.services li { display: flex; align-items: baseline; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.services li svg { width: 20px; height: 20px; flex: none; color: var(--schild); transform: translateY(2px); }
.services li span small { display: block; margin-top: 4px; font-size: 16px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.services-intro { margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
.card h3 + p { margin-top: 0; }
.about__body .lead strong { display: inline-block; font-size: 1.25em; margin-bottom: 4px; }
.network .lead { max-width: 46ch; color: var(--ink); }
.cta h2, .about__body h2 { margin-bottom: 26px; }

/* ---------- Rechtliche Unterseiten (Impressum, Datenschutz) ---------- */
.page-legal .site-header { position: sticky; top: env(safe-area-inset-top, 0px); background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.page-legal .logo img { filter: none; }
.page-legal .site-header__inner { height: 104px; }
.page-legal .logo img { height: 70px; }
.legal-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.legal-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.legal-nav a:not(.btn):hover { color: var(--schild); }
.legal-nav a:not(.btn) svg { width: 18px; height: 18px; }
.legal-nav .btn { padding: 13px 22px; font-size: 15px; }
.legal { padding-block: clamp(56px, 8vw, 110px) clamp(72px, 10vw, 140px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(38px, 5.5vw, 64px); line-height: 1; letter-spacing: -.025em; margin-bottom: clamp(32px, 4vw, 52px); }
.legal__content { font-size: 17px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.legal__content h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; margin: 2.2em 0 .6em; }
.legal__content h3 { font-size: 20px; line-height: 1.3; margin: 1.8em 0 .5em; }
.legal__content h4 { font-size: 17px; margin: 1.5em 0 .4em; }
.legal__content > :first-child { margin-top: 0; }
.legal__content p, .legal__content ul, .legal__content ol { margin: 0 0 1em; max-width: 68ch; }
.legal__content ul { list-style: disc; padding-left: 1.3em; }
.legal__content ol { list-style: decimal; padding-left: 1.3em; }
.legal__content li { margin-bottom: .35em; }
.legal__content a { color: var(--schild); text-underline-offset: 3px; }
.legal__content a:hover { color: var(--schild-hover); }
.legal__content strong { font-weight: 600; }
.legal__placeholder { border: 2px dashed var(--line); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 40px); background: var(--mist); color: var(--ink-soft); }
.legal__placeholder strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 6px; }
@media (max-width: 600px) {
  .page-legal .site-header__inner { height: 84px; }
  .page-legal .logo img { height: 52px; }
  .legal-nav .btn { display: none; }
}
.site-footer a[aria-current="page"] { color: var(--schild); font-weight: 600; }
