/* AVALON · Website – „abgefangenes Signal“
   Eis (#fab10b) steht für AVALON, Glut (#ea8303) für dich. Alles andere bleibt dunkel und ruhig. */

:root {
  --void: #070605;
  --ice: #fab10b;
  --ice-dim: #cc7a06;
  --ember: #ea8303;
  --text: #f1e9d8;
  --muted: #ab9f8c;
  --faint: #6b6158;
  --line: rgba(250, 177, 11, 0.16);
  --line-strong: rgba(250, 177, 11, 0.36);
  --hud: "Chakra Petch", system-ui, sans-serif;
  --read: "IBM Plex Sans", system-ui, sans-serif;
  --glyph: "IBM Plex Mono", ui-monospace, monospace;
  --brand: "Orbitron", "Chakra Petch", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --cut: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 400 17px/1.65 var(--read);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ice); }
:focus-visible { outline: 1.5px solid var(--ice); outline-offset: 3px; }
::selection { background: rgba(250, 177, 11, 0.3); }
img { display: block; max-width: 100%; height: auto; }

/* Kern und Scanlinien hinter allem */
/* Kern: eigene Fläche um den Ring, Ränder weich ausgeblendet */
#core {
  position: absolute; left: -22%; top: -22%; width: 144%; height: 144%; z-index: 0; display: block; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 70%);
}
.no-webgl #core { display: none; }
.scan {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(250, 177, 11, 0.022) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 55%, rgba(4, 3, 2, 0.65) 100%);
}
main, .top, .foot { position: relative; z-index: 2; }

/* ─── Kopf ─── */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.97), rgba(7, 6, 5, 0.8) 70%, rgba(7, 6, 5, 0));
}
.mark { font: 400 22px/1 var(--brand); letter-spacing: 0.22em; color: var(--ice); text-decoration: none; text-shadow: -0.06em 0 rgba(234, 131, 3, 0.55), 0.06em 0 rgba(250, 177, 11, 0.4); }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { font: 500 14px/1 var(--hud); color: var(--muted); text-decoration: none; letter-spacing: 0.02em; }
.top nav a:hover { color: var(--text); }

