/* IDunion · Trusted list landing page */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* Farben */
  --blue: #2510ED;
  --blue-deep: #1A0AB0;
  --ink: #12113B;
  --ink-soft: #3B3C66;
  --slate: #586074;
  --mist: #F5F7FE;
  --cloud: #E6ECFC;
  --line: #D9DFF0;
  --sky: #CDDEFA;
  --periwinkle: #93B3EB;
  --lavender: #CBCCF7;
  --rose: #D4B5B0;
  --teal: #007A70;
  --teal-bright: #00D5BE;
  --teal-soft: #E6F7F4;
  --on-ink-soft: #C3C9DA;
  --on-blue-soft: #D9D5FF;

  /* Schrift */
  --font: "Outfit", "Century Gothic", system-ui, sans-serif;
  --h1-size: clamp(2.25rem, 1.15rem + 3.1vw, 3.5rem);
  --h2-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
  --h3-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --lead-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --body-size: 1.0625rem;

  /* Maße */
  --wrap: 80rem;
  --gutter: clamp(1rem, 5.5vw, 5rem);
  --section-pad: clamp(4rem, 2.5rem + 5.5vw, 7.5rem);
  --header-h: 4.75rem;
  --radius-stage: 28px;
  --radius-card: 18px;
  --radius-btn: 10px;

  /* Einstieg, für das Regler-Panel in Phase 6 */
  --hero-pad-top: clamp(1.5rem, .75rem + 2.6vw, 2.75rem);
  --hero-gap: clamp(2rem, 4vw, 3.5rem);
  --stage-pad-x: clamp(1.25rem, 3.2vw, 2.875rem);
  --stage-pad-top: clamp(2rem, 4.5vw, 4rem);
  --stage-pad-bottom: clamp(1.75rem, 4vw, 3.5rem);
  --traits-gap-top: clamp(2.5rem, 4vw, 3.5rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-float: 0 30px 60px -24px rgba(18, 17, 59, .35);
  --shadow-card: 0 18px 40px -26px rgba(18, 17, 59, .3);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: var(--periwinkle) var(--mist);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 var(--body-size)/1.6 var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

::selection { background: var(--blue); color: #fff; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: .08em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .section--blue :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-btn);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Überschriften */

h2 { font-size: var(--h2-size); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
h2 span { font-weight: 300; color: var(--slate); }
h3 { font-size: var(--h3-size); line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }

/* Buttons und Links */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1.1875rem/1.1 var(--font);
  padding: 1rem 1.875rem; border-radius: var(--radius-btn);
  background: var(--blue); color: #fff; text-decoration: none;
  box-shadow: 0 14px 26px -16px rgba(37, 16, 237, .75);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 20px 30px -16px rgba(37, 16, 237, .7); }
.btn:active { transform: translateY(0); box-shadow: 0 8px 16px -12px rgba(37, 16, 237, .7); }
.btn--small { font-size: 1rem; padding: .8125rem 1.25rem; box-shadow: none; }
.btn--small:hover { box-shadow: none; transform: none; }
.btn--light { background: #fff; color: var(--blue); box-shadow: 0 16px 30px -18px rgba(10, 4, 90, .9); }
.btn--light:hover { background: var(--cloud); color: var(--blue-deep); box-shadow: 0 22px 34px -18px rgba(10, 4, 90, .9); }

.link {
  display: inline-block; padding-block: .625rem;
  color: var(--blue); font-weight: 600; font-size: 1.125rem;
  text-decoration-color: transparent;
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.link:hover { color: var(--blue-deep); text-decoration-color: currentColor; }

/* Kopfzeile */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(18, 17, 59, .45); }
.site-header__in { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.logo { display: block; margin-right: auto; padding-block: .5rem; border-radius: 4px; }
.logo svg { height: 1.875rem; width: auto; }
.site-nav { display: flex; gap: 2.125rem; }
.site-nav a {
  color: var(--slate); font-size: 1rem; font-weight: 500; text-decoration-color: transparent;
  padding-block: .5rem;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.site-nav a:hover { color: var(--ink); text-decoration-color: var(--blue); }

/* Einstieg */

.hero { padding-top: var(--hero-pad-top); padding-bottom: var(--section-pad); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hero-gap); align-items: center; }
h1 { font-size: var(--h1-size); line-height: 1.05; letter-spacing: -.02em; font-weight: 600; }
h1 span { font-weight: 300; color: var(--slate); }
/* Balken unter dem Kernbegriff, nur in der H1 der Startseite */
h1 mark {
  color: inherit;
  background: linear-gradient(90deg, var(--lavender), var(--periwinkle)) no-repeat 0 96% / 100% .15em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (forced-colors: active) { h1 mark { background: none; text-decoration: underline; } }
.hero__sub { font-size: var(--lead-size); line-height: 1.5; color: var(--slate); margin-top: 1.375rem; max-width: var(--sub-measure, 44ch); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.625rem; margin-top: 1.75rem; }
.hero__note { margin-top: 1.125rem; font-size: 1rem; color: var(--slate); }

.stage {
  position: relative;
  border-radius: var(--radius-stage);
  padding: var(--stage-pad-top) var(--stage-pad-x) var(--stage-pad-bottom);
  background:
    radial-gradient(circle at 20% 15%, var(--lavender), transparent 55%),
    radial-gradient(circle at 85% 80%, var(--sky), transparent 60%),
    var(--cloud);
}
.orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--periwinkle)); pointer-events: none; }
.orb--a { width: 6rem; height: 6rem; right: -1.375rem; top: -1.625rem; }
.orb--b { width: 3.375rem; height: 3.375rem; left: -1.125rem; bottom: 3.375rem; z-index: 2; }
.orb--c { width: 1.375rem; height: 1.375rem; left: 22%; top: 1.25rem; background: radial-gradient(circle at 30% 30%, #fff, var(--rose)); }

.shot {
  position: relative; display: block;
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-float);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.shot img { width: 100%; }
.shot:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -26px rgba(18, 17, 59, .45); }
.shot:focus-visible { border-radius: 14px; outline-offset: 4px; }
.shot__hint {
  position: absolute; right: .875rem; bottom: .875rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 20px -10px rgba(18, 17, 59, .7);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.shot:hover .shot__hint { background: var(--blue); transform: scale(1.08); }

/* Video im Einstieg: startet erst auf Klick, nichts bewegt sich von selbst */
.film { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-float); aspect-ratio: 16 / 9; }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.film__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end;
  padding: .875rem; border: 0; background: none; cursor: pointer; font: inherit;
}
.film__play[hidden] { display: none; }
.film__pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.125rem .5rem .625rem; border-radius: var(--radius-pill, 99px);
  background: var(--ink); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.6;
  box-shadow: 0 10px 20px -10px rgba(18, 17, 59, .7);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.film__pill .icon { width: 1.75rem; height: 1.75rem; }
.film__len { font-weight: 400; color: var(--on-ink-soft); font-variant-numeric: tabular-nums; }
.film__play:hover .film__pill { background: var(--blue); transform: scale(1.04); }
.film__play:hover .film__len { color: #D9D5FF; }
.film__play:focus-visible { outline: none; }
.film__play:focus-visible .film__pill { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .film__pill { transition: none; } .film__play:hover .film__pill { transform: none; } }
@media (max-width: 47.5rem) {
  .film__play { padding: .5rem; }
  .film__pill { gap: .375rem; padding: .25rem .75rem .25rem .375rem; font-size: .875rem; }
  .film__pill .icon { width: 1.25rem; height: 1.25rem; }
}

.traits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: var(--traits-gap-top); }
.trait { background: var(--mist); border-radius: var(--radius-card); padding: 1.75rem; }
.trait__title { font-size: var(--h3-size); line-height: 1.2; letter-spacing: -.01em; margin-bottom: .625rem; }
.trait p { color: var(--slate); }

/* Abschnitte */

.section { position: relative; padding-block: 5rem; padding-block: var(--section-pad); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2 span, .section--ink p { color: var(--on-ink-soft); }
.section--blue { background: var(--blue); color: #fff; overflow: hidden; }
.section--pastel {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, var(--lavender), transparent 46%),
    radial-gradient(circle at 92% 92%, var(--sky), transparent 52%),
    var(--cloud);
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__text > * + * { margin-top: 1.125rem; }
.split__text h2 { margin-bottom: 1.5rem; }
.split__text p { max-width: 62ch; }
.section--mist .split__text p, .with-list .split__text > p { color: var(--slate); }

/* Heute: die Tabelle */

.fig { position: relative; }
.fig__tag {
  position: absolute; left: 1.25rem; top: -1rem; z-index: 3;
  background: var(--ink); color: #fff;
  font-size: .9375rem; font-weight: 600; line-height: 1;
  padding: .5625rem .875rem; border-radius: 99px;
}

.sheet { position: relative; padding-bottom: 3.25rem; }
.sheet__grid {
  display: grid; grid-template-columns: 2.5rem 1.5fr 1fr .9fr;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
  font-size: 1rem; line-height: 1.3;
}
.sheet__grid > * { padding: .875rem .875rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 3rem; }
.sheet__grid > *:nth-child(4n) { border-right: 0; }
.sheet__grid > *:nth-last-child(-n+4) { border-bottom: 0; }
.sheet__grid b { font-weight: 600; }
.sheet__grid span { color: var(--slate); }
.sheet__h { background: #EEF1F9; color: var(--slate) !important; text-align: center; font-size: .875rem; font-weight: 500; padding-inline: .25rem !important; }
.sheet__open { background: #F7ECEA; color: var(--ink) !important; font-weight: 600; }
.sheet__mail {
  position: absolute; right: -1rem; bottom: 0;
  display: flex; align-items: center; gap: .875rem;
  background: #fff; color: var(--ink);
  border-radius: 14px; padding: .875rem 1.125rem .875rem 1rem;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-float);
  font-size: 1rem; line-height: 1.3; font-weight: 500;
  transform: rotate(-2deg);
}
.sheet__mail .icon { color: var(--ink); width: 1.75rem; height: 1.75rem; }
.sheet__mail small { display: block; font-size: .8125rem; font-weight: 400; color: var(--slate); margin-bottom: .125rem; }
.sheet__note { position: absolute; left: .25rem; bottom: .5rem; font-size: .875rem; color: var(--slate); }

/* Mit einer trusted list */

.fig--check img { width: 100%; border-radius: var(--radius-stage); }
.boundary { background: var(--cloud); border-radius: var(--radius-card); padding: 1.5rem 1.625rem; margin-top: 2rem !important; }
.boundary h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.boundary p { color: var(--ink-soft); }

/* Portal */

.portal { z-index: 2; }
.split--portal { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.split--portal .split__text { padding-top: clamp(0rem, 4vw, 3.5rem); }
.shots { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.shot--back { grid-column: 6 / 13; grid-row: 1; align-self: start; }
.shots .shot--front { grid-column: 1 / 8; grid-row: 1; align-self: start; margin-top: 22%; z-index: 2; }
.shots .shot { box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .55); z-index: 1; }
.shot--back img { aspect-ratio: 682 / 700; object-fit: cover; object-position: top; }
.orb--d { width: 7rem; height: 7rem; right: -3.25rem; top: 46%; z-index: 0; }

/* Drei Schritte */

.steps h2 { max-width: 20ch; scroll-margin-top: 1.5rem; }
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: clamp(2.5rem, 5vw, 4rem); margin-bottom: 3rem; --seg-1: 1; --seg-2: 1; }
.track__step { position: relative; }
.track__node {
  display: grid; place-items: center;
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--ink); color: #fff; border: 2px solid var(--ink);
  font-size: 1.75rem; font-weight: 300; line-height: 1; font-variant-numeric: lining-nums;
  position: relative; z-index: 1;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.track__step::before, .track__step::after {
  content: ""; position: absolute; left: 4.75rem; top: calc(2rem - 1px);
  width: calc(100% + 3rem - 5.5rem); height: 2px; border-radius: 2px;
}
.track__step::before { background: var(--line); }
.track__step::after { background: var(--ink); transform-origin: left center; transform: scaleX(var(--seg, 1)); }
.track__step:nth-child(1) { --seg: var(--seg-1); }
.track__step:nth-child(2) { --seg: var(--seg-2); }
.track__step:last-child::before, .track__step:last-child::after { display: none; }
.track.is-live .track__step:not(.is-on) .track__node { background: #fff; color: var(--slate); border-color: var(--line); }
.track__body { margin-top: 1.5rem; }
.track__body h3 { margin-bottom: .625rem; }
.track__body p { color: var(--slate); max-width: 40ch; }

/* Der Test */

.test h2 { max-width: 22ch; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.scope__panel { border-radius: var(--radius-card); padding: 2.25rem; }
.scope__panel--in { background: #fff; box-shadow: var(--shadow-card); }
.scope__panel--out { box-shadow: inset 0 0 0 1.5px var(--line); }
.scope__panel h3 { margin-bottom: 1.25rem; }
.scope__panel li { display: flex; align-items: flex-start; gap: .875rem; font-size: 1.125rem; line-height: 1.4; padding-block: .75rem; border-top: 1px solid var(--line); }
.scope__panel--in .icon { color: var(--ink); }
.scope__panel--out .icon { color: var(--slate); }
.scope__panel--out li { color: var(--ink-soft); }
.scope__more { margin-top: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.scope__note { margin-top: 2rem; font-size: var(--lead-size); font-weight: 500; }

/* Warum jetzt */

.split--why { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.why-now p { color: var(--ink-soft); }
.orb--f { width: 9rem; height: 9rem; right: -3rem; top: -3rem; opacity: .8; }
.orb--g { width: 3rem; height: 3rem; left: 46%; bottom: 2.5rem; background: radial-gradient(circle at 30% 30%, #fff, var(--rose)); opacity: .9; }
.dates { position: relative; display: grid; gap: 2.25rem; padding-left: 2.25rem; }
.dates::before { content: ""; position: absolute; left: .5rem; top: .75rem; bottom: 2.75rem; width: 2px; background: var(--ink); opacity: .25; }
.dates li { position: relative; }
.dates li::before {
  content: ""; position: absolute; left: -2.25rem; top: .5rem;
  width: 1.125rem; height: 1.125rem; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--ink);
}
.dates li.dates__next::before { background: var(--ink); }
.dates time { display: block; font-size: var(--h3-size); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.dates span { display: block; margin-top: .25rem; color: var(--ink-soft); max-width: 24ch; }

/* Wer wir sind */

.split--who { align-items: start; }
.ring { width: min(100%, 19rem); height: auto; margin-top: clamp(2rem, 4vw, 3rem); }
.who__text p { color: var(--slate); }
.who__text .who__lead { font-size: var(--lead-size); line-height: 1.5; color: var(--ink); }
.who__text .who__gdpr { color: var(--ink); font-weight: 500; padding-top: 1.125rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }

/* Fragen */

.split--faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
.split--faq > h2 { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.375rem; cursor: pointer; list-style: none;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); font-weight: 600; }
.faq__item summary:hover { color: var(--blue); }
.faq__icon { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .875rem; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), background-color .25s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); box-shadow: none; }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item > p { color: var(--slate); max-width: 62ch; padding-bottom: 1.5rem; }
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

/* Abschluss */

.closing__in { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.closing h2 { max-width: 18ch; }
.closing__text { font-size: var(--lead-size); line-height: 1.5; color: var(--on-blue-soft); margin-top: 1.125rem; max-width: 40ch; }
.closing .btn { margin-top: 2rem; }
.closing__mail { margin-top: 1.5rem; color: var(--on-blue-soft); }
.closing__mail a { color: #fff; font-weight: 500; }
.orb--h { width: 16rem; height: 16rem; left: -5rem; bottom: -7rem; background: radial-gradient(circle at 30% 30%, #7C6DFF, #3A27F2 70%); }
.orb--i { width: 8rem; height: 8rem; right: 8%; top: -2.5rem; background: radial-gradient(circle at 30% 30%, #8E82FF, #3A27F2 75%); }

/* Fußzeile */

.site-footer { background: var(--ink); color: var(--on-ink-soft); padding-block: 2.5rem; font-size: 1rem; }
.site-footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.site-footer__logo { height: 1.625rem; width: auto; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-left: auto; }
.site-footer a { color: #fff; text-decoration-color: transparent; transition: text-decoration-color .2s var(--ease); padding-block: .5rem; display: inline-block; }
.site-footer a:hover { text-decoration-color: currentColor; }

/* Screenshot in voller Größe */

.viewer { border: 0; padding: 0; border-radius: var(--radius-card); background: #fff; color: var(--ink); width: min(94vw, 42.625rem); max-height: 92vh; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgba(18, 17, 59, .78); }
.viewer__bar { display: flex; justify-content: flex-end; padding: .625rem; border-bottom: 1px solid var(--line); }
.viewer__close { font: 600 1rem/1 var(--font); color: var(--ink); background: var(--mist); border: 0; border-radius: var(--radius-btn); padding: .75rem 1.125rem; cursor: pointer; transition: background-color .2s var(--ease); }
.viewer__close:hover { background: var(--cloud); }
.viewer__scroll { overflow: auto; overscroll-behavior: contain; }
.viewer__scroll img { width: max(100%, 38rem); max-width: none; }

/* Rechtstexte */

.legal { padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding-bottom: var(--section-pad); }
.legal__in { max-width: 46rem; hyphens: auto; overflow-wrap: break-word; }
.legal h1 { font-size: clamp(1.75rem, 1.1rem + 3.1vw, 3.5rem); margin-bottom: .875rem; text-wrap: wrap; }
.legal__meta { color: var(--slate); }
.legal h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; margin-top: 3.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.25rem; margin-top: 2.25rem; scroll-margin-top: 1rem; }
.legal p, .legal ul { margin-top: 1rem; color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.375rem; }
.legal li + li { margin-top: .5rem; }
.legal .legal__q { color: var(--ink); font-weight: 600; margin-top: 1.5rem; }
.legal__note { background: var(--cloud); border-radius: var(--radius-card); padding: 1.5rem 1.625rem; margin-top: 1.25rem; }
.legal__note p { color: var(--ink); }
.legal__note p:first-child { margin-top: 0; }

/* Seite nicht gefunden */

.lost { padding-block: var(--section-pad); }
.lost__in { max-width: 40rem; }
.lost p { font-size: var(--lead-size); line-height: 1.5; color: var(--slate); margin-top: 1.375rem; }
.lost .btn { margin-top: 2rem; }

/* Mittlere Breiten */

@media (max-width: 62rem) {
  .hero__grid, .split, .split--portal, .split--why, .split--faq { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 3rem; }
  .split--flip .fig { order: 2; }
  /* Eine Spalte: Überschrift, dann das Portal, dann Text und Button */
  .hero__grid { gap: 0; }
  .hero__text { display: contents; }
  .hero__grid h1 { order: 1; }
  .stage { order: 2; margin-top: 2rem; }
  .hero__sub { order: 3; max-width: 52ch; margin-top: 2rem; }
  .hero__actions { order: 4; }
  .hero__note { order: 5; }
  .split--portal .split__text { padding-top: 0; }
  .split--faq > h2 { position: static; }
  .ring { width: 13rem; }
  .sheet__mail { right: 0; }
  .portal { overflow: clip; }
  .track { gap: 2rem; }
  .track__step::before, .track__step::after { width: calc(100% + 2rem - 5.5rem); }
}

@media (min-width: 62.0625rem) {
  .shots { margin-bottom: calc(-1 * var(--section-pad) - 3.5rem); }
  .steps { padding-top: calc(var(--section-pad) + 5rem); }
}

/* Handy */

@media (max-width: 47.5rem) {
  :root { --header-h: 4rem; }
  .site-nav { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link { padding-block: .5rem; }
  .traits { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .orb--a { width: 4.5rem; height: 4.5rem; right: -.5rem; top: -1.25rem; }
  .orb--b { left: -.75rem; bottom: -1rem; z-index: auto; }
  .sheet__grid { grid-template-columns: 2rem 1.5fr 1fr .9fr; font-size: .875rem; }
  .sheet__grid > * { padding: .75rem .5rem; }
  .sheet { padding-bottom: 6.5rem; }
  .sheet__mail { font-size: .9375rem; bottom: 2.25rem; }
  .sheet__note { bottom: 0; }
  .orb--c { top: .375rem; }
  .orb--g { left: auto; right: 1.5rem; bottom: -1.25rem; }
  .orb--i { right: -2.5rem; top: -4.5rem; }
  .ring { margin-top: 1.5rem; }

  .track { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .track__step { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.25rem; }
  .track__body { margin-top: .5rem; }
  .track__step::before, .track__step::after { left: calc(2rem - 1px); top: 4.5rem; width: 2px; height: calc(100% + 2.25rem - 5rem); }
  .track__step::after { transform-origin: center top; transform: scaleY(var(--seg, 1)); }

  .scope { grid-template-columns: minmax(0, 1fr); }
  .scope__panel { padding: 1.5rem; }
  .shot--back { grid-column: 3 / 13; }
  .shots .shot--front { grid-column: 1 / 12; margin-top: 19%; }
  .shot--back .shot__hint { display: none; }
  .orb--d { right: -1.75rem; top: auto; bottom: -1.75rem; width: 4.5rem; height: 4.5rem; }
  .orb--h { width: 9rem; height: 9rem; left: -4.5rem; bottom: -5.5rem; }
  .closing__mail { color: #fff; }
  .site-footer ul { margin-left: 0; width: 100%; }
  .btn { width: 100%; }
  .site-header .btn, .closing .btn { width: auto; }
}

/* Bewegung */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
