:root {
  --bg: #07060a;
  --bg-2: #0e0c12;
  --card: #131118;
  --line: rgba(255, 214, 140, 0.14);
  --text: #f4efe6;
  --muted: #a39b8e;
  --gold: #f2b544;
  --gold-2: #ffd98a;
  --orange: #ff7a1a;
  --grad: linear-gradient(90deg, #000 0%, #c8901f 45%, #f2b544 65%, #ff7a1a 100%);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }

/* Sprachumschaltung */
html[data-lang="en"] .de, html[data-lang="de"] .en { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 6, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang button {
  background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px;
  padding: 6px 12px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: rgba(242, 181, 68, 0.16); color: var(--gold-2); }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 650; font-size: 16px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--orange));
  color: #160d00;
  box-shadow: 0 10px 40px -10px rgba(255, 140, 30, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); color: #000; box-shadow: 0 14px 50px -10px rgba(255, 140, 30, 0.8); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Lichtsäule */
.beam {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 217, 138, 0) 0%, #ffd98a 30%, #f2b544 60%, rgba(255, 122, 26, 0) 100%);
  box-shadow: 0 0 24px 6px rgba(242, 181, 68, 0.35), 0 0 120px 30px rgba(255, 122, 26, 0.12);
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* Hero */
.hero { position: relative; padding: 80px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background: radial-gradient(60% 50% at 70% 30%, rgba(255, 122, 26, 0.18), transparent 70%),
              radial-gradient(40% 40% at 20% 10%, rgba(242, 181, 68, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
  background: rgba(242, 181, 68, 0.06);
}
h1 { font-size: clamp(42px, 7vw, 78px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 750; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.gold {
  background: linear-gradient(90deg, var(--gold-2), var(--gold) 50%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(18px, 2.2vw, 21px); color: #d9d1c3; margin: 22px 0 32px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.portrait {
  position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(255, 122, 26, 0.45);
  aspect-ratio: 1 / 1;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .callcard {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(10, 8, 12, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); font-size: 14px;
}
.callcard .ring { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: #1f8f3a; box-shadow: 0 0 0 0 rgba(31, 143, 58, .6); animation: ring 2s infinite; }
.callcard .ring svg { width: 18px; height: 18px; fill: #fff; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(31,143,58,.55); } 70% { box-shadow: 0 0 0 14px rgba(31,143,58,0); } 100% { box-shadow: 0 0 0 0 rgba(31,143,58,0); } }
.callcard b { display: block; }
.callcard span { color: var(--muted); }

/* Abschnitte */
section { padding: 88px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 650; margin-bottom: 12px; }
.band { height: 3px; background: var(--grad); opacity: .9; }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(242, 181, 68, 0.10); border: 1px solid var(--line); font-size: 22px;
}
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Tagesablauf */
.timeline { position: relative; display: grid; gap: 14px; }
.tl {
  display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2);
}
.tl time { font-variant-numeric: tabular-nums; color: var(--gold-2); font-weight: 700; font-size: 18px; }
.tl p { color: var(--muted); font-size: 16px; margin-top: 2px; }

/* Vergleich */
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; }
.compare thead th { background: var(--card); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare td:last-child, .compare th:last-child { color: var(--text); }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { background: rgba(242, 181, 68, 0.05); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* Abschluss */
.final {
  text-align: center; overflow: hidden;
  background: radial-gradient(50% 70% at 50% 100%, rgba(255, 122, 26, 0.20), transparent 70%);
}
.final .wrap { position: relative; }
.final p { color: #d9d1c3; max-width: 36em; margin: 18px auto 32px; font-size: 19px; }
.final .cta-row { justify-content: center; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--gold-2); }

/* Rechtstexte */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #d9d1c3; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal .sub { color: var(--muted); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .beam, .callcard .ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* Handy */
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 460px; }
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 4px; }
  .nav .btn-sm { display: none; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
}

@media (max-width: 900px) { .hero .beam { display: none; } }

/* Wortmarke „Dexter.“ (auch für die Rechtsseiten) */
.dxm { position: relative; display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -.055em; line-height: .8; white-space: nowrap; color: #fff; }
.dxm i { display: inline-block; width: .19em; height: .19em; margin-left: .045em; border-radius: .035em; background: linear-gradient(135deg, #ffe7a8, #f2b544 45%, #ff7a1a); box-shadow: 0 0 .12em rgba(255,200,90,.95), 0 0 .5em rgba(255,140,30,.55); }
.dxm-s { font-size: 23px; letter-spacing: -.04em; }
.dxm i { width: .165em; height: .165em; margin-left: .03em; }
.legal h1 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
