/* Impresson – Designvariante „Chrome“ (Licht im Dunkeln)
   Tiefes Schwarz mit langsam wanderndem Lichtverlauf; nur die Akzent-Texte glühen von warmem Orange zu kühlem Blau.
   Flächen bleiben ruhiges, dunkles Glas ohne Leuchten.
   Serifenschrift wie im Original. Desktop: Adressen oben über die volle Breite, darunter links Infos,
   rechts die Bestellkarte in voller Fensterhöhe. Greift, wenn <html class="chrome"> gesetzt ist – Standard auf allen Seiten (helle Variante: index.html?look=classic). */

html.chrome {
  --ground: #030304;
  --paper: #09090b;
  --sheet: #0f0f12;
  --ink: #f5f6fa;
  --dim: #b9bdc9;
  --line: rgba(255, 255, 255, .13);
  --hot: #e9eeff;
  --hot-soft: rgba(255, 255, 255, .05);
  --ok: #f5f6fa;
  --ok-soft: rgba(255, 255, 255, .05);
  --hairline: inset 0 0 0 1px rgba(255, 255, 255, .11);

  /* Licht: warm von links oben, weiß in der Mitte, kühl nach rechts */
  --warm: #ffb27a;
  --cool: #9db8ff;
  --glow-text: linear-gradient(105deg, #ffc9a0 0%, #fff6ee 22%, #ffffff 45%, #e6edff 70%, #a9c2ff 100%);
  --glass: radial-gradient(130% 160% at 15% 0%, #ffffff 0%, #f3f5ff 40%, #d3defe 75%, #b6c8ff 100%);

  color-scheme: dark;
}

/* ---------- Grund: langsam wandernder Lichtverlauf für Tiefe ---------- */
/* Ruhiger Verlauf als Seitenhintergrund: füllt auch die Bereiche hinter Safaris Status- und
   Adressleiste sowie beim Überziehen. Im sichtbaren Fenster liegt die Animation deckend darüber. */
html.chrome {
  background:
    radial-gradient(70% 60% at 25% 20%, rgba(255, 150, 80, .20), transparent 75%),
    radial-gradient(75% 65% at 80% 85%, rgba(120, 155, 255, .26), transparent 75%),
    radial-gradient(70% 60% at 15% 90%, rgba(150, 140, 255, .14), transparent 75%),
    var(--ground);
  background-size: 100% 100vh;
}
.chrome body {
  background: transparent;
  /* Inhalt bleibt frei von Notch, Statusleiste und Home-Balken, der Lichtverlauf läuft darunter weiter */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.chrome body::before,
.chrome body::after {
  content: "";
  position: fixed;
  inset: -35%;
  pointer-events: none;
  will-change: transform;
}
.chrome body::before {
  background:
    radial-gradient(70% 65% at 28% 32%, rgba(255, 150, 80, .26), transparent 75%),
    radial-gradient(65% 60% at 82% 18%, rgba(235, 240, 255, .14), transparent 75%),
    radial-gradient(75% 70% at 78% 78%, rgba(120, 155, 255, .32), transparent 75%),
    radial-gradient(70% 65% at 15% 85%, rgba(150, 140, 255, .18), transparent 75%),
    var(--ground);
  animation: chrome-drift-a 7s ease-in-out infinite alternate;
}
.chrome body::after {
  background: radial-gradient(90% 85% at 50% 50%, rgba(240, 244, 255, .11), transparent 70%);
  animation: chrome-drift-b 9s ease-in-out infinite alternate;
}
@keyframes chrome-drift-a { from { transform: translate(-12%, -9%) rotate(-6deg) scale(1.05); } to { transform: translate(12%, 9%) rotate(18deg) scale(1.3); } }
@keyframes chrome-drift-b { from { transform: scale(.85); opacity: .45; } to { transform: scale(1.35); opacity: 1; } }
/* Mobil: keine Animation, sondern ein fester Verlauf (warm links, kühl rechts), der oben und unten
   in der Leistenfarbe endet.
   Safari färbt Status- und Adressleiste mit der Hintergrundfarbe – deshalb passt
   die Grundfarbe zu den Rändern des Verlaufs statt Schwarz. */
@media (max-width: 899px) {
  .chrome body::before, .chrome body::after { display: none; }
  /* Leistenfarbe auf html; der Verlauf liegt auf body, damit er einmal über die ganze Seitenlänge läuft */
  html.chrome { background: #2e2420; }
  .chrome body {
    min-height: 100vh;
    background-color: #2e2420;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image:
      /* oben und unten weich in der Leistenfarbe auslaufen lassen */
      linear-gradient(180deg, #2e2420 0, rgba(46, 36, 32, 0) 700px, rgba(46, 36, 32, 0) calc(100% - 700px), #2e2420 100%),
      /* blauer Bereich links, oberhalb der Mitte – lang gezogen */
      radial-gradient(160% 45% at 0% 38%, rgba(38, 52, 96, .7), rgba(38, 52, 96, 0) 80%),
      /* weitere blaue Bereiche, frei verteilt */
      radial-gradient(130% 28% at 100% 18%, rgba(44, 62, 120, .55), rgba(44, 62, 120, 0) 80%),
      radial-gradient(120% 30% at 25% 84%, rgba(40, 56, 108, .6), rgba(40, 56, 108, 0) 80%),
      /* warmer Bereich rechts, unterhalb der Mitte – lang gezogen */
      radial-gradient(160% 40% at 100% 68%, rgba(70, 46, 34, .55), rgba(70, 46, 34, 0) 80%),
      /* Grund: sanft von warm (links) zu kühl (rechts) */
      linear-gradient(100deg, #30241f 0%, #29232a 45%, #232638 100%);
  }
}
@media (prefers-reduced-motion: reduce) { .chrome body::before, .chrome body::after { animation: none; } }
.chrome .app { position: relative; z-index: 1; background: transparent; box-shadow: none; }

/* Leuchtende Schrift für die Akzente */
.chrome .wordmark,
.chrome .lead em,
.chrome .save,
.chrome .more,
.chrome .info h2 {
  background: var(--glow-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chrome .wordmark span { color: var(--warm); }
.chrome .more svg { color: var(--cool); }
/* Verlauf nur über die Textbreite, sonst sähen kurze Überschriften nur den warmen Anfang */
.chrome .info h2 { width: fit-content; }

/* ---------- Glas-Elemente (ohne Schein) ---------- */
.chrome .soon,
.chrome .steps li::before,
.chrome .badge-yes,
.chrome .apple-pay {
  background: var(--glass);
  color: #0b0c12;
  box-shadow: inset 0 1px 0 #fff, inset 0 -6px 14px -6px rgba(120, 150, 255, .45);
}
.chrome .apple-pay { color: #0b0c12; }
.chrome .apple-mark { border-left-color: rgba(0, 0, 0, .2); }
.chrome .badge-no { background: #1d1e23; color: var(--dim); }

/* ---------- Flächen ---------- */
.chrome .swap-old { background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.chrome .swap-label, .chrome .swap-note { color: var(--dim); }
.chrome .addr-old s { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.chrome .envelope {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.chrome .swap-label-new { color: #fff; }

/* Bestellkarte: dunkles Glas, kein Leuchten */
.chrome .card-buy {
  background: rgba(15, 15, 19, .82);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.chrome .plan span { background: rgba(255, 255, 255, .04); }
.chrome .plan input:checked + span {
  border-color: transparent;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85);
}
.chrome .group, .chrome .due { background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.chrome .cell:focus-within { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--cool); }
.chrome .check input { accent-color: var(--cool); }

/* Abschnitte */
.chrome .faq details, .chrome .pills li {
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
/* FAQ ohne äußeren Rahmen: jede Frage ist eine eigene Karte */
.chrome .faq { display: grid; gap: 8px; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.chrome .faq details { border-radius: 14px; }
.chrome .faq details + details { border-top: 0; }
.chrome .contact-form { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.chrome .check-callback { background: rgba(255, 255, 255, .035); }
.chrome .contact-form .btn { background: #fff; color: #000; }
.chrome .costs { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.chrome .costs .free { color: #fff; }
.chrome .faq summary::after { color: var(--cool); }
.chrome .steps li:not(:last-child)::after { opacity: .5; border-color: rgba(200, 215, 255, .5); }
.chrome .foot { border-top-color: rgba(255, 255, 255, .07); }

/* ---------- Desktop-Anordnung ---------- */
@media (min-width: 900px) {
  .chrome .app-shop .card-main { display: contents; }
  .chrome .app-shop .masthead,
  .chrome .app-shop .kicker,
  .chrome .app-shop .swap { grid-column: 1 / -1; }

  /* Adressen groß über die ganze Breite */
  .chrome .swap { gap: 20px; margin-bottom: 8px; }
  .chrome .swap-old, .chrome .envelope { padding: 32px 32px 28px; border-radius: 28px; }
  .chrome .addr-old { font-size: min(34px, 10.5cqi); line-height: 1.35; }
  .chrome .addr { font-size: min(40px, 7.6cqi); }
  .chrome .swap-label { font-size: min(14px, 9cqi); margin-bottom: 14px; }
  .chrome .swap-note { font-size: min(15px, 10cqi); }
  .chrome .badge { top: 22px; right: 22px; width: 30px; height: 30px; }
  .chrome .badge svg { width: 16px; height: 16px; }

  /* Wartelisten-Karte: startet unter den Adressen, höchstens Fensterhöhe –
     rundum 24px Abstand zum Rand */
  .chrome .card-buy {
    grid-row: 4 / span 20;
    top: 24px;
    max-height: calc(100vh - 48px);
    margin: 24px 0 0;
    padding: 22px 24px 20px;
    border-radius: 28px;
  }

  /* Warteliste platzsparend: Vorname und E-Mail nebeneinander, flachere Felder */
  .chrome .card-buy .price-row { margin-top: 10px; }
  .chrome .card-buy .amount, .chrome .card-buy .save { font-size: 46px; }
  .chrome .card-buy .billing { margin-top: 4px; }
  .chrome .order { margin-top: 10px; }
  .chrome .fields legend { margin-bottom: 6px; font-size: 11px; }
  .chrome .order .group { grid-template-columns: 1fr 1fr; }
  .chrome .order .group > .cell + .cell { border-top: 0; border-left: 1px solid var(--line); }
  .chrome .order .cell { padding-top: 6px; padding-bottom: 5px; }
  .chrome .cell > span { font-size: 11.5px; }
  .chrome .cell input, .chrome .cell select { font-size: 15px; }
  .chrome .cell-select::after { bottom: 15px; }
  .chrome .due { padding: 9px 14px; }
  .chrome .due small { display: inline; margin-left: 6px; }
  .chrome .due strong { font-size: 20px; }
  .chrome .card-buy .apple-pay { height: 48px; margin-top: 12px; }
}
