/* Ernst Systems — Brand Styleguide v1.0: SCHWARZ + WEISS + GOLD.
   Helle Fassung: Weiß trägt die Flächen, Schwarz die Schrift, Gold bleibt reiner Akzent
   (Linien, Kicker, Knöpfe, aktive Zustände) — nie großflächiger Hintergrund. */
:root {
  color-scheme: light;
  --weiss: #ffffff;
  --flaeche: #f7f7f8;
  --flaeche-2: #f1f1f3;
  --tinte: #111111;
  --tinte-2: #3b3b3f;
  --muted: #6b6b73;
  --line: rgba(17,17,17,.10);
  --line-stark: rgba(17,17,17,.20);
  --gold-dark: #9a6400;
  --gold: #c88a12;
  --gold-2: #f0c75e;
  --gold-hell: #ffe49a;
  --gold-tinte: #8a5a04;          /* Goldton mit genug Kontrast für Text auf Weiß */
  --auf-gold: #111111;
  --verlauf: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 38%, var(--gold-2) 70%, var(--gold-hell) 100%);
  --radius: 20px;
  --schatten: 0 18px 50px rgba(17,17,17,.09);
  --schatten-weich: 0 2px 10px rgba(17,17,17,.05);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--weiss); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tinte);
  background: var(--weiss);
  font-family: Inter, "Inter Display", Arial, Aptos, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-tinte); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
section { padding: 110px 0; position: relative; }

h1, h2, h3 { letter-spacing: -.04em; line-height: 1.08; margin: 0 0 18px; }
h1 { font-size: clamp(36px, 4.9vw, 64px); letter-spacing: -.05em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(29px, 3.8vw, 46px); font-weight: 800; }
h3 { font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--tinte-2); max-width: 60ch; }
.muted { color: var(--muted); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--gold-tinte); letter-spacing: .18em; font-size: 11.5px;
  font-weight: 800; text-transform: uppercase; margin: 0 0 18px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--verlauf);
}

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.kopf-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tinte); }
.marke img { width: 34px; height: 34px; border-radius: 9px; }
.marke b { font-size: 15px; letter-spacing: .01em; font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--tinte-2); text-decoration: none; font-size: 14.5px; font-weight: 550; position: relative; }
.nav a:not(.knopf)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--verlauf); transition: right .22s ease;
}
.nav a:not(.knopf):hover { color: var(--tinte); }
.nav a:not(.knopf):hover::after { right: 0; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease, color .18s ease;
}
.knopf-gold {
  color: var(--auf-gold); background: var(--verlauf);
  box-shadow: 0 8px 22px rgba(200,138,18,.28);
}
.knopf-gold:hover { transform: translateY(-2px); filter: brightness(1.06); color: var(--auf-gold); box-shadow: 0 14px 30px rgba(200,138,18,.34); }
.knopf-leer { color: var(--tinte); border-color: var(--line-stark); background: var(--weiss); }
.knopf-leer:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-tinte); }
.nav .knopf { padding: 11px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: -160px -10% auto -10%; height: 760px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52% 48% at 78% 12%, rgba(240,199,94,.42) 0%, rgba(240,199,94,0) 68%),
    radial-gradient(44% 40% at 12% 0%, rgba(200,138,18,.16) 0%, rgba(200,138,18,0) 70%);
  filter: blur(6px);
}
.hero::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17,17,17,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 22%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 62% at 50% 22%, #000 0%, transparent 78%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 > span:not(.tz):not(.tw) {
  background: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold) 45%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 20px; }
.hero-klein { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #2fa85d; box-shadow: 0 0 0 4px rgba(47,168,93,.15); flex: none; }

/* Gesprächsfenster — Glas auf Weiß */
.geraet {
  position: relative; border-radius: 26px; background: rgba(255,255,255,.82);
  border: 1px solid var(--line); box-shadow: var(--schatten);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden;
}
.geraet::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--verlauf);
}
.geraet-kopf {
  display: flex; align-items: center; gap: 7px; padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.punkt { width: 9px; height: 9px; border-radius: 50%; background: rgba(17,17,17,.14); }
.geraet-titel { margin-left: 10px; font-size: 11px; color: var(--muted); letter-spacing: .16em; font-weight: 700; }
.geraet-koerper { padding: 22px 20px 24px; display: grid; gap: 15px; }
.zeile { display: grid; gap: 6px; }
.zeile-name { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-tinte); font-weight: 800; }
.blase {
  padding: 13px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5;
  border: 1px solid var(--line); background: var(--flaeche); color: var(--tinte-2);
}
.blase-du {
  border-color: rgba(200,138,18,.34);
  background: linear-gradient(180deg, rgba(255,228,154,.30), rgba(255,228,154,.14));
  color: var(--tinte);
}
.status-zeile { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Vertrauensleiste ---------- */
.leiste {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--schatten-weich);
}
.leiste div { background: var(--weiss); padding: 26px 24px; }
.leiste b { display: block; font-size: 14.5px; margin-bottom: 5px; }
.leiste span { font-size: 13.5px; color: var(--muted); }

