/* HeimIQ Produktseite.
   Layout: grosse ruhige Typo auf Kartenraum-Grund, Geraete als Hauptbild,
   Funktionen als Kacheln in den App-Farben (Lila, Mint, Sand, Lila hell).
   Keine externen Schriften, Skripte oder Tracker: alles kommt von heimiq.app. */

:root {
  --grund: #eef0f7;
  --grund-2: #f7f8fc;
  --karte: #ffffff;
  --rand: #d5d8e6;
  --text: #14162b;
  --text-2: #555a75;
  --lila: #4f46e5;
  --lila-tief: #3a31c4;
  --lila-hell: #e0ddff;
  --lila-text: #4f46e5;
  --mint: #d9f3e6;
  --mint-text: #14633b;
  --sand: #fdebd3;
  --sand-text: #8a4b0b;
  --rot: #c0262d;
  --rahmen: #1b1c24;
  --rahmen-glanz: #3a3c48;
  --schatten: 0 40px 80px -30px rgba(40, 36, 120, .35), 0 12px 30px -12px rgba(20, 22, 43, .18);
  --band: #14162b;
  --band-text: #f1f2fa;
  --band-text-2: #a6abc6;

  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px;
  --text-breite: 40rem;
  --rundung: 28px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #0d0e17; --grund-2: #121322; --karte: #1a1c2b; --rand: #33364d;
    --text: #f1f2fa; --text-2: #a6abc6; --lila: #6a62f5; --lila-tief: #4f46e5;
    --lila-hell: #2c2a57; --lila-text: #b7b2ff; --mint: #123826; --mint-text: #7fe0ad;
    --sand: #3b2a12; --sand-text: #f5c27a; --rot: #ff7a7f; --rahmen: #05050a; --rahmen-glanz: #2a2c38;
    --schatten: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 12px 30px -12px rgba(0, 0, 0, .5);
    --band: #1a1c2b; --band-text: #f1f2fa; --band-text-2: #a6abc6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --grund: #0d0e17; --grund-2: #121322; --karte: #1a1c2b; --rand: #33364d;
  --text: #f1f2fa; --text-2: #a6abc6; --lila: #6a62f5; --lila-tief: #4f46e5;
  --lila-hell: #2c2a57; --lila-text: #b7b2ff; --mint: #123826; --mint-text: #7fe0ad;
  --sand: #3b2a12; --sand-text: #f5c27a; --rot: #ff7a7f; --rahmen: #05050a; --rahmen-glanz: #2a2c38;
  --schatten: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 12px 30px -12px rgba(0, 0, 0, .5);
  --band: #1a1c2b; --band-text: #f1f2fa; --band-text-2: #a6abc6;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--schrift);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--lila-text); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--schrift-display); text-wrap: balance; margin: 0; letter-spacing: -0.022em; }
p { margin: 0; }

.huelle {
  width: 100%;
  max-width: calc(var(--breite) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .huelle { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Navigation ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--grund);
}
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--grund) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--rand) 60%, transparent);
}
.nav .huelle { display: flex; align-items: center; gap: 24px; height: 52px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.marke img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: .875rem; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-pille {
  font-size: .8125rem; font-weight: 600; color: #fff; background: var(--lila);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 640px) { .nav-links { display: none; } .nav-pille { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 9vw, 104px) 0; text-align: center; }
.hero-logo { width: 104px; height: 104px; margin: 0 auto 28px; }
.hero-logo svg { width: 100%; height: 100%; border-radius: 23px; box-shadow: 0 18px 40px -16px rgba(58, 49, 196, .6); }
.augenbraue { font-size: 1.0625rem; font-weight: 600; color: var(--lila-text); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1.02; font-weight: 700; max-width: 14ch; margin-inline: auto; }
.hero h1 .verlauf {
  background: linear-gradient(100deg, var(--lila) 10%, #8b5cf6 55%, var(--lila-tief) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .unterzeile { font-size: clamp(1.125rem, 2.2vw, 1.5rem); line-height: 1.4; color: var(--text-2); max-width: 36rem; margin: 22px auto 0; }
.cta-reihe { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.store-knopf {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 18px;
  background: var(--text); color: var(--grund); border-radius: 14px; text-decoration: none;
}
.store-knopf svg { width: 26px; height: 26px; flex: none; }
.store-knopf small { display: block; font-size: .6875rem; letter-spacing: .02em; opacity: .75; line-height: 1.1; }
.store-knopf strong { display: block; font-size: 1.1875rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.textlink { color: var(--lila-text); text-decoration: none; font-weight: 500; }
.textlink:hover { text-decoration: underline; }
.hinweis { font-size: .875rem; color: var(--text-2); margin-top: 16px; }

/* Logo-Auftritt: Dach zeichnet sich, Kacheln setzen sich ein */
.logo-dach { stroke-dasharray: 800; stroke-dashoffset: 0; }
.logo-kachel { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .logo-dach { animation: dach 1s .15s cubic-bezier(.65, 0, .35, 1) both; }
  .js .logo-kachel { animation: kachel .55s cubic-bezier(.34, 1.56, .64, 1) both; }
  .js .logo-kachel:nth-of-type(1) { animation-delay: .7s; }
  .js .logo-kachel:nth-of-type(2) { animation-delay: .82s; }
  .js .logo-kachel:nth-of-type(3) { animation-delay: .94s; }
  .js .logo-kachel:nth-of-type(4) { animation-delay: 1.06s; }
  .js .auftritt { animation: auftritt .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .auftritt.v1 { animation-delay: .25s; }
  .js .auftritt.v2 { animation-delay: .4s; }
  .js .auftritt.v3 { animation-delay: .55s; }
  .js .auftritt.v4 { animation-delay: .7s; }
}
@keyframes dach { from { stroke-dashoffset: 800; } }
@keyframes kachel { from { transform: scale(.2); opacity: 0; } }
@keyframes auftritt { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Geraete ---------- */
.geraete-buehne {
  position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1060px;
  aspect-ratio: 1060 / 640;
}
/* Geraeterahmen: Rahmenbreiten als margin in % der Geraetebreite
   (padding in % wuerde sich auf den umgebenden Block beziehen). */
.ipad {
  position: absolute; left: 4%; top: 0; width: 74%;
  background: linear-gradient(145deg, #2a2b31, #111215 60%);
  border-radius: 3.7% / 4.9%;
  box-shadow: 0 0 0 1.5px #a7a9b0, 0 0 0 2.5px #5d5f66, var(--schatten);
}
.ipad .anzeige {
  margin: 2.3%; border-radius: 1.6% / 2.1%; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--grund); position: relative;
}
.ipad::after { /* Frontkamera an der langen Seite */
  content: ""; position: absolute; top: 1.05%; left: 50%; width: .55%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; background: #2f3340;
  box-shadow: inset 0 0 0 1px #0b0c10;
}
.ipad img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.iphone {
  position: relative; width: 100%;
  background: #0c0c0f;
  border-radius: 15.6% / 7.1%;
  box-shadow: 0 0 0 1.5px #b9bac1, 0 0 0 3px #6b6d75, 0 0 0 3.5px #3b3c42, var(--schatten);
}
.iphone .anzeige {
  margin: 2.5%; border-radius: 13.6% / 6.3%; overflow: hidden; aspect-ratio: 1320 / 2868;
  background: var(--grund); position: relative;
}
.iphone .anzeige img { width: 100%; height: 100%; object-fit: cover; }
.iphone .anzeige::after { /* Dynamic Island */
  content: ""; position: absolute; z-index: 3; top: 1.15%; left: 50%; width: 28.6%; aspect-ratio: 3.4;
  transform: translateX(-50%); border-radius: 999px; background: #000;
}
.iphone::before, .iphone::after { /* Tasten an den Seiten */
  content: ""; position: absolute; width: 1.1%; border-radius: 2px; background: #8f9198;
}
.iphone::before { /* Action-Taste und Lautstaerke links */
  left: -1.9%; top: 15%; height: 21%;
  background: linear-gradient(#8f9198 0 16%, transparent 16% 28%, #8f9198 28% 61%, transparent 61% 67%, #8f9198 67% 100%);
}
.iphone::after { right: -1.9%; top: 24%; height: 11%; } /* Seitentaste rechts */
.geraete-buehne .iphone { position: absolute; right: 3%; bottom: -2%; width: 23%; }

@media (max-width: 720px) {
  .geraete-buehne { aspect-ratio: auto; display: grid; grid-template-columns: 1fr; justify-items: center; }
  .geraete-buehne .ipad { display: none; }
  .geraete-buehne .iphone { position: relative; right: auto; bottom: auto; width: min(260px, 70%); }
}

/* Parallax beim Scrollen (wo der Browser es kann) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 721px) {
    .geraete-buehne .ipad { animation: nach-oben-links linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    .geraete-buehne .iphone { animation: nach-oben-rechts linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@keyframes nach-oben-links { from { transform: perspective(1600px) rotateX(14deg) translateY(10%) scale(.94); } to { transform: none; } }
@keyframes nach-oben-rechts { from { transform: translate(8%, 26%) rotate(3deg); } to { transform: none; } }
@keyframes aufrichten { from { transform: perspective(1400px) rotateX(16deg) scale(.94); } to { transform: none; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(80px, 12vw, 150px); }
.abschnitt-kopf { max-width: 46rem; }
.abschnitt-kopf.mitte { margin-inline: auto; text-align: center; }
.abschnitt h2 { font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: 1.05; font-weight: 700; }
.abschnitt .lead { font-size: clamp(1.125rem, 1.9vw, 1.375rem); line-height: 1.45; color: var(--text-2); margin-top: 18px; }
.abschnitt .lead strong { color: var(--text); font-weight: 600; }

/* Weiche Einblendung beim Scrollen: Ruhezustand ist sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .einblenden.wartet { opacity: 0; transform: translateY(40px); }
}

/* ---------- Ablauf (sticky iPhone) ---------- */
.ablauf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 88px); }
.ablauf-telefon { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); align-self: start; display: flex; justify-content: center; }
.ablauf-telefon .iphone { width: min(320px, 100%); }
.ablauf-telefon .anzeige img { position: absolute; inset: 0; transition: opacity .6s ease, transform .6s ease; }
.ablauf-telefon .anzeige img:not(.aktiv) { opacity: 0; transform: scale(1.03); }
.schritte { display: grid; gap: 0; }
.schritt { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: 24px; }
.schritt:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 8vh; }
.schritt-nr {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 1.125rem; background: var(--lila-hell); color: var(--lila-text);
  transition: background .4s, color .4s;
}
.schritt.aktiv .schritt-nr { background: var(--lila); color: #fff; }
.schritt h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; font-weight: 700; }
.schritt p { font-size: 1.1875rem; color: var(--text-2); max-width: 30rem; }
.schritt .klein { font-size: .9375rem; }
.schritt-bild { display: none; }
@media (max-width: 820px) {
  .ablauf { grid-template-columns: 1fr; }
  .ablauf-telefon { display: none; }
  .schritt, .schritt:first-child { min-height: 0; padding-block: 28px; justify-content: flex-start; }
  .schritt-bild { display: block; width: min(250px, 72%); margin: 12px auto 0; }
}

/* ---------- Jahresleiste ---------- */
.jahre-band { background: var(--grund-2); }
.jahre-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.jahresleiste { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jahr {
  font-weight: 600; font-size: 1.0625rem; padding: 9px 18px; border-radius: 999px;
  font-variant-numeric: tabular-nums; border: 1.5px solid transparent;
}
.jahr.fertig { background: var(--mint); color: var(--mint-text); }
.jahr.offen { background: var(--karte); color: var(--rot); border-color: color-mix(in srgb, var(--rot) 35%, transparent); }
.jahr.frage { background: var(--lila-hell); color: var(--lila-text); }
.jahr.laeuft { background: var(--lila); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .js .jahresleiste.wartet .jahr { opacity: 0; transform: translateY(14px) scale(.9); }
  .js .jahresleiste .jahr { transition: opacity .5s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
  .js .jahresleiste .jahr:nth-child(2) { transition-delay: .08s; }
  .js .jahresleiste .jahr:nth-child(3) { transition-delay: .16s; }
  .js .jahresleiste .jahr:nth-child(4) { transition-delay: .24s; }
  .js .jahresleiste .jahr:nth-child(5) { transition-delay: .32s; }
}
.legende { display: grid; gap: 8px; margin-top: 22px; color: var(--text-2); font-size: .9375rem; }
.legende span { display: inline-flex; align-items: center; gap: 10px; }
.legende i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.jahre-geraet { display: flex; justify-content: center; }
.jahre-geraet .iphone { width: min(300px, 80%); }
@media (max-width: 820px) { .jahre-raster { grid-template-columns: 1fr; } }

/* ---------- Kacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 72px); }
.kachel {
  grid-column: span 2; border-radius: var(--rundung); padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 10px; min-height: 260px; background: var(--karte);
  min-width: 0;
}
.kachel.breit { grid-column: span 3; }
.kachel .etikett { font-size: .875rem; font-weight: 600; }
.kachel h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.12; font-weight: 700; }
.kachel p { color: var(--text-2); font-size: 1rem; }
.kachel .gross { font-size: clamp(2.4rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: auto; line-height: 1; }
.k-lila { background: var(--lila); color: #fff; }
.k-lila .etikett, .k-lila p { color: rgba(255, 255, 255, .82); }
.k-mint { background: var(--mint); } .k-mint .etikett, .k-mint .gross { color: var(--mint-text); }
.k-sand { background: var(--sand); } .k-sand .etikett, .k-sand .gross { color: var(--sand-text); }
.k-hell { background: var(--lila-hell); } .k-hell .etikett { color: var(--lila-text); }
.k-weiss .etikett { color: var(--lila-text); }
.balken { display: grid; gap: 8px; margin-top: auto; }
.balken div { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.balken div span { display: block; height: 100%; border-radius: inherit; background: #fff; width: var(--w); }
@media (prefers-reduced-motion: no-preference) {
  .js .kachel.wartet .balken span { width: 0; }
  .js .balken span { transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
}
.vorgang-liste { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.vorgang-liste li { background: var(--grund); border-radius: 14px; padding: 10px 14px; font-size: .9375rem; display: flex; justify-content: space-between; gap: 12px; }
.vorgang-liste li b { font-weight: 600; }
.vorgang-liste li span { color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .kachel, .kachel.breit { grid-column: span 3; } }
@media (max-width: 600px) { .kacheln { grid-template-columns: 1fr; } .kachel, .kachel.breit { grid-column: auto; min-height: 0; } }

/* ---------- iPad-Abschnitt ---------- */
.ipad-gross { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 980px; }
.ipad-gross .ipad { position: relative; width: 100%; left: auto; top: auto; bottom: auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ipad-gross .ipad { animation: aufrichten linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
.drei-geraete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; text-align: center; }
.drei-geraete div { display: grid; gap: 6px; }
.drei-geraete b { font-size: 1.25rem; font-family: var(--schrift-display); }
.drei-geraete span { color: var(--text-2); font-size: .9875rem; }
@media (max-width: 640px) { .drei-geraete { grid-template-columns: 1fr; } }

/* ---------- Datenschutz-Band ---------- */
.band { background: var(--band); color: var(--band-text); }
.band .lead { color: var(--band-text-2); }
.band .lead strong { color: var(--band-text); }
.schloss { width: 64px; height: 64px; margin: 0 auto 26px; color: #b7b2ff; }
.versprechen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.versprechen div { border: 1px solid rgba(166, 171, 198, .25); border-radius: 22px; padding: 26px; display: grid; gap: 8px; align-content: start; }
.versprechen b { font-size: 1.25rem; font-family: var(--schrift-display); letter-spacing: -0.01em; }
.versprechen span { color: var(--band-text-2); font-size: .9875rem; }
@media (max-width: 760px) { .versprechen { grid-template-columns: 1fr; } }

/* ---------- Schluss ---------- */
.schluss { text-align: center; }
.schluss .hero-logo { width: 88px; height: 88px; }

/* ---------- Fusszeile ---------- */
.fuss { border-top: 1px solid var(--rand); padding-block: 32px 48px; font-size: .8125rem; color: var(--text-2); }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.fuss a { color: var(--text-2); text-decoration: none; }
.fuss a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Rechtstexte / Support ---------- */
.doku { padding-block: clamp(48px, 8vw, 96px); }
.doku .huelle { max-width: calc(46rem + 48px); }
.doku h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; font-weight: 700; }
.doku .stand { color: var(--text-2); margin-top: 10px; font-size: .9375rem; }
.doku h2 { font-size: 1.375rem; margin-top: 44px; margin-bottom: 10px; }
.doku h3 { font-size: 1.0625rem; margin-top: 24px; margin-bottom: 6px; }
.doku p, .doku li { color: var(--text); }
.doku p + p { margin-top: 12px; }
.doku ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 10px 0 0; }
.doku address { font-style: normal; line-height: 1.6; }
.entwurf {
  margin-top: 26px; padding: 16px 20px; border-radius: 16px;
  background: var(--sand); color: var(--sand-text); font-size: .9375rem;
}
.entwurf strong { color: var(--sand-text); }
.karte-box { background: var(--karte); border-radius: 22px; padding: 26px; margin-top: 18px; }
details.faq { background: var(--karte); border-radius: 18px; padding: 18px 22px; margin-top: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--lila-text); font-weight: 400; font-size: 1.4rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 10px; color: var(--text-2); }
.mail { font-weight: 600; font-size: 1.1875rem; user-select: all; }

/* Bildausschnitt in einer Kachel (oberer Teil eines iPhone-Bildschirms) */
.kachel { overflow: hidden; }
.kachel-bild {
  margin: 8px 0 calc(-1 * clamp(24px, 3vw, 34px)); border-radius: 26px 26px 0 0; overflow: hidden; height: 240px;
  border: 7px solid var(--rahmen); border-bottom: 0; box-shadow: var(--schatten);
}
.kachel-bild img { width: 100%; height: auto; }
.kachel-bild { width: min(300px, 100%); align-self: center; }
.k-hell .gross { color: var(--lila-text); }
.schritt-bild { border-radius: 30px; border: 7px solid var(--rahmen); box-shadow: var(--schatten); }

/* Mac: echtes Programmfenster (Aufnahme aus der Mac-App), unten weich ausgeblendet */
.mac-fenster {
  margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1060px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 22, 43, .14), var(--schatten);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.mac-fenster img { width: 100%; height: auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .mac-fenster { animation: aufrichten linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
