/*
 * Removication - Website
 *
 * Dieselbe Nachtpalette wie die App (ui/theme/Color.kt), dieselben Gestaltungselemente:
 * violetter Lichthof von oben, Karten mit Lichtkante statt Schlagschatten, der gruene Schalter
 * mit Schein als einziger lauter Moment. Systemschrift wie in der App - keine Webschrift.
 */

:root {
  --base: #0A0E1A;
  --surface: #131A2C;
  --raised: #1B2440;
  --outline: #2A3552;
  --violet: #7C5CFF;
  --violet-soft: #A78BFA;
  --green: #2BD576;
  --red: #FF4D5E;
  --text: #E8ECF7;
  --muted: #93A0BE;
  --quiet: #5D6B8C;
  --radius: 24px;
  --wrap: 1120px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--base);
  /* Der Lichthof der App (NightBackground): schwach, von oben, gibt der Flaeche eine Quelle. */
  background-image: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 92, 255, 0.16), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans JP",
    "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.quiet { color: var(--quiet); font-size: 0.92rem; }

/* ---------- Kopf ---------- */

.site-header { position: relative; z-index: 10; }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.wordmark__tail { color: var(--violet-soft); }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 550; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Sprachwahl - ein <details>, also auch ohne JavaScript bedienbar. */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--muted); font-weight: 550; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--outline); display: inline-flex; gap: 6px; align-items: center; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text); border-color: var(--quiet); }
.lang[open] summary { color: var(--text); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--raised); border: 1px solid var(--outline); border-radius: 14px; min-width: 180px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); text-decoration: none; }
.lang li a:hover { background: rgba(124, 92, 255, 0.18); }
.lang li a[aria-current="true"] { color: var(--violet-soft); }

.header-cta { display: none; }

@media (max-width: 720px) {
  .site-nav { gap: 14px; font-size: 0.95rem; }
  .site-nav .nav-text { display: none; }
}

/* ---------- Knoepfe ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  min-height: 56px; padding: 14px 26px; border-radius: 999px;
  background: var(--violet); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 34px rgba(124, 92, 255, 0.38);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}
.btn:hover { color: #fff; background: #8a6dff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 44px rgba(124, 92, 255, 0.5); transform: translateY(-1px); }
/* Wie in der App: Druck heisst eindruecken, nicht springen. */
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 4px 16px rgba(124, 92, 255, 0.35); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.textlink { display: inline-block; color: var(--muted); font-weight: 600; text-decoration: none; padding: 10px 4px; }
.textlink:hover { color: var(--text); }
.textlink::after { content: " \2192"; }

/* ---------- Karten mit Lichtkante (NightCard) ---------- */

.card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 26px 26px 24px; overflow: hidden;
}
.card::before {
  /* Lichtkante: eine helle Linie an der Oberkante, zur Mitte hin am staerksten. */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 236, 247, 0.22), transparent);
}
.card::after {
  /* Der weiche Glanz, den in der App die Neigung des Geraets verschiebt. */
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 90%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.035), transparent 60%);
}
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Abschnitte ---------- */