/* ---------- Abschnittskopf ---------- */
.kopfzeile { max-width: 760px; margin-bottom: 46px; }
.trenner { height: 1px; background: linear-gradient(90deg, transparent, var(--line-stark), transparent); }

/* ---------- Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.karte {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--weiss); padding: 30px 28px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.karte::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--verlauf); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.karte:hover { transform: translateY(-4px); border-color: rgba(200,138,18,.4); box-shadow: var(--schatten); }
.karte:hover::after { transform: scaleX(1); }
.karte p { margin: 0; font-size: 15px; color: var(--muted); }
.karte-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 11px; margin-bottom: 18px;
  font-size: 13.5px; font-weight: 800; color: var(--auf-gold); background: var(--verlauf);
}
.karte-icon { margin-bottom: 16px; }
.karte-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; }

/* ---------- Dunkler Sicherheitsblock ---------- */
.dunkel {
  background: #111111; color: #f4f4f4; border-radius: 34px; padding: 84px 64px;
  position: relative; overflow: hidden;
}
.dunkel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 88% 6%, rgba(200,138,18,.28) 0%, rgba(200,138,18,0) 65%);
}
.dunkel > * { position: relative; }
.dunkel .kicker { color: var(--gold-2); }
.dunkel h2 { color: #ffffff; }
.dunkel .lead { color: #d6d6d8; }
.dunkel .muted { color: #9b9ba2; }
.sicher { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.sicher-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.sicher-liste > div { background: #171717; padding: 24px 24px; }
.sicher-liste h3 { margin-bottom: 7px; color: var(--gold-2); font-size: 15.5px; }
.sicher-liste p { margin: 0; font-size: 14.5px; color: #a9a9b0; }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }

/* ---------- Gründer ---------- */
.gruender { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.platzhalter {
  position: relative; aspect-ratio: 4 / 3; border-radius: 26px; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,.028) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, rgba(255,228,154,.30), rgba(247,247,248,1) 62%);
  display: grid; place-content: center; gap: 12px; text-align: center; padding: 28px;
  box-shadow: var(--schatten-weich);
}
.platzhalter svg { margin-inline: auto; }
.platzhalter b { font-size: 12.5px; letter-spacing: .18em; color: var(--gold-tinte); }
.platzhalter span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--weiss); box-shadow: var(--schatten-weich); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 26px; font-weight: 650; font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .18s ease;
}
.faq summary:hover { background: var(--flaeche); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-stark);
  background:
    linear-gradient(var(--gold-tinte), var(--gold-tinte)) center/9px 1.5px no-repeat,
    linear-gradient(var(--gold-tinte), var(--gold-tinte)) center/1.5px 9px no-repeat;
  transition: transform .24s ease, border-color .24s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); border-color: var(--gold); }
.faq .antwort { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; max-width: 72ch; }

/* ---------- Kontakt ---------- */
.kontakt {
  position: relative; border-radius: 34px; padding: 74px 56px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--flaeche) 100%);
  border: 1px solid var(--line); box-shadow: var(--schatten);
}
.kontakt::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--verlauf); }
.kontakt::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 320px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(240,199,94,.35), rgba(240,199,94,0) 70%);
}
.kontakt > * { position: relative; }
.kontakt .lead { margin-inline: auto; }
.kontakt-aktionen { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--line); padding: 46px 0 60px; background: var(--flaeche); }
.fuss-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 24px; }
.fuss a { color: var(--muted); text-decoration: none; font-size: 14px; }
.fuss a:hover { color: var(--gold-tinte); }
.fuss small { color: var(--muted); font-size: 13px; display: block; margin-top: 10px; }

