/* ============================================================
   Gunnar Porada / innoSec
   Design-These: unter der glatten Oberfläche liegt die wahre Struktur.
   Oberfläche = editorial, ruhig, souverän.
   Unterschrift = technische Präzision (mono-Labels, Hairlines, Raster).
   Boldness an EINER Stelle: der Hero.
   ============================================================ */

:root {
  --paper:      #fafbfd;
  --paper-2:    #eef1f8;
  --cool:       #eef1f8;
  --ink:        #12151c;
  --ink-2:      #454b57;
  --ink-3:      #69717f;
  --accent:     #2f5bff;
  --accent-ink: #2448cc;
  --hair:       #e6e9f1;
  --hair-2:     #e6e9f1;
  --card:       #ffffff;
  --panel:      #0c1020;

  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;

  --maxw: 1200px;

  /* Einheitlicher vertikaler Innenabstand aller Hauptabschnitte (oben = unten). */
  --section-space: clamp(64px, 8vw, 102px);

  --fs-hero: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h3: 1.15rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-mono: 0.8rem;

  --step--1: var(--fs-mono);
  --step-0: var(--fs-body);
  --step-1: var(--fs-h3);
  --step-2: var(--fs-h2);
  --step-3: var(--fs-hero);
  --step-hero: var(--fs-hero);
}

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

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell {
  width: min(var(--maxw), calc(100% - 48px));
  margin-inline: auto;
}

.hero-layout > *,
.header-inner > *,
.proof-inner > *,
.contact-inner > *,
.footer-inner > * {
  min-width: 0;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

a { color: inherit; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* utility */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 22px; height: 1px; background: var(--accent);
  vertical-align: middle; margin-right: 10px;
  transform: translateY(-2px);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hair-2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: var(--step-1); letter-spacing: -0.015em; }
.primary-nav ul { display: flex; gap: clamp(14px, 3vw, 34px); list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a {
  text-decoration: none; font-size: var(--step--1);
  letter-spacing: 0.02em; color: var(--ink-2);
  padding: 6px 0; position: relative;
}
.primary-nav a:not(.nav-contact)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.primary-nav a:not(.nav-contact):hover::after { width: 100%; }
.nav-contact {
  border: 1px solid var(--accent); border-radius: 2px;
  padding: 8px 16px !important; background: var(--accent); color: #fff;
  transition: background .2s ease, border-color .2s ease;
}
.nav-contact:hover {
  border-color: color-mix(in srgb, var(--accent) 76%, var(--ink));
  background: color-mix(in srgb, var(--accent) 76%, var(--ink));
  color: #fff;
}

.primary-nav .nav-contact {
  color: #fff;
}

/* ============================================================
   HERO — der eine mutige Moment.
   Ruhige Aussage-Oberfläche, darunter ein feines technisches Raster,
   das die "verborgene Struktur" andeutet. Rein CSS, kein JS.
   ============================================================ */
.hero {
  position: relative;
  padding: var(--section-space) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--hair-2);
  background: radial-gradient(130% 90% at 82% 0%, #e9edff 0%, var(--paper) 55%);
}
/* reservierte Ebene für den späteren SVG-Wimmelbild-Effekt */
.hero-effect-layer { position: absolute; inset: 0; pointer-events: none; }

.hero-content { position: relative; max-width: 20ch; }
.hero-content { max-width: min(940px, 100%); }
.hero .eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
}
.hero .eyebrow::before {
  display: block;
  width: 54px;
  height: 5px;
  margin: 0 0 clamp(28px, 5vh, 46px);
  border-radius: 999px;
  transform: none;
}
.hero h1 {
  font-size: var(--step-hero);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(24px, 4vh, 40px);
  max-width: 18ch;
}
.hero h1 em { font-style: italic; }
.hero h1 em,
.hero h1 .hero-accent { color: var(--accent); }
.hero h1 .hero-accent { white-space: nowrap; }

.hero-note {
  font-size: var(--step-1);
  font-family: var(--serif); font-style: italic;
  color: var(--ink-2);
  margin: 0 0 clamp(30px, 5vh, 48px);
  max-width: 46ch;
}
.cta-down {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; font-family: var(--mono);
  font-size: var(--step--1); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-ink);
}
.cta-down .cta-line { width: 46px; height: 2px; background: var(--accent); position: relative; transition: width .25s ease; }
.cta-down .cta-line::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.cta-down:hover .cta-line { width: 72px; }

