/* MyOrgaBox — Produktseite
   Reines CSS, keine externen Ressourcen.
   Formensprache wie in der App: helle, leicht getönte Fläche, Karten mit 16 px Rundung,
   Knöpfe als Kapsel, Markenverlauf Blau -> Indigo für das Wichtigste. */

/* ---------- Marken- und Flächenwerte ---------- */
:root {
  color-scheme: light dark;

  --blau: #3b6fe0;
  --indigo: #5b4bc4;
  --verlauf: linear-gradient(115deg, #3b6fe0 0%, #5b4bc4 100%);
  --orange: #c96e04;          /* Wortmarke hell: dunkler als das App-Orange, sonst trägt der Kontrast nicht (3,3:1) */

  --grund: #f2f2f7;           /* wie systemGroupedBackground der App */
  --flaeche: #ffffff;
  --flaeche-2: #f7f7fb;
  --band: #ebebf3;
  --text: #16171d;
  --text-leise: #55565f;
  --linie: #dededf;
  --rahmen: rgba(20, 22, 40, .07);

  --schatten: 0 1px 2px rgba(28, 30, 56, .05), 0 10px 30px -12px rgba(28, 30, 56, .16);
  --schatten-hoch: 0 2px 4px rgba(28, 30, 56, .06), 0 26px 60px -24px rgba(28, 30, 56, .32);

  /* Rundungen: Karte 16, Innenteil 12, Bedienelement Kapsel */
  --r-karte: 16px;
  --r-innen: 12px;

  --breite: 1180px;
  --luft: clamp(4.5rem, 9vw, 8rem);

  /* Eine Kurve für die ganze Seite: kräftiges Ausklingen, wie in der App.
     Alles, was hereinkommt, hebt oder sich absetzt, benutzt sie. */
  --ease-aus: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange: #f5a03c;
    --grund: #131419;
    --flaeche: #1c1e25;
    --flaeche-2: #22242c;
    --band: #191b21;
    --text: #f3f4f8;
    --text-leise: #a9acb8;
    --linie: #33353e;
    --rahmen: rgba(255, 255, 255, .08);
    --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .6);
    --schatten-hoch: 0 2px 6px rgba(0, 0, 0, .45), 0 26px 60px -26px rgba(0, 0, 0, .8);
  }
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
}
@media (prefers-color-scheme: dark) {
  :focus-visible { outline-color: #8aa9f2; }
}

/* Auch das, was der Browser selbst zeichnet, gehört zur Seite. */
::selection {
  background: color-mix(in srgb, var(--blau) 24%, transparent);
  color: var(--text);
}
:root { accent-color: var(--blau); }

/* Die klebende Kopfzeile darf ein Sprungziel nicht verdecken. */
section[id] { scroll-margin-top: 86px; }

.sprungmarke {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--flaeche);
  color: var(--text);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--schatten);
  text-decoration: none;
}
.sprungmarke:focus { left: 1rem; top: 1rem; }

.huelle {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}
.huelle.schmal { width: min(100% - 2.5rem, 760px); }

.abschnitt { padding-block: var(--luft); }

.band {
  background: var(--band);
  padding-block: var(--luft);
  border-block: 1px solid var(--rahmen);
}