.hinweis {
  margin-top: 30px; padding: 16px 20px; border-radius: 14px; font-size: 13.5px;
  border: 1px solid rgba(200,138,18,.35); color: var(--gold-tinte);
  background: linear-gradient(180deg, rgba(255,228,154,.22), rgba(255,228,154,.08));
}

/* ---------- Rechtsseiten ---------- */
.rechtstext { max-width: 780px; }
.rechtstext h2 { margin-top: 44px; font-size: 25px; }
.rechtstext dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 22px; }
.rechtstext dt { color: var(--muted); font-size: 14px; }

@media (max-width: 1000px) {
  .hero-grid, .sicher, .gruender { grid-template-columns: 1fr; gap: 44px; }
  .karten, .schritte { grid-template-columns: repeat(2, 1fr); }
  .leiste { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.knopf) { display: none; }
  .dunkel { padding: 56px 28px; border-radius: 26px; }
  section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .karten, .schritte, .leiste, .sicher-liste { grid-template-columns: 1fr; }
  .kontakt { padding: 44px 24px; border-radius: 26px; }
  .hero { padding: 64px 0 72px; }
  .hero::after { background-size: 56px 56px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}

/* ====================================================================
   Futuristische Schicht — Aurora, Raster, HUD, Sprachwahl, Einblenden
   Gold bleibt Akzent: Schein und Linien, keine goldenen Flächen.
   ==================================================================== */
:root {
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Roboto Mono", monospace;
}

/* Aurora hinter allem — träge driftende Goldschleier auf Weiß */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.aurora i:nth-child(1) {
  width: 46vw; height: 46vw; top: -14vw; right: -8vw;
  background: radial-gradient(circle, rgba(240,199,94,.62), rgba(240,199,94,0) 70%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 38vw; height: 38vw; top: 32vh; left: -12vw;
  background: radial-gradient(circle, rgba(200,138,18,.30), rgba(200,138,18,0) 70%);
  animation: drift2 34s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 30vw; height: 30vw; bottom: -10vw; right: 18vw;
  background: radial-gradient(circle, rgba(255,228,154,.50), rgba(255,228,154,0) 70%);
  animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(-6vw, 5vh, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(5vw, -6vh, 0) scale(1.08); } }
@keyframes drift3 { to { transform: translate3d(-4vw, -4vh, 0) scale(1.15); } }

/* feine Körnung, damit die Verläufe nicht plastikglatt wirken */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Kopf: Fortschrittslinie */
.kopf { background: rgba(255,255,255,.62); }
.fortschritt { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.fortschritt span {
  display: block; height: 100%; background: var(--verlauf);
  transform: scaleX(0); transform-origin: left; will-change: transform;
}

/* Sprachwahl */
.sprachwahl {
  display: inline-flex; align-items: center; padding: 3px; gap: 2px;
  border: 1px solid var(--line-stark); border-radius: 999px; background: rgba(255,255,255,.7);
  font-family: var(--mono);
}
.sprachwahl button {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; padding: 6px 11px;
  border-radius: 999px; transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.sprachwahl button:hover { color: var(--tinte); }
.sprachwahl button.aktiv {
  color: var(--auf-gold); background: var(--verlauf);
  box-shadow: 0 2px 10px rgba(200,138,18,.35);
}

/* Beschriftungen technisch setzen */
.kicker, .zeile-name, .geraet-titel, .karte-num, .leiste b { font-family: var(--mono); }
.kicker { letter-spacing: .22em; font-size: 11px; font-weight: 700; }
.leiste b { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.karte-num {
  width: auto; min-width: 40px; height: 26px; padding: 0 10px; border-radius: 8px;
  font-size: 11.5px; letter-spacing: .12em; background: transparent; color: var(--gold-tinte);
  border: 1px solid rgba(200,138,18,.42);
}
.karte:hover .karte-num { background: var(--verlauf); color: var(--auf-gold); border-color: transparent; }

/* Karten mit Haarlinien-Verlaufsrand beim Hovern */
.karte { background: rgba(255,255,255,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.karte::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--verlauf); opacity: 0; transition: opacity .25s ease; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.karte:hover::before { opacity: .85; }
.karte:hover { box-shadow: 0 20px 44px rgba(200,138,18,.16), 0 4px 14px rgba(17,17,17,.06); }

/* Gesprächsfenster als HUD */
.hud { box-shadow: var(--schatten), 0 0 0 1px rgba(200,138,18,.16), 0 0 0 7px rgba(200,138,18,.045); }
.hud .geraet-kopf { position: relative; }
.welle { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.welle i {
  width: 2px; border-radius: 2px; background: var(--verlauf); height: 5px;
  animation: pegel 1.5s ease-in-out infinite;
}
.welle i:nth-child(2) { animation-delay: .18s; }
.welle i:nth-child(3) { animation-delay: .36s; }
.welle i:nth-child(4) { animation-delay: .54s; }
.welle i:nth-child(5) { animation-delay: .72s; }
@keyframes pegel { 0%,100% { height: 4px; opacity: .55; } 50% { height: 14px; opacity: 1; } }
.led { animation: puls 2.4s ease-in-out infinite; }
@keyframes puls {
  0%,100% { box-shadow: 0 0 0 3px rgba(47,168,93,.16); }
  50%     { box-shadow: 0 0 0 6px rgba(47,168,93,.05); }
}

/* Dunkler Block: Raster und Eckmarken */
.dunkel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(85% 75% at 70% 10%, #000, transparent 75%);
  mask-image: radial-gradient(85% 75% at 70% 10%, #000, transparent 75%);
}
.sicher-liste > div { position: relative; transition: background .2s ease; }
.sicher-liste > div:hover { background: #1c1c1c; }

/* Trenner glimmt golden */
.trenner { background: linear-gradient(90deg, transparent, rgba(200,138,18,.55), transparent); }

/* Einblenden beim Scrollen — nur wenn JavaScript läuft, sonst bleibt alles sichtbar */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); }
.js [data-reveal].sichtbar {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}

/* Überschriften etwas kantiger */
h1 { font-weight: 900; letter-spacing: -.055em; }
h2 { font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .welle i, .led { animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 1000px) {
  .sprachwahl { order: 2; }
  .nav { gap: 12px; }
}

/* ---------- Impressum ---------- */
.imp-intro { margin: 28px 0 8px; }
.imp-karte {
  margin: 18px 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.8); box-shadow: var(--schatten-weich);
}
.imp-label {
  margin: 0 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-tinte);
}
.imp-karte address { font-style: normal; line-height: 1.75; margin-bottom: 20px; }
.imp-karte dl { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.imp-karte dd { margin: 0; min-height: 1.6em; }
.imp-name { margin: 0; font-weight: 650; font-size: 18px; }
.imp-rolle {
  display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(200,138,18,.42); color: var(--gold-tinte);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; vertical-align: middle;
}

/* ---------- Bühne: Gehirn → Mikrofon → Schild ---------- */
.buehne { padding: 0; }
.js .buehne { height: 340vh; }
.buehne-sticky { padding: 90px 0; }
.js .buehne-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding: 72px 0 0; overflow: hidden;
}
.buehne-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.buehne-bild { position: relative; width: min(100%, 74vh); aspect-ratio: 1; margin-inline: auto; }
.buehne-bild::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,199,94,.30) 0%, rgba(240,199,94,.08) 45%, rgba(240,199,94,0) 70%);
}
.buehne-bild::after {
  content: ""; position: absolute; inset: 2%; border-radius: 50%; pointer-events: none;
  border: 1px dashed rgba(200,138,18,.22);
  animation: kreisen 60s linear infinite;
}
@keyframes kreisen { to { transform: rotate(360deg); } }
#partikel { position: relative; width: 100%; height: 100%; display: block; }

.schritt-stapel { display: grid; }
.schritt h2 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 900; letter-spacing: -.05em; text-wrap: balance; }
.schritt-nr {
  margin: 0 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-tinte);
}
.js .schritt {
  grid-area: 1 / 1; opacity: 0; transform: translate3d(0, 22px, 0); pointer-events: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.js .schritt.aktiv { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .schritt { margin-bottom: 40px; }
html:not(.js) .buehne-bild { display: none; }

.schritt-punkte { display: flex; gap: 8px; margin-top: 30px; }
.schritt-punkte i {
  display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--line-stark);
  transition: width .4s ease, background .4s ease;
}
.schritt-punkte i.aktiv { width: 58px; background: var(--verlauf); }

@media (max-width: 1000px) {
  .buehne-grid { grid-template-columns: 1fr; gap: 4px; }
  .buehne-bild { order: -1; width: min(86vw, 42vh); }
  .js .buehne-sticky { align-items: flex-start; padding-top: 86px; }
  .schritt h2 { font-size: clamp(28px, 7.4vw, 40px); }
  .schritt .lead { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .buehne-bild::after { animation: none; }
}

/* Kopf auf dem Handy: Knopf ausblenden, Sprachwahl bleibt */
.nav .knopf { white-space: nowrap; }
@media (max-width: 640px) {
  .nav .knopf { display: none; }
}

/* Bühne mit vier Schritten */
.js .buehne { height: 440vh; }
.schritt h2 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -.06em; }
.schritt h2 .pg { color: var(--gold); }
.schritt-final h2 {
  background: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold) 45%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.schritt .lead { max-width: 46ch; }
@media (max-width: 1000px) {
  .schritt h2 { font-size: clamp(38px, 11vw, 56px); }
}

/* ---------- Rechtsseiten (Texte aus der App) ---------- */
.recht-h1 { font-size: clamp(30px, 4vw, 46px); }
.recht-stand { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 34px; }
.rechtstext h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: -.02em; }
.rechtstext p { color: var(--tinte-2); }
.recht-liste { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.recht-liste li { position: relative; padding-left: 22px; color: var(--tinte-2); }
.recht-liste li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--verlauf); }

