:root {
  --bg: #0b1a1d;
  --surface: #11272b;
  --surface2: #173439;
  --line: #24474d;
  --text: #e8f4f5;
  --text2: #a9c4c7;
  --text3: #74959a;
  --petrol: #00707c;
  --petrol-light: #5cc6d0;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--petrol-light); }
a:hover { color: #8fe0e7; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 26, 29, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 71, 77, .6);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.brand svg, .brand img { width: 34px; height: 34px; border-radius: 50%; background: #000; padding: 4px; box-sizing: border-box; }
.brand img { padding: 0; }
nav a { color: var(--text2); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); }
@media (max-width: 640px) { nav a.opt { display: none; } }

.hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(92, 198, 208, .22), transparent 62%);
  pointer-events: none;
}
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }
.eyebrow { color: var(--petrol-light); font-weight: 600; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; margin: 14px 0 18px; letter-spacing: -1px; }
h1 .accent { color: var(--petrol-light); }
.lead { font-size: 20px; color: var(--text2); max-width: 560px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 30px;
  font-weight: 600; text-decoration: none; font-size: 16px; border: 1px solid var(--line); color: var(--text);
}
.btn.primary { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn.primary:hover { background: #008492; color: #fff; }
.btn:hover { border-color: var(--petrol-light); }
.small { font-size: 13px; color: var(--text3); margin-top: 12px; }

.radar { position: relative; aspect-ratio: 1; max-width: 400px; width: 100%; margin: 0 auto; }
.radar .ring, .radar .pulse { position: absolute; inset: 0; border-radius: 50%; padding: 1.5px; background: #FF8C00; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.radar .ring { opacity: .45; background: #E40303; }
.radar .ring.r2 { background: #FFED00; } .radar .ring.r3 { background: #00A33A; }
.radar .pulse { background: #2D6BFF; } .radar .pulse.d2 { background: #9B3FD1; }
.radar .ring.r2 { inset: 16%; } .radar .ring.r3 { inset: 32%; }
.radar .core {
  position: absolute; inset: 44%; border-radius: 50%;
  background: #061214 url(/favicon.svg?v=251) center / 100% no-repeat;
  box-shadow: 0 0 40px rgba(255, 140, 0, .35), 0 0 70px rgba(155, 63, 209, .3);
}
.radar .pulse { inset: 44%; padding: 2px; animation: pulse 3.2s ease-out infinite; }
.radar .pulse.d2 { animation-delay: 1.6s; }
@keyframes pulse { from { inset: 44%; opacity: .9; } to { inset: 0; opacity: 0; } }
.radar .dot {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--surface2); border: 2px solid var(--line);
}
.radar .dot.on::after { content: ""; position: absolute; right: 0; bottom: 2px; width: 11px; height: 11px; border-radius: 50%; background: #4ade80; border: 2px solid var(--bg); }
@media (prefers-reduced-motion: reduce) { .radar .pulse { animation: none; opacity: 0; } }

section { padding: 64px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.5px; }
.sub { color: var(--text2); max-width: 640px; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid rgba(36, 71, 77, .7); border-radius: var(--radius); padding: 24px; }
.card .ico { font-size: 30px; }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--text2); font-size: 15.5px; }

.promise { background: linear-gradient(135deg, rgba(0, 112, 124, .35), rgba(17, 39, 43, .6)); border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.promise ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 700px) { .promise ul { grid-template-columns: 1fr; } .promise { padding: 26px; } }
.promise li { padding-left: 30px; position: relative; color: var(--text2); }
.promise li::before { content: "✓"; position: absolute; left: 0; color: var(--petrol-light); font-weight: 700; }
.promise li b { color: var(--text); }

.gestures { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.gestures span { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-size: 15px; color: var(--text2); }

details { background: var(--surface); border: 1px solid rgba(36, 71, 77, .7); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--text2); margin: 10px 0 0; }

footer { border-top: 1px solid rgba(36, 71, 77, .6); padding: 34px 0 44px; color: var(--text3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--text2); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }

/* Rechtstexte */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 23px; margin: 38px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text2); }
.legal strong { color: var(--text); }
.legal .stand { color: var(--text3); font-size: 14px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; color: var(--text2); }
.legal th { color: var(--text); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 16px 0; }

/* ---------- Slider „So funktioniert Rangr“ ---------- */
.tour { padding: 72px 0; }
.slider { position: relative; }
.track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 4px 24px; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center;
  background: linear-gradient(160deg, var(--surface), rgba(17, 39, 43, .4)); border: 1px solid rgba(36, 71, 77, .7);
  border-radius: 32px; padding: 40px 48px;
}
@media (max-width: 820px) { .slide { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; text-align: center; } }
.slide .step { color: var(--petrol-light); font-weight: 700; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; }
.slide h3 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 10px 0 14px; }
.slide p { color: var(--text2); font-size: 17.5px; margin: 0 0 12px; }
.slide ul { color: var(--text2); padding-left: 20px; margin: 0; }
@media (max-width: 820px) { .slide ul { text-align: left; display: inline-block; } }
.ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.ctrl button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: 20px; cursor: pointer;
}
.ctrl button:hover { border-color: var(--petrol-light); }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 6px; border: 0; background: var(--line); transition: width .25s, background .25s; }
.dots button.on { width: 28px; background: var(--petrol-light); }