/* ---------- Wortmarke ---------- */
.wortmarke {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}
.wortmarke .my { color: var(--orange); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--grund);
  background: color-mix(in srgb, var(--grund) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.kopf.gescrollt { border-bottom-color: var(--rahmen); }

.kopf-innen {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex: none;
}
.marke img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.kopf-nav {
  margin-left: auto;
  display: flex;
  gap: 1.4rem;
  font-size: .95rem;
}
.kopf-nav a {
  text-decoration: none;
  color: var(--text-leise);
  white-space: nowrap;
  transition: color .2s ease;
}
.kopf-nav a:hover { color: var(--text); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: var(--verlauf);
  color: #fff;
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 22px -10px rgba(59, 111, 224, .85);
  transition: transform .18s var(--ease-aus), box-shadow .18s ease, filter .18s ease;
}
.knopf:hover { filter: brightness(1.05); box-shadow: 0 12px 26px -10px rgba(59, 111, 224, .9); }
.knopf:active { transform: scale(.98); }

.knopf-klein {
  margin-left: .25rem;
  padding: .55rem 1.05rem;
  font-size: .92rem;
  flex: none;
}

.knopf-still {
  background: var(--flaeche);
  color: var(--text);
  box-shadow: var(--schatten);
  border: 1px solid var(--rahmen);
}
.knopf-still:hover { filter: none; box-shadow: var(--schatten-hoch); }

/* Hinweis, kein Ziel: die App ist noch nicht im Store */
.knopf-ruhend {
  cursor: default;
  box-shadow: none;
  background: var(--verlauf);
}

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

/* ---------- iPhone-Rahmen (rein per CSS gezeichnet) ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 288px;
  margin-inline: auto;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #55585f 0%, #26282e 26%, #15161a 70%, #3a3d44 100%);
  box-shadow: var(--schatten-hoch), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone img {
  border-radius: 38px;
  width: 100%;
}
.phone-insel {
  position: absolute;
  z-index: 2;
  top: 2.1%;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  aspect-ratio: 5 / 1.5;
  background: #0a0b0d;
  border-radius: 999px;
}
.phone-gross { max-width: 316px; }
.phone-klein { max-width: 216px; }
/* Die Gehäusemaße des .phone (46px Radius, 9px Rand) sind auf 288px Breite
   ausgelegt und skalieren nicht mit: Auf 158px wirkt dieselbe Pixel-Rundung
   doppelt so stark, das Gerät sieht gedrungen aus (Kais Befund 20.png).
   Rand und Bildrundung darum im Verhältnis 158/288 (9→5, 38→21); der
   Gehäuseradius folgt der Konzentrik-Regel Innenradius + Rand = 21 + 5 = 26,
   damit die Rundungen parallel laufen. */
.phone-mini {
  max-width: 158px;
  padding: 5px;
  border-radius: 26px;
}
.phone-mini img { border-radius: 21px; }

/* ---------- Ausgedruckter Bogen ----------
   Kein Gerät, sondern Papier: weißes Blatt mit Schlagschatten, ohne Kante — eine
   Kontur um ein Blatt gäbe es in Wirklichkeit nicht. Bleibt auch im Dunkelmodus
   weiß, weil das Papier weiß ist. */
.bogen {
  width: 100%;
  max-width: 288px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--r-innen);
  box-shadow: var(--schatten-hoch);
  overflow: hidden;
}
.bogen img { width: 100%; }

/* Angeschnittener Rahmen: sitzt unten in seiner Zelle, der Rest wird abgeschnitten */
.zelle-bild-unten {
  margin-top: 1.5rem;
  margin-bottom: -1.6rem;
  height: 215px;
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 90%;
  z-index: 0;
  background:
    radial-gradient(48% 46% at 78% 28%, rgba(91, 75, 196, .22), transparent 70%),
    radial-gradient(44% 44% at 18% 10%, rgba(59, 111, 224, .18), transparent 70%),
    radial-gradient(30% 34% at 60% 4%, rgba(245, 160, 60, .14), transparent 70%);
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  .hero::before {
    background:
      radial-gradient(48% 46% at 78% 28%, rgba(91, 75, 196, .34), transparent 70%),
      radial-gradient(44% 44% at 18% 10%, rgba(59, 111, 224, .26), transparent 70%),
      radial-gradient(30% 34% at 60% 4%, rgba(245, 160, 60, .12), transparent 70%);
  }
}

.hero-innen {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-text .lead {
  margin-top: 1.4rem;
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  color: var(--text-leise);
  max-width: 34ch;
}

/* ---------- Problem ---------- */
.problem .gross {
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  font-weight: 700;
  max-width: 22ch;
}
.problem p {
  margin-top: 1.2rem;
  color: var(--text-leise);
  font-size: 1.06rem;
  max-width: 62ch;
}

/* ---------- So läuft es ---------- */
.ablauf-raster {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ablauf-text h2 { margin-bottom: 2rem; }

.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
  display: grid;
  gap: 1.6rem;
}
.schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 3.4rem;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: -2px;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--verlauf);
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -8px rgba(59, 111, 224, .9);
}
.schritte p {
  margin-top: .45rem;
  color: var(--text-leise);
  max-width: 56ch;
}