/* ---------- Fähigkeiten als Gruppen ---------- */
.gruppe h3 { font-size: 21px; margin-bottom: 16px; }
.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.haken li { position: relative; padding-left: 26px; font-size: 15px; color: var(--tinte-2); line-height: 1.5; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.chips-titel { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-tinte); margin-right: 6px; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 550;
  border: 1px solid var(--line-stark); background: rgba(255,255,255,.75);
}

/* ---------- Gründer: Personen ---------- */
.personen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 18px; }
.person {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.8);
}
.person .imp-rolle { margin-left: 0; justify-self: start; }
.person small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .personen { grid-template-columns: 1fr; } }
/* Namen in beiden Karten auf gleicher Höhe */
.person { align-content: start; }

/* Fähigkeiten: vier Karten im 2×2-Raster */
.karten-zwei { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .karten-zwei { grid-template-columns: 1fr; } }

/* ====================================================================
   Logo-Welt v2: klare Versalien, warmer Lichtbogen statt Metallschnitt
   ==================================================================== */
:root {
  --marke-schrift: Montserrat, Inter, Arial, sans-serif;
  --licht: #f5d49a;
  --schein: 0 0 14px rgba(236, 180, 90, .55);
}

/* Wortmarke: ERNST fett, SYSTEMS leicht und weit gesperrt */
.wortmarke {
  display: inline-flex; align-items: baseline; gap: .42em;
  font-family: var(--marke-schrift); font-size: 15px; line-height: 1; color: var(--tinte);
}
.wortmarke b { font-weight: 800; letter-spacing: .2em; }
.wortmarke span { font-weight: 300; letter-spacing: .22em; }
.marke img { width: 38px; height: 38px; border-radius: 0; object-fit: contain; }
.marke b { font-size: inherit; }