section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; color: var(--violet-soft); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--flip > :first-child { order: 2; } }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero .split { align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 1.6em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.micro { margin-top: 18px; color: var(--quiet); font-size: 0.92rem; }

/* ---------- Telefon-Nachbildung ---------- */

.phone {
  width: min(100%, 340px); margin-inline: auto; aspect-ratio: 9 / 18.6;
  border-radius: 46px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #2a3150, #12172a 40%, #0c1020);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 120px rgba(124, 92, 255, 0.12);
}
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: var(--base) radial-gradient(ellipse 120% 50% at 50% -8%, rgba(124, 92, 255, 0.16), transparent 70%);
  display: flex; flex-direction: column; font-size: 13px; line-height: 1.35;
}
.phone__status { display: flex; justify-content: space-between; padding: 12px 22px 0; color: var(--text); font-size: 11px; font-weight: 600; opacity: 0.85; }
.phone__body { flex: 1; padding: 14px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.phone__title { color: var(--muted); font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.phone__nav { display: flex; justify-content: space-around; padding: 10px 8px 16px; background: var(--surface); color: var(--muted); font-size: 10.5px; }
.phone__nav span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.phone__nav i { display: block; width: 44px; height: 24px; border-radius: 12px; }
.phone__nav .on { color: var(--violet-soft); }
.phone__nav .on i { background: rgba(124, 92, 255, 0.28); }
.phone__nav svg { width: 16px; height: 16px; margin: 4px auto 0; }

/* Der Schalter - der eine laute Moment, wie in der App. */
.power { display: grid; place-items: center; margin: 6px auto 0; width: 140px; height: 140px; position: relative; }
.power::before { content: ""; position: absolute; inset: -38px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 213, 118, 0.32), transparent 65%); }
.power__disc { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #1f6b47, #144b33 70%); box-shadow: 0 0 0 1px rgba(43, 213, 118, 0.25) inset; }
.power__disc svg { width: 58px; height: 58px; }
.power-label { text-align: center; color: var(--green); font-weight: 700; font-size: 15px; margin-top: 2px; }
.power-hint { text-align: center; color: var(--muted); font-size: 11.5px; margin: 0 6px; }
@media (prefers-reduced-motion: no-preference) {
  .power::before { animation: atmen 4.3s ease-in-out infinite; }
}
@keyframes atmen { 0%, 100% { opacity: 0.75; transform: scale(0.96); } 40% { opacity: 1; transform: scale(1.04); } }

.segment { display: flex; margin: 4px auto 0; padding: 3px; background: var(--base); border-radius: 14px; width: 86%; box-shadow: 0 0 0 1px var(--outline) inset; }
.segment span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 11px; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.segment .on { background: rgba(124, 92, 255, 0.32); color: var(--text); }

.mini-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; padding: 10px 12px; position: relative; }
.mini-row::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 236, 247, 0.18), transparent); }
.mini-row b { display: block; color: var(--text); font-weight: 600; font-size: 12.5px; }
.mini-row small { color: var(--muted); font-size: 11px; }
.mini-row .x { margin-left: auto; color: var(--quiet); font-size: 15px; }