/* ---------- Bento: Sieben Funktionen ---------- */
.bento {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.zelle {
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-radius: var(--r-karte);
  padding: 1.6rem;
  box-shadow: var(--schatten);
  overflow: hidden;
}
.zelle p {
  margin-top: .6rem;
  color: var(--text-leise);
  font-size: .99rem;
  max-width: 52ch;
}

.zelle-getoent {
  background:
    linear-gradient(160deg, rgba(59, 111, 224, .1), rgba(91, 75, 196, .06)),
    var(--flaeche);
}

.zelle-verlauf {
  background: var(--verlauf);
  border-color: transparent;
  color: #fff;
}
.zelle-verlauf p { color: rgba(255, 255, 255, .9); }

.zelle-mit-bild {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}
.zelle-bild-paar .zelle-bild {
  display: flex;
  justify-content: center;
  /* flex-start statt stretch: Sonst dehnt der Versatz des zweiten Telefons das
     erste um dieselben 1.6rem — sichtbar als dickes Gehäuse-Kinn unten. */
  align-items: flex-start;
  gap: .7rem;
}
.zelle-bild-paar .phone-versetzt { margin-top: 1.6rem; }

/* ---------- Bücher per ISBN ---------- */
.buecher h2 { margin-bottom: 1.2rem; }
.buecher-kopf {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}
.buecher-text p {
  color: var(--text-leise);
  font-size: 1.06rem;
  max-width: 62ch;
}

/* ---------- Teilen im Haushalt ---------- */
.teilen h2 { margin-bottom: 1.2rem; }
.teilen > .huelle > p {
  color: var(--text-leise);
  font-size: 1.06rem;
  max-width: 62ch;
}

.teilen-punkte {
  margin-top: 2.2rem;
  display: grid;
  gap: 0;
}
.teilen-punkte > div {
  padding: 1.4rem 0;
  border-top: 1px solid var(--linie);
}
.teilen-punkte h3 { font-size: 1.06rem; }
.teilen-punkte p {
  margin-top: .5rem;
  color: var(--text-leise);
  font-size: .99rem;
  max-width: 58ch;
}

/* ---------- Preis ---------- */
.preis-karte {
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-radius: var(--r-karte);
  box-shadow: var(--schatten-hoch);
  padding: clamp(1.6rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.preis-karte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--verlauf);
}
.preis-kopf h2 { font-size: clamp(2rem, 5vw, 2.9rem); }
.preis-kopf p {
  margin-top: 1rem;
  color: var(--text-leise);
  max-width: 62ch;
}
.preis-kopf strong { color: var(--text); }

.preis-listen {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--linie);
}
.preis-listen h3 { font-size: 1rem; }