/* Markenclaim */
.tagline {
  margin: 14px 0 6px; font-family: var(--marke-schrift); font-weight: 400;
  font-size: 11.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--tinte-2);
}
.schritt-final .schritt-nr { font-family: var(--marke-schrift); letter-spacing: .3em; }

/* Lichtbögen — wie der Schweif im Logo, in Hero und Abschnitten */
.lichtbogen { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lichtbogen svg { display: block; width: 100%; height: 100%; overflow: visible; }
section > .wrap { position: relative; z-index: 1; }
.lb-linie { fill: none; stroke-width: 2.2; opacity: .9; }
.lb-funke {
  fill: none; stroke: #fff4d6; stroke-width: 3.2; stroke-linecap: round;
  stroke-dasharray: 90 calc(var(--lb-laenge, 2400) * 1px);
  stroke-dashoffset: calc((var(--lb-laenge, 2400) + 90) * 1px);
  animation: funkenlauf 7s cubic-bezier(.45,.05,.35,1) infinite;
}
@keyframes funkenlauf { to { stroke-dashoffset: 0; } }

/* Trenner und Fortschritt leuchten wie der Bogen */
.trenner {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d9a23a 30%, #fff1c9 50%, #d9a23a 70%, transparent);
  filter: drop-shadow(0 0 6px rgba(236,180,90,.75));
}
.fortschritt span { box-shadow: var(--schein); }
.kicker::before { box-shadow: 0 0 8px rgba(236,180,90,.7); }

/* Knöpfe mit warmem Lichtschein statt hartem Metall */
.knopf-gold {
  background: linear-gradient(120deg, #b87a0c 0%, #d9a23a 40%, #f5d49a 72%, #fff1c9 100%);
  box-shadow: 0 8px 24px rgba(200,138,18,.28), inset 0 1px 0 rgba(255,255,255,.45);
}

@media (max-width: 640px) {
  .wortmarke { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-funke { animation: none; opacity: 0; }
}

/* Breitere Seite */
:root { --maxw: 1400px; }
.wrap { width: min(100% - 64px, var(--maxw)); }
.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 80px; }
.kopfzeile { max-width: 900px; }
@media (max-width: 640px) { .wrap { width: min(100% - 32px, var(--maxw)); } }

/* ---------- Logo-Zeile wie die Vorlage: Zeichen, Wortmarke, Lichtstrich, Claim ---------- */
.kopf-inner { height: 82px; }
.logo-zeile { display: flex; align-items: center; gap: 12px; }
.logo-zeile img { width: 50px; height: 50px; flex: none; position: relative; z-index: 1; }
.logo-text { display: grid; gap: 0; position: relative; }
.logo-text .wortmarke { font-size: 17px; }
.logo-strich {
  display: block; height: 2px; margin: 6px 0 5px -34px; border-radius: 2px; position: relative;
  background: linear-gradient(90deg, rgba(255,241,201,0) 0%, #fff1c9 8%, #e7b358 22%, #c88a12 55%, rgba(176,122,18,.55) 82%, rgba(176,122,18,0) 100%);
  box-shadow: 0 0 8px rgba(236,180,90,.75);
}
.logo-strich::before {
  content: ""; position: absolute; left: 4%; top: 50%; width: 26px; height: 10px; transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(255,246,220,.95), rgba(245,212,154,.4) 60%, rgba(245,212,154,0));
  filter: blur(1px);
}
.logo-claim {
  font-family: var(--marke-schrift); font-weight: 400; font-size: 8.4px; line-height: 1;
  letter-spacing: .32em; text-transform: uppercase; color: var(--tinte); white-space: nowrap;
}
.logo-gross img { width: 84px; height: 84px; }
.logo-gross .wortmarke { font-size: 30px; }
.logo-gross .logo-strich { margin: 10px 0 9px -58px; height: 2.5px; }
.logo-gross .logo-claim { font-size: 13px; }
.fuss small { margin-top: 18px; }
@media (max-width: 640px) {
  .logo-zeile img { width: 42px; height: 42px; }
  .logo-text .wortmarke { font-size: 13px; }
  .logo-claim { font-size: 6.6px; letter-spacing: .26em; }
  .logo-strich { margin-left: -28px; }
  .logo-gross .wortmarke { font-size: 20px; }
  .logo-gross .logo-claim { font-size: 9px; }
}

/* ---------- Tipp-Effekt ---------- */
.tw { white-space: nowrap; }
.tz { position: relative; }
.tipp-an main h1:not(.getippt) .tz:not(.da),
.tipp-an main h2:not(.getippt) .tz:not(.da) { visibility: hidden; }
.tz.cursor::after {
  content: ""; position: absolute; right: -.1em; top: .12em; bottom: .04em; width: .07em;
  background: linear-gradient(180deg, #f5d49a, #c88a12); box-shadow: 0 0 8px rgba(236,180,90,.8);
  animation: blinken .9s steps(1) infinite;
}
@keyframes blinken { 50% { opacity: 0; } }
.tz.hops { animation: hops .8s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes hops {
  0% { top: 0; }
  28% { top: -.42em; }
  52% { top: 0; }
  70% { top: -.14em; }
  86%, 100% { top: 0; }
}

.kontakt > .lichtbogen, .dunkel > .lichtbogen { position: absolute; inset: 0; z-index: 0; }
.kontakt > :not(.lichtbogen), .dunkel > :not(.lichtbogen) { position: relative; z-index: 1; }