/* ---------- Proof strip ---------- */
.proof {
  border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--accent) 1.5%, var(--paper));
}
.proof-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px;
  padding-block: clamp(20px, 3vh, 30px);
}
.proof-label {
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  margin: 0;
}
.proof-list {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 34px);
  list-style: none; margin: 0; padding: 0;
}
.proof-list li {
  font-family: var(--serif); font-size: var(--step-1);
  color: var(--ink); letter-spacing: 0.01em;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-space); }
.section-head { max-width: 60ch; margin-bottom: clamp(34px, 6vh, 64px); }
.section-head h2 { font-size: var(--step-3); line-height: 1.1; margin: 0; }
.section-lede { color: var(--ink-2); font-size: var(--step-1); margin: 24px 0 0; max-width: 52ch; }

/* ---------- Doors ---------- */
.doors { border-top: 1px solid var(--hair-2); }
.door-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.door {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--hair);
  position: relative;
  cursor: pointer;
  transition: background-color .2s ease;
}
.door::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .3s ease;
}
.door:hover {
  background-color: color-mix(in srgb, var(--accent) 3%, transparent);
}
.door:hover::before { transform: scaleY(1); }
.door-index {
  font-family: var(--mono); font-size: var(--step-1);
  color: var(--ink-3); margin: 0; padding-top: .2em;
  font-variant-numeric: tabular-nums;
}
.door:hover .door-index { color: var(--accent); }
.door-body h3 { font-size: var(--step-2); margin: 0 0 .5rem; line-height: 1.15; }
.door-lede { margin: 0 0 .6rem; color: var(--ink); max-width: 54ch; }
.door-when {
  margin: 0; font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.02em; color: var(--ink-3); max-width: 54ch;
}
.door-when::before { content: "→ "; color: var(--accent); }
.door-go {
  align-self: center; white-space: nowrap; text-decoration: none;
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.door-go::after {
  content: "";
  position: absolute;
  inset: 0;
}
.door-go:focus-visible {
  outline: none;
}
.door-go:focus-visible::after {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.door-go span { transition: transform .2s ease; }
.door:hover .door-go { color: var(--accent-ink); }
.door-go:hover span { transform: translateX(5px); }
.door-quiet { background: linear-gradient(to right, color-mix(in srgb, var(--paper-2) 60%, transparent), transparent 40%); }

/* ---------- Foundation ---------- */
.foundation {
  background: color-mix(in srgb, var(--accent) 2%, var(--paper-2));
  border-top: 1px solid var(--hair);
}
/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--hair-2); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px);
  align-items: end;
}
.contact-head h2 { font-size: var(--step-3); line-height: 1.1; margin: 0; max-width: 16ch; }
.contact-lines { font-style: normal; display: flex; flex-direction: column; }
.contact-lines a {
  display: grid; grid-template-columns: 8rem 1fr; align-items: baseline;
  gap: 1rem; text-decoration: none; padding: 18px 0;
  border-top: 1px solid var(--hair);
}
.contact-lines a:last-child { border-bottom: 1px solid var(--hair); }
.contact-lines .c-key {
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.contact-lines .c-val { font-family: var(--serif); font-size: var(--step-1); color: var(--ink); }
.contact-lines a:hover .c-val { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hair-2); background: var(--paper); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 28px;
}
.footer-brand { margin: 0; font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.06em; color: var(--ink-3); }
.footer-legal { margin: 0; display: flex; gap: 22px; }
.footer-legal span,
.footer-legal a { font-family: var(--mono); font-size: var(--step--1); color: var(--ink-3); }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .door { grid-template-columns: 3rem 1fr; }
  .door-go { grid-column: 2; justify-self: start; margin-top: 4px; }
  .contact-inner { grid-template-columns: 1fr; align-items: start; }
  .contact-lines a { grid-template-columns: 6.5rem 1fr; }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 380px) {
  .shell {
    width: calc(100% - 32px);
  }
}
@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 8px 0; }
  .primary-nav ul { gap: 18px; }
}

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   Cool editorial system — Startseite
   ============================================================ */
