/* ==========================================================================
   MEVIT – Events. Tech. Solutions.
   Schwarz, typografisch, ruhig.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-ext.woff2") format("woff2-variations"), url("../fonts/archivo-var-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --bg-raise: #121212;
  --fg: #ecebe6;
  --fg-soft: #b9b8b2;
  --muted: #84837e;
  --dim: #3b3b39;
  --line: rgba(236, 235, 230, 0.12);
  --line-strong: rgba(236, 235, 230, 0.28);
  --lamp: #ffb43c;              /* Wolfram-Glühlicht – die einzige Farbe */
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(16px, 0.35vw + 15px, 19px);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--lamp); }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono, .label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; }
.label { color: var(--muted); margin: 0 0 1.25rem; display: flex; align-items: center; gap: 0.6em; }
.dim { color: var(--muted); }
.hide-s { display: none; }
@media (min-width: 720px) { .hide-s { display: inline; } }

.lamp {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 3px rgba(255, 180, 60, 0.12), 0 0 14px rgba(255, 180, 60, 0.55);
  animation: lamp 3.2s ease-in-out infinite;
}
@keyframes lamp { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; }
.skip:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 11, 11, 0.86); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; gap: 5px; position: relative; z-index: 2; }
.brand-word { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: 0.02em; }
.brand-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.brand-logo { height: 34px; width: auto; display: block; }
.brand-slogan { display: block; width: 120px; font-weight: 700; font-stretch: 125%; font-size: 6.2px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); white-space: nowrap; text-align: justify; text-align-last: justify; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-cta { text-decoration: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-soft); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.nav-list > li > a { display: inline-block; padding: 8px 0; position: relative; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--fg); }
.nav-list > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--lamp); }
.has-sub > a::before { content: ""; position: absolute; right: -13px; top: 50%; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.has-sub > a { margin-right: 13px; }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -20px; min-width: 250px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.sub a { display: block; padding: 9px 20px; text-decoration: none; color: var(--fg-soft); font-size: 15px; }
.sub a:hover, .sub a[aria-current="page"] { color: var(--fg); background: rgba(236, 235, 230, 0.04); }
.nav-cta { border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 18px; color: var(--fg); }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2;
    background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px;
    padding: 9px 16px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  }
  .nav-toggle-bars { width: 16px; height: 7px; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
  .nav-toggle-bars::before { top: 0; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars::before { top: 3px; transform: rotate(45deg); }
  .nav-open .nav-toggle-bars::after { top: 3px; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; background: var(--bg); z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 36px;
    padding: 96px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-top: 1px solid var(--line); }
  .nav-list > li:last-child { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { font-family: var(--sans); text-transform: none; letter-spacing: -0.01em; font-size: clamp(30px, 8vw, 54px); font-weight: 600; font-stretch: 112%; color: var(--fg); padding: 12px 0; }
  .nav-list > li > a[aria-current="page"]::after, .has-sub > a::before { display: none; }
  .has-sub > a { margin-right: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 16px; min-width: 0; }
  .sub a { padding: 5px 0; font-size: 17px; color: var(--muted); }
  .sub a:hover { background: none; }
  .nav-cta { align-self: flex-start; font-size: 14px; padding: 14px 24px; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; border-color: transparent; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ----------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 15px 22px; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--fg); background: transparent; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { border-color: var(--fg); }
.btn-solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-solid:hover { background: transparent; color: var(--fg); }
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(3px); }

/* -------------------------------------------------------------------- Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 92px; padding-bottom: 28px; isolation: isolate; overflow: hidden;
}
.hero::after { /* Bühnenkante / Horizont */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}
.hero-mark { /* Logo als abgedunkeltes Wasserzeichen hinter dem Hero-Text */
  position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: min(92vw, 1600px); opacity: 0.05; pointer-events: none; user-select: none;
}
.hero-mark img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .hero-mark { width: 100vw; transform: translate(-50%, -40%); } }
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 6vh 2vh; }
.hero-h1 { margin: 0; font-weight: inherit; }
.hero-kicker { display: block; font-family: var(--mono); font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: clamp(18px, 3vh, 36px); max-width: 38ch; font-weight: 400; }
.hero-display {
  display: block; font-weight: 700; font-stretch: 125%;
  font-size: clamp(50px, min(13.2vw, 17.5vh), 228px); line-height: 0.86; letter-spacing: -0.035em;
  color: var(--fg);
}
.hero-line { display: block; }
.hero-line:nth-child(2) { padding-left: 0.62em; }
.hero-line:nth-child(3) { padding-left: 1.24em; }
@media (max-width: 600px) { .hero-line:nth-child(n) { padding-left: 0; } }
.hero-foot { display: grid; gap: 28px; margin-top: clamp(28px, 6vh, 64px); }
@media (min-width: 900px) { .hero-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.hero-lead { margin: 0; max-width: 46ch; color: var(--fg-soft); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 34px; color: var(--muted); display: none; align-items: center; gap: 12px; writing-mode: vertical-rl; }
.hero-scroll span { width: 1px; height: 48px; background: linear-gradient(var(--fg), transparent); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 1200px) { .hero-scroll { display: none; } }

/* ------------------------------------------------------------- Statement */
.statement { padding-block: clamp(80px, 14vw, 200px); border-bottom: 1px solid var(--line); }
.statement-text p { margin: 0; font-size: clamp(26px, 3.6vw, 58px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; font-stretch: 108%; max-width: 26ch; text-wrap: balance; }
.statement-text p + p { margin-top: 0.6em; color: var(--muted); }
.statement-text strong { font-weight: 500; color: var(--fg); }
.statement-text p:first-child { color: var(--muted); }
.statement-text p:first-child strong { color: var(--fg); }

/* -------------------------------------------------------------- Page head */
.page-head { position: relative; isolation: isolate; padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(56px, 9vw, 120px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-title { margin: 0; font-weight: 700; font-stretch: 122%; font-size: clamp(44px, 8.4vw, 138px); line-height: 0.9; letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
.article-title { font-size: clamp(38px, 6vw, 96px); max-width: 18ch; }
.page-title-logo { max-width: none; margin-top: clamp(8px, 1.5vw, 20px); }
.page-title-logo img { display: block; width: calc(var(--logo-w) * 0.62); height: auto; max-width: 100%; }
@media (min-width: 900px) { .page-title-logo img { width: var(--logo-w); } }
.page-lead { margin: clamp(24px, 3vw, 44px) 0 0; max-width: 52ch; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.5; color: var(--fg-soft); }
.facts { list-style: none; padding: 0; margin: clamp(28px, 4vw, 52px) 0 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--fg-soft); }
.facts li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--dim); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.page-intro { padding-block: clamp(48px, 7vw, 96px) 0; }
.page-intro > p:first-child { font-size: clamp(20px, 2vw, 30px); line-height: 1.35; max-width: 34ch; letter-spacing: -0.01em; }

/* --------------------------------------------------------------- Sections */
.sec { border-bottom: 1px solid var(--line); padding-block: clamp(64px, 9vw, 140px); }
.sec-grid { display: grid; gap: 20px; }
/* Nummer sitzt als Kicker über der Überschrift, der Inhalt nutzt die volle, mittige Breite */
@media (min-width: 900px) { .sec-grid { gap: 28px; } }
.sec-label { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.sec-label-line { flex: 1; max-width: 72px; height: 1px; background: var(--line-strong); transform-origin: left; }
.js [data-reveal] .sec-label-line { transform: scaleX(0); transition: transform 1.1s var(--ease) 0.2s; }
.js [data-reveal].is-in .sec-label-line { transform: scaleX(1); }
.sec-body h2 { margin: 0 0 clamp(24px, 3vw, 44px); font-weight: 600; font-stretch: 115%; font-size: clamp(32px, 4.6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }

/* -------------------------------------------------------------- Prose */
.prose { max-width: 70ch; color: var(--fg-soft); }
.sec-body .prose { max-width: none; }
.sec-body .prose > p, .sec-body .prose > ul:not(.rows):not(.logos), .sec-body .prose > h3, .sec-body .prose > blockquote { max-width: 64ch; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose h3 { color: var(--fg); font-size: clamp(20px, 1.6vw, 26px); font-weight: 600; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.2; margin: 2.2em 0 0.6em; }
.prose h3:first-child { margin-top: 0; }
.prose a { color: var(--fg); }
.prose a.btn-solid { color: var(--bg); text-decoration: none; }
.prose a.btn-solid:hover { color: var(--fg); }
.prose ul:not(.rows):not(.logos) { list-style: none; padding: 0; margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.prose ul:not(.rows):not(.logos) > li { border-bottom: 1px solid var(--line); padding: 14px 0 14px 34px; position: relative; }
.prose ul:not(.rows):not(.logos) > li::before { content: "—"; position: absolute; left: 0; color: var(--dim); font-family: var(--mono); }
.prose ul:not(.rows):not(.logos) > li strong:first-child { display: inline; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 1px solid var(--lamp); color: var(--fg); font-size: 1.15em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-raise); padding: 0.15em 0.4em; border-radius: 4px; }
.prose img { border-radius: 4px; margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0 2em; font-size: 0.94em; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Nummerierte Listen = Ablauf in Schritten */
.prose ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.4em; display: grid; gap: 0; }
@media (min-width: 900px) { .sec-body .prose ol { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; } }
.prose ol > li { counter-increment: step; position: relative; padding: 64px 28px 28px 0; border-top: 1px solid var(--line-strong); }
.prose ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 18px; left: 0; font: 500 12.5px/1 var(--mono); letter-spacing: 0.06em; color: var(--lamp); }
.prose ol > li strong:first-child { display: block; color: var(--fg); font-size: 1.15em; font-weight: 600; margin-bottom: 6px; font-stretch: 108%; }

/* ---------------------------------------------------------------- Rows */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.row { border-bottom: 1px solid var(--line); }
.row a {
  position: relative; display: grid; grid-template-columns: 44px 1fr 28px; gap: 6px 18px; align-items: baseline;
  padding: clamp(20px, 2.4vw, 34px) 0; text-decoration: none; color: var(--fg);
}
.row a::before { /* Licht fällt auf die Zeile */
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; opacity: 0;
  background: radial-gradient(60% 140% at 50% 50%, rgba(255, 244, 225, 0.06), transparent 70%);
  transition: opacity 0.4s var(--ease);
}
.row a:hover::before { opacity: 1; }
.rows { position: relative; z-index: 0; }
.row-n { color: var(--muted); transition: color 0.3s; }
.row-title { min-width: 0; overflow-wrap: break-word; hyphens: auto; font-weight: 600; font-stretch: 115%; font-size: clamp(24px, 3vw, 48px); line-height: 1.02; letter-spacing: -0.025em; transition: transform 0.45s var(--ease); }
.row-text { grid-column: 2 / 3; color: var(--muted); max-width: 52ch; font-size: 0.95em; line-height: 1.5; }
.row-meta { grid-column: 2 / 3; color: var(--muted); font-size: 11px; }
.row-meta:empty { display: none; }
.row-arrow { grid-column: 3; grid-row: 1; justify-self: end; font-size: 22px; color: var(--muted); transition: transform 0.45s var(--ease), color 0.3s; }
.row a:hover .row-n { color: var(--lamp); }
.row a:hover .row-title { transform: translateX(10px); }
.row a:hover .row-arrow { color: var(--fg); transform: translateX(4px) rotate(-45deg); }
@media (min-width: 1000px) {
  .row a { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 4fr) 40px; align-items: center; column-gap: clamp(18px, 2.4vw, 40px); }
  .row-text { grid-column: 3; grid-row: 1; }
  .row-meta { grid-column: 3; grid-row: 2; }
  .row-arrow { grid-column: 4; }
}

/* ---------------------------------------------------------- Partner-Logos */
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
@media (min-width: 1000px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logo-tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-tile a { position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%; min-height: clamp(220px, 20vw, 280px); padding: clamp(16px, 1.6vw, 24px); text-decoration: none; color: var(--fg); transition: background-color 0.4s var(--ease); }
.logo-tile a:hover { background: rgba(236, 235, 230, 0.04); }
.logo-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.logo-arrow { transition: transform 0.45s var(--ease), color 0.3s; }
.logo-tile a:hover .logo-arrow { color: var(--fg); transform: rotate(-45deg); }
.logo-mark { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 100px; }
.logo-mark img { max-width: 100%; height: auto; opacity: 0.62; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.logo-tile a:hover .logo-mark img, .logo-tile a:focus-visible .logo-mark img { opacity: 1; transform: scale(1.04); }
.logo-name { font-weight: 600; font-stretch: 115%; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; letter-spacing: -0.02em; text-align: center; }
.logo-text { color: var(--muted); font-size: 14px; line-height: 1.45; min-height: 4.35em; }
@media (max-width: 599px) { .logo-text { display: none; } .logo-tile a { min-height: 170px; } .logo-top { font-size: 10px; } }
.js body [data-reveal] .logos > li { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--n, 0) * 80ms + 150ms); }
.js body [data-reveal].is-in .logos > li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js body [data-reveal] .logos > li { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--fg); font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 14px; height: 14px; position: relative; margin-top: 6px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--fg); transition: transform 0.35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i::after { transform: rotate(0); }
.faq summary:hover span { text-decoration: underline; text-decoration-color: var(--lamp); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.faq-a { padding: 0 0 22px; max-width: 64ch; }

/* ------------------------------------------------------------------ CTA */
.cta { padding-block: clamp(96px, 14vw, 220px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-title { margin: 0 0 clamp(20px, 3vw, 40px); font-weight: 500; font-stretch: 108%; font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -0.01em; color: var(--fg-soft); }
.cta-mail { display: inline-flex; align-items: flex-start; gap: 0.12em; text-decoration: none; font-weight: 700; font-stretch: 125%; font-size: clamp(24px, 8.6vw, 140px); line-height: 0.95; letter-spacing: -0.04em; white-space: nowrap; position: relative; transition: color 0.3s; }
.cta-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 2px; background: var(--fg); transform: scaleX(0.08); transform-origin: left; transition: transform 0.7s var(--ease), background-color 0.3s; }
.cta-mail:hover::after { transform: scaleX(1); background: var(--lamp); }
.cta-mail span { font-size: 0.32em; margin-top: 0.15em; color: var(--muted); transition: transform 0.5s var(--ease), color 0.3s; }
.cta-mail:hover span { transform: translate(4px, -4px); color: var(--lamp); }
.cta-sub { margin: clamp(28px, 3vw, 44px) 0 0; color: var(--muted); max-width: 52ch; }
.big-link { font-weight: 600; font-stretch: 118%; font-size: clamp(26px, 3.6vw, 56px); letter-spacing: -0.03em; text-decoration: none; line-height: 1.05; overflow-wrap: anywhere; }
.big-link:hover { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; }

/* -------------------------------------------------------------- Footer */
.site-footer { padding-top: clamp(64px, 8vw, 120px); color: var(--fg-soft); font-size: 0.94em; overflow: hidden; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; } }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 3px 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--lamp); }
.footer-col address { font-style: normal; margin-bottom: 1em; }
.footer-col p { margin: 0 0 1em; }
.footer-col .footer-legal-label { margin: 1.8rem 0 1.25rem; }
.footer-mark {
  width: min(92vw, 1600px); margin: clamp(48px, 8vw, 120px) auto 0; user-select: none; pointer-events: none;
  /* Logo bewusst stark abgedunkelt, nur als dezentes Wasserzeichen */
  opacity: 0.07;
}
.footer-mark img { display: block; width: 100%; height: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); position: relative; background: var(--bg); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--fg); }

