/* Clickwheel — Website.
   Die Farben stammen aus der App selbst: Aluminium des Gehäuses, das
   Grauweiß des Displays und das Blau der Auswahlleiste. */

:root {
  --alu-hell: #e6e7e4;
  --alu: #d2d3d0;
  --alu-dunkel: #b9bab7;
  --display: #e9eae5;
  --blau: #3b6fc9;
  --blau-dunkel: #2b56a4;
  --text: #1c1c1e;
  --text-leise: #63666c;
  --nacht: #16171a;
  --linie: #d5d6d2;
  --karte: #ffffff;
}

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

/* Muss stehen, bevor irgendeine Klasse ein eigenes display setzt: sonst
   gewinnt .taste { display: inline-flex } gegen das hidden-Attribut und ein
   ausgeblendeter Knopf ist trotzdem da. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--alu-hell);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }
.schmal { max-width: 44rem; }

a { color: var(--blau-dunkel); }

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

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(230, 231, 228, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 3.75rem;
}
.marke {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  color: var(--text); font-size: 1.05rem;
}
.marke img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { margin-left: auto; display: flex; gap: 1.4rem; }
.nav-links a {
  text-decoration: none; color: var(--text-leise); font-size: .93rem;
}
.nav-links a:hover { color: var(--text); }
@media (max-width: 620px) {
  .nav-links { display: none; }
  .sprache { margin-left: auto; }
}

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

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(120% 90% at 50% -10%, #f2f3f0 0%, var(--alu-hell) 55%, var(--alu) 100%);
  border-bottom: 1px solid var(--linie);
}
/* Drei Felder statt zwei Spalten, damit das Gerät auf dem Telefon direkt
   unter die Überschrift rutscht. Es ist der Haken der ganzen Seite – wer
   erst vier Absätze scrollen muss, dreht nie daran. */
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-areas: "kopf demo" "fuss demo";
  gap: 0 3rem; align-items: center;
}
.hero-kopf { grid-area: kopf; align-self: end; }
.hero-fuss { grid-area: fuss; align-self: start; padding-top: 1.1rem; }
.demo { grid-area: demo; align-self: center; }

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "kopf" "demo" "fuss";
    gap: 1.9rem;
  }
  .hero { padding: 2.2rem 0 2.5rem; }
  .hero-kopf, .hero-fuss { align-self: auto; padding-top: 0; }
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.1rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 700;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.15rem; color: var(--text-leise); max-width: 32rem;
  margin-bottom: 1.8rem;
}
.hero-bild { justify-self: center; }
.hero-bild img {
  width: 100%; max-width: 270px; height: auto; display: block;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.10);
}

.badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .8rem; border-radius: 999px;
  background: var(--karte); border: 1px solid var(--linie);
  font-size: .86rem; color: var(--text-leise);
}
.badge b { color: var(--text); font-weight: 600; }

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

section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--linie); }

h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -.02em;
  margin-bottom: .7rem; font-weight: 650;
}
.abschnitt-lead {
  color: var(--text-leise); max-width: 38rem; margin-bottom: 2.2rem;
}

.karten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
}
.karte {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: 14px; padding: 1.3rem 1.4rem;
}
.karte h3 { font-size: 1.02rem; margin-bottom: .45rem; font-weight: 620; }
.karte p { color: var(--text-leise); font-size: .95rem; }

/* Die Vollversion — der Preis steht groß, und daneben steht, dass er nur
   einmal fällig wird. Das ist der eine Satz, den Leute bei einer bezahlten
   App wirklich suchen. */
.preis {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem 1.1rem;
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: 14px; padding: 1.25rem 1.4rem; margin-bottom: 1.4rem;
}
.preis > b {
  font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em;
  line-height: 1;
}
.preis > span { color: var(--text-leise); font-size: .95rem; flex: 1 1 22rem; }
.preis > span b { color: var(--text); font-weight: 620; }
.kein-abo {
  font-style: normal; font-size: .74rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--blau-dunkel); background: rgba(59, 111, 201, .12);
  border-radius: 999px; padding: .3rem .65rem; white-space: nowrap;
}

.frei {
  margin-top: 1.5rem; max-width: 44rem;
  color: var(--text-leise); font-size: .95rem;
}
.frei > b { color: var(--text); font-weight: 620; }
.frei b { color: var(--text); font-weight: 620; }

