/* GrabRadio website: shared styles for / (de) and /en/ */
:root {
  --bg: #09101e;
  --bg-2: #0e1830;
  --card: #121e38;
  --card-2: #162443;
  --line: rgba(160, 190, 230, .16);
  --text: #f3f7ff;
  --muted: #b4c4d9;
  --accent: #3c8cff;
  --accent-2: #8b78ff;
  --rec: #eb3c55;
  --ok: #3cd296;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
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;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* Long URLs/code must wrap on phones instead of widening the page. */
code { overflow-wrap: anywhere; }
/* The hero glow (::before) is 120% wide; clip it so phones get no sideways scroll
   (mobile browsers do not reliably honour overflow-x on body). */
.hero { overflow-x: clip; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 50;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Header */
header.top { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px);
  background: rgba(9, 16, 30, .72); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.top.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.links { display: flex; gap: 22px; font-size: .95rem; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--text); }
.bar-right { display: flex; align-items: center; gap: 12px; }
.lang { font-size: .85rem; font-weight: 700; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.lang:hover { color: var(--text); }
@media (max-width: 860px) { nav.links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font-weight: 650; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, background .2s, box-shadow .2s;
  background: rgba(255,255,255,.04); }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff;
  box-shadow: 0 12px 30px -12px rgba(60,140,255,.8); }
.btn.primary:hover { background: #5a9eff; }
.btn.small { padding: 9px 16px; font-size: .92rem; }
.btn svg { flex: none; }
.btn .two { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn .two small { font-size: .72rem; font-weight: 500; opacity: .85; }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 45% at 72% 38%, rgba(60,140,255,.35), transparent 70%),
              radial-gradient(30% 35% at 18% 20%, rgba(139,120,255,.18), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.02em; }
.grad { background: linear-gradient(90deg, #7fb2ff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 35rem; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: .9rem; color: var(--muted); }
.checks li { position: relative; padding-left: 22px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* Phone mockup */
.phone { width: min(320px, 78vw); margin-inline: auto; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #26334d, #0b1222); box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone img { border-radius: 30px; width: 100%; height: auto; }
.hero .phone { transform: translateY(var(--hero-shift, 0px)) rotate(var(--hero-tilt, -3deg)); transition: transform .1s linear; }
.float-tag { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; font-size: .9rem; box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); white-space: nowrap; }
.float-tag b { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.phone-stage { position: relative; }
.tag-1 { left: -6%; top: 22%; animation: bob 6s ease-in-out infinite; }
.tag-2 { right: -4%; bottom: 18%; animation: bob 7s ease-in-out infinite reverse; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); margin-right: 6px;
  animation: pulse 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 860px) { .tag-1 { left: 0; } .tag-2 { right: 0; } }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--bg-2); }
.section-head { max-width: 42rem; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }

/* Problem / outcome strip */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .pain { grid-template-columns: 1fr; } }
.pain .card p { font-size: 1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.after-steps { text-align: center; margin-top: 32px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
.feature:nth-of-type(even) .copy { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; line-height: 1.2; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.feature ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.feature li { margin: 4px 0; }
.feature small { color: var(--muted); opacity: .8; }
.chip { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature:nth-of-type(even) .copy { order: 0; } }
.auto-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }

/* Cards */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3, .card h4 { margin: 10px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(60,140,255,.15); }
.icon svg { width: 22px; height: 22px; stroke: #8fb8ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.trial-banner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center;
  margin: 0 auto 28px; max-width: 46rem; padding: 14px 20px; border-radius: 16px;
  background: rgba(60,210,150,.09); border: 1px solid rgba(60,210,150,.35); color: #c9f5e3; font-size: .98rem; }
.trial-banner strong { color: #fff; }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 30px; font-weight: 600; }
.billing-toggle .opt { color: var(--muted); cursor: pointer; background: none; border: 0; font: inherit; padding: 4px; }
.billing-toggle .opt[aria-pressed="true"] { color: var(--text); }
.switch { width: 46px; height: 26px; border-radius: 999px; background: #2a3a5c; border: 0; position: relative; cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform .25s; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.save { font-size: .75rem; font-weight: 700; color: #06281b; background: var(--ok); padding: 2px 8px; border-radius: 999px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin-inline: auto; } .plan.hl { order: -1; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  position: relative; display: flex; flex-direction: column; }
.plan.hl { border-color: rgba(139,120,255,.75); background: linear-gradient(180deg, #17224a, var(--card));
  box-shadow: 0 0 0 1px rgba(139,120,255,.35), 0 30px 70px -30px rgba(139,120,255,.6); }
@media (min-width: 961px) { .plan.hl { transform: translateY(-8px); } }
.plan h3 { margin: 0 0 4px; font-size: 1.3rem; }
.plan .sub { color: var(--muted); margin: 0 0 18px; font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-note { color: var(--muted); font-size: .85rem; margin: 8px 0 20px; min-height: 1.4em; }
.plan .btn { width: 100%; margin-bottom: 22px; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--accent-2); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .93rem;
  border-bottom: 1px solid rgba(160,190,230,.08); }
.rows li span:first-child { color: var(--muted); }
.rows li span:last-child { font-weight: 650; text-align: right; }
.yes, .no { display: inline-block; width: 18px; height: 18px; position: relative; }
.yes::before { content: ""; position: absolute; left: 3px; top: 3px; width: 11px; height: 6px;
  border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }
.no::before, .no::after { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 1.6px; background: #6b7d96; transform: rotate(45deg); }
.no::after { transform: rotate(-45deg); }
.fine { color: var(--muted); font-size: .88rem; margin-top: 22px; }
.js [data-billing="monthly"] .only-yearly, .js [data-billing="yearly"] .only-monthly { display: none; }
html:not(.js) .only-monthly { display: none; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Final CTA + footer */
.final { text-align: center; }
.final .cta { justify-content: center; }
.final .checks { justify-content: center; }
footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.disclaimer { margin-top: 18px; font-size: .82rem; opacity: .8; max-width: 52rem; }

/* Mobile sticky CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; }
.sticky-cta .btn { width: 100%; }
@media (max-width: 720px) {
  .sticky-cta { display: block; transform: translateY(140%); transition: transform .35s; }
  .sticky-cta.show { transform: none; }
  footer.site { padding-bottom: 96px; }
  .bar-right .btn { display: none; }
}

/* Reveal animations (only with JS, so the page stays readable without it) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.from-left { transform: translateX(-48px); }
.js .reveal.from-right { transform: translateX(48px); }
/* Phones: slide in vertically so off-screen offsets never widen the page. */
@media (max-width: 860px) { .js .reveal.from-left, .js .reveal.from-right { transform: translateY(36px); } }
.js .reveal.zoom { transform: scale(.92); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.intro { animation: intro .9s cubic-bezier(.2,.7,.2,1) both; }
.intro[data-delay="1"] { animation-delay: .1s; }
.intro[data-delay="2"] { animation-delay: .2s; }
.intro[data-delay="3"] { animation-delay: .3s; }
@keyframes intro { from { opacity: 0; transform: translateY(24px); } }

:focus-visible { outline: 3px solid #8fb8ff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .intro { animation: none; }
  .tag-1, .tag-2, .dot { animation: none; }
  .hero .phone { transform: rotate(-3deg); }
  .progress { display: none; }
  .sticky-cta { transition: none; }
}

/* Footer sitemap */
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { margin: 0; max-width: 18rem; line-height: 1.6; }
.foot-col h2 { font-size: .95rem; color: var(--text); margin: 4px 0 14px; letter-spacing: 0; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; }

/* Article pages (about) */
.page-hero { padding: 72px 0 24px; }
.page-hero .lead { max-width: 40rem; }
.prose > * { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 12px; }
.prose p { color: var(--muted); margin: 0 0 16px; font-size: 1.08rem; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

/* Empfehlungen (Blog) */
.post > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 40px 0 12px; }
.post .prose h2 { margin-top: 36px; }
.ki-hinweis { font-size: .9rem; color: var(--muted); font-style: italic; margin: 12px 0 0; }
.post .prose .ki-hinweis { margin-top: 32px; }
.show-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 24px; max-width: 44rem; }
.post .show-box h2 { margin: 0 0 4px; font-size: 1.3rem; }
.show-box p { margin: 0 0 8px; color: var(--muted); }
.show-box .btn { margin-top: 8px; max-width: 100%; text-align: center; }
.show-box .show-over { margin: 12px 0 0; font-weight: 600; color: var(--text); }
.show-box [hidden] { display: none; }
.post-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 16px; max-width: 44rem; }
.post-item h3 { margin: 4px 0 6px; font-size: 1.15rem; overflow-wrap: anywhere; }
.post-item h3 a { color: var(--text); text-decoration: none; }
.post-item h3 a:hover { color: var(--accent); }
.post-item .post-meta { margin-top: 8px; font-size: .85rem; }
.chip.over { color: var(--muted); }
.sources { padding-left: 1.2em; color: var(--muted); overflow-wrap: anywhere; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.post .prose, .page-hero h1 { overflow-wrap: anywhere; }