/* ─── Knöpfe: abgeschrägt wie in der App ─── */
.btn {
  --c: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font: 600 15px/1 var(--hud); letter-spacing: 0.03em; text-decoration: none;
  color: var(--void); background: var(--ice);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background 0.2s, box-shadow 0.2s;
}
.btn:hover { background: #fde7a0; }
.btn-ghost { color: var(--ice); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(250, 177, 11, 0.08); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 13px; --c: 7px; }

/* ─── Abschnitte ─── */
section { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.section-head h2 { margin: 0; font: 600 clamp(32px, 4.6vw, 60px)/1.05 var(--hud); letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* Entschlüsselungs-Glyphen (nur während des Effekts) */
.glyph { font-family: var(--glyph); color: var(--ice-dim); font-weight: 400; }

/* ─── Held ─── */
.hero {
  min-height: calc(100svh - 66px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding-top: 24px; padding-bottom: 64px;
}
.wordmark {
  margin: 0 0 18px;
  font: 400 clamp(76px, 13vw, 184px)/0.9 var(--brand);
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: -0.04em 0 rgba(234, 131, 3, 0.7), 0.04em 0 rgba(250, 177, 11, 0.6), 0 0 0.35em rgba(250, 177, 11, 0.35);
}
.wordmark.glitch { animation: glitch 0.42s steps(2) 1; }
@keyframes glitch {
  0% { transform: translateX(0); clip-path: inset(0 0 0 0); }
  25% { transform: translateX(-4px); clip-path: inset(18% 0 52% 0); }
  50% { transform: translateX(5px); clip-path: inset(60% 0 8% 0); }
  75% { transform: translateX(-2px); clip-path: inset(30% 0 30% 0); }
  100% { transform: none; clip-path: inset(0 0 0 0); }
}
.hero-line { margin: 0 0 14px; font: 500 clamp(22px, 2.3vw, 30px)/1.3 var(--hud); color: var(--text); max-width: 22ch; min-height: 2.6em; }
.hero-sub { margin: 0 0 32px; color: var(--muted); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 18px 0 0; font-size: 13.5px; color: var(--faint); }

.hero-text { position: relative; z-index: 2; }
.hero-core { display: grid; justify-items: center; gap: 18px; }
.core-anchor { width: min(46vw, 560px); aspect-ratio: 1; position: relative; border-radius: 50%; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: var(--boot, 0); z-index: 1; }
.ring { transform-origin: 0 0; transform-box: view-box; color: var(--ice); }
.ring circle, .ring path, .ring line { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; stroke-width: 1px; }
.r1 .dash { stroke-dasharray: 1 4; opacity: 0.5; }
.r2 line { opacity: 0.38; } .r2 line.major { opacity: 0.9; }
.r3 path { stroke-width: 2px; opacity: 0.7; stroke-linecap: round; }
.r4 .faint { opacity: 0.22; }
.r5 .notch { fill: currentColor; stroke: none; opacity: 0.85; }

.transmission { position: relative; z-index: 2; min-height: 112px; width: min(46vw, 520px); text-align: center; }
.tx-state { font: 500 13px/1 var(--hud); letter-spacing: 0.18em; color: var(--ice); }
.tx-you { margin: 12px 0 4px; font: 400 17px/1.45 var(--read); color: var(--ember); min-height: 1.45em; }
.tx-avalon { margin: 0; font: 300 19px/1.45 var(--read); color: #fff; min-height: 2.9em; }

/* ─── Funkverkehr ─── */
.log { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0; border-top: 1px solid var(--line); }
.log li {
  display: grid; grid-template-columns: 140px minmax(0, 5fr) minmax(0, 6fr); gap: 8px 40px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); outline: none;
  transition: background 0.25s;
}
.log li:hover, .log li:focus-visible { background: linear-gradient(90deg, rgba(250, 177, 11, 0.05), transparent 70%); }
.log-topic { font: 500 14px/1.4 var(--hud); color: var(--faint); padding-left: 12px; border-left: 2px solid var(--line-strong); }
.log .you { margin: 0; font: 500 clamp(18px, 1.7vw, 22px)/1.4 var(--hud); color: var(--ember); }
.log .avalon { margin: 0; color: var(--text); opacity: 0.32; transition: opacity 0.35s, color 0.35s; }
.log li:hover .avalon, .log li:focus-visible .avalon, .log li.playing .avalon { opacity: 1; color: #fff; }
.log .avalon::before { content: "AVALON  "; font: 400 13px/1 var(--brand); letter-spacing: 0.12em; color: var(--ice); white-space: pre; }
.clip { display: inline-block; margin-left: 8px; padding: 2px 8px; font: 400 12px/1.4 var(--read); color: var(--muted); border: 1px solid var(--line); vertical-align: middle; }

/* ─── Deine Daten ─── */
.private-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.blueprint { margin: 0; }
.blueprint svg { width: 100%; height: auto; display: block; }
.bp-frame { fill: rgba(16, 12, 7, 0.75); stroke: var(--line-strong); stroke-width: 1.2; }
.bp-cloud { stroke: rgba(234, 131, 3, 0.5); }
.bp-store rect { fill: rgba(250, 177, 11, 0.05); stroke: rgba(250, 177, 11, 0.45); }
.bp-store text { font: 500 15px var(--hud); fill: #fff; }
.bp-label { font: 600 17px var(--hud); fill: var(--ice); }
.bp-cloud + .bp-label { fill: var(--ember); }
.bp-small { font: 400 13px var(--read); fill: var(--muted); }
.bp-core { fill: none; stroke: var(--ice); stroke-width: 1.5; stroke-dasharray: 2 4; }
.bp-core-in { fill: rgba(250, 177, 11, 0.5); filter: drop-shadow(0 0 6px #fab10b); }
.bp-line { fill: none; stroke-width: 1.6; }
.bp-out { stroke: var(--ember); stroke-dasharray: 6 5; }
.bp-in { stroke: var(--ice); stroke-dasharray: 6 5; }
.bp-tag { font: 500 12.5px var(--hud); fill: var(--ember); }
.bp-tag-ice { fill: var(--ice); }
@media (prefers-reduced-motion: no-preference) {
  .bp-out, .bp-in { animation: flow 1.6s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -22; } }
}

.discreet-demo {
  --c: 14px; position: relative; isolation: isolate; padding: 26px 28px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.discreet-demo::before, .discreet-demo::after { content: ""; position: absolute; z-index: -1; clip-path: inherit; }
.discreet-demo::before { inset: 0; background: linear-gradient(135deg, var(--ice) 0, rgba(250, 177, 11, 0.3) 40px, var(--line) 120px, var(--line) 100%); }
.discreet-demo::after { inset: 1px; background: rgba(16, 12, 7, 0.85); }
.demo-title { margin: 0 0 6px; font: 600 20px/1.3 var(--hud); color: #fff; }
.discreet-demo > p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 12px; border-left: 2px solid var(--ice-dim); background: rgba(250, 177, 11, 0.05); font-size: 15px; outline: none; }
.demo-list .t { font: 500 14px/1.5 var(--hud); color: var(--ice); }
.demo-list .from { color: var(--ember); }
.demo-list .x { filter: blur(6px); opacity: 0.65; transition: filter 0.3s, opacity 0.3s; }
.demo-list li:hover .x, .demo-list li:focus-visible .x { filter: none; opacity: 1; }
.discreet-demo .fine { margin-top: 18px; }

/* ─── Drei Schritte ─── */
.steps { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { position: relative; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.steps .n { position: absolute; top: -16px; left: 0; display: grid; place-items: center; width: 32px; height: 32px; font: 600 15px/1 var(--hud); color: var(--void); background: var(--ice); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.steps h3 { margin: 6px 0 8px; font: 600 22px/1.25 var(--hud); color: #fff; }
.steps p { margin: 0; color: var(--muted); }

/* ─── Fragen ─── */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 500 clamp(18px, 1.6vw, 21px)/1.35 var(--hud); color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--ice); border-bottom: 1.5px solid var(--ice); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* ─── Schluss ─── */
.final { text-align: center; display: grid; justify-items: center; gap: 32px; padding-bottom: clamp(100px, 14vw, 180px); }
.final h2 { margin: 0; font: 600 clamp(36px, 6vw, 80px)/1.05 var(--hud); color: #fff; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 28px var(--gutter) 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; background: rgba(7, 6, 5, 0.9); }
.foot nav { margin-left: auto; display: flex; gap: 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.mark-small { font-size: 16px; }

/* ─── Schmalere Bildschirme ─── */
@media (max-width: 960px) {
  .top nav { display: none; }
  .top .btn-small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 8px; }
  .hero-core { order: -1; }
  .core-anchor { width: min(78vw, 440px); }
  .transmission { width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .log li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .log .avalon { opacity: 1; }
  .private-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .demo-list li { grid-template-columns: 1fr; }
}


/* ═══ Lesbarkeit: hellere Nebentexte, größere Schrift ═══ */
:root { --muted: #d3c6af; --faint: #948876; }
.section-head p { font-size: 19px; line-height: 1.6; color: #e2d7c3; }
.log .avalon { opacity: 0.5; font-size: 18px; }
.log-topic { color: var(--muted); }
.bp-small { font-size: 15px; fill: #ddd1bc; }
.bp-tag { font-size: 14px; }
.bp-store text { font-size: 17px; }
.bp-label { font-size: 19px; }
.discreet-demo > p { font-size: 17px; color: #e2d7c3; }
.demo-list li { font-size: 16.5px; padding: 13px 14px; }
.demo-title { font-size: 22px; }
.steps p, .faq details p { font-size: 17.5px; color: #e2d7c3; }
.fine { font-size: 14.5px; color: var(--muted); }

/* ═══ Einblenden beim Scrollen (nur mit JS, nie bei „Bewegung reduzieren“) ═══ */
.motion .rv { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.motion .rv.is-in { opacity: 1; transform: none; }
.motion .rv-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), opacity 0.6s; transition-delay: calc(var(--i, 0) * 110ms); }
.motion .rv-wipe.is-in { clip-path: inset(0 0 0 0); }

/* Datenleitung unter jeder Überschrift: zieht sich auf, ein Lichtpunkt läuft entlang */
.section-head { position: relative; padding-bottom: 28px; }
.section-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform-origin: left;
  background: linear-gradient(90deg, var(--ice), rgba(250, 177, 11, 0.25) 30%, var(--line) 70%, transparent);
}
.section-head::before {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 70px; height: 5px; border-radius: 3px; opacity: 0;
  background: radial-gradient(ellipse at center, #fff, var(--ice) 35%, transparent 70%); filter: blur(0.5px);
}
.motion .section-head::after { transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.motion .section-head.is-in::after { transform: scaleX(1); }
.motion .section-head.is-in::before { animation: lineRun 4.5s linear 1.4s infinite; }
@keyframes lineRun { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 70px); opacity: 0; } }

/* ═══ Funkverkehr: Zeilen werden nacheinander „abgespielt“ ═══ */
.log li { position: relative; overflow: hidden; }
.log li::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--ember), var(--ice)); box-shadow: 0 0 10px var(--ice);
}
.log li.playing { background: linear-gradient(90deg, rgba(250, 177, 11, 0.07), transparent 75%); }
.log li.playing::after { animation: logBar var(--dur, 3.6s) linear forwards; }
@keyframes logBar { to { transform: scaleX(1); } }
.log .avalon .typed-caret { display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--ice); animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.log-topic .eq { display: inline-flex; gap: 2px; margin-left: 10px; height: 12px; align-items: end; vertical-align: middle; opacity: 0; transition: opacity 0.3s; }
.log-topic .eq i { width: 3px; height: 100%; background: var(--ice); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.log-topic .eq i:nth-child(2) { animation-delay: -0.3s; } .log-topic .eq i:nth-child(3) { animation-delay: -0.6s; } .log-topic .eq i:nth-child(4) { animation-delay: -0.15s; }
.log li.playing .eq { opacity: 1; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* ═══ Bauplan: Speicher pulsieren, Pakete wandern, Kern sendet Wellen ═══ */
.bp-wire { fill: none; stroke: rgba(250, 177, 11, 0.35); stroke-width: 1.2; stroke-dasharray: 3 4; }
.bp-pk rect { fill: var(--ember); }
.bp-pk path { fill: none; stroke: var(--ember); stroke-width: 1.6; }
.bp-pk { filter: drop-shadow(0 0 5px rgba(234, 131, 3, 0.9)); }
.bp-pk-in { fill: var(--ice); filter: drop-shadow(0 0 6px #fab10b); }
.bp-pk-wire { fill: #fdf3c4; filter: drop-shadow(0 0 4px #fab10b); }
.bp-ripple { fill: none; stroke: var(--ice); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .bp-store rect { animation: storePulse 4.8s ease-in-out infinite; animation-delay: calc(var(--k) * 1.2s); }
  .bp-ripple { animation: ripple 3s ease-out infinite; }
  .bp-ripple-2 { animation-delay: 1.5s; }
  .bp-wire { animation: flow 1.2s linear infinite reverse; }
  .bp-core { animation: spin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes storePulse { 0%, 70%, 100% { fill: rgba(250, 177, 11, 0.05); stroke: rgba(250, 177, 11, 0.45); } 80% { fill: rgba(250, 177, 11, 0.2); stroke: #fab10b; } }
@keyframes ripple { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bp-packets { display: none; } }

/* Zeichnen beim Einblenden */
.motion .blueprint .bp-frame, .motion .blueprint .bp-store rect { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2s var(--ease); }
.motion .blueprint.is-in .bp-frame, .motion .blueprint.is-in .bp-store rect { stroke-dashoffset: 0; }

/* ═══ Diskret-Demo: ein Lichtbalken deckt die Zeilen nacheinander auf ═══ */
.demo-list li { position: relative; overflow: hidden; }
.demo-list li::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(250, 177, 11, 0.28), transparent);
}
.demo-list li.peek .x { filter: none; opacity: 1; }
.demo-list li.peek::after { animation: beam 1.1s var(--ease); }
.demo-list li.peek { border-left-color: var(--ice); background: rgba(250, 177, 11, 0.1); }
@keyframes beam { 0% { left: -30%; opacity: 1; } 100% { left: 110%; opacity: 0.4; } }

/* ═══ Drei Schritte: Leitung fließt von Schritt zu Schritt ═══ */
.steps li { border-top-color: transparent; }
.steps li::before {
  content: ""; position: absolute; left: 0; right: -40px; top: -1px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ice) 0 8px, transparent 8px 14px); opacity: 0.55;
}
.steps li:last-child::before { right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .steps li::before { animation: stepsFlow 1.2s linear infinite; background-size: 14px 2px; }
  .steps .n { animation: nGlow 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1s); }
}
@keyframes stepsFlow { to { background-position: 14px 0; } }
@keyframes nGlow { 0%, 60%, 100% { box-shadow: none; filter: none; } 75% { filter: drop-shadow(0 0 12px #fab10b) brightness(1.2); } }
.motion .steps li.rv .n { transform: scale(0); transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); transition-delay: calc(var(--i, 0) * 110ms + 0.3s); }
.motion .steps li.rv.is-in .n { transform: none; }

/* ═══ Fragen: aufgeklappt mit Leuchtkante ═══ */
.faq details { position: relative; transition: background 0.3s; }
.faq details[open] { background: linear-gradient(90deg, rgba(250, 177, 11, 0.06), transparent 70%); }
.faq details[open]::before { content: ""; position: absolute; left: -16px; top: 18px; bottom: 18px; width: 2px; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
.faq details[open] p { animation: faqIn 0.45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ═══ Schluss: Ringe pulsieren aus dem Satz heraus ═══ */
.final { position: relative; overflow: hidden; }
.final-rings { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.final-rings span { position: absolute; left: -220px; top: -220px; width: 440px; height: 440px; border-radius: 50%; border: 1px solid rgba(250, 177, 11, 0.35); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .final-rings span { animation: ring 6s ease-out infinite; }
  .final-rings span:nth-child(2) { animation-delay: 1.5s; } .final-rings span:nth-child(3) { animation-delay: 3s; } .final-rings span:nth-child(4) { animation-delay: 4.5s; }
}
@keyframes ring { from { transform: scale(0.2); opacity: 0.9; } to { transform: scale(2.4); opacity: 0; } }
.final h2, .final .btn { position: relative; }

/* Bauplan: Schrift passend zur Fläche, Kartenhöhe wie Bauplan */
.bp-store text { font-size: 16px; }
.bp-label { font-size: 18px; }
.bp-small { font-size: 14px; }
.bp-tag { font-size: 13px; }
.bp-core-name { font: 400 13px var(--brand); letter-spacing: 0.14em; fill: var(--ice); }
.private-grid { align-items: stretch; }
.discreet-demo { display: flex; flex-direction: column; justify-content: center; }

/* ─── Rechtstexte ─── */
.legal-page .top nav a[aria-current] { color: var(--ice); }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) var(--gutter) 96px; position: relative; z-index: 2; }
.legal h1 { margin: 0 0 20px; font: 600 clamp(36px, 5vw, 56px)/1.05 var(--hud); color: #fff; }
.legal-lead { margin: 0 0 40px; font-size: 19px; color: var(--text); padding-left: 16px; border-left: 2px solid var(--ice); }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 14px; font: 600 24px/1.25 var(--hud); color: var(--ice); }
.legal h3 { margin: 22px 0 8px; font: 600 18px/1.3 var(--hud); color: #fff; }
.legal p, .legal li { color: #e2d7c3; font-size: 16.5px; line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal b { color: #fff; font-weight: 500; }
.legal a { color: var(--ice); overflow-wrap: anywhere; }
.legal-date { margin-top: 24px; color: var(--muted); font-size: 14px; }



/* ─── Alle Funktionen: Konsole mit Bereichen links, Zeilen rechts ─── */
.feat-console {
  --c: 16px; position: relative; isolation: isolate; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 264px minmax(0, 1fr);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.feat-console::before, .feat-console::after { content: ""; position: absolute; z-index: -1; clip-path: inherit; pointer-events: none; }
.feat-console::before { inset: 0; background: linear-gradient(135deg, var(--ice) 0, rgba(250, 177, 11, 0.3) 80px, var(--line) 220px, var(--line) calc(100% - 160px), rgba(234, 131, 3, 0.45) 100%); }
.feat-console::after { inset: 1px; background: rgba(16, 12, 7, 0.9); }

.feat-tabs { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; border-right: 1px solid var(--line); }
.feat-tabs button {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px;
  border: 0; background: none; cursor: pointer; text-align: left; color: var(--muted); font: 500 16px/1.2 var(--hud); transition: color 0.2s, background 0.2s;
}
.feat-tabs button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat-tabs .ftab-n { font-size: 13px; color: var(--faint); }
.feat-tabs button:hover { color: #fff; background: rgba(250, 177, 11, 0.04); }
.feat-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(90deg, rgba(250, 177, 11, 0.14), rgba(250, 177, 11, 0.02)); }
.feat-tabs button[aria-selected="true"] svg { color: var(--ice); filter: drop-shadow(0 0 6px rgba(250, 177, 11, 0.7)); }
.feat-tabs button[aria-selected="true"] .ftab-n { color: var(--ice); }
.feat-tabs button::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--ice); box-shadow: 0 0 10px var(--ice); transform: scaleY(0); transition: transform 0.3s var(--ease); }
.feat-tabs button[aria-selected="true"]::before { transform: none; }
.feat-tabs button[data-tab="neu"] { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 2px; }
.feat-tabs button[data-tab="neu"] svg, .feat-tabs button[data-tab="neu"] .ftab-n { color: var(--ember); }
.feat-tabs button[data-tab="neu"]::before { background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.feat-tabs button[data-tab="neu"][aria-selected="true"] { background: linear-gradient(90deg, rgba(234, 131, 3, 0.14), rgba(234, 131, 3, 0.02)); }
.feat-tabs button[data-tab="neu"][aria-selected="true"] svg { filter: drop-shadow(0 0 6px rgba(234, 131, 3, 0.7)); }

.feat-panels { min-width: 0; padding: 26px 30px 18px; }
.feat-panel h3 { margin: 0 0 6px; font: 600 24px/1.2 var(--hud); color: #fff; }
.js .feat-panel[hidden] { display: none; }
.feat-panel.is-in { animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(14px); } }
.feat-rows { list-style: none; margin: 0; padding: 0; }
.feat-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.95fr); gap: 6px 26px; align-items: baseline;
  padding: 16px 12px; border-bottom: 1px solid var(--line); transition: background 0.25s;
}
.feat-row:last-child { border-bottom: 0; }
.feat-row::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--ice); opacity: 0; transition: opacity 0.25s; }
.feat-row:hover { background: linear-gradient(90deg, rgba(250, 177, 11, 0.06), transparent 80%); }
.feat-row:hover::before { opacity: 1; }
.feat-name h4 { margin: 0; font: 600 17px/1.3 var(--hud); color: #fff; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.feat-tags:empty { display: none; }
.feat-new, .feat-dev, .feat-free, .feat-plan, .feat-plain, .feat-plus, .feat-gold { padding: 3px 7px; font: 600 10.5px/1.1 var(--hud); letter-spacing: 0.07em; text-transform: uppercase; }
.feat-new { color: var(--void); background: var(--ember); }
.feat-dev { color: var(--muted); box-shadow: inset 0 0 0 1px var(--faint); }
.feat-free { color: var(--ember); box-shadow: inset 0 0 0 1px var(--ember); }
.feat-plan { color: var(--muted); box-shadow: inset 0 0 0 1px var(--muted); }
.feat-plain { color: var(--muted); padding-left: 0; }
.feat-legend { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; color: #e2d7c3; }
.feat-legend li > span { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.feat-text { margin: 0; font-size: 15.5px; line-height: 1.55; color: #e2d7c3; }
.feat-ex { margin: 0; font: 500 14px/1.45 var(--hud); color: var(--ember); }
.feat-row.is-dev .feat-ex { color: var(--muted); }

@media (max-width: 960px) {
  .feat-console { grid-template-columns: minmax(0, 1fr); }
  .feat-tabs { flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .feat-tabs button { flex: none; grid-template-columns: 20px auto auto; min-height: 44px; font-size: 14.5px; }
  .feat-tabs button[data-tab="neu"] { margin-top: 0; border-top: 0; padding-top: 0; }
  .feat-tabs button::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 2px; transform: scaleX(0); }
  .feat-panels { padding: 20px 18px 10px; }
  .feat-row { grid-template-columns: minmax(0, 1fr); padding: 14px 4px; }
}
@media (prefers-reduced-motion: reduce) { .feat-panel.is-in { animation: none; } }

/* ─── Download-Knopf im Windows-11-Stil (Fluent): Windows-Blau, Logo aus vier Quadraten, Segoe UI ─── */
.win-dl {
  display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 26px 0 20px;
  color: #fff; background: #0067c0; border: 1px solid rgba(255, 255, 255, 0.08); border-bottom-color: rgba(0, 0, 0, 0.35); border-radius: 4px;
  font-family: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; text-decoration: none; text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 103, 192, 0.7);
  transition: background 0.15s, box-shadow 0.2s, transform 0.15s;
}
.win-dl:hover { background: #1975c5; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 10px 30px -8px rgba(0, 120, 212, 0.9); }
.win-dl:active { background: #3183ca; transform: translateY(1px); }
.win-dl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.win-logo { flex: none; width: 26px; height: 26px; fill: currentColor; }
.win-dl-text { display: grid; gap: 1px; }
.win-dl-small { font-size: 12px; font-weight: 400; line-height: 1.2; opacity: 0.9; }
.win-dl-main { font-size: 19px; font-weight: 600; line-height: 1.2; }
.win-dl-small-btn { min-height: 38px; gap: 9px; padding: 0 16px 0 13px; font-size: 14px; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.win-dl-small-btn .win-logo { width: 16px; height: 16px; }
.win-dl-note { margin: -16px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .hero-cta .win-dl { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .win-dl { transition: none; } }

/* ─── Marke: Schwarz mit flüssigem Gold (gemessen aus dem Logo, wie in der App) ─── */
:root { --gold-metal: linear-gradient(180deg, #fcf378 0%, #fcda3d 22%, #fab10b 55%, #ea8303 100%); }
body { background-color: var(--void); }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--brand); letter-spacing: 0.2em; text-shadow: none; }
.mark img { width: 46px; height: 46px; display: block; filter: drop-shadow(0 0 9px rgba(250, 177, 11, 0.45)); }
.mark span { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 6px rgba(250, 177, 11, 0.4)); }
.wordmark { text-shadow: none; line-height: 0; }
.wordmark img { display: block; width: min(560px, 80vw); height: auto; } /* Das Logo bringt seinen Schein selbst mit – ein zusätzlicher würde vom Glitch-Effekt eckig abgeschnitten */
.log .avalon::before { font-weight: 800; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bp-core-name { font-weight: 800; }
.btn:not(.ghost):not(.win-dl) { background: var(--gold-metal); color: #110c07; }
::selection { background: rgba(250, 177, 11, 0.35); color: #fff8e6; }

/* ─── Im Vergleich ─── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmp-wrap {
  max-width: 1120px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, rgba(26, 19, 11, 0.72), rgba(7, 6, 5, 0.9));
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 var(--cut), var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(250, 177, 11, 0.08); }
.cmp-feature-head { width: 26%; font: 500 13px/1.3 var(--hud); color: var(--faint); vertical-align: bottom; }
.cmp-col { vertical-align: bottom; padding-top: 24px; padding-bottom: 18px; }
.cmp-col-name { display: block; font: 600 16px/1.2 var(--hud); color: var(--text); }
.cmp-col-sub { display: block; margin-top: 4px; font: 400 12.5px/1.3 var(--read); color: var(--muted); }
.cmp-col.is-avalon { display: table-cell; }
.cmp-col.is-avalon img { display: block; width: 30px; height: 30px; margin-bottom: 8px; filter: drop-shadow(0 0 8px rgba(250, 177, 11, 0.45)); }
.cmp-col.is-avalon .cmp-col-name { font: 800 18px/1 var(--brand); letter-spacing: 0.16em; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* AVALON-Spalte: goldene Bahn von oben bis unten */
.cmp .is-avalon { background: linear-gradient(180deg, rgba(250, 177, 11, 0.09), rgba(250, 177, 11, 0.045)); box-shadow: inset 1px 0 0 rgba(250, 177, 11, 0.32), inset -1px 0 0 rgba(250, 177, 11, 0.32); }
.cmp thead .is-avalon { box-shadow: inset 1px 0 0 rgba(250, 177, 11, 0.32), inset -1px 0 0 rgba(250, 177, 11, 0.32), inset 0 3px 0 #fab10b; }
.cmp-group th { padding: 28px 18px 10px; font: 600 13px/1 var(--hud); letter-spacing: 0.06em; color: var(--ice); border-bottom-color: rgba(250, 177, 11, 0.22); }
.cmp-feature { font: 500 15px/1.4 var(--hud); color: var(--text); }
.cmp tbody tr:not(.cmp-group):hover > * { background-color: rgba(250, 177, 11, 0.035); }
.cmp-cell { font-size: 14px; }
.cmp-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 6px; border-radius: 50%; }
.cmp-ico svg, .cmp-key svg { width: 15px; height: 15px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.is-yes .cmp-ico { background: rgba(250, 177, 11, 0.16); box-shadow: inset 0 0 0 1px rgba(250, 177, 11, 0.55); }
.is-yes svg { stroke: #fcda3d; }
.is-part .cmp-ico { background: rgba(234, 131, 3, 0.12); box-shadow: inset 0 0 0 1px rgba(234, 131, 3, 0.45); }
.is-part svg { stroke: #ea8303; }
.is-no .cmp-ico { background: rgba(107, 97, 88, 0.12); box-shadow: inset 0 0 0 1px rgba(107, 97, 88, 0.45); }
.is-no svg { stroke: #857a6b; }
.cmp-note { display: block; line-height: 1.45; color: var(--muted); }
.cmp-cell.is-avalon .cmp-note { color: var(--text); }
.cmp-cell.is-avalon.is-yes .cmp-ico { background: var(--gold-metal); box-shadow: 0 0 12px rgba(250, 177, 11, 0.45); }
.cmp-cell.is-avalon.is-yes svg { stroke: #110c07; }
.cmp-legend { max-width: 1120px; margin: 18px auto 0; font: 400 13px/1.7 var(--read); color: var(--faint); }
.cmp-key { display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 4px 0 10px; vertical-align: -5px; border-radius: 50%; }
.cmp-key:first-child { margin-left: 0; }
.cmp-key.is-yes { background: rgba(250, 177, 11, 0.16); } .cmp-key.is-part { background: rgba(234, 131, 3, 0.12); } .cmp-key.is-no { background: rgba(107, 97, 88, 0.12); }
.cmp-key svg { width: 12px; height: 12px; }

/* Schmal: jede Zeile als Karte, Spaltennamen stehen in der Zelle */
@media (max-width: 820px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp tr:not(.cmp-group) { padding: 14px 16px 16px; border-bottom: 1px solid rgba(250, 177, 11, 0.1); }
  .cmp th, .cmp td { padding: 0; border: 0; }
  .cmp-group th { padding: 26px 16px 8px; border-bottom: 1px solid rgba(250, 177, 11, 0.22); }
  .cmp-feature { margin-bottom: 10px; font-size: 16px; }
  .cmp td.cmp-cell { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 9px 10px; }
  .cmp-cell::before { content: attr(data-col); grid-column: 2; grid-row: 1; font: 600 12px/1.2 var(--hud); color: var(--faint); }
  .cmp-cell.is-avalon::before { font: 800 11.5px/1.2 var(--brand); letter-spacing: 0.14em; color: var(--ice); }
  .cmp-ico { grid-column: 1; grid-row: 1 / span 2; margin: 0; align-self: center; }
  .cmp-note { grid-column: 2; grid-row: 2; }
  .cmp .is-avalon { box-shadow: inset 0 0 0 1px rgba(250, 177, 11, 0.3); }
}
.foot-mark { width: 34px; height: 34px; display: block; filter: drop-shadow(0 0 7px rgba(250, 177, 11, 0.4)); }

/* ─── Preise: drei verbundene Spalten, je mit eigenem Schein (Graphit, Bernstein, Gold) ─── */
.tiers-head { max-width: 58ch; margin: 0 auto 44px; text-align: center; }
.tiers-head h2 { margin: 0; font: 600 clamp(32px, 4.6vw, 56px)/1.06 var(--hud); color: #fff; text-wrap: balance; }
.tiers-head p { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: #e2d7c3; text-wrap: pretty; }
.tiers {
  max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #0b0906; box-shadow: inset 0 0 0 1px var(--line); position: relative;
  clip-path: polygon(0 var(--cut), var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.tier { position: relative; display: flex; flex-direction: column; padding: 36px 32px 38px; border-left: 1px solid rgba(250, 177, 11, 0.14); }
.tier:first-child { border-left: 0; }
.tier > * { position: relative; }
.tier-wash { position: absolute !important; inset: 0 0 auto 0; height: 46%; pointer-events: none; }
.is-start .tier-wash { background: linear-gradient(180deg, rgba(93, 88, 87, 0.28), transparent); }
.is-plus .tier-wash { background: linear-gradient(180deg, rgba(234, 131, 3, 0.2), transparent); }
.is-gold .tier-wash { background: linear-gradient(180deg, rgba(250, 177, 11, 0.26), transparent); }
.is-gold::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold-metal); }
.tier-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tier-icon { width: 26px; height: 26px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-start .tier-icon { stroke: #b1bac5; }
.is-plus .tier-icon { stroke: #ea8303; }
.is-gold .tier-icon { stroke: #fcda3d; filter: drop-shadow(0 0 6px rgba(250, 177, 11, 0.5)); }
.tier-badge { padding: 6px 12px; font: 600 13px/1 var(--hud); color: var(--muted); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.is-start .tier-badge { color: #110c07; background: var(--gold-metal); box-shadow: none; }
.tier h3 { margin: 26px 0 0; font: 800 clamp(24px, 2.4vw, 32px)/1 var(--brand); letter-spacing: 0.06em; color: #fff; }
.is-gold h3 { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tier-tagline { margin: 14px 0 0; font-size: 16.5px; line-height: 1.5; color: #d3c6af; min-height: 3em; text-wrap: pretty; }
.tier-price { margin-top: 26px; min-height: 42px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tier-price strong { font: 600 34px/1 var(--hud); color: #fff; white-space: nowrap; letter-spacing: -0.01em; }
.tier-price span { font-size: 14.5px; line-height: 1.35; color: var(--muted); text-align: right; }
.tier-cta { margin-top: 22px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--hud); text-decoration: none; transition: transform 0.15s var(--ease), filter 0.15s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.tier-cta.is-primary { background: var(--gold-metal); color: #110c07; }
.tier-cta.is-primary:hover { filter: brightness(1.08); }
.tier-cta.is-primary:active { transform: scale(0.98); }
.tier-cta.is-primary:focus-visible { outline: 2px solid #fcda3d; outline-offset: 3px; }
.tier-cta.is-later { color: var(--muted); box-shadow: inset 0 0 0 1px rgba(250, 177, 11, 0.22); cursor: default; }
.tier-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tier-label { margin: 34px 0 0; font: 600 14px/1.2 var(--hud); letter-spacing: 0.03em; }
.is-start .tier-label { color: #b3a894; } .is-plus .tier-label { color: #f6b84a; } .is-gold .tier-label { color: #fcda3d; }
.tier-list, .tier-cons { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 15px; }
.tier-list li { display: flex; align-items: baseline; gap: 13px; font-size: 16px; line-height: 1.45; color: var(--text); }
.tier-list svg { width: 16px; height: 16px; flex: none; transform: translateY(2px); fill: none; stroke: #fab10b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tier-con-title { margin: 30px 0 0; padding-top: 22px; border-top: 1px dashed rgba(250, 177, 11, 0.18); font: 600 13.5px/1 var(--hud); color: var(--muted); }
.tier-cons { gap: 10px; margin-top: 14px; }
.tier-cons li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.tier-cons li::before { content: "–"; position: absolute; left: 3px; color: var(--faint); }
.tier-note { max-width: 1180px; margin: 18px auto 0; text-align: center; font: 400 13.5px/1.6 var(--read); color: var(--faint); }

/* Einmaliges Erscheinen beim Hineinscrollen, Spalten nacheinander */
@keyframes tier-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .tiers:not(.is-shown) .tier { opacity: 0; }
.tiers.is-shown .tier { animation: tier-in 480ms cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: calc(var(--i) * 70ms); }
@media (prefers-reduced-motion: reduce) { .tiers .tier { animation: none !important; opacity: 1 !important; } }

@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 600px; }
  .tier { border-left: 0; border-top: 1px solid rgba(250, 177, 11, 0.14); }
  .tier:first-child { border-top: 0; }
  .tier-tagline { min-height: 0; }
}

.tier-cta.is-later { clip-path: none; }
/* Vergleich: AVALON-Spalte nur mit dem A-Zeichen */
.cmp-col.is-avalon img { width: 52px; height: 52px; margin: 0 auto; }
.cmp-col.is-avalon { text-align: center; vertical-align: middle; }
@media (max-width: 820px) {
  .cmp-cell.is-avalon::before { content: ""; width: 22px; height: 22px; background: url(assets/brand/avalon-mark-96.webp) left center / contain no-repeat; }
}

/* Preise vorerst verschleiert: Plus und Gold unscharf, Hinweis darüber */
.tier.is-veiled { overflow: hidden; }
.tier-blur { display: flex; flex-direction: column; flex: 1; filter: blur(9px); opacity: 0.55; user-select: none; pointer-events: none; }
.tier-veil { position: absolute !important; inset: 0; z-index: 2; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; font: 500 15px/1.5 var(--hud); color: var(--muted); }
.tier-veil span { font: 800 22px/1 var(--brand); letter-spacing: 0.08em; color: #fff; }
.is-gold .tier-veil span { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ─── Download: Sicherheitsprüfung vor dem Start ─── */
.scan-lock, .scan-lock body { overflow: hidden; }
.dlcheck { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(7, 6, 5, 0.78); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.25s var(--ease); }
.dlcheck.is-open { opacity: 1; }
.dlcheck[hidden] { display: none; }
.scan-panel {
  position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px 28px 24px;
  background: linear-gradient(180deg, #15110b, #0c0a07); border: 1px solid var(--line-strong);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transform: translateY(14px) scale(0.98); transition: transform 0.35s var(--ease); outline: none;
}
.dlcheck.is-open .scan-panel { transform: none; }
.scan-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; }
.scan-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.scan-x:hover, .scan-x:focus-visible { color: var(--ice); }
.scan-x:focus-visible, .scan-report:focus-visible, .scan-again:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }

.scan-head { display: flex; align-items: center; gap: 18px; padding-right: 32px; }
.scan-head h3 { margin: 0; font: 600 24px/1.15 var(--hud); color: var(--text); }
.scan-file { margin: 4px 0 0; font: 500 14px/1.4 var(--hud); color: var(--muted); }

.scan-seal { position: relative; flex: none; width: 76px; height: 76px; display: grid; place-items: center; }
.scan-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2; }
.scan-ring circle { stroke: var(--line-strong); }
.scan-ring .scan-sweep { stroke: var(--ice); stroke-dasharray: 60 229; stroke-linecap: round; transform-origin: 50% 50%; opacity: 0; }
.dlcheck.is-scanning .scan-sweep { opacity: 1; animation: scanSpin 0.9s linear infinite; }
.dlcheck.is-clean .scan-ring .scan-sweep { opacity: 1; stroke-dasharray: 289 0; transition: stroke-dasharray 0.6s var(--ease); }
.scan-shield { width: 40px; height: 40px; fill: none; stroke: var(--ice); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.scan-tick { stroke-width: 2; stroke-dasharray: 14; stroke-dashoffset: 14; }
.dlcheck.is-clean .scan-shield { fill: rgba(250, 177, 11, 0.12); filter: drop-shadow(0 0 10px rgba(250, 177, 11, 0.45)); }
.dlcheck.is-clean .scan-tick { stroke-dashoffset: 0; transition: stroke-dashoffset 0.45s 0.2s var(--ease); }
@keyframes scanSpin { to { transform: rotate(360deg); } }

.scan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14px, 1fr)); gap: 4px; margin: 24px 0 0; padding: 0; list-style: none; }
.scan-grid li { aspect-ratio: 1; background: rgba(250, 177, 11, 0.07); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.2s, box-shadow 0.2s; }
.scan-grid li.is-ok { background: var(--ice); box-shadow: 0 0 8px rgba(250, 177, 11, 0.5); }
.scan-grid li.is-hit { background: #ff5a4f; box-shadow: 0 0 8px rgba(255, 90, 79, 0.55); }
.scan-status { min-height: 1.5em; margin: 14px 0 0; font: 500 15px/1.5 var(--hud); color: var(--muted); }
.scan-status strong { color: var(--ice); font-variant-numeric: tabular-nums; }

.scan-result { margin-top: 14px; animation: scanIn 0.4s var(--ease); }
.scan-result p { margin: 0 0 8px; font: 400 16px/1.55 var(--read); color: #e2d7c3; }
.scan-result .scan-big { margin-bottom: 6px; font: 600 28px/1.15 var(--hud); color: var(--ice); }
.dlcheck.is-warn .scan-big { color: var(--text); }
.scan-result .scan-meta { font-size: 13.5px; color: var(--muted); }
.scan-meta span { font-family: var(--glyph); }
.scan-report { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 15px/1 var(--hud); color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.scan-report svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@keyframes scanIn { from { opacity: 0; transform: translateY(6px); } }

.scan-dl { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.scan-bar { display: block; height: 3px; background: var(--line); overflow: hidden; }
.scan-bar i { display: block; height: 100%; width: 0; background: var(--gold-metal); }
.dlcheck.is-loading .scan-bar i { width: 100%; transition: width 1.1s var(--ease); }
.scan-dl-text { margin: 10px 0 2px; font: 500 15px/1.5 var(--hud); color: var(--text); }
.scan-again { display: inline-block; padding: 8px 0; font: 400 14px/1.4 var(--read); color: var(--muted); }
.scan-again:hover { color: var(--ice); }

@media (max-width: 520px) { .scan-panel { padding: 22px 18px 18px; } .scan-head { gap: 14px; } .scan-seal { width: 60px; height: 60px; } .scan-shield { width: 32px; height: 32px; } .scan-result .scan-big { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .dlcheck, .scan-panel, .scan-bar i, .scan-tick, .scan-grid li { transition: none !important; }
  .scan-sweep, .scan-result { animation: none !important; }
}

/* ─── Funktionen nach Plan ─── */
.feat-plus { color: var(--text); box-shadow: inset 0 0 0 1px var(--muted); }
.feat-gold { color: var(--void); background: var(--gold-metal); }
.tier-view { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 28px 0 18px; }
.tier-view-label { font: 500 15px/1.4 var(--hud); color: var(--muted); }
.tier-view-btns { display: inline-flex; flex-wrap: wrap; gap: 0; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tier-view-btns button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; background: none; border: 0; color: var(--text); font: 600 15px/1 var(--hud); cursor: pointer; transition: background 0.2s, color 0.2s; }
.tier-view-btns button small { font: 500 12px/1 var(--hud); color: var(--muted); }
.tier-view-btns button:hover { background: rgba(250, 177, 11, 0.08); }
.tier-view-btns button[aria-pressed="true"] { background: var(--ice); color: var(--void); }
.tier-view-btns button[aria-pressed="true"] small { color: rgba(7, 6, 5, 0.7); }
.tier-view-btns button[data-view="gold"][aria-pressed="true"] { background: var(--gold-metal); }
.tier-view-btns button:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.tier-view-count { flex-basis: 100%; min-height: 1.5em; margin: 0; font: 400 15px/1.5 var(--read); color: #e2d7c3; }
.tier-view-count strong { color: var(--ice); font-weight: 600; }
.feat-row { transition: opacity 0.3s var(--ease); }
.features[data-view="start"] .feat-row:is([data-tier="plus"], [data-tier="gold"]),
.features[data-view="plus"] .feat-row[data-tier="gold"] { opacity: 0.32; }
.features[data-view="gold"] .feat-row[data-tier="gold"] h4,
.features[data-view="plus"] .feat-row[data-tier="plus"] h4 { color: var(--ice); }
@media (prefers-reduced-motion: reduce) { .feat-row, .tier-view-btns button { transition: none; } }

/* ─── Sprachwahl im Kopf: DE · EN ─── */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-left: -10px; font: 600 13px/1 var(--hud); letter-spacing: 0.08em; color: var(--faint); }
.lang-switch a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 2px; color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--ice); }
.legal-page .lang-switch { margin-left: 0; }
@media (max-width: 960px) {
  .top .lang-switch { margin-left: auto; }
  .top { gap: 16px; }
  .top .lang-switch ~ .btn-small { margin-left: 0; }
}