.app-dot { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.app-dot svg { width: 15px; height: 15px; }
.dot-blue { background: #3d7bfd; } .dot-orange { background: #f59e3b; } .dot-pink { background: #e8508f; } .dot-teal { background: #2aa79b; }

/* ---------- Benachrichtigungen (Vergleich Original / zensiert) ---------- */

.notifs { display: grid; gap: 18px; }
.notif-label { color: var(--quiet); font-size: 0.85rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.notif { display: flex; gap: 14px; align-items: flex-start; background: #e9ecf4; color: #1b2030; border-radius: 22px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.notif--dark { background: var(--raised); color: var(--text); box-shadow: 0 0 0 1px var(--outline) inset, 0 18px 40px rgba(0, 0, 0, 0.35); }
.notif__head { font-size: 0.8rem; opacity: 0.7; margin-bottom: 2px; }
.notif__title { font-weight: 700; }
.notif__text { opacity: 0.85; }
.notif .app-dot { margin-top: 2px; }
.censor-dot { background: rgba(124, 92, 255, 0.25); }
.arrow-down { text-align: center; color: var(--violet-soft); font-size: 1.6rem; line-height: 1; }

/* ---------- Drei Stufen (App-Detailseite) ---------- */

.modes { display: grid; gap: 12px; }
.mode { display: flex; gap: 16px; align-items: flex-start; }
.sel { width: 24px; height: 24px; flex: none; border-radius: 50%; background: rgba(124, 92, 255, 0.14); margin-top: 3px; display: grid; place-items: center; }
.mode.is-on .sel { background: var(--violet); box-shadow: 0 0 18px rgba(124, 92, 255, 0.7); }
.mode.is-on { box-shadow: 0 0 60px rgba(124, 92, 255, 0.10); }
.sel svg { width: 14px; height: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 7px 14px; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 0.92rem; box-shadow: 0 0 0 1px var(--outline) inset; }

/* ---------- Catcher ---------- */

.catcher .day { color: var(--quiet); font-size: 11.5px; font-weight: 600; margin: 4px 4px 0; }
.catcher .mini-row { align-items: flex-start; }
.catcher .who { color: var(--violet-soft); font-weight: 600; font-size: 11.5px; }
.catcher .t { color: var(--quiet); font-size: 10.5px; margin-top: 3px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 20px 0 0; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: center; color: var(--text); font-weight: 550; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- Drei Wege zum Schalter ---------- */

.controls { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.control { text-align: center; padding-top: 32px; }
.control .vis { height: 96px; display: grid; place-items: center; margin-bottom: 16px; }
.widget-disc { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #1f6b47, #123d2a 72%); box-shadow: 0 0 34px rgba(43, 213, 118, 0.38), 0 0 0 1px rgba(43, 213, 118, 0.3) inset; }
.widget-disc svg { width: 40px; height: 40px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 22px; background: #c9bfff; color: #1b1440; font-weight: 700; font-size: 0.95rem; }
.tile svg { width: 22px; height: 22px; }
.toggle { width: 64px; height: 36px; border-radius: 18px; background: var(--violet); position: relative; box-shadow: 0 0 22px rgba(124, 92, 255, 0.5); }
.toggle::after { content: ""; position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; }

/* ---------- Vertrauen ---------- */

.trust { background: linear-gradient(180deg, rgba(19, 26, 44, 0.0), rgba(19, 26, 44, 0.75) 30%, rgba(19, 26, 44, 0.75) 70%, rgba(19, 26, 44, 0)); }
.trust__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.trust__icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(124, 92, 255, 0.12); box-shadow: 0 0 50px rgba(124, 92, 255, 0.25); }
.trust__icon svg { width: 30px; height: 30px; }
.trust p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Gratis / Premium ---------- */

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 32px; }
.plan h3 { font-size: 1.35rem; }
.plan ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; color: var(--muted); }
.plan li::before { content: ""; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 50%; background: var(--quiet); flex: none; }
.plan--premium { box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.45) inset, 0 0 70px rgba(124, 92, 255, 0.14); }
.plan--premium li::before { background: var(--violet-soft); }
.plan .tag { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--violet-soft); background: rgba(124, 92, 255, 0.14); padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 18px; position: relative; }
.faq details::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 236, 247, 0.16), transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 650; position: relative; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--violet-soft); border-bottom: 2px solid var(--violet-soft); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Schluss ---------- */

.final { text-align: center; }
.final .lead { margin-inline: auto; margin-bottom: 1.6em; }

/* ---------- Unterseiten ---------- */

.page-head { padding-block: clamp(32px, 6vw, 64px) 8px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose .note { background: var(--surface); border-radius: 18px; padding: 18px 22px; box-shadow: 0 0 0 1px var(--outline) inset; }
.page-cta { padding-block: 48px 0; }

/* ---------- Anleitungen ---------- */

/* Eine Lesespalte fuer Kopf, Text, Fragen und Knopf - sonst stuende der Kopf links, der Text mittig. */
.guide-article .wrap { max-width: 760px; }
.guide-head .eyebrow { text-decoration: none; }
.guide-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 20em; }
.guide-head .lead { max-width: 44em; }
.guide h2 { scroll-margin-top: 24px; }
.guide ul, .guide ol { padding-left: 1.3em; }
.guide li { margin-bottom: 0.5em; }
/* Nummerierte Schritte als violette Kreise - wie die Auswahlpunkte in der App. */
.steps { list-style: none; counter-reset: step; padding-left: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 1em; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05em; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: #fff;
  background: rgba(124, 92, 255, 0.32); box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.5) inset;
}
.guide-visual { margin-block: 28px; max-width: 460px; }
.kinds { max-width: 420px; margin-block: 28px; display: grid; gap: 8px; }
.kinds__head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.kinds__head b { display: block; color: var(--text); }
.kinds__head small { color: var(--violet-soft); font-size: 0.85rem; }
.kinds__label { color: var(--quiet); font-size: 0.8rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.kind { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 14px; background: var(--base); color: var(--muted); }
.kind .sel { margin-top: 0; }
.kind.is-on { color: var(--text); }
.kind.is-on .sel { background: var(--violet); box-shadow: 0 0 14px rgba(124, 92, 255, 0.6); }
.table-wrap { overflow-x: auto; margin-block: 20px 28px; }
.guide table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.guide th, .guide td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--outline); vertical-align: top; }
.guide th { color: var(--text); font-weight: 650; }
.guide td { color: var(--muted); }
.related { padding-left: 1.2em; }
.trademark { margin-top: 32px; }
.guide-topic { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 36px 0 16px; }
.guide-list { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.guide-card { text-decoration: none; color: var(--text); transition: box-shadow 160ms var(--ease); }
.guide-card:hover { color: var(--text); box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.45) inset; }
.guide-card .textlink { padding-bottom: 0; }

/* ---------- Interaktive Demo (/demo/, js/demo.js) ----------
 * Die Flut fuellt das Handy von oben, die Lampe sitzt unten und liegt ueber den Karten.
 * Farben und Lampe wie in der App: rot = alles kommt durch, gruen = ausblenden aktiv. */