/* Bildstreifen */
.streifen {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
@media (max-width: 760px) { .streifen { grid-template-columns: repeat(2, 1fr); } }
.streifen figure { margin: 0; }
.streifen img {
  width: 100%; height: auto; display: block; border-radius: 16px;
  border: 1px solid var(--linie);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.streifen figcaption {
  margin-top: .6rem; font-size: .85rem; color: var(--text-leise);
  text-align: center;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--linie); padding: 1rem 0;
}
details:first-of-type { border-top: 1px solid var(--linie); }
summary {
  cursor: pointer; font-weight: 570; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; color: var(--text-leise); font-size: 1.3rem; line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { margin-top: .7rem; color: var(--text-leise); }

/* --------------------------------------------------------------- Rechtstext */

.rechts h1 {
  font-size: clamp(1.8rem, 4vw, 2.3rem); letter-spacing: -.02em;
  margin-bottom: .3rem;
}
.rechts .stand { color: var(--text-leise); font-size: .9rem; margin-bottom: 2.5rem; }
.rechts h2 {
  font-size: 1.12rem; margin: 2.4rem 0 .7rem;
  padding-top: 1.4rem; border-top: 1px solid var(--linie);
}
.rechts h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.rechts p { margin-bottom: 1rem; }
.rechts ul { margin: 0 0 1rem 1.2rem; }
.rechts li { margin: .3rem 0; }
.rechts .lead { font-size: 1.07rem; }
.adresse {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1rem;
  line-height: 1.75;
}

/* ------------------------------------------------------------------ Fuß */

footer {
  background: var(--nacht); color: #b8bac0; padding: 2.5rem 0;
  font-size: .9rem;
}
footer a { color: #d6d8dd; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.fuss-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center;
}
.fuss-inner .rechts-weg { margin-left: auto; display: flex; gap: 1.4rem; }
@media (max-width: 560px) {
  .fuss-inner .rechts-weg { margin-left: 0; width: 100%; }
}

/* ------------------------------------------------------------ Sprachwahl */

.sprache { display: flex; gap: .25rem; }
.sprache button {
  border: 1px solid var(--linie); background: var(--karte);
  color: var(--text-leise); font: inherit; font-size: .78rem;
  letter-spacing: .04em; padding: .28rem .55rem; border-radius: 7px;
  cursor: pointer;
}
.sprache button:hover { color: var(--text); }
.sprache button[aria-current="true"] {
  background: var(--blau); border-color: var(--blau); color: #fff;
}

/* ============================================================ Das Gerät
   Die Demo im Hero: dasselbe Gehäuse, dasselbe Display, dasselbe Rad wie
   in der App, nur in HTML. Die Farben setzt wheel.js als Variablen, damit
   „Einstellungen ▸ Gehäusefarbe" auch hier wirkt. */

.demo { justify-self: center; width: 100%; max-width: 21rem; }

.pod {
  --pod-top: #f2f3f1; --pod-bottom: #c3c6c4; --pod-edge: #8e9290;
  --rad-top: #fafaf8; --rad-bottom: #dddeda; --rad-label: #9a9c99;
  --mitte-top: #fdfdfc; --mitte-bottom: #e2e3df; --bezel: #b9bcb9;

  width: 100%;
  padding: 5% 5% 6%;
  border-radius: 1.6rem;
  border: 1px solid var(--pod-edge);
  background: linear-gradient(180deg, var(--pod-top), var(--pod-bottom));
  box-shadow: 0 24px 60px rgba(0,0,0,.24), 0 2px 6px rgba(0,0,0,.12),
              inset 0 1px 0 rgba(255,255,255,.55);
  display: flex; flex-direction: column; align-items: center; gap: 5%;
  /* Der Finger soll das Rad drehen, nicht die Seite scrollen. */
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: default;
}
.pod:focus-visible { outline: 3px solid var(--blau); outline-offset: 4px; }

/* ---- Display */

.pod-display { width: 100%; aspect-ratio: 5 / 4; }
.lcd {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--bezel); border-radius: 4px;
  background: #e7e8e2; color: #16171a;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.28);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.42;
}
.lcd-bar {
  display: flex; align-items: center; justify-content: center;
  position: relative; height: 1.45em; flex: none;
  background: linear-gradient(180deg, #f3f4f0, #c5cbd3 55%, #a9b2be);
  border-bottom: 1px solid #7c858f;
  font-size: .82em; font-weight: 600; color: #23262b;
  letter-spacing: -.01em;
}
.lcd-batt {
  position: absolute; right: .4em; width: 1.1em; height: .55em;
  border: 1px solid #4c5259; border-radius: 1px;
  background: linear-gradient(180deg, #fff 0 40%, #cdd2d8 40% 100%);
}
.lcd-batt::after {
  content: ""; position: absolute; right: -.2em; top: .13em;
  width: .12em; height: .25em; background: #4c5259;
}
.lcd-body { flex: 1 1 auto; overflow: hidden; }

.lcd-list { list-style: none; margin: 0; padding: 0; }
.lcd-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5em; height: 1.42em; padding: 0 .3em 0 .45em;
  font-size: .95em; white-space: nowrap; overflow: hidden;
}
.lcd-list li > span { overflow: hidden; text-overflow: ellipsis; }
.lcd-list li.on {
  background: linear-gradient(180deg, #8fb4e3, #4b7ec8 55%, #2e5fa8);
  color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.lcd-list i { font-style: normal; opacity: .85; flex: none; }
.lcd-list i.pfeil { font-size: 1.15em; line-height: 1; }
.lcd-list i.wert { font-size: .9em; }

.lcd-info { padding: .5em .6em; font-size: .9em; }
.lcd-info p { margin: 0; min-height: 1.1em; }
.lcd-info p:first-child { font-weight: 600; }

.lcd-now { padding: .55em .6em; font-size: .9em; display: flex; flex-direction: column; height: 100%; }
.np-zaehler { color: #6e7176; font-size: .85em; }
.np-titel { font-weight: 600; margin-top: .35em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-interpret { color: #6e7176; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-balken {
  margin-top: auto; height: .62em; border: 1px solid #80837e; border-radius: 2px;
  background: #c8cac4; overflow: hidden;
}
.np-fuell { height: 100%; background: linear-gradient(180deg, #6e9bd8, #35629f); }
.np-balken.laut .np-fuell { background: linear-gradient(180deg, #8fb4e3, #2e5fa8); }
.np-zeiten { display: flex; justify-content: space-between; font-size: .8em; color: #6e7176; margin-top: .2em; }
.np-status { text-align: center; font-size: .85em; color: #6e7176; }

/* ---- Rad */

.pod-wheel {
  position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 28%,
    color-mix(in srgb, var(--rad-top) 55%, #fff), var(--rad-top) 45%, var(--rad-bottom));
  box-shadow: inset 0 1px 2px rgba(255,255,255,.7),
              inset 0 -2px 5px rgba(0,0,0,.10),
              0 1px 2px rgba(0,0,0,.18);
  cursor: grab;
}
.pod-wheel:active { cursor: grabbing; }
.rad-label {
  position: absolute; color: var(--rad-label); font-size: .62em;
  font-weight: 700; letter-spacing: .12em; line-height: 1;
  pointer-events: none;
}
.rad-label.oben { top: 7%; left: 50%; transform: translateX(-50%); }
.rad-label.unten { bottom: 7%; left: 50%; transform: translateX(-50%); font-size: .8em; letter-spacing: 0; }
.rad-label.links { left: 7%; top: 50%; transform: translateY(-50%); font-size: .8em; }
.rad-label.rechts { right: 7%; top: 50%; transform: translateY(-50%); font-size: .8em; }

.pod-mitte {
  position: absolute; inset: 31%; border-radius: 50%;
  background: radial-gradient(circle at 35% 25%,
    color-mix(in srgb, var(--mitte-top) 50%, #fff), var(--mitte-top) 50%, var(--mitte-bottom));
  box-shadow: inset 0 1px 2px rgba(255,255,255,.8), 0 1px 3px rgba(0,0,0,.22);
  pointer-events: none;
}

.demo-hint {
  margin-top: .9rem; text-align: center; font-size: .82rem;
  color: var(--text-leise); line-height: 1.45;
}

/* ============================================================== Knöpfe */

.tasten { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; }
.taste {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .78rem 1.25rem; border-radius: 11px; font-size: .97rem;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  cursor: pointer;
}
.taste-voll { background: var(--blau); color: #fff; }
.taste-voll:hover { background: var(--blau-dunkel); }
.taste-leer {
  background: var(--karte); color: var(--text); border-color: var(--linie);
}
.taste-leer:hover { border-color: var(--alu-dunkel); }
.taste small { display: block; font-weight: 400; font-size: .76rem; opacity: .75; }

/* ============================================================== Beta */

#beta { background: var(--karte); }
.beta-gitter {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) { .beta-gitter { grid-template-columns: 1fr; gap: 1.8rem; } }

.beta-form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 .8rem; }
.beta-form input[type="email"] {
  flex: 1 1 15rem; min-width: 0;
  padding: .78rem .95rem; font: inherit; font-size: 1rem;
  border: 1px solid var(--alu-dunkel); border-radius: 11px;
  background: #fff; color: var(--text);
}
.beta-form input[type="email"]:focus-visible {
  outline: 2px solid var(--blau); outline-offset: 1px; border-color: var(--blau);
}
.beta-form button { flex: none; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.beta-hinweis { font-size: .85rem; color: var(--text-leise); }
.beta-melden {
  margin-top: 1rem; padding: .85rem 1rem; border-radius: 11px;
  font-size: .93rem; border: 1px solid var(--linie); background: var(--alu-hell);
}
.beta-melden.gut { border-color: #9dbf8e; background: #f0f7ec; }
.beta-melden.schlecht { border-color: #d4a3a3; background: #faf0f0; }
.beta-melden[hidden] { display: none; }

.beta-stand {
  background: var(--alu-hell); border: 1px solid var(--linie);
  border-radius: 14px; padding: 1.3rem 1.4rem;
}
.beta-zahl {
  font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1;
}
.beta-zahl span { font-size: 1.1rem; font-weight: 500; color: var(--text-leise); }
.beta-schiene {
  height: .55rem; border-radius: 999px; background: var(--alu);
  margin: .9rem 0 .8rem; overflow: hidden;
}
.beta-fuell {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #6e9bd8, var(--blau));
  transition: width .6s ease;
}
.beta-stand p { font-size: .87rem; color: var(--text-leise); }
.beta-schritte { margin: 1.2rem 0 0 1.1rem; font-size: .93rem; color: var(--text-leise); }
.beta-schritte li { margin: .45rem 0; }
.beta-schritte strong { color: var(--text); font-weight: 600; }

/* ============================================================== Teilen */

.teilen { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.teilen a, .teilen button {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .95rem; border-radius: 999px; font-size: .88rem;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--linie); background: var(--karte); color: var(--text);
  font-family: inherit;
}
.teilen a:hover, .teilen button:hover { border-color: var(--alu-dunkel); }

/* ============================================================= Zitate */

.zitat {
  border-left: 3px solid var(--blau); padding: .2rem 0 .2rem 1.1rem;
  margin: 1.6rem 0; font-size: 1.08rem; color: var(--text);
}
.zitat cite { display: block; margin-top: .4rem; font-size: .85rem;
  color: var(--text-leise); font-style: normal; }

/* ======================================================== Einwilligung
   Der Streifen für Google Analytics. Erlauben und Ablehnen sehen gleich
   groß aus und stehen gleich weit vorn – ein Ablehnen, das man suchen
   muss, wäre keine freie Entscheidung. Gebaut wird er von analytics.js,
   und nur dann, wenn dort eine Mess-ID steht. */

.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 62rem; margin: 0 auto;
  padding: 1rem 1.4rem;
  background: var(--karte);
  border: 1px solid var(--linie); border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 34px rgba(0,0,0,.13);
  display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap;
}
.consent p { flex: 1 1 20rem; margin: 0; font-size: .88rem; color: var(--text-leise); }
.consent-knoepfe { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.consent .taste { padding: .58rem 1.1rem; font-size: .9rem; }
.consent-mehr { font-size: .85rem; color: var(--text-leise); margin-left: .3rem; }

@media (max-width: 620px) {
  .consent { padding: .9rem 1.1rem; gap: .9rem; }
  .consent-knoepfe { width: 100%; }
  .consent-knoepfe .taste { flex: 1 1 auto; justify-content: center; }
}