body {
  background: var(--paper);
  font-family: var(--sans);
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(250 251 253 / 94%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hair);
}

.brand-name {
  font-family: var(--sans);
  font-weight: 700;
}

.brand-logo {
  order: -1;
  display: block;
  width: auto;
  height: 29px;
  border-radius: 999px;
}

.nav-contact {
  border-color: var(--accent);
  border-radius: 9px;
  background: var(--accent);
  box-shadow: 0 5px 14px rgb(18 21 28 / 12%);
}

.nav-contact:hover {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--accent);
  font-size: clamp(.68rem, .65rem + .12vw, .76rem);
  letter-spacing: .14em;
}

.eyebrow::before,
.hero .eyebrow::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  transform: none;
}

.hero {
  padding: var(--section-space) 0;
  border-bottom: 0;
  background: linear-gradient(180deg, #fafbfd, #eef1f8);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
}

.hero-content {
  position: relative;
  max-width: none;
}

.hero h1 {
  max-width: 17ch;
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.hero h1 em {
  font-style: normal;
}

.hero h1 em,
.hero h1 .hero-accent {
  color: var(--accent);
}

.hero-line {
  display: inline;
}

.hero-proof {
  max-width: 52ch;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.5;
}

.hero-proof .hero-accent {
  color: var(--accent);
}

.hero-subheadline {
  max-width: 55ch;
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: var(--step-0);
  line-height: 1.6;
}

.hero-note {
  max-width: 47ch;
  margin: 0 0 30px;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-style: normal;
}

@media (min-width: 1100px) {
  .hero-line {
    display: block;
    white-space: nowrap;
  }
}

.cta-down {
  gap: 10px;
  padding: 13px 17px;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 0 10px 24px rgb(47 91 255 / 22%);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cta-down:hover {
  background: var(--accent-ink);
  box-shadow: 0 12px 28px rgb(47 91 255 / 28%);
  transform: translateY(-1px);
}

.cta-down .cta-line {
  width: 18px;
  height: 1px;
  background: #fff;
}

.cta-down .cta-line::after {
  top: -3px;
  width: 7px;
  height: 7px;
  border-color: #fff;
  border-width: 0 1px 1px 0;
  transform: rotate(-45deg);
}

.cta-down:hover .cta-line {
  width: 24px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 7 / 5;
  min-height: 300px;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  background: transparent;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 6%;
  bottom: -28px;
  left: 10%;
  height: 46px;
  border-radius: 50%;
  background: rgb(15 23 42 / 14%);
  filter: blur(25px);
  transform: scaleX(.96);
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-zoom-trigger {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(15 23 42 / 6%);
  border-radius: 20px;
  background: #fff;
  transform:
    rotateX(1deg)
    rotateY(-1.3deg)
    translateY(-5px)
    translateZ(28px);
  transform-style: preserve-3d;
  box-shadow:
    0 2px 5px rgb(15 23 42 / 5%),
    0 18px 38px rgb(15 23 42 / 10%),
    0 42px 95px rgb(15 23 42 / 13%);
  cursor: zoom-in;
  transition:
    transform 320ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 320ms ease;
  will-change: transform;
}

.hero-zoom-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 82%),
    inset 1px 0 0 rgb(255 255 255 / 32%),
    inset 0 -1px 0 rgb(15 23 42 / 4%);
}

.hero-zoom-trigger img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.hero-zoom-trigger:hover {
  transform:
    rotateX(.5deg)
    rotateY(-.7deg)
    translateY(-9px)
    translateZ(46px)
    scale(1.006);
  box-shadow:
    0 4px 8px rgb(15 23 42 / 6%),
    0 24px 48px rgb(15 23 42 / 13%),
    0 54px 115px rgb(15 23 42 / 16%);
}

.hero-zoom-trigger:focus-visible {
  outline: 3px solid rgb(49 92 255 / 28%);
  outline-offset: 5px;
}

.hero-lightbox {
  width: fit-content;
  max-width: 92vw;
  max-height: 88vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.hero-lightbox[open] {
  display: block;
  animation: lightbox-in 180ms ease-out;
}

.hero-lightbox::backdrop {
  background: rgb(20 25 35 / 56%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgb(15 23 42 / 24%);
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  background: rgb(20 25 35 / 62%);
  color: #fff;
  font: 400 1.4rem / 1 var(--sans);
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgb(20 25 35 / 78%);
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-effect-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.proof {
  border-block: 1px solid var(--hair);
  background: var(--card);
}

.proof-inner {
  flex-wrap: nowrap;
  gap: clamp(24px, 4vw, 52px);
}

.proof-label {
  flex: 0 0 17rem;
  color: var(--ink-3);
}

.proof-marquee {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.proof-track {
  display: flex;
  width: max-content;
  animation: proof-scroll 30s linear infinite;
  will-change: transform;
}

.proof-list {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(3.5rem, 6vw, 7rem);
  margin: 0;
  padding: 0 clamp(3.5rem, 6vw, 7rem) 0 0;
  list-style: none;
  white-space: nowrap;
}

.proof-list li {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 700;
}

@keyframes proof-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.doors {
  border-top: 0;
  background: var(--paper);
}

.section-head {
  max-width: 58ch;
}

.doors .section-head {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin-bottom: clamp(20px, 2.5vh, 30px);
}

.doors .section-head h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(1.7rem, 1.45rem + 1.2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.doors .section-lede {
  width: 100%;
  max-width: none;
  white-space: normal;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.section-head h2 {
  line-height: 1.08;
}

.door-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
  border-top: 0;
}

#aufholen,
#ma,
#krise,
#privacy,
#scanservice,
#vortraege {
  scroll-margin-top: 96px;
}

.door {
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 6px 12px;
  min-height: 180px;
  height: 100%;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 7px 24px rgb(18 21 28 / 4%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.door::before {
  content: none;
}

.door:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--hair));
  background: var(--card);
  box-shadow: 0 14px 34px rgb(18 21 28 / 8%);
  transform: translateY(-3px);
}

.door-index {
  color: var(--accent);
  font-size: var(--step--1);
  font-weight: 700;
}

.door-body h3 {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 1.1rem + .55vw, 1.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.door-lede {
  color: var(--ink-2);
}

.door-when {
  color: var(--ink-3);
}

.door-go {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.door:hover .door-go {
  color: var(--accent);
}

.door-quiet {
  background: var(--card);
}

.doors .door-wide {
  grid-column: 1 / -1;
}

.foundation {
  border-top: 0;
  background: var(--panel);
  color: #f7f8fc;
}

.foundation .eyebrow {
  background: rgb(47 91 255 / 14%);
  color: #87a1ff;
}

.foundation .section-head h2 {
  color: #fff;
}

.foundation .section-head {
  width: 100%;
  max-width: none;
}

.foundation .section-head h2 {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .foundation .section-head h2 {
    white-space: normal;
  }
}

.foundation-marquees {
  min-width: 0;
  margin-bottom: 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.foundation-marquee {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  min-width: 0;
  padding-block: clamp(1.4rem, 2.5vw, 2rem);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.foundation-marquee-label h3 {
  margin: 0 0 .4rem;
  color: #fff;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.foundation-marquee-label p {
  margin: 0;
  color: #858da0;
  font-family: var(--mono);
  font-size: var(--step--1);
  line-height: 1.5;
}

.foundation-marquee .proof-list li {
  color: #e6e9f2;
}

.foundation-marquee-tv .proof-track {
  animation-duration: 45s;
}

.foundation-marquee-press .proof-track {
  animation-duration: 75s;
}

.foundation-marquee-label .reference-proof-note {
  margin-top: .65rem;
  padding: 0;
  color: #aab1c0;
  font-size: var(--step--1);
}

.foundation-marquee-references .proof-track {
  animation-duration: 45s;
}

.reference-proof-list {
  align-items: stretch;
  gap: 1rem;
  padding-right: 1rem;
  white-space: normal;
}

.reference-proof-list li {
  width: 410px;
  height: 225px;
  white-space: normal;
}

.reference-proof-list .reference-item-long {
  width: 560px;
}

.reference-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .875rem;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 16px;
  background: rgb(255 255 255 / 3%);
}

.reference-card blockquote {
  flex: 0 0 auto;
  margin: 0;
}

.reference-card blockquote p {
  margin: 0;
  color: #f7f8fc;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.5;
}

.reference-item-long .reference-card blockquote p {
  font-size: clamp(.85rem, .9vw, .94rem);
}

.reference-name {
  margin: .75rem 0 .25rem;
  color: #87a1ff;
  font-weight: 700;
}

.reference-role {
  margin: 0;
  color: #aab1c0;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.45;
}

.tv-proof-list {
  gap: 1rem;
  padding-right: 1rem;
}

.tv-proof-list li {
  width: 196px;
  height: 110px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 14px;
  background: rgb(255 255 255 / 4%);
}

.tv-proof-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-archive-open {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #87a1ff;
  font: 700 var(--fs-small)/1.4 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.press-archive-open:hover {
  color: #afc0ee;
}

.press-archive {
  width: min(88vw, 1180px);
  max-width: none;
  height: min(84vh, 900px);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(143 170 255 / 24%);
  border-radius: 20px;
  background: #111a35;
  color: #e8ebf0;
  box-shadow: 0 32px 90px rgb(3 7 18 / 38%);
}

.press-archive::backdrop {
  background: rgb(7 12 25 / 94%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.press-archive[open] {
  display: block;
}

.press-archive-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
  padding: clamp(24px, 4vw, 48px);
}

.press-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.press-archive-head > div {
  max-width: 850px;
}

.press-archive-head .eyebrow {
  margin-bottom: 1rem;
  background: rgb(47 91 255 / 14%);
  color: #87a1ff;
}

.press-archive-head h2 {
  margin: 0;
  color: #e8ebf0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.press-archive-head #press-archive-intro {
  max-width: 72ch;
  margin: 24px 0 0;
  color: #afbacf;
  line-height: 1.55;
}

.press-archive-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgb(143 170 255 / 28%);
  border-radius: 50%;
  background: rgb(255 255 255 / 5%);
  color: #e8ebf0;
  font: 300 2rem/1 var(--sans);
  cursor: pointer;
}

.press-archive-close:hover {
  border-color: rgb(143 170 255 / 55%);
  background: rgb(255 255 255 / 9%);
}

.press-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding-block: clamp(18px, 3vh, 28px);
  border-bottom: 1px solid rgb(255 255 255 / 11%);
}

.press-archive-filters button {
  padding: .55rem .85rem;
  border: 1px solid rgb(143 170 255 / 20%);
  border-radius: 999px;
  background: transparent;
  color: #afbacf;
  font: 700 var(--fs-small)/1 var(--sans);
  cursor: pointer;
}

.press-archive-filters button:hover,
.press-archive-filters button[aria-pressed="true"] {
  border-color: #82a0ff;
  background: rgb(47 91 255 / 18%);
  color: #e8ebf0;
}

.press-archive-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: clamp(8px, 1.5vw, 18px);
  scrollbar-width: thin;
  scrollbar-color: rgb(143 170 255 / 42%) rgb(255 255 255 / 5%);
}

.press-archive-scroll::-webkit-scrollbar {
  width: 8px;
}

.press-archive-scroll::-webkit-scrollbar-track {
  background: rgb(255 255 255 / 5%);
}

.press-archive-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgb(143 170 255 / 42%);
}

.press-archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.press-archive-list li {
  min-width: 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.press-archive-list li[hidden] {
  display: none;
}

.press-archive-list article {
  padding: 1rem 0 1.1rem;
}

.press-archive-list .press-medium {
  margin: 0 0 .3rem;
  color: #82a0ff;
  font: 700 var(--fs-mono)/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.press-archive-list h3 {
  margin: 0;
  color: #e8ebf0;
  font-size: var(--fs-body);
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: -.01em;
}

.press-archive-list a {
  display: inline-flex;
  gap: .4rem;
  margin-top: .55rem;
  color: #afc0ee;
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
}

.press-archive-list a:hover {
  color: #fff;
}

body.press-archive-modal-open {
  overflow: hidden;
}

/* Presseliste als statische Seite (presse.html): gleiche Listenoptik wie im
   Pressearchiv-Dialog, aber als normaler Seitenabschnitt statt als <dialog>. */
.press-page-panel {
  margin-top: clamp(34px, 5vw, 58px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgb(143 170 255 / 24%);
  border-radius: 20px;
  background: #111a35;
  color: #e8ebf0;
}

.press-page-panel .press-archive-filters {
  margin: 0 0 clamp(18px, 3vh, 28px);
  padding-block: 0;
  border-bottom: 0;
}

.press-page-panel .press-archive-list {
  padding-right: 0;
}

@media (max-width: 760px) {
  .press-page-panel {
    padding: 20px;
    border-radius: 16px;
  }
}

@media (max-width: 760px) {
  .press-archive {
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .press-archive-panel {
    padding: 20px;
  }

  .press-archive-head {
    gap: 1rem;
  }

  .press-archive-head h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .press-archive-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-archive {
    animation: none;
  }
}

.contact {
  border-top: 0;
  background: var(--paper);
}

.contact-head h2 {
  font-family: var(--sans);
  font-weight: 700;
}

.contact-lines a {
  border-top-color: var(--hair);
}

.contact-lines a:last-child {
  border-bottom-color: var(--hair);
}

.contact-lines .c-val {
  min-width: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top-color: var(--hair);
  background: var(--paper);
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .proof-inner {
    flex-wrap: wrap;
  }

  .proof-list {
    justify-content: flex-start;
  }

  .foundation-marquee {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .proof-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .proof-label {
    flex-basis: auto;
  }

  .proof-marquee {
    width: 100%;
  }

  .reference-proof-list li,
  .reference-proof-list .reference-item-long {
    width: 86vw;
    height: clamp(225px, calc(610px - 80vw), 315px);
  }
}

@media (max-width: 680px) {
  .door-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .door {
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 25px;
  }
}

/* ---------- Touch targets + anchor offsets (mobile) ---------- */
#anlass,
#substanz,
#kontakt {
  scroll-margin-top: 96px;
}

@media (max-width: 768px) {
  .primary-nav a {
    padding: 14px 2px;
  }

  .primary-nav .nav-contact {
    padding: 13px 16px !important;
  }

  .brand {
    padding-block: 8px;
  }

  #anlass,
  #substanz,
  #kontakt {
    scroll-margin-top: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .proof-list[aria-hidden="true"] {
    display: none;
  }

  .hero-lightbox[open] {
    animation: none;
  }

  .hero-zoom-trigger {
    transition: none;
  }

  .hero-zoom-trigger:hover {
    transform:
      rotateX(1deg)
      rotateY(-1.3deg)
      translateY(-5px)
      translateZ(28px);
  }
}

/* ---------- Einheitliche Typo-Skala ---------- */
body {
  font-size: var(--fs-body);
}

.hero h1,
.subhero-copy h1,
.section-head h2,
.contact-head h2 {
  font-size: var(--fs-hero);
}

.foundation-marquee-label h3 {
  font-size: 1.05rem;
}

.hero-proof,
.hero-subheadline,
.hero-note,
.section-lede,
.doors .section-lede,
.door-lede,
.contact-lines .c-val,
.proof-list li,
.reference-card blockquote p,
.reference-name {
  font-size: .95rem;
}

.foundation-marquee-press .proof-list li {
  font-size: var(--fs-body);
  font-weight: 600;
}

.reference-item-long .reference-card blockquote p {
  font-size: var(--fs-small);
}

.reference-name {
  font-size: .9rem;
}

.foundation-marquee-label p,
.reference-proof-note,
.reference-role,
.footer-brand,
.footer-legal span,
.footer-legal a {
  font-size: var(--fs-small);
}

.reference-role {
  font-size: var(--fs-mono);
}

.eyebrow,
.proof-label,
.door-index,
.door-when {
  font-size: var(--fs-mono);
}

/* ---------- Text- und Dokument-Bausteine ---------- */
.prose {
  max-width: 68ch;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1.25rem;
}

.doc-heading {
  margin: clamp(30px, 5vh, 48px) 0 1rem;
  color: var(--ink);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.doc-list {
  max-width: 68ch;
  margin: clamp(24px, 4vh, 40px) 0 0;
  padding-inline-start: 1.4rem;
  border-top: 1px solid var(--hair);
}

.doc-list li {
  padding: 1rem 0 1rem .4rem;
  border-bottom: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: var(--fs-body);
}

.doc-list li::marker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 700;
}

.legal-document {
  padding-block: var(--section-space);
}

.legal-document .subhero-back {
  display: inline-block;
  margin-bottom: clamp(34px, 5vw, 58px);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: .04em;
  text-decoration: none;
}

.legal-document .subhero-back:hover,
.legal-document .subhero-back:focus-visible {
  color: var(--accent);
}

.legal-heading,
.legal-document .prose {
  width: 100%;
  min-width: 0;
  max-width: 68ch;
  overflow-wrap: anywhere;
}

.legal-heading {
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--hair);
}

.legal-heading h1 {
  margin: 18px 0 0;
  font-size: clamp(2.35rem, 3.5vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.legal-document .prose {
  font-size: 1rem;
  line-height: 1.6;
}

.legal-document .doc-heading {
  font-size: clamp(1.4rem, 2vw, 1.55rem);
}

.legal-part {
  scroll-margin-top: 96px;
}

.legal-part-heading {
  margin: clamp(34px, 5vw, 52px) 0 1.25rem;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.legal-part-separated {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: clamp(38px, 5vw, 52px);
  border-top: 1px solid var(--hair);
}

.legal-part-separated > .legal-part-heading {
  margin-top: 0;
}

.legal-part .doc-heading {
  font-family: var(--serif);
  font-weight: 400;
}

.doc-address {
  margin: 1.25rem 0 0;
  color: var(--ink-2);
  font: inherit;
}

.legal-part .doc-address + p {
  margin-top: 1.25rem;
}

.doc-address a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-address a:hover,
.doc-address a:focus-visible {
  color: var(--ink);
}

.pull-quote {
  max-width: 34ch;
  margin: clamp(30px, 5vh, 48px) 0 0;
  padding: .2rem 0 .2rem 1.5rem;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.pull-quote p {
  margin: 0;
}

.doc-figure {
  display: grid;
  width: min(100%, 320px);
  aspect-ratio: 16 / 10;
  margin: clamp(30px, 5vh, 48px) 0 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--cool);
}

.doc-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doc-figure figcaption {
  padding: 18px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  line-height: 1.5;
  text-align: center;
}

.foundation .prose {
  color: rgb(255 255 255 / 76%);
}

/* ---------- Datenschutz-Hinweisbanner (nur Startseite) ---------- */
.privacy-banner {
  position: fixed;
  z-index: 60;
  inset-block-end: 0;
  inset-inline: 0;
  border-top: 1px solid rgb(143 170 255 / 24%);
  background: var(--panel);
  color: #f7f8fc;
  box-shadow: 0 -10px 32px rgb(3 7 18 / 30%);
}

.privacy-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px clamp(24px, 4vw, 48px);
  padding-block: clamp(16px, 2.5vh, 22px);
}

.privacy-banner-copy {
  min-width: 0;
  max-width: 62ch;
}

.privacy-banner-title {
  margin: 0 0 .3rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.privacy-banner-text {
  margin: 0;
  color: rgb(255 255 255 / 74%);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.privacy-banner-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.privacy-banner-link {
  color: #87a1ff;
  font-size: var(--fs-small);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-banner-link:hover,
.privacy-banner-link:focus-visible {
  color: #aebfff;
  text-decoration-thickness: 2px;
}

.privacy-banner-close {
  padding: 11px 20px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.privacy-banner-close:hover {
  background: var(--accent-ink);
}

@media (max-width: 700px) {
  .privacy-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-banner-close {
    transition: none;
  }
}

.foundation .doc-heading {
  color: #fff;
}