.demo-head { text-align: center; }
.demo-head .lead { margin-inline: auto; }
.demo { display: grid; gap: 32px; align-items: start; justify-items: center; grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
@media (min-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.demo-phone .phone__screen { position: relative; }
.demo-flut { position: absolute; inset: 40px 10px 34% 10px; display: flex; flex-direction: column; gap: 0; overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.demo-notif { display: flex; gap: 9px; align-items: flex-start; background: #e9ecf4; color: #1b2030; border-radius: 16px;
  padding: 9px 11px; font-size: 11px; line-height: 1.3; box-shadow: 0 8px 20px rgba(0,0,0,.45); flex: none;
  margin-bottom: -14px; transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)); }
.demo-notif .app-dot { width: 22px; height: 22px; }
.demo-notif__kopf { font-size: 10px; opacity: .6; }
.demo-notif__titel { font-weight: 700; font-size: 11.5px; }
.demo-notif__text { opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .demo-notif { animation: demo-rein 320ms var(--ease) both; }
  .demo-notif.weg { animation: demo-weg 420ms var(--ease) forwards; }
}
.demo-notif.weg { opacity: 0; }
@keyframes demo-rein { from { opacity: 0; transform: translateY(-120%) rotate(var(--r, 0deg)); }
  to { opacity: 1; transform: translateX(var(--x, 0)) rotate(var(--r, 0deg)); } }
@keyframes demo-weg { to { opacity: 0; transform: translateX(80%) rotate(calc(var(--r, 0deg) * 3)) scale(.85); } }
.demo-schalter { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, transparent, var(--base) 22%); }
.demo-lampe { width: 104px; height: 104px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #FF4D5E;
  background: radial-gradient(circle at 50% 38%, #6b1f2a, #3d1219 72%);
  box-shadow: 0 0 44px rgba(255,77,94,.45), 0 0 0 1px rgba(255,77,94,.35) inset; transition: transform 160ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease), color 300ms var(--ease); }
.demo-lampe svg { width: 52px; height: 52px; }
.demo-lampe:active { transform: scale(.94); }
.demo-lampe.an { color: #2BD576; background: radial-gradient(circle at 50% 38%, #1f6b47, #123d2a 72%);
  box-shadow: 0 0 54px rgba(43,213,118,.55), 0 0 0 1px rgba(43,213,118,.35) inset; }
.demo-zustand { color: var(--red); font-weight: 700; font-size: 14px; }
.demo-zustand.an { color: var(--green); }
.demo-hinweis { font-size: 12px; color: var(--violet-soft); font-weight: 650; }
.demo-hinweis[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .demo-lampe:not(.an) { animation: demo-ruf 1.6s ease-in-out infinite; }
}
@keyframes demo-ruf { 50% { box-shadow: 0 0 70px rgba(255,77,94,.75), 0 0 0 1px rgba(255,77,94,.5) inset; } }
.demo-catcher { width: 100%; max-width: 460px; }
.demo-catcher h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.demo-zahl { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px;
  background: rgba(124,92,255,.25); color: var(--violet-soft); font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) { .demo-zahl.puls { animation: demo-puls 380ms var(--ease); } }