/* Handy-Attrappe */
.phone {
  width: 260px; height: 520px; margin: 0 auto; border-radius: 40px; padding: 12px; background: #050d0f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 2px #22393d, 0 0 60px rgba(92, 198, 208, .12);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 8px; margin-left: -35px; border-radius: 6px; background: #050d0f; z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--bg); position: relative; font-size: 12px; text-align: left; }
.bar { height: 50px; display: flex; align-items: flex-end; padding: 0 16px 8px; font-weight: 700; font-size: 16px; }
.bar small { font-weight: 400; color: var(--text3); font-size: 10.5px; margin-left: auto; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; }
.tile { aspect-ratio: 1; border-radius: 10px; position: relative; display: grid; place-items: center; font-size: 26px; }
.tile i { position: absolute; left: 6px; bottom: 5px; font-style: normal; font-size: 9.5px; color: #fff; text-shadow: 0 1px 3px #000; }
.tile b { position: absolute; right: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.c1 { background: linear-gradient(135deg, #2f6f78, #18434a); } .c2 { background: linear-gradient(135deg, #7a4b6f, #3e2638); }
.c3 { background: linear-gradient(135deg, #6c6a32, #36351a); } .c4 { background: linear-gradient(135deg, #39507e, #1e2a44); }
.c5 { background: linear-gradient(135deg, #7d5236, #432b1c); } .c6 { background: linear-gradient(135deg, #3d7a52, #1f412b); }
.chip { display: inline-block; margin: 0 4px 4px 0; padding: 3px 8px; border-radius: 10px; border: 1px solid #3c6f76; color: var(--petrol-light); font-size: 10px; }
.field { margin: 8px 14px; padding: 9px 12px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--line); color: var(--text2); }
.pbtn { margin: 12px 14px; padding: 10px; border-radius: 20px; background: var(--petrol); color: #fff; text-align: center; font-weight: 600; }
.bub { max-width: 72%; margin: 6px 12px; padding: 8px 11px; border-radius: 16px; line-height: 1.35; }
.bub.in { background: var(--surface2); border-bottom-left-radius: 4px; }
.bub.out { background: var(--petrol); margin-left: auto; border-bottom-right-radius: 4px; color: #fff; }
.bub.ges { text-align: center; } .bub.ges span { font-size: 28px; display: block; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 12px; }
.grid3 div { background: var(--surface2); border-radius: 12px; padding: 8px 2px; text-align: center; font-size: 20px; }
.grid3 div small { display: block; font-size: 9px; color: var(--text2); }
.row { display: flex; align-items: center; gap: 10px; margin: 6px 12px; padding: 10px; border-radius: 12px; background: var(--surface); }
.row .sw { margin-left: auto; width: 28px; height: 16px; border-radius: 9px; background: #3a8f98; position: relative; }
.row .sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--petrol-light); }
.pin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px 30px; }
.pin span { aspect-ratio: 1; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; font-size: 16px; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(26px); 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; } .track { scroll-behavior: auto; } }

.langs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 14px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
.langs a { margin: 0 !important; }
.langs a[aria-current] { color: var(--text); font-weight: 600; }

/* Rundgang Schritt 7/8 + „Neu“-Marke */
.mq { margin: 0 10px 8px; padding: 9px 12px; border-radius: 14px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.mq small { color: var(--text3); font-size: 10.5px; } .mq b { font-weight: 600; }
.mq .mr { margin-top: 5px; padding: 4px 8px; border-left: 3px solid #2D6BFF; border-radius: 6px; background: rgba(255,255,255,.05); font-size: 11.5px; }
.mf { display: flex; gap: 8px; align-items: center; font-size: 22px; background: rgba(0,0,0,.18); border-radius: 10px; padding: 6px 8px; }
.mf span { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; } .mf small { font-weight: 400; font-size: 10.5px; color: #7be39a; }
.attm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 8px 4px; padding: 12px 4px; border-radius: 16px; background: rgba(255,255,255,.05); }
.attm span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9.5px; color: var(--text2); text-align: center; }
.attm i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.newb { display: inline-block; vertical-align: middle; margin: 0 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px;
  background: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #00A33A, #2D6BFF, #9B3FD1); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.card { position: relative; }
.card > .newb { position: absolute; top: 16px; right: 16px; margin: 0; }