.haken {
  list-style: none;
  margin: .8rem 0 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  color: var(--text-leise);
  font-size: .99rem;
}
.haken li {
  position: relative;
  padding-left: 1.7rem;
}
.haken li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: .62rem;
  height: .34rem;
  border-left: 2.4px solid var(--blau);
  border-bottom: 2.4px solid var(--blau);
  transform: rotate(-45deg);
}
@media (prefers-color-scheme: dark) {
  .haken li::before { border-color: #8aa9f2; }
}

.preis-fuss { margin-top: 2rem; }

/* ---------- Was die App bewusst nicht tut ---------- */
/* Dasselbe Raster trägt die Bücher-Punkte weiter oben auf der Seite — gleiche
   Formensprache, eine Regel. Deshalb steht .buch-punkte hier daneben und nicht
   als zweiter, fast gleicher Block. */
.nicht-raster,
.buch-punkte {
  margin-top: 2.4rem;
  display: grid;
  gap: 0;
}
.nicht-raster > div,
.buch-punkte > div {
  padding: 1.6rem 0;
  border-top: 1px solid var(--linie);
}
.nicht-raster h3,
.buch-punkte h3 { font-size: 1.06rem; }
.nicht-raster p,
.buch-punkte p {
  margin-top: .5rem;
  color: var(--text-leise);
  max-width: 56ch;
  font-size: .99rem;
}

/* ---------- Etikettenpapier ---------- */
.papier-raster {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.papier-text h2 { margin-bottom: 1.2rem; }
.papier-text p {
  color: var(--text-leise);
  max-width: 62ch;
}

/* App-Seite und ausgedruckter Bogen nebeneinander — das ist das Argument des
   Abschnitts: was in der App steht, kommt so aus dem Drucker. Untereinander,
   solange die Spalte schmal ist. */
.papier-bild {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.2rem;
}
.papier-bild .phone { margin-inline: 0; }
.papier-bild .bogen {
  margin-inline: 0;
  max-width: 208px;
  /* Derselbe Versatz wie beim Telefon-Paar oben: zwei Dinge, die nebeneinander
     liegen, liegen selten auf einer Linie. */
  margin-top: 1.8rem;
}

.formate {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.formate li {
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-radius: var(--r-innen);
  padding: .85rem 1.1rem;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: baseline;
  gap: .1rem .8rem;
}
.formate b {
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}
.formate span {
  color: var(--blau);
  font-size: .9rem;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) { .formate span { color: #8aa9f2; } }
.formate small {
  grid-column: 1 / -1;
  color: var(--text-leise);
  font-size: .84rem;
  line-height: 1.45;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--linie);
}
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.6rem 1.15rem 0;
  position: relative;
  font-weight: 650;
  font-size: 1.05rem;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .55rem;
  top: 1.55rem;
  width: .62rem;
  height: .62rem;
  border-right: 2.2px solid var(--text-leise);
  border-bottom: 2.2px solid var(--text-leise);
  transform: rotate(45deg);
  transition: transform .25s var(--ease-aus);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .antwort {
  padding: 0 1rem 1.4rem 0;
  color: var(--text-leise);
}
/* Gleiche Linkform wie auf den Rechtsseiten — ein Link im Fließtext sieht überall
   gleich aus, sonst rät man, ob er einer ist. */
.faq .antwort a {
  color: var(--blau);
  text-decoration: none;
  border-bottom: 1px solid var(--linie);
}
.faq .antwort a:hover { border-bottom-color: var(--blau); }
@media (prefers-color-scheme: dark) { .faq .antwort a { color: #8aa9f2; } }
.faq details[open] .antwort { animation: aufblenden .32s var(--ease-aus) both; }

@keyframes aufblenden {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Fußzeile ---------- */
.fuss {
  background: var(--band);
  border-top: 1px solid var(--rahmen);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.fuss-raster {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.fuss-marke p {
  margin-top: .9rem;
  color: var(--text-leise);
  max-width: 58ch;
  font-size: .96rem;
}
.fuss-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: start;
}
.fuss-nav a {
  color: var(--text-leise);
  text-decoration: none;
  font-size: .96rem;
  border-bottom: 1px solid var(--linie);
  padding-bottom: 2px;
}
.fuss-nav a:hover { color: var(--text); }

.fuss-zeile {
  border-top: 1px solid var(--linie);
  padding-block: 1.4rem 2rem;
}
.fuss-zeile p {
  color: var(--text-leise);
  font-size: .88rem;
}

/* ---------- Breiten ---------- */
@media (min-width: 720px) {
  .buecher-kopf { grid-template-columns: 1fr auto; }
  .nicht-raster,
  .buch-punkte {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
  .preis-listen { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .formate { grid-template-columns: 1fr 1fr; }
}

/* Tablet: das Bento wird zweispaltig, die breiten Zellen laufen über beide Spalten. */
@media (min-width: 720px) and (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .zelle-breit,
  .zelle-voll { grid-column: span 2; }
  .zelle-mit-bild { grid-template-columns: 1fr auto; }
  .zelle-mit-bild .zelle-bild {
    align-self: end;
    height: 300px;
    overflow: hidden;
    margin-bottom: -1.6rem;
  }
  /* Das Bild-Paar (zwei Mini-Telefone) steht ganz in der Karte: Der Anschnitt-Kasten
     würde den kleinen Geräten nur die Gehäusekante kappen — das liest sich als
     Renderfehler, nicht als Anschnitt (Kais Befund vom 21.08.2026). */
  .zelle-bild-paar .zelle-bild {
    align-self: center;
    height: auto;
    overflow: visible;
    margin-bottom: 0;
  }
}

@media (min-width: 900px) {
  .hero-innen { grid-template-columns: 1.05fr .95fr; }
  .hero-text { padding-right: 1rem; }

  .ablauf-raster { grid-template-columns: .8fr 1.2fr; }

  .papier-raster { grid-template-columns: 1.15fr .85fr; }

  .bento { grid-template-columns: repeat(6, 1fr); }
  .zelle-breit { grid-column: span 4; }
  .zelle-verlauf { grid-column: span 2; }
  .zelle-hoch {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }
  .zelle-hoch .zelle-bild-unten {
    flex: 1 1 auto;
    height: auto;
    min-height: 170px;
  }
  .zelle-breit.zelle-bild-paar { grid-column: span 4; }
  /* Schmal und voll stehen als Klasse an der Zelle, nicht als :last-child-Regel:
     Sonst verschiebt eine siebte Zelle die Breiten aller vorigen. */
  .zelle-schmal { grid-column: span 2; }
  .zelle-voll { grid-column: 1 / -1; }

  .zelle-mit-bild { grid-template-columns: 1fr auto; }
  .zelle-mit-bild .zelle-bild {
    align-self: end;
    height: 330px;
    overflow: hidden;
    margin-bottom: -1.6rem;
  }
  /* Bild-Paar: ganze Geräte statt gekappter Gehäusekante — siehe Tablet-Block. */
  .zelle-bild-paar .zelle-bild {
    align-self: center;
    height: auto;
    overflow: visible;
    margin-bottom: 0;
  }

  /* Vollbreite Zelle ohne Bild: die zwei Absätze nebeneinander, sonst bleibt
     die halbe Karte leer (52ch-Deckel auf .zelle p). */
  .zelle-textpaar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
  .zelle-textpaar h3 { grid-column: 1 / -1; }

  .fuss-raster { grid-template-columns: 1.4fr .6fr; }
  .fuss-nav { justify-content: flex-end; }
}

@media (max-width: 899px) {
  .zelle-bild-unten { height: 190px; }
}

@media (max-width: 639px) {
  .kopf-nav { display: none; }
  .knopf-klein { margin-left: auto; }
  .zelle { padding: 1.35rem; }
  .zelle-bild-paar .zelle-bild { gap: .5rem; }
}

/* ---------- Bewegung ----------
   Einblenden beim Scrollen; JS setzt .sichtbar über einen IntersectionObserver.
   Ohne JS bleibt alles sichtbar (siehe .kein-js). */
.an, .auf { opacity: 1; }

html.js .an {
  opacity: 0;
  transform: translateY(18px);
  animation: hereinkommen .8s var(--ease-aus) forwards;
}
html.js .an-1 { animation-delay: .05s; }
html.js .an-2 { animation-delay: .14s; }
html.js .an-3 { animation-delay: .23s; }
html.js .an-4 { animation-delay: .12s; }

@keyframes hereinkommen {
  to { opacity: 1; transform: none; }
}

html.js .auf {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-aus), transform .7s var(--ease-aus);
  transition-delay: var(--verzug, 0ms);
}
html.js .auf.sichtbar {
  opacity: 1;
  transform: none;
}

/* Der eine gebaute Moment der Seite: Das große Telefon im Kopf setzt sich ab,
   statt nur einzublenden — leicht aus der Tiefe gekippt, dann liegt es. Ein Mal
   beim Laden, nie wieder. Die Perspektive steht in der Transform-Liste selbst:
   Am Element als eigene Eigenschaft würde sie nur für dessen Kinder gelten. */
html.js .hero-bild.an {
  animation-name: geraet-setzen;
  animation-duration: 1.05s;
}
@keyframes geraet-setzen {
  from { opacity: 0; transform: perspective(1400px) translateY(34px) rotateX(7deg) scale(.965); }
  to { opacity: 1; transform: perspective(1400px) translateY(0) rotateX(0deg) scale(1); }
}

/* Tiefe beim Scrollen: Die Geräte und der Bogen wandern ein wenig langsamer als
   der Text neben ihnen. Rein CSS (scroll-getrieben), kein Scroll-Listener, kein
   Layoutwechsel — es bewegt sich ausschließlich transform. Wo der Browser das
   nicht kennt, steht alles still und nichts fehlt. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js .ablauf-bild .phone,
    html.js .zelle-bild .phone,
    html.js .papier-bild .phone,
    html.js .papier-bild .bogen {
      animation: tiefe linear both;
      animation-timeline: view();
      animation-range: entry 15% exit 85%;
    }
  }
}
@keyframes tiefe {
  from { transform: translateY(0); }
  to { transform: translateY(-3.5%); }
}

/* Anfassbare Flächen: Zeigergeräte bekommen ein Anheben, Finger nicht — auf dem
   iPhone würde jeder Tipper einen Hover auslösen, der dann hängen bleibt. */
@media (hover: hover) and (pointer: fine) {
  /* Angehoben wird über `translate`, nicht über `transform`: Die Zelle trägt beim
     Einblenden schon ein `transform` (0,7 s), und der Knopf sein `scale(.98)` beim
     Drücken. Eine eigene Eigenschaft hat ihre eigene Dauer und kommt beidem nicht
     in die Quere. */
  .zelle {
    transition: translate .22s var(--ease-aus), box-shadow .22s ease;
  }
  .zelle:hover {
    translate: 0 -3px;
    box-shadow: var(--schatten-hoch);
  }
  .knopf { transition: transform .18s var(--ease-aus), translate .18s var(--ease-aus), box-shadow .18s ease, filter .18s ease; }
  .knopf:hover { translate: 0 -1px; }
  .marke img { transition: transform .2s var(--ease-aus); }
  .marke:hover img { transform: scale(1.06); }
  .formate li {
    transition: transform .18s var(--ease-aus), border-color .18s ease;
  }
  .formate li:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--blau) 40%, var(--rahmen));
  }
  .faq summary { transition: color .2s ease; }
  .faq summary:hover { color: var(--blau); }
  .faq summary:hover::after { border-color: var(--blau); }
  .fuss-nav a { transition: color .2s ease, border-color .2s ease; }
  .fuss-nav a:hover { border-bottom-color: var(--text-leise); }
}
@media (hover: hover) and (pointer: fine) and (prefers-color-scheme: dark) {
  .faq summary:hover { color: #8aa9f2; }
  .faq summary:hover::after { border-color: #8aa9f2; }
}

/* Reduzierte Bewegung: alles wird zu einer kurzen Überblendung, nichts verschiebt sich. */
@media (prefers-reduced-motion: reduce) {
  html.js .an,
  html.js .auf {
    transform: none !important;
    animation: kurzblenden .2s linear forwards !important;
    animation-delay: 0s !important;
    transition: opacity .2s linear !important;
    transition-delay: 0ms !important;
  }
  html.js .auf.sichtbar { opacity: 1; }
  .faq details[open] .antwort { animation: none; }
  .knopf, .knopf:active, .faq summary::after { transition: none; transform: none; }
  /* Rückmeldung bleibt (Schatten, Farbe, Kante) — nur bewegt sich nichts mehr. */
  .zelle, .zelle:hover,
  .formate li, .formate li:hover,
  .marke img, .marke:hover img,
  .knopf:hover { transform: none !important; translate: none !important; }
  * { scroll-behavior: auto !important; }
}

@keyframes kurzblenden {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ----------
   Reine Textseiten ohne Einblend-Animationen: Rechtstext soll sofort lesbar sein. */
.rechtsseite { padding-block: clamp(2.5rem, 6vw, 4rem) var(--luft); }
.rechtsseite h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.rechtsseite .stand {
  color: var(--text-leise);
  font-size: .92rem;
  margin-top: .6rem;
}
.rechtsseite h2 {
  font-size: 1.35rem;
  margin-top: 2.6rem;
  margin-bottom: .8rem;
}
.rechtsseite p,
.rechtsseite li {
  color: var(--text-leise);
  max-width: 68ch;
}
.rechtsseite strong { color: var(--text); }
.rechtsseite ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.rechtsseite li { margin-bottom: .5rem; }
.rechtsseite a {
  color: var(--blau);
  text-decoration: none;
  border-bottom: 1px solid var(--linie);
}
.rechtsseite a:hover { border-bottom-color: var(--blau); }
@media (prefers-color-scheme: dark) { .rechtsseite a { color: #8aa9f2; } }
.rechtsseite .kurzfassung {
  margin-top: 2rem;
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-radius: var(--r-karte);
  padding: 1.4rem 1.6rem;
}
.rechtsseite .kurzfassung h2 {
  margin-top: 0;
  font-size: 1.1rem;
}