@keyframes demo-puls { 50% { transform: scale(1.25); background: rgba(43,213,118,.35); color: #fff; } }
.demo-liste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.demo-liste li { background: var(--base); border-radius: 14px; padding: 10px 14px; display: grid; font-size: .9rem; }
.demo-liste__app { color: var(--violet-soft); font-size: .78rem; font-weight: 650; }
.demo-liste b { color: var(--text); font-weight: 650; }
.demo-liste__text { color: var(--muted); }
.demo-cta { text-align: center; }

/* ---------- Fuss ---------- */

.site-footer { border-top: 1px solid rgba(42, 53, 82, 0.6); padding-block: 44px 56px; color: var(--quiet); font-size: 0.93rem; margin-top: 40px; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .small { font-size: 0.82rem; }
.colophon { margin-top: 22px; max-width: 60em; }

/* ---------- Sprachhinweis (js/lang.js) ---------- */

.lang-hint { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex; gap: 12px; align-items: center; background: var(--raised); color: var(--text); padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: 0 0 0 1px var(--outline) inset, 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 0.93rem; max-width: calc(100% - 24px); }
.lang-hint a { font-weight: 700; }
.lang-hint button { background: transparent; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; }
.lang-hint button:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang-hint[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Ersatz fuer Inline-Stile (die CSP erlaubt keine style-Attribute). */
.tagline { margin-top: 10px; }
.tune { width: 16px; color: var(--muted); }
.note-quiet { margin-top: 22px; }
.more { margin-top: 18px; }
.page-404 { padding-bottom: 80px; }

/* ---------- Schmale Bildschirme ----------
 * Lange Woerter ("Benachrichtigungen") duerfen das Raster nicht breiter als den Bildschirm
 * machen: Ein 1fr-Track waechst sonst auf die Mindestbreite seines laengsten Wortes. */
.split, .grid-3, .controls, .plans { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
@media (min-width: 640px) {
  .grid-3, .controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
h2, h3, .lead, .card p { hyphens: auto; overflow-wrap: break-word; }
/* Die Hauptueberschrift wird nie getrennt (Gideon: "sieht ganz schlimm aus"). Damit das laengste
 * Wort trotzdem passt, begrenzt sie die Breite des Bildschirms - siehe .hero h1 unten. */
h1 { hyphens: manual; overflow-wrap: normal; }
.eyebrow { overflow-wrap: anywhere; }
.phone.catcher { aspect-ratio: 9 / 14; }
@media (max-width: 520px) {
  /* Datenschutz und Fragen stehen im Fuss und im Text - oben bleibt Platz fuer Marke und Sprache. */
  .site-nav > a { display: none; }
  .hero h1 { font-size: 2.1rem; }
}
/* ---------- Hero: eine Benachrichtigung faellt herein und wird eingefangen ----------
 * Ohne Bewegung (reduced motion) bleibt sie unsichtbar - der Grundzustand ist "weg".
 * Dreimal, dann Ruhe: Wer den Text liest, soll nicht dauernd abgelenkt werden. */
.drop {
  position: absolute; top: 34px; left: 10px; right: 10px; z-index: 3;
  display: flex; gap: 9px; align-items: flex-start;
  background: #e9ecf4; color: #1b2030; border-radius: 16px; padding: 9px 11px;
  font-size: 11px; line-height: 1.3; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(-140%); pointer-events: none;
}
.drop .app-dot { width: 22px; height: 22px; }
.drop .app-dot svg { width: 12px; height: 12px; }
.drop__head { font-size: 10px; opacity: 0.65; }
.drop__title { font-weight: 700; font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .drop { animation: einfallen 9s var(--ease) 1.4s 3 both; }
  .phone__nav .catch i { animation: auffangen 9s var(--ease) 1.4s 3 both; }
}
/* 9 s je Durchgang: einfallen in 0,4 s, gut 3,5 s lesbar stehen (Gideon: "etwas laenger"),
 * dann verschwinden - im selben Moment leuchtet der Catcher auf. */
@keyframes einfallen {
  0% { opacity: 0; transform: translateY(-140%); }
  5% { opacity: 1; transform: translateY(0); }
  44% { opacity: 1; transform: translateY(0) scale(1); }
  50%, 100% { opacity: 0; transform: translateY(-24%) scale(0.94); }
}
@keyframes auffangen {
  0%, 48% { background: transparent; box-shadow: none; }
  53% { background: rgba(124, 92, 255, 0.45); box-shadow: 0 0 16px rgba(124, 92, 255, 0.6); }
  64%, 100% { background: transparent; box-shadow: none; }
}

/* ---------- Fuer fremde Haende (Sicherheitsmodell) ---------- */
.guard { display: grid; gap: 12px; }
.guard__item { padding: 22px 24px 20px 46px; }
.guard__item h3::before {
  content: ""; position: absolute; left: -24px; top: 0.42em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--violet); box-shadow: 0 0 14px rgba(124, 92, 255, 0.7);
}

.lang-hint span { flex: 1 1 auto; }
.lang-hint a { white-space: nowrap; }
@media (max-width: 640px) {
  .lang-hint { left: 12px; right: 12px; transform: none; max-width: none; border-radius: 18px; padding: 12px 8px 12px 16px; }
}

/* ---------- Deutsche Hauptueberschrift: ohne Trennung, also muss "Benachrichtigungen" passen ----------
 * Das Wort ist rund 9,3 Schriftgroessen breit. Statt fester Stufen je Bildschirm richtet sich die
 * Groesse nach der Breite der Textspalte (cqi) - so passt es auf dem kleinsten Handy wie in der
 * schmalen Spalte neben dem Telefon. Ohne Unterstuetzung fuer cqi gilt die normale Groesse. */
.hero .split > div:first-child { container-type: inline-size; }
:lang(de) .hero h1 { font-size: min(clamp(2.1rem, 5.4vw, 3.9rem), 10.2cqi); }
