/* =====================================================
   WSO Digital Hip – Onepager
   Farbwelt nach Visitenkarte: Tiefschwarz / Signalrot / Weiß
   ===================================================== */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/sourcesans3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/sourcesans3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB;
}

:root {
  --bg: #0a0a11;
  --bg-2: #101019;
  --panel: #14141f;
  --panel-2: #1b1b29;
  --line: rgba(255, 255, 255, 0.09);
  --red: #ff3826;
  --red-deep: #cc2114;
  --coral: #f0685c;
  --peach: #f6ac9c;
  --cream: #fbd9ce;
  --txt: #f5f5f9;
  --muted: #a2a2b5;
  --gold: #fbbc04;
  --g-blue: #4285f4;
  --radius: 18px;
  --wrap: 1200px;
  --header-h: 184px;
  font-size: 100%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--muted); }
h1 + p, h2 + p { max-width: 60ch; }

a { color: var(--txt); text-decoration: none; }
p a, .team-note a { color: var(--coral); }
p a:hover, .team-note a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

.grad-red {
  background: linear-gradient(92deg, var(--red) 10%, var(--coral) 55%, var(--peach) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.section-sub { max-width: 62ch; margin-bottom: 40px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s;
}
.btn-red {
  background: linear-gradient(120deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 8px 26px rgba(255, 56, 38, 0.35);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 56, 38, 0.5); }
.btn-ghost { border-color: var(--line); color: var(--txt); }
.btn-ghost:hover { border-color: var(--coral); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 17, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, height 0.35s ease;
}
/* Header-Inhalt buendig zur Inhaltsbreite: Logo links, Navi rechts */
.header-inner {
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; align-items: center; gap: 30px;
}
.site-header.scrolled { border-color: var(--line); height: 96px; }

.brand-logo { height: 168px; width: auto; display: block; transition: height 0.35s ease; }
.site-header.scrolled .brand-logo { height: 80px; }

.main-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.main-nav a {
  font-size: 0.95rem; font-weight: 500; color: var(--muted);
  padding: 6px 2px; position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-cta { padding: 10px 22px; font-size: 0.9rem; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 26px; height: 2.6px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
  background:
    radial-gradient(1000px 540px at 82% -10%, rgba(255, 56, 38, 0.16), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(240, 104, 92, 0.10), transparent 55%),
    var(--bg);
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}

.hero-stars { margin-bottom: 26px; }
.stars-row { display: flex; align-items: center; gap: 7px; }
.star { width: clamp(30px, 3.6vw, 44px); height: auto; }
.star path {
  fill: rgba(255, 255, 255, 0.10);
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
  transition: fill 0.2s;
}
.star.lit path { fill: var(--gold); stroke: var(--gold); filter: drop-shadow(0 0 10px rgba(251, 188, 4, 0.55)); }
.stars-score {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800; color: var(--gold);
  margin-left: 10px;
}
.stars-badge {
  display: inline-block; margin-top: 12px;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--red), var(--red-deep));
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(255, 56, 38, 0.4);
}

.hero-sub { font-size: 1.15rem; margin-top: 18px; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hero-arrow { width: clamp(130px, 14vw, 210px); margin-top: 26px; display: block; }
.hero-arrow path { opacity: 0.9; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid var(--line);
  border-radius: 999px; z-index: 3;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 10px;
  background: var(--red); border-radius: 4px; transform: translateX(-50%);
  animation: cue 1.8s infinite ease-in-out;
}
@keyframes cue { 0% { top: 8px; opacity: 1; } 70% { top: 26px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* ---------- Google-Profil-Demo ---------- */
.profile-demo { position: relative; }

.gcard {
  background: #fff;
  color: #1f1f1f;
  border-radius: 22px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px rgba(255, 56, 38, 0.14);
  overflow: hidden;
  max-width: 430px;
  margin: 0 auto;
  font-family: 'Source Sans 3', Arial, sans-serif;
}

.gcard-search {
  display: flex; align-items: center; gap: 10px;
  margin: 14px; padding: 11px 16px;
  background: #f1f3f4; border-radius: 999px;
  font-size: 0.92rem; color: #3c4043;
}
.gicon { width: 18px; height: 18px; fill: #5f6368; flex: none; }
.gsearch-caret { width: 2px; height: 16px; background: var(--g-blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.gcard-photo { position: relative; height: 190px; overflow: hidden; }
.gcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-toast {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 7px;
  background: rgba(24, 128, 56, 0.95); color: #fff;
  font-size: 0.8rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
  opacity: 0; transform: translateY(12px);
}
.photo-toast svg { width: 15px; height: 15px; fill: #fff; }

.gcard-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 16px 6px; gap: 10px; }
.gcard-head h3 { font-family: 'Source Sans 3', Arial, sans-serif; font-size: 1.28rem; font-weight: 600; color: #1f1f1f; letter-spacing: 0; }
.grating { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.grating-num { font-weight: 600; color: #1f1f1f; font-size: 0.95rem; }
.gstars { display: inline-flex; gap: 1.5px; }
.gstars i {
  width: 14px; height: 14px; display: inline-block;
  background: #dadce0;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: background 0.3s;
}
.gstars i.on { background: var(--gold); }
.grating-count { color: #5f6368; font-size: 0.9rem; }
.gcat { color: #5f6368; font-size: 0.9rem; margin-top: 2px; }

.gbadge-ki {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(120deg, #7b2ff7, #4285f4);
  padding: 6px 11px; border-radius: 999px;
  white-space: nowrap;
  opacity: 0; transform: scale(0.6);
  flex: none;
}
.gbadge-ki svg { width: 13px; height: 13px; fill: #fff; }

.gcard-actions {
  display: flex; gap: 8px; padding: 10px 16px 12px;
  border-bottom: 1px solid #e8eaed;
}
.gcard-actions span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600; color: var(--g-blue);
  border: 1px solid #dadce0; border-radius: 999px;
  padding: 7px 14px;
}
.gcard-actions svg { width: 15px; height: 15px; fill: var(--g-blue); }

.ggallery { display: flex; gap: 6px; padding: 12px 16px 4px; }
.ggallery img {
  width: calc(33.33% - 4px); aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 10px;
  opacity: 0; transform: translateY(14px) scale(0.9);
}

.greview { padding: 12px 16px 4px; opacity: 0; transform: translateY(14px); }
.greview-head { display: flex; align-items: center; gap: 10px; }
.gavatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #7b2ff7; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex: none;
}
.greview-head strong { display: block; font-size: 0.9rem; color: #1f1f1f; }
.greview-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }
.greview-new {
  margin-left: auto; font-size: 0.7rem; font-weight: 700;
  background: #fce8e6; color: #c5221f;
  padding: 3px 9px; border-radius: 999px;
}
.greview > p { color: #3c4043; font-size: 0.92rem; margin-top: 7px; }
.greply {
  margin: 9px 0 0 14px; padding: 9px 12px;
  background: #f1f3f4; border-radius: 12px;
  min-height: 56px;
  opacity: 0;
}
.greply-tag { font-size: 0.72rem; font-weight: 700; color: #188038; }
.greply p { font-size: 0.88rem; color: #3c4043; margin-top: 3px; min-height: 1.2em; }
.type-caret { display: inline-block; width: 2px; height: 0.95em; background: #188038; vertical-align: -0.12em; animation: blink 0.8s steps(1) infinite; }

.gpost {
  display: flex; gap: 12px; align-items: center;
  margin: 12px 16px 4px; padding: 10px;
  border: 1px solid #e8eaed; border-radius: 14px;
  opacity: 0; transform: translateY(14px);
}
.gpost img { width: 84px; height: 64px; object-fit: cover; border-radius: 9px; flex: none; }
.gpost-tag { font-size: 0.7rem; font-weight: 700; color: var(--g-blue); text-transform: uppercase; letter-spacing: 0.06em; }
.gpost p { font-size: 0.86rem; color: #3c4043; margin-top: 2px; }

.gai { padding: 12px 16px 18px; opacity: 0; transform: translateY(14px); }
.gai-q {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: #1f1f1f;
}
.gai-q svg { width: 16px; height: 16px; fill: #7b2ff7; flex: none; }
.gai-a {
  margin-top: 8px; padding: 11px 14px;
  background: linear-gradient(120deg, #f3eefe, #e8f0fe);
  border-radius: 12px;
  font-size: 0.88rem; color: #3c4043;
}
.gai-src { display: block; margin-top: 5px; font-size: 0.74rem; color: #5f6368; }

/* Hilfe-Zeiger (Tutorial-Stil) */
.demo-pointer {
  position: absolute; left: 0; top: 0; z-index: 6;
  width: 44px; height: 44px;
  opacity: 0; pointer-events: none;
  will-change: transform;
}
.pointer-cursor {
  position: absolute; left: 10px; top: 9px;
  width: 32px; height: 32px;
  fill: #fff; stroke: #1f1f1f; stroke-width: 1.2;
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.5));
}
.pointer-ring {
  position: absolute; left: -2px; top: -3px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--red);
  opacity: 0; transform: scale(0.3);
}

/* Steps */
.demo-steps {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 22px;
}
.step-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--muted);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 16px 10px 12px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.step-chip:hover { color: #fff; border-color: var(--coral); transform: translateY(-2px); }
.step-chip.active { color: #fff; border-color: var(--red); background: var(--panel-2); }
.chip-icon { width: 17px; height: 17px; fill: currentColor; flex: none; }
.chip-ring { position: absolute; inset: -1px auto auto -1px; width: 0; height: 0; display: none; }
.step-chip.active .chip-ring {
  display: block; position: absolute; left: 4px; top: 50%;
  width: 30px; height: 30px; transform: translateY(-50%) rotate(-90deg);
}
.step-chip.active .chip-ring circle {
  fill: none; stroke: var(--red); stroke-width: 2.4;
  stroke-dasharray: 100.5; stroke-dashoffset: 100.5;
  stroke-linecap: round; opacity: 0.85;
}
.step-chip.active { padding-left: 42px; }
.step-chip.active .chip-icon { position: absolute; left: 10.5px; }

/* ---------- Der Weg ---------- */
.weg { background: var(--bg-2); }
.weg-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 56px;
}
.weg-line {
  position: absolute; left: 8%; right: 8%; top: 44px;
  width: 84%; height: 12px; z-index: 0;
}
.weg-line path { stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0.6; }

.weg-item {
  position: relative; z-index: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.weg-item:hover { transform: translateY(-6px); }
.weg-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.weg-item:hover .weg-icon { border-color: var(--red); box-shadow: 0 14px 36px rgba(255, 56, 38, 0.25); }
.weg-icon svg { width: 46px; height: 46px; stroke: #fff; fill: none; }
.weg-icon path, .weg-icon rect, .weg-icon circle { stroke: #fff; }
.weg-icon .weg-detail { stroke: var(--coral); }
.weg-item strong { display: block; font-family: 'Source Sans 3', sans-serif; font-size: 1.02rem; color: #fff; }
.weg-item > span:last-child { font-size: 0.88rem; color: var(--muted); }

/* Icon-Draw-Animation */
.weg-icon svg * { stroke-dasharray: 160; stroke-dashoffset: 160; }
.weg-item.drawn svg * { animation: draw 1.1s ease forwards; }
.weg-item.drawn svg .weg-detail { animation-delay: 0.55s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Split-Layout (Video / Kontakt) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.check-list { list-style: none; margin-top: 22px; }
.check-list li {
  position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--txt);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(120deg, var(--red), var(--red-deep));
}
.check-list li::after {
  content: ''; position: absolute; left: 5px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Video / Kamera-Rahmen ---------- */
.cam-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.cam-frame img { width: 100%; height: 100%; object-fit: cover; }
.cam-corner { position: absolute; width: 30px; height: 30px; border: 3px solid rgba(255, 255, 255, 0.85); }
.cam-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.cam-corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.cam-corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.cam-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.cam-rec {
  position: absolute; top: 22px; left: 58px;
  display: flex; align-items: center; gap: 7px;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; font-weight: 700; color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}
.cam-rec i { width: 11px; height: 11px; border-radius: 50%; background: #ff1f1f; animation: blink 1.2s steps(1) infinite; }
.cam-time {
  position: absolute; top: 22px; right: 58px;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: #fff; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  font-variant-numeric: tabular-nums;
}
.cam-focus {
  position: absolute; left: 50%; top: 50%;
  width: 74px; height: 74px; transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.65); border-radius: 6px;
  animation: focusPulse 3.4s ease-in-out infinite;
}
@keyframes focusPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.65; }
  50% { transform: translate(-50%, -50%) scale(1.16); opacity: 0.25; }
}

/* ---------- Fernsehen ---------- */
.tv-section { background: var(--bg-2); }
.tv-intro {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(34px, 5vw, 70px);
  margin-bottom: clamp(60px, 7vw, 100px);
}
.tv-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tv-facts span {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--cream);
  border: 1px solid rgba(240, 104, 92, 0.4);
  background: rgba(255, 56, 38, 0.10);
  padding: 8px 15px; border-radius: 999px;
}
.sender-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.sender-row span {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 13px;
  transition: color 0.3s, border-color 0.3s;
}
.sender-row span:hover { color: #fff; border-color: var(--coral); }

.tv-proof { display: flex; flex-direction: column; gap: 18px; }
.rtl-partner {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
/* Offizielle RTL-Farben (RTL AdAlliance Badge 2026) */
.rtl-logo { display: inline-flex; gap: 5px; }
.rtl-logo b {
  width: 44px; height: 30px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; font-weight: 900; font-size: 1.1rem; color: #fff;
  font-style: normal;
  letter-spacing: 0.02em;
}
.rtl-r { background: #8c3c90; }
.rtl-t { background: #3a6db5; }
.rtl-l { background: #4a3b96; }
.rtl-logo-lg { gap: 6px; flex: none; }
.rtl-logo-lg b { width: 56px; height: 38px; font-size: 1.4rem; }
.rtl-partner strong { display: block; font-family: 'Source Sans 3', sans-serif; font-size: 1rem; }
.rtl-partner span:last-child { font-size: 0.88rem; color: var(--muted); }

/* RTL-AdAlliance-Badge nach offizieller Vorlage: schwarz, Blöcke links, Text rechts */
.cert-card {
  display: flex; align-items: center; gap: 22px;
  background: #060609;
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px;
}
.cert-title {
  display: block; font-family: 'Source Sans 3', sans-serif;
  font-size: 1.25rem; font-weight: 800; line-height: 1.2; color: #fff;
}
.cert-year {
  display: block; font-family: 'Source Sans 3', sans-serif;
  font-size: 1.15rem; font-weight: 400; color: #fff;
}
.cert-holder { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

.panel-photo { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.panel-photo img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 38%; }
.panel-photo figcaption { font-size: 0.82rem; color: var(--muted); padding: 12px 16px; }

/* ---------- Konfigurator ---------- */
.konf-head { max-width: 640px; margin-bottom: 40px; }
.konf-head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }

.konf-grid { display: block; }

.tv-wrap { text-align: center; max-width: 1160px; margin: 0 auto; }
.tv-mockup {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 120px rgba(255, 56, 38, 0.10);
}
.tv-photo { position: relative; }
.tv-mockup-bg { width: 100%; height: auto; display: block; }
.tv-screen {
  position: absolute; overflow: hidden;
  left: 22.13%; top: 23.96%;
  width: 55.67%; height: 41.8%;
  border-radius: 3px;
  background: #000;
}
.tv-program {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: top right;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
}
#tvCanvas { display: none; }
.tv-screen.squeezed .tv-program { transform: scale(0.778); }

.tv-watermark {
  position: absolute; top: 3.5%; right: 2.4%;
  font-family: 'Source Sans 3', sans-serif; font-size: clamp(0.6rem, 1.1vw, 0.85rem);
  font-weight: 800; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  z-index: 3;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
  transform-origin: top right;
}
.tv-screen.squeezed .tv-watermark { transform: scale(0.778); }

/* L-Banner */
.lbanner { position: absolute; inset: 0; z-index: 2; pointer-events: none; --lb: #8c2f22; }
/* Geometrie nach offiziellem "Switch In XXL"-Template der RTL AdAlliance:
   Seitenspalte 284/1280 = 22.19% volle Hoehe, untere Leiste 160/720 = 22.22%
   nur rechts der Spalte, Programm-Squeeze auf 77.8% */
.lb-side {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 22.19%;
  overflow: hidden;
  background: linear-gradient(165deg, var(--lb), color-mix(in srgb, var(--lb) 55%, #000));
  color: #fff;
  padding: 4.5% 1.6% 2%;
  display: flex; flex-direction: column; align-items: center; gap: 7%;
  text-align: center;
  transform: translateX(-102%);
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1) 0.12s;
}
.lb-bottom {
  position: absolute; left: 22.19%; right: 0; bottom: 0; height: 22.22%;
  background: #f7f5f2;
  color: #222;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3%;
  border-top: 3px solid var(--lb);
  transform: translateY(102%);
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1) 0.28s;
}
.lbanner.on .lb-side { transform: translateX(0); }
.lbanner.on .lb-bottom { transform: translateY(0); }

.lb-logo {
  width: clamp(26px, 4.2vw, 52px); height: clamp(26px, 4.2vw, 52px);
  border-radius: 50%;
  background: #fff; color: var(--lb);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; font-weight: 800;
  font-size: clamp(0.85rem, 1.8vw, 1.5rem);
  flex: none;
}
/* Pflicht-Kennzeichnung wie im Original-Template: graue Chips oben links */
.lb-chips {
  width: 100%;
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 0 6%;
}
.lb-chips i {
  display: flex; align-items: center; gap: 0.4em;
  background: #c9c9c9; color: #14141f;
  font-style: normal; font-weight: 700;
  font-size: clamp(0.38rem, 0.62vw, 0.56rem);
  letter-spacing: 0.06em;
  padding: 2% 6%;
}
.lb-chip-ds b { width: 0.7em; height: 0.55em; background: #2e5ce6; flex: none; }

/* Umschaltmoment-Overlay (Original-Senderinfo von RTL) */
.tv-zap {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.tv-zap.show { opacity: 1; }
.lb-claim {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(0.55rem, 1.15vw, 0.95rem);
  font-weight: 700; line-height: 1.3; color: #fff;
}
.lb-cta {
  font-size: clamp(0.5rem, 0.9vw, 0.75rem); font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 3% 7%; border-radius: 999px;
  margin-top: auto;
  white-space: nowrap;
}
/* Banner-Animationen: Lichtlauf + pulsierender CTA */
.lb-shine { position: absolute; inset: 0; pointer-events: none; }
.lbanner.animated .lb-shine::after {
  content: '';
  position: absolute; top: -25%; bottom: -25%;
  width: 30%; left: -45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  transform: skewX(-12deg);
  animation: lbShine 4.6s ease-in-out infinite;
}
@keyframes lbShine {
  0%, 55% { left: -45%; }
  80%, 100% { left: 135%; }
}
.lbanner.animated .lb-cta { animation: lbPulse 2.3s ease-in-out infinite; }
@keyframes lbPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { transform: scale(1.07); box-shadow: 0 0 12px rgba(255, 255, 255, 0.35); }
}

.lb-firm { text-align: left; }
.lb-firm strong {
  display: block; font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(0.62rem, 1.3vw, 1.05rem); color: #1c1c1c;
}
.lb-firm span {
  font-size: clamp(0.5rem, 0.95vw, 0.78rem); color: #555;
}
.lb-avatar {
  width: clamp(24px, 3.6vw, 46px); height: clamp(24px, 3.6vw, 46px);
  border-radius: 50%;
  background: var(--lb); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; font-weight: 800;
  font-size: clamp(0.75rem, 1.5vw, 1.25rem);
  flex: none;
}

.tv-caption { margin-top: 18px; font-size: 0.92rem; }

/* Regie-Schublade: Griff schwebt auf dem Foto, Panel klappt darunter aus */
.konf-drawer {
  display: flex; flex-direction: column; align-items: center;
}
.drawer-handle {
  margin-top: -46px;
  position: relative; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem; font-weight: 700; color: #fff;
  background: rgba(10, 10, 17, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 14px 14px 0 0;
  padding: 11px 24px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.drawer-handle:hover { border-color: rgba(255, 56, 38, 0.6); background: rgba(20, 12, 12, 0.9); }
.handle-gear { width: 17px; height: 17px; fill: var(--coral); }
.konf-drawer:not(.open) .handle-gear { animation: gearSpin 6s linear infinite; }
@keyframes gearSpin { to { transform: rotate(360deg); } }
.handle-chevron { width: 19px; height: 19px; fill: #fff; transition: transform 0.35s ease; }
.konf-drawer.open .handle-chevron { transform: rotate(180deg); }

.konf-panel {
  width: 100%;
  background: rgba(10, 10, 17, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 18px 34px;
  align-items: flex-end; justify-content: center;
  max-height: 0; overflow: hidden;
  padding: 0 28px;
  transition: max-height 0.5s ease, padding 0.5s ease;
  text-align: left;
}
.konf-drawer.open .konf-panel { max-height: 420px; padding: 22px 28px 20px; }
.konf-panel .konf-block { margin: 0; }
#konfName { max-width: 260px; }
.konf-toggle { width: auto; padding: 11px 24px; }
.konf-hint { flex-basis: 100%; text-align: center; margin-top: 0; font-size: 0.8rem; }
.konf-label {
  display: block;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.konf-presets, .konf-sender { display: flex; flex-wrap: wrap; gap: 8px; }
.konf-presets button, .konf-sender button {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px; cursor: pointer;
  transition: 0.25s;
}
.konf-presets button:hover, .konf-sender button:hover { color: #fff; border-color: var(--coral); }
.konf-presets button.active, .konf-sender button.active {
  color: #fff; border-color: var(--red);
  background: rgba(255, 56, 38, 0.16);
}
#konfName {
  width: 100%;
  font-family: 'Source Sans 3', sans-serif; font-size: 1rem;
  color: #fff; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 15px;
}
#konfName:focus { outline: 2px solid var(--red); border-color: transparent; }
.konf-inline { display: flex; gap: 26px; flex-wrap: wrap; }
#konfColor {
  width: 64px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-2); cursor: pointer; padding: 4px;
}
.konf-toggle { width: 100%; }
.konf-hint { font-size: 0.86rem; }

/* ---------- KI ---------- */
.ki-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ki-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ki-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 104, 92, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.ki-icon { width: 52px; height: 52px; margin-bottom: 18px; }
.ki-icon * { stroke: #fff; fill: none; }
.ki-icon .ki-detail { stroke: var(--coral); }
.ki-icon * { stroke-dasharray: 170; stroke-dashoffset: 170; }
.ki-card.drawn .ki-icon * { animation: draw 1.2s ease forwards; }
.ki-card.drawn .ki-icon .ki-detail { animation-delay: 0.5s; }
.ki-card h3 { margin-bottom: 10px; }
.ki-card p { font-size: 0.95rem; }

.ki-chat {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  max-width: 720px;
}
.ki-chat-q, .ki-chat-a { display: flex; gap: 14px; align-items: flex-start; }
.ki-chat-a { margin-top: 16px; }
.ki-chat-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--bg-2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--muted);
}
.ki-chat-avatar.ai {
  background: linear-gradient(120deg, var(--red), var(--red-deep));
  border: 0; color: #fff;
}
.ki-chat-q p { color: var(--txt); font-weight: 500; padding-top: 5px; }
.ki-chat-a p { padding-top: 5px; min-height: 2em; }
.ki-chat-a strong { color: var(--cream); }
.ki-chat .type-caret { background: var(--coral); }

/* ---------- Team ---------- */
.team { background: var(--bg-2); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 56, 38, 0.5);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}
.team-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  margin-bottom: 18px;
  position: relative;
}
.team-photo::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(10, 10, 17, 0.55), transparent);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-role {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--coral); margin: 6px 0 10px;
}
.team-note { font-size: 0.88rem; }

/* ---------- Kontakt ---------- */
.kontakt .split { align-items: start; }
.contact-list { list-style: none; margin-top: 26px; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--txt); }
.contact-list svg { width: 21px; height: 21px; fill: var(--red); flex: none; }
.contact-list a { color: var(--txt); }
.contact-list a:hover { color: var(--coral); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--muted); margin-bottom: 7px;
}
.form-field input, .form-field textarea {
  width: 100%;
  font-family: 'Source Sans 3', sans-serif; font-size: 1rem;
  color: #fff; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 20px; cursor: pointer; }
.form-consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--red); flex: none; }
.form-consent span { font-size: 0.85rem; color: var(--muted); }
.form-status { margin-top: 14px; font-size: 0.92rem; min-height: 1.4em; }
.form-status.ok { color: #6fd18b; }
.form-status.err { color: var(--coral); }

/* ---------- Footer ---------- */
.site-footer { background: #07070c; border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-logo { height: 130px; margin-bottom: 14px; }
.site-footer p, .site-footer a { font-size: 0.92rem; color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer strong { font-family: 'Source Sans 3', sans-serif; font-size: 0.95rem; display: block; margin-bottom: 10px; }
.footer-line {
  text-align: center; margin-top: 46px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem !important;
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js.no-motion [data-reveal], .js .revealed[data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- A11y-Toolbar ---------- */
.a11y { position: fixed; left: 18px; bottom: 18px; z-index: 150; }
.a11y-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--line);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  transition: 0.25s;
}
.a11y-btn:hover { border-color: var(--coral); transform: translateY(-2px); }
.a11y-btn svg { width: 26px; height: 26px; fill: #fff; }
.a11y-panel {
  position: absolute; left: 0; bottom: 62px;
  width: 240px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.a11y-panel strong { font-family: 'Source Sans 3', sans-serif; font-size: 0.92rem; display: block; margin-bottom: 14px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; font-size: 0.88rem; color: var(--muted); }
.a11y-row button {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.84rem; font-weight: 600;
  color: #fff; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 11px; cursor: pointer; transition: 0.2s;
}
.a11y-row button:hover { border-color: var(--coral); }
.a11y-row button[aria-pressed="true"] { background: var(--red); border-color: var(--red); }

/* Kontrast-Modus */
.high-contrast { --muted: #d6d6e2; --line: rgba(255, 255, 255, 0.28); --bg: #000; --bg-2: #05050a; --panel: #0c0c14; --panel-2: #12121c; }
.high-contrast .gcat, .high-contrast .grating-count { color: #3c4043; }

/* Animationen aus */
.no-motion *, .no-motion *::before, .no-motion *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
}
.no-motion #heroCanvas { display: none; }
.no-motion .weg-icon svg *, .no-motion .ki-icon * { stroke-dashoffset: 0; }
.no-motion .weg-line path { stroke-dashoffset: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { min-height: 0; }
  .hero-arrow { display: none; }
  .konf-grid { grid-template-columns: 1fr; }
  .tv-intro { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 10, 17, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-burger { display: block; margin-left: auto; }
  .header-cta { display: none; }
  :root { --header-h: 128px; }
  .brand-logo { height: 112px; }
  .site-header.scrolled { height: var(--header-h); }
  .site-header.scrolled .brand-logo { height: 112px; }
  .main-nav { inset: var(--header-h) 0 auto 0; }
  .weg-track { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .weg-line { display: none; }
  .split { grid-template-columns: 1fr; }
  .ki-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-inline: auto; }
}

/* L-Banner auf kleinen Bildschirmen: kompakte Fassung, nichts darf ueberlaufen */
@media (max-width: 700px) {
  .lb-chips, .lb-cta, #lbSub, .lb-avatar { display: none; }
  .lb-side { gap: 8%; padding-top: 8%; justify-content: flex-start; }
  .lb-logo { width: 20px; height: 20px; font-size: 0.68rem; }
  .lb-claim {
    font-size: 0.5rem; line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lb-bottom { justify-content: center; padding: 0 2%; }
  .lb-firm { width: 100%; text-align: center; }
  .lb-firm strong {
    font-size: 0.62rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .drawer-handle { font-size: 0.82rem; padding: 9px 18px; margin-top: -40px; }
  .tv-watermark { font-size: 0.5rem; }
}

@media (max-width: 560px) {
  .weg-track { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .gcard { max-width: 100%; }
  .demo-steps { gap: 8px; }
  .step-chip { font-size: 0.76rem; padding: 9px 13px 9px 10px; }
  .step-chip.active { padding-left: 36px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .weg-icon svg *, .ki-icon * { stroke-dasharray: none; stroke-dashoffset: 0; }
  .weg-line path { stroke-dashoffset: 0; }
  #heroCanvas { display: none; }
  .cam-focus, .cam-rec i, .gsearch-caret, .type-caret, .scroll-cue span { animation: none; }
}