/* ---------------------------------------------------------------- Form */
.form-wrap { margin-top: 8px; }
.form { display: grid; gap: 22px; max-width: 760px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { margin-bottom: 14px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; color: var(--fg-soft); transition: all 0.2s var(--ease); }
.chip:hover span { border-color: var(--fg); color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--lamp); outline-offset: 3px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 4px; }
.field .label { margin: 0; }
.field em { text-transform: none; font-style: normal; color: var(--dim); }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 12px 0; font: inherit; font-size: 1.05em; border-radius: 0; transition: border-color 0.25s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--lamp); }
[aria-invalid="true"] { border-bottom-color: #e2685a !important; }
.field-err { color: #f08f84; font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-soft); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 3px; margin: 3px 0 0; cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); }
.form-note { color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form-alert { border: 1px solid rgba(226, 104, 90, 0.5); color: #f3b0a8; padding: 14px 18px; border-radius: 6px; }
.form-ok { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.form-ok-title { font-size: clamp(24px, 3vw, 40px); font-weight: 600; font-stretch: 112%; letter-spacing: -0.02em; color: var(--fg); margin: 0 0 0.4em; line-height: 1.1; }

/* -------------------------------------------------------------- Article */
.article-body { padding-block: clamp(48px, 7vw, 100px); max-width: calc(72ch + var(--gutter) * 2); margin-inline: auto; font-size: 1.04em; }
.article-body > p:first-child { font-size: 1.2em; color: var(--fg); line-height: 1.5; }
.article-body h2 { color: var(--fg); font-weight: 600; font-stretch: 112%; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1.1; margin: 2em 0 0.7em; scroll-margin-top: 100px; }
.related { padding-bottom: clamp(48px, 7vw, 100px); }

/* -------------------------------------------------------------- 404 */
.notfound { min-height: 80vh; display: flex; align-items: center; border-bottom: 0; }
.notfound .hero-actions { margin-top: 36px; }

/* ----------------------------------------------------------- Reveal */
.js [data-reveal] .sec-body, .js [data-reveal] .statement-text, .js .page-intro[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in .sec-body, .js [data-reveal].is-in .statement-text, .js .page-intro[data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-line, .js .hero-kicker, .js .hero-foot, .js .page-head .wrap > * { animation: rise 1.1s var(--ease) both; }
.js .hero-line:nth-child(2) { animation-delay: 0.08s; }
.js .hero-line:nth-child(3) { animation-delay: 0.16s; }
.js .hero-foot { animation-delay: 0.3s; }
.js .page-head .wrap > :nth-child(2) { animation-delay: 0.05s; }
.js .page-head .wrap > :nth-child(3) { animation-delay: 0.12s; }
.js .page-head .wrap > :nth-child(4) { animation-delay: 0.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] .sec-body, .js [data-reveal] .statement-text, .js .page-intro[data-reveal] { opacity: 1; transform: none; }
}

@media print {
  :root { --bg: #fff; --fg: #000; --fg-soft: #222; --muted: #555; }
  .site-header, .cta, .footer-mark, .hero-mark, .hero-scroll, .nav-toggle { display: none !important; }
}

.row-img { display: none; }
.icon { display: block; }

/* ---------------------------------------------------------------------
   Kleine Animationen
   --------------------------------------------------------------------- */
.progress { display: block; position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: var(--fg); opacity: 0.7; transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Buchstaben der Hero-Zeile fallen nacheinander ein */
.js body .hero-line { animation: none; }
.char { display: inline-block; white-space: pre; }
.js body .char { opacity: 0; transform: translateY(0.35em) rotate(4deg); animation: charIn 0.8s var(--ease) forwards; animation-delay: calc(var(--i) * 28ms + 120ms); }
@keyframes charIn { to { opacity: 1; transform: none; } }

/* Karten erscheinen gestaffelt, Icons zeichnen sich */
.js body [data-reveal] .rows > li { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--n, 0) * 80ms + 150ms); }
.js body [data-reveal].is-in .rows > li { opacity: 1; transform: none; }
.js body [data-reveal] .row-icon .icon * { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--n, 0) * 80ms + 400ms); }
.js body [data-reveal].is-in .row-icon .icon * { stroke-dashoffset: 0; }
body .row-icon { transition: transform 0.4s var(--ease); }
body .row a:hover .row-icon { transform: translateY(-3px); }

/* Pfeile in Buttons stupsen leicht */
body .hero-actions .btn-solid span { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 70% { transform: translateX(5px); } 80% { transform: none; } 90% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
  .js body .char { opacity: 1; transform: none; animation: none; }
  .js body [data-reveal] .rows > li { opacity: 1; transform: none; }
  .js body [data-reveal] .row-icon .icon * { stroke-dashoffset: 0; }
}

.hero-main { position: relative; z-index: 2; }

/* --------------------------------------------------------- Laufband */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 24px; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-group span { font-weight: 700; font-stretch: 125%; font-size: clamp(28px, 4.2vw, 62px); letter-spacing: -0.02em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(236, 235, 230, 0.35); padding-inline: 0.45em; transition: color 0.3s; }
.marquee-group span:nth-child(4n+1) { color: var(--fg); -webkit-text-stroke: 0; }
.marquee-group i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ Icons in Zeilen */
.row-icon { color: var(--muted); transition: color 0.3s, transform 0.4s var(--ease); }
.row-icon .icon { width: 28px; height: 28px; }
.row a:hover .row-icon { color: var(--fg); }
@media (min-width: 1000px) {
  .rows:has(.row-icon) .row a { grid-template-columns: 64px 48px minmax(0, 5fr) minmax(0, 4fr) 40px; }
  .rows:has(.row-icon) .row-icon { grid-column: 2; grid-row: 1; }
  .rows:has(.row-icon) .row-title { grid-column: 3; }
  .rows:has(.row-icon) .row-text, .rows:has(.row-icon) .row-meta { grid-column: 4; }
  .rows:has(.row-icon) .row-arrow { grid-column: 5; }
}
@media (max-width: 999px) { .row-icon { display: none; } }

/* ------------------------------------- Statement: Wörter leuchten beim Scrollen auf */
.statement-text .w { transition: color 0.25s; }
.js .statement-text.is-split p, .js .statement-text.is-split strong { color: inherit !important; }
.js .statement-text.is-split .w { color: var(--dim); }
.js .statement-text.is-split .w.on { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.prose a.btn { text-decoration: none; }

/* ------------------------------------------------------------ Tools-Showcase */
.page-actions { margin-top: clamp(28px, 3.5vw, 44px); }
.tool { border-bottom: 1px solid var(--line); padding-block: clamp(64px, 9vw, 140px); }
.tool-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .tool-grid { grid-template-columns: 5fr 6fr; }
  .tool-flip .tool-visual { order: 2; }
}
.tool-title { margin: 0 0 clamp(20px, 2.4vw, 32px); font-weight: 650; font-stretch: 118%; font-size: clamp(36px, 5vw, 84px); line-height: 0.95; letter-spacing: -0.03em; text-wrap: balance; }
.tool-pitch { margin: 0; color: var(--fg-soft); max-width: 58ch; }
.tool-copy .facts { margin-top: 28px; }
.tool-actions { margin: 32px 0 0; }
.js .tool[data-reveal] .tool-copy, .js .tool[data-reveal] .tool-visual { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .tool[data-reveal] .tool-visual { transition-delay: 0.15s; }
.js .tool[data-reveal].is-in .tool-copy, .js .tool[data-reveal].is-in .tool-visual { opacity: 1; transform: none; }

/* Mockups – monochrom, rein dekorativ */
.mock { position: relative; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(180deg, #151515, #0e0e0e); padding: clamp(18px, 2.4vw, 28px); max-width: 440px; margin-inline: auto; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(236, 235, 230, 0.06); }
.mock-solo { margin: 0 0 1em; }
.mock-solo .mock { margin-inline: 0; }
.mock-bar, .mock-foot, .ticket-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.mock-timer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; padding: 26px 0 24px; border-bottom: 1px solid var(--line); }
.mock-timer > span:first-child { grid-column: 1 / -1; font-size: 11px; display: flex; align-items: center; gap: 8px; }
.mock-timer b { font-size: clamp(36px, 5vw, 54px); font-weight: 500; letter-spacing: -0.02em; text-transform: none; line-height: 1; font-variant-numeric: tabular-nums; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 10px rgba(255, 180, 60, 0.6); animation: lamp 1.6s ease-in-out infinite; }
.mock-stop { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.mock-stop span { width: 13px; height: 13px; border-radius: 3px; background: var(--fg); }
.mock-list { list-style: none; margin: 0; padding: 8px 0 14px; }
.mock-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.mock-list li .dim { font-size: 10.5px; grid-row: 2; }
.mock-list li b { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 13px; font-weight: 500; }
.mock-list li i { position: absolute; left: 0; bottom: -1px; height: 1px; width: calc(var(--w) * 100%); background: var(--fg); transform-origin: left; }
.js .tool[data-reveal] .mock-list li i, .js .mock-solo .mock-list li i { transform: scaleX(0); transition: transform 1.4s var(--ease) 0.6s; }
.js .tool[data-reveal].is-in .mock-list li i, .js .page-intro.is-in .mock-list li i { transform: scaleX(1); }
.mock-foot { padding-top: 6px; }

.mock-gala { display: grid; gap: 14px; background: none; border: 0; box-shadow: none; padding: 0; }
.ticket { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; padding: 22px 22px 24px; background: linear-gradient(180deg, #161616, #0e0e0e); display: grid; gap: 6px; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 62%; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); }
.ticket::before { left: -10px; }
.ticket::after { right: -10px; }
.ticket-name { font-size: clamp(20px, 2vw, 26px); font-weight: 600; font-stretch: 110%; letter-spacing: -0.01em; margin-top: 18px; }
.ticket > .dim { font-size: 11px; }
.qr { width: 46%; max-width: 168px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-strong); box-sizing: content-box; fill: var(--fg); }
.scanline { position: absolute; left: 0; right: 0; height: 2px; top: 60%; background: linear-gradient(90deg, transparent, var(--lamp), transparent); box-shadow: 0 0 18px rgba(255, 180, 60, 0.6); opacity: 0.85; animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-40px); opacity: 0; } 15%, 85% { opacity: 0.85; } 50% { transform: translateY(90px); } }
.scanner { border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; background: #101010; }
.scanner > span:first-child, .scanner > span:last-child { font-size: 11px; }
.scanner b { font-size: 28px; font-weight: 500; text-transform: none; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; grid-row: 1 / 3; grid-column: 2; }
.meter { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.meter i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1.6s var(--ease) 0.4s; }
.js .tool[data-reveal]:not(.is-in) .meter i { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  .scanline, .rec { animation: none; }
  .js .tool[data-reveal] .tool-copy, .js .tool[data-reveal] .tool-visual { opacity: 1; transform: none; }
}

/* App-Icons der Tools (Tiqo, GALA) */
.app-icon { display: block; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, 0.35); }
.tool-app-icon { width: clamp(56px, 5vw, 72px); height: auto; margin-bottom: 24px; }
.page-app-icon { width: clamp(64px, 6vw, 88px); height: auto; margin-bottom: clamp(20px, 2.4vw, 32px); }
.row-app img { display: block; width: 40px; height: 40px; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line); }
