/* Rentra – Web-Auftritt (Dark + Orange, an App angelehnt) */

:root {
  color-scheme: dark;
  --bg: #0c0c0f;
  --card: #1c1c1f;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.96);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted: rgba(255, 255, 255, 0.45);
  --accent: #f57314;
  --accent-dim: rgba(245, 115, 20, 0.22);
  --accent-glow: rgba(245, 115, 20, 0.35);
  --accent-soft: rgba(245, 115, 20, 0.55);
  --ring-cyan: #59d1fa;
  --ring-mint: #52e08c;
  --radius: 14px;
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 920px;
  --header-bg: rgba(0, 0, 0, 0.88);
  --header-border: rgba(255, 255, 255, 0.08);
  --dash-header-bg: rgba(0, 0, 0, 0.78);
  --dash-header-border: rgba(255, 255, 255, 0.06);
  --dash-glow-a: rgba(48, 48, 54, 0.45);
  --dash-glow-b: rgba(255, 255, 255, 0.04);
  --dash-bg: #000000;
  --start-glow-a: rgba(48, 48, 54, 0.45);
  --start-glow-b: rgba(255, 255, 255, 0.04);
  --start-bg: #000000;
  --start-header-bg: rgba(0, 0, 0, 0.78);
  --start-header-border: rgba(255, 255, 255, 0.06);
  --start-footer-border: rgba(255, 255, 255, 0.08);
  --rail-footer-border: rgba(255, 255, 255, 0.08);
  --rail-footer-text: rgba(255, 255, 255, 0.42);
  --rail-footer-link: rgba(255, 255, 255, 0.55);
  --screen-title-color: rgba(255, 255, 255, 0.98);
  --screen-kicker-color: rgba(255, 255, 255, 0.52);
  --screen-lead-color: rgba(255, 255, 255, 0.48);
  --screen-hint-color: rgba(255, 255, 255, 0.38);
  --screen-footer-color: rgba(255, 255, 255, 0.4);
  --theme-toggle-track: rgba(255, 255, 255, 0.22);
  --theme-toggle-thumb: #ffffff;
  --start-hero-title: #ffffff;
  --start-kicker: rgba(255, 255, 255, 0.58);
  --start-cta-border: rgba(255, 255, 255, 0.42);
  --start-cta-bg: rgba(0, 0, 0, 0.35);
  --start-cta-sub: rgba(255, 255, 255, 0.52);
  --start-explain: rgba(255, 255, 255, 0.9);
  --start-nav-drawer-bg: rgba(24, 24, 28, 0.94);
  --start-nav-drawer-border: rgba(255, 255, 255, 0.1);
  --start-nav-link: rgba(255, 255, 255, 0.88);
  --start-burger-bar: rgba(255, 255, 255, 0.92);
  --start-footer-link: rgba(255, 255, 255, 0.45);
  --start-brand-text: #ffffff;
  --start-nav-hover: rgba(255, 255, 255, 0.08);
  --start-nav-row-hover: rgba(255, 255, 255, 0.06);
  --start-drawer-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  --start-legal-bg: rgba(10, 10, 12, 0.97);
  --start-legal-border: rgba(255, 255, 255, 0.1);
  --start-legal-muted: rgba(255, 255, 255, 0.55);
  --start-legal-text: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --card: #ffffff;
  --card-border: rgba(0, 0, 0, 0.1);
  --text: rgba(0, 0, 0, 0.88);
  --text-secondary: rgba(0, 0, 0, 0.56);
  --text-muted: rgba(0, 0, 0, 0.42);
  --accent: #d45a0a;
  --accent-dim: rgba(212, 90, 10, 0.18);
  --accent-glow: rgba(212, 90, 10, 0.28);
  --accent-soft: rgba(212, 90, 10, 0.65);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: rgba(0, 0, 0, 0.08);
  --dash-header-bg: rgba(255, 255, 255, 0.92);
  --dash-header-border: rgba(0, 0, 0, 0.08);
  --dash-glow-a: rgba(255, 255, 255, 0.85);
  --dash-glow-b: rgba(0, 0, 0, 0.04);
  --dash-bg: #e8e8ed;
  --start-glow-a: rgba(0, 0, 0, 0.05);
  --start-glow-b: rgba(255, 255, 255, 0.75);
  --start-bg: #f5f5f7;
  --start-header-bg: rgba(255, 255, 255, 0.92);
  --start-header-border: rgba(0, 0, 0, 0.08);
  --start-footer-border: rgba(0, 0, 0, 0.08);
  --rail-footer-border: rgba(0, 0, 0, 0.08);
  --rail-footer-text: rgba(0, 0, 0, 0.45);
  --rail-footer-link: rgba(0, 0, 0, 0.58);
  --screen-title-color: rgba(0, 0, 0, 0.92);
  --screen-kicker-color: rgba(0, 0, 0, 0.48);
  --screen-lead-color: rgba(0, 0, 0, 0.5);
  --screen-hint-color: rgba(0, 0, 0, 0.4);
  --screen-footer-color: rgba(0, 0, 0, 0.42);
  --theme-toggle-track: rgba(0, 0, 0, 0.12);
  --theme-toggle-thumb: #ffffff;
  --start-hero-title: rgba(0, 0, 0, 0.9);
  --start-kicker: rgba(0, 0, 0, 0.48);
  --start-cta-border: rgba(0, 0, 0, 0.22);
  --start-cta-bg: rgba(255, 255, 255, 0.65);
  --start-cta-sub: rgba(0, 0, 0, 0.48);
  --start-explain: rgba(0, 0, 0, 0.72);
  --start-nav-drawer-bg: rgba(255, 255, 255, 0.96);
  --start-nav-drawer-border: rgba(0, 0, 0, 0.1);
  --start-nav-link: rgba(0, 0, 0, 0.82);
  --start-burger-bar: rgba(0, 0, 0, 0.78);
  --start-footer-link: rgba(0, 0, 0, 0.48);
  --start-brand-text: rgba(0, 0, 0, 0.9);
  --start-nav-hover: rgba(0, 0, 0, 0.06);
  --start-nav-row-hover: rgba(0, 0, 0, 0.05);
  --start-drawer-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
  --start-legal-bg: rgba(255, 255, 255, 0.97);
  --start-legal-border: rgba(0, 0, 0, 0.1);
  --start-legal-muted: rgba(0, 0, 0, 0.5);
  --start-legal-text: rgba(0, 0, 0, 0.78);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--header-border);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Hell-/Dunkelmodus (Apple-ähnlicher Schalter) */
.theme-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  padding: 0;
  margin: 0;
  margin-left: auto;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover .theme-toggle__track {
  background: var(--theme-toggle-track);
  opacity: 1;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle__track {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--theme-toggle-track);
  transition: background 0.2s ease;
}

.theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--theme-toggle-thumb);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease;
}

html[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

/* App-Icon „Lebensring“ – gleiche Rundung wie iOS-Icon */
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 22.37%;
  object-fit: cover;
}

.brand span small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
  text-decoration: none;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.hero {
  display: grid;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1fr 280px;
  }
}

.hero__text h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero__text .lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 36em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn--primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn--ghost:hover {
  text-decoration: none;
  border-color: var(--accent-dim);
  color: var(--accent);
}

/* Rentenfortschritt (Start-Ring, techn. Klassen .lebensuhr-*) */
.lebensuhr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lebensuhr {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 1;
}

/* Lebensring wie Startbild der App: warmes Orange ↔ kühles Cyan, kleine Lücken oben/unten */
.lebensuhr__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -100deg,
    transparent 0deg 8deg,
    #ff7a2e 8deg 92deg,
    #ffb347 92deg 172deg,
    transparent 172deg 188deg,
    #7ee8fa 188deg 268deg,
    #59d1fa 268deg 352deg,
    transparent 352deg 360deg
  );
  padding: 14px;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
  box-shadow: 0 0 48px rgba(245, 115, 20, 0.18), 0 0 36px rgba(89, 209, 250, 0.12);
  animation: ring-pulse 6s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.lebensuhr__hole {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #252528 0%, #0d0d0f 70%);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.lebensuhr__time {
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: 0.04em;
}

.lebensuhr__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 6px;
}

/* Demo: heller Festpunkt oben (12-Uhr-Referenz wie in der App-Beschreibung) */
.lebensuhr__marker {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.lebensuhr-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 240px;
  line-height: 1.45;
}

/* ——— Startseite: Landing (Vorlage, schwarz / schmal / Burger) ——— */
body.page-start {
  /* Viel Luft zum Viewport-Rand + dezentes Spotlight wie im Referenz-Mockup */
  --start-pad-inline: clamp(44px, 11vw, 128px);
  background:
    radial-gradient(ellipse 78% 62% at 50% 46%, var(--start-glow-a) 0%, transparent 58%),
    radial-gradient(ellipse 52% 48% at 50% 48%, var(--start-glow-b) 0%, transparent 52%),
    var(--start-bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

body.page-start main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.start-hero-apple {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 40px);
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 7vw, 64px) var(--start-pad-inline) clamp(44px, 9vw, 88px);
  min-height: min(calc(100dvh - 64px), 900px);
  box-sizing: border-box;
}

.start-hero-apple__headline {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: var(--start-hero-title);
  text-align: center;
}

.start-hero-apple__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.5vw, 28px);
  width: 100%;
  max-width: 420px;
  scroll-margin-top: 88px;
  text-align: center;
}

.start-hero-apple__kicker {
  display: block;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--start-kicker);
  text-align: center;
  text-wrap: balance;
}

.start-hero-apple__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.start-hero-apple__glow {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(440px, 125%);
  height: min(540px, 88vh);
  background:
    radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse closest-side, rgba(245, 115, 20, 0.22) 0%, rgba(232, 192, 102, 0.08) 38%, transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.start-hero-apple__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: min(260px, 100%);
  padding: 14px 36px;
  border: 1px solid var(--start-cta-border);
  border-radius: 999px;
  background: var(--start-cta-bg);
  color: var(--start-hero-title);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.start-hero-apple__cta:hover {
  text-decoration: none;
  border-color: var(--accent-soft);
  background: var(--start-cta-bg);
  opacity: 0.95;
}

.start-hero-apple__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.start-hero-apple__cta-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.024em;
}

.start-hero-apple__cta-sub {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--start-cta-sub);
}

.start-hero-apple__explain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--start-explain);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.start-hero-apple__explain:hover {
  color: #fff;
  text-decoration: none;
  gap: 14px;
}

.start-hero-apple__arrow {
  font-size: 1.15em;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 959px) {
  .start-hero-apple__headline {
    max-width: 16ch;
    padding-inline: clamp(12px, 5vw, 32px);
    box-sizing: border-box;
  }
}

@media (min-width: 960px) {
  .start-hero-apple {
    grid-template-columns: 1fr minmax(268px, 360px) 1fr;
    grid-template-areas: "headline center explain";
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(32px, 5vw, 64px);
  }

  /* Text sitzt im Feld zwischen linkem Rand und iPhone: Block ans Telefon rücken, Ausrichtung zur Mitte */
  .start-hero-apple__headline {
    grid-area: headline;
    justify-self: end;
    align-self: center;
    text-align: right;
    max-width: 12ch;
    padding-left: clamp(28px, 6vw, 96px);
    padding-right: clamp(4px, 1.5vw, 16px);
    box-sizing: border-box;
  }

  .start-hero-apple__center {
    grid-area: center;
    max-width: none;
    justify-self: center;
  }

  .start-hero-apple__explain {
    grid-area: explain;
    justify-self: start;
    align-self: center;
    padding-left: clamp(4px, 1.5vw, 16px);
    padding-right: clamp(28px, 6vw, 96px);
  }
}

.site-footer--start {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 32px;
  border-top: 1px solid var(--card-border);
  background: transparent;
}

.site-footer--start-landing {
  border-top-color: var(--start-footer-border);
  max-width: none;
  padding: 24px var(--start-pad-inline) 40px;
  box-sizing: border-box;
}

.site-footer--start-landing nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.site-footer--start-landing nav a {
  color: var(--start-footer-link);
  text-decoration: none;
}

.site-footer--start-landing nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-footer--start p {
  display: none;
}

/* ——— Start: geführtes Erlebnis (Rentenfortschritt + 6 Screens, Haftungs-Footer am Seitenende) ——— */
html:has(body.page-start--journey) {
  overflow-x: hidden;
}

body.page-start--journey {
  --journey-display-max-h: calc(100svh - 16rem);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  body.page-start--journey {
    /* Gleiche sichtbare Display-Höhe wie Live-Simulation (Simulator) */
    --journey-display-max-h: min(72dvh, 680px);
  }
}

body.page-start--journey > main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  body.page-start--journey > main {
    justify-content: center;
    /* Kompakter unter der Kopfzeile (ca. eine Zeile weniger) */
    padding-top: clamp(2rem, 9vh, 5.85rem);
    box-sizing: border-box;
  }
}

.start-journey {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--start-pad-inline)
    clamp(24px, 4vw, 40px);
  padding-bottom: calc(clamp(24px, 4vw, 40px) + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  outline: none;
}

@media (min-width: 960px) {
  .start-journey {
    flex: 0 0 auto;
    padding-top: clamp(1.5rem, 3.5vh, 2.75rem);
    padding-bottom: clamp(24px, 4vh, 48px);
  }
}

.start-journey__grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  justify-items: center;
  min-height: 0;
}

.start-journey__copy-col {
  width: 100%;
  max-width: 420px;
  text-align: left;
}

.start-journey__kicker {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--start-kicker);
}

.start-journey__panels {
  position: relative;
  /* Niedriger = weniger Leerraum bis zum Tipp-Text (Textblöcke enger) */
  min-height: 8.75rem;
  margin-bottom: 2px;
}

.start-journey__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
  pointer-events: none;
}

.start-journey__panel.is-active {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.start-journey__headline {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.6vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.08;
  color: var(--start-hero-title);
}

.start-journey__text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--start-explain);
  opacity: 0.92;
}

.start-journey__micro {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--start-kicker);
  opacity: 0.85;
}

.start-journey__progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.start-journey__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--start-kicker);
  opacity: 0.35;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.start-journey__dot:hover {
  opacity: 0.65;
}

.start-journey__dot.is-active {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px var(--accent-dim);
}

.start-journey__progress-label {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--start-kicker);
}

.start-journey__arrows {
  display: flex;
  gap: 10px;
}

.start-journey__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--start-cta-border);
  background: var(--start-cta-bg);
  color: var(--start-hero-title);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.start-journey__nav:hover:not(:disabled) {
  border-color: var(--accent-soft);
}

.start-journey__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.start-journey__phone-col {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.start-journey__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, 130%);
  height: min(720px, 92vh);
  background:
    radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse closest-side, rgba(245, 115, 20, 0.18) 0%, transparent 65%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

.iphone-shell--journey {
  position: relative;
  z-index: 1;
}

/* Wie Simulator-Seite: Standard-.iphone-shell (min(320px, 86vw)), gleiche Display-Proportion 9 : 19,5 */
.iphone-journey-screen {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: 0 0 var(--iphone-screen-br) var(--iphone-screen-br);
  cursor: pointer;
  height: min(
    calc((var(--shell-outer-w) - 2 * var(--shell-pad)) * 19.5 / 9),
    var(--journey-display-max-h, 90svh)
  );
}

.iphone-journey-screen:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.iphone-journey-stack {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.iphone-journey-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.iphone-journey-layer.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.iphone-journey-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 960px) {
  /* Drei Spalten: Text mittig zwischen linkem Rand und iPhone · Gerät · Handbuch/Hilfe */
  .start-journey__grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(16px, 3vw, 36px);
  }

  .start-journey__copy-col {
    grid-column: 1;
    justify-self: center;
    max-width: min(22rem, 100%);
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(12px, 2vw, 28px);
    text-align: center;
  }

  .start-journey__phone-col {
    grid-column: 2;
    justify-self: center;
    width: auto;
  }

  .start-journey__help-col {
    grid-column: 3;
    justify-self: center;
    align-self: center;
    padding-left: clamp(8px, 2vw, 20px);
    padding-right: clamp(12px, 4vw, 32px);
  }

  /* Punkte, Statuszeile und Pfeile horizontal zur Textspalte zentrieren */
  .start-journey__progress-row,
  .start-journey__arrows {
    justify-content: center;
  }

  .start-journey__progress-label {
    text-align: center;
  }
}

.start-journey__help-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.start-journey__help-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 5rem;
  padding: 10px 6px;
  text-decoration: none;
  text-align: center;
  color: var(--start-kicker);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
  opacity: 0.88;
  border-radius: 12px;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.start-journey__help-link:hover {
  opacity: 1;
  color: var(--accent-soft);
  background: rgba(245, 115, 20, 0.06);
}

html[data-theme="light"] .start-journey__help-link:hover {
  background: rgba(212, 90, 10, 0.08);
}

.start-journey__help-link__arrow {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: var(--accent-soft);
}

.start-journey__help-link__label {
  display: block;
}

@media (max-width: 959px) {
  /* Mobil: ~3 Textzeilen unter der Kopfzeile (main = .start-journey → ein Selektor) */
  body.page-start--journey > main.start-journey {
    padding-top: clamp(1rem, 5.5svh, 2.15rem);
    box-sizing: border-box;
  }

  body.page-start--journey .site-header__inner--start {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body.page-start--journey .start-journey {
    padding-bottom: clamp(12px, 2.8vw, 22px);
  }

  body.page-start--journey .start-journey__grid {
    gap: clamp(8px, 2.2vw, 16px);
  }

  body.page-start--journey .start-journey__kicker {
    margin-bottom: 5px;
    letter-spacing: 0.2em;
  }

  body.page-start--journey .start-journey__panels {
    min-height: 6rem;
    margin-bottom: 0;
  }

  body.page-start--journey .start-journey__headline {
    margin-bottom: 4px;
    line-height: 1.06;
  }

  body.page-start--journey .start-journey__text {
    line-height: 1.38;
  }

  body.page-start--journey .start-journey__micro {
    margin-bottom: 7px;
    line-height: 1.35;
  }

  body.page-start--journey .start-journey__progress-row {
    margin-bottom: 3px;
  }

  body.page-start--journey .start-journey__progress-label {
    margin-bottom: 5px;
  }

  body.page-start--journey .start-journey__arrows {
    gap: 8px;
  }

  body.page-start--journey .start-journey__help-col {
    margin-top: 2px;
    margin-bottom: 6px;
  }

  .start-journey__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .start-journey__copy-col {
    order: 1;
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
    padding-left: clamp(12px, 4vw, 24px);
    padding-right: clamp(12px, 4vw, 24px);
  }

  .start-journey__phone-col {
    order: 2;
  }

  .start-journey__help-col {
    order: 3;
    margin-top: 6px;
    margin-bottom: 10px;
  }

  .start-journey__progress-row,
  .start-journey__arrows {
    justify-content: center;
  }

  .start-journey__progress-label {
    text-align: center;
  }

  .start-journey__progress-row {
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .start-journey__dot {
    width: 8px;
    height: 8px;
  }
}

.start-footer-legal {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--start-legal-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--start-legal-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.site-footer--rail + .start-footer-legal .start-footer-legal__inner {
  padding-top: 12px;
}

.start-footer-legal__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px var(--start-pad-inline) calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.start-footer-legal__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.start-footer-legal__details {
  margin: 0;
  border: none;
}

.start-footer-legal__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  max-width: 36rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--start-legal-muted);
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.start-footer-legal__summary::-webkit-details-marker {
  display: none;
}

.start-footer-legal__summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .start-footer-legal__summary:hover {
  background: rgba(0, 0, 0, 0.04);
}

.start-footer-legal__chev {
  display: inline-block;
  font-size: 0.55rem;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.start-footer-legal__details[open] .start-footer-legal__chev {
  transform: rotate(-180deg);
}

.start-footer-legal__scroll {
  max-height: min(32dvh, 220px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 6px;
  padding-right: 4px;
}

@media (min-width: 960px) {
  .start-footer-legal__scroll {
    max-height: min(22dvh, 200px);
  }
}

.start-footer-legal__meta a {
  color: var(--start-legal-muted);
  text-decoration: none;
}

.start-footer-legal__meta a:hover {
  color: var(--accent);
  text-decoration: none;
}

.start-footer-legal__hint {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--start-legal-muted);
}

.start-footer-legal__body {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--start-legal-text);
}

.start-footer-legal__bafin {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.45;
  color: var(--start-legal-muted);
}

.start-footer-legal__bafin a {
  color: var(--accent-soft);
  font-weight: 600;
  text-decoration: none;
}

.start-footer-legal__bafin a:hover {
  text-decoration: underline;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--text);
}

.section-title:first-of-type {
  margin-top: 0;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(245, 115, 20, 0.35);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card a.stretched {
  color: inherit;
  text-decoration: none;
}

.card a.stretched:hover h3 {
  text-decoration: underline;
}

.prose {
  color: var(--text-secondary);
}

.prose h2 {
  color: var(--text);
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--text);
}

.note {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 48px;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.site-footer--rail nav {
  justify-content: center;
}

.site-footer--rail > p {
  text-align: center;
  margin: 0;
}

.site-footer a {
  color: var(--text-secondary);
}

.help-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-list li {
  border-bottom: 1px solid var(--card-border);
}

.help-list a {
  display: block;
  padding: 16px 4px;
  color: var(--text);
  font-weight: 500;
}

.help-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.help-list span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ——— Utilities ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-cyan {
  color: var(--ring-cyan);
}

.text-accent {
  color: var(--accent);
}

/* ——— Simulator / App-Screen Showcase (body.page-dashboard) ——— */
/* overflow-x nicht auf body: sonst bricht position:sticky der Kopfzeile (Safari/Chrome) */
html:has(body.page-dashboard) {
  overflow-x: hidden;
}

body.page-dashboard {
  background:
    radial-gradient(ellipse 78% 62% at 50% 46%, var(--dash-glow-a) 0%, transparent 58%),
    radial-gradient(ellipse 52% 48% at 50% 48%, var(--dash-glow-b) 0%, transparent 52%),
    var(--dash-bg);
  -webkit-font-smoothing: antialiased;
}

.page-dashboard .site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--dash-header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--dash-header-border);
}

/* Live-Simulation: gleiche Burger-Schublade wie Startseite, Farben wie Simulator-Seiten */
body.page-dashboard .site-header.site-header--start-landing.site-header--on-sim {
  background: var(--dash-header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--dash-header-border);
}

/* Längerer sichtbarer Display-Ausschnitt, damit der Screen im Rahmen klar durchscrollt */
/* Rundgang: das Telefon behält immer die Proportion des Originals (Display 9 : 19,5).
   Ist das Fenster niedrig (Handy hoch oder quer), wird das ganze Telefon kleiner – nie nur das Display kürzer.
   Mindesthöhe 460px: im Querformat bleibt das Telefon lesbar, die Seite scrollt dann. */
body.page-dashboard .iphone-shell__screen--scrollable {
  height: min(
    calc((var(--shell-outer-w) - 2 * var(--shell-pad)) * 19.5 / 9),
    min(72dvh, 680px)
  );
}
body.page-dashboard .site-footer.site-footer--rail {
  border-top-color: var(--rail-footer-border);
  color: var(--rail-footer-text);
  /* Fixierte Folien-Punkte (.screen-dots) nicht über Linkzeile legen */
  padding-bottom: calc(clamp(40px, 7vw, 72px) + 52px);
}

body.page-dashboard .site-footer.site-footer--rail a {
  color: var(--rail-footer-link);
}

body.page-dashboard .site-footer.site-footer--rail a:hover {
  color: var(--accent);
}

.screen-rail {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.08);
  min-height: min(calc(100dvh - 68px), 840px);
}

.screen-rail::-webkit-scrollbar {
  height: 6px;
}

.screen-rail::-webkit-scrollbar-thumb {
  background: rgba(245, 115, 20, 0.55);
  border-radius: 3px;
}

/* Haupt-Simulator: Folie 2 (lange Liste) trieb bisher die Rail-Höhe – Folie 1 + iPhone wurden mitgestreckt (großer Abstand zur Fußzeile). */
.screen-rail--sim-hub .screen-slide:not(.screen-slide--text) {
  align-self: flex-start;
}

.screen-rail--sim-hub .screen-slide--text {
  max-height: min(88dvh, 840px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.screen-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: min(calc(100dvh - 68px), 840px);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Interaktive Simulator-Folie: oben ausrichten – sonst zentriert kurzer Inhalt (z. B. Dashboard) zu viel Luft unter der Kopfzeile */
.screen-slide:not(.screen-slide--text) {
  align-items: flex-start;
  justify-content: center;
}

.screen-slide--text {
  align-items: flex-start;
  padding-top: clamp(32px, 6vh, 64px);
}

.screen-slide__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 28px) clamp(72px, 12vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3.2vw, 32px);
}

/* Wie Start-Journey: Text links (zwischen Rand und iPhone), Gerät Mitte, Handbuch/Hilfe rechts */
.screen-slide__inner--sim-three {
  max-width: min(1440px, 100%);
  align-items: stretch;
  gap: 0;
}

.sim-wide-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: clamp(16px, 3vw, 28px);
}

.sim-wide-grid__copy {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding-left: clamp(12px, 4vw, 24px);
  padding-right: clamp(12px, 4vw, 24px);
  text-align: center;
}

.sim-wide-grid__copy .screen-slide__intro {
  align-items: center;
}

.sim-wide-grid__phone {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sim-wide-grid__help {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(8px, 2vw, 16px);
}

/* Kicker + Weg zurück: über dem iPhone, zentriert (Wide) */
.sim-wide-grid__wayfinder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-left: clamp(12px, 4vw, 24px);
  padding-right: clamp(12px, 4vw, 24px);
  box-sizing: border-box;
}

.sim-wide-grid__wayfinder .screen-slide__way-home {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .sim-wide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(16px, 3vw, 36px);
    row-gap: clamp(14px, 2.5vh, 28px);
  }

  /* Zeile 1: über der Phone-Spalte, gleicher Rhythmus wie auf allen Simulator-Seiten */
  .sim-wide-grid__wayfinder {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: start;
    max-width: min(36rem, 92vw);
    padding-left: clamp(8px, 2vw, 16px);
    padding-right: clamp(8px, 2vw, 16px);
    padding-top: 0;
    padding-bottom: clamp(0.4rem, 1.2vh, 0.85rem);
    min-height: 0;
    justify-content: flex-start;
  }

  .sim-wide-grid__copy {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    max-width: min(22rem, 100%);
    margin: 0;
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(12px, 2vw, 28px);
    text-align: center;
    align-self: center;
  }

  .sim-wide-grid__phone {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    width: auto;
    align-self: center;
  }

  .sim-wide-grid__help {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    margin-bottom: 0;
    padding-left: clamp(8px, 2vw, 20px);
    padding-right: clamp(12px, 4vw, 32px);
  }

  .sim-wide-grid__copy .screen-slide__hint {
    margin-top: clamp(4px, 1vw, 10px);
  }
}

.screen-slide__inner--narrow {
  max-width: 640px;
  align-items: stretch;
}

.screen-slide__kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--screen-kicker-color);
}

.screen-slide__way-home {
  margin: 0 auto 6px;
  max-width: 42em;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--screen-lead-color);
  text-align: center;
}

.screen-slide__way-home a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.screen-slide__way-home a:hover {
  text-decoration: underline;
}

.screen-slide__kicker::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.screen-slide__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-align: center;
  color: var(--screen-title-color);
}

.screen-slide__title--h2 {
  text-align: left;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--screen-title-color);
}

.screen-slide__lead {
  margin: 0;
  max-width: 34em;
  text-align: center;
  color: var(--screen-lead-color);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.screen-slide__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.screen-slide__hint {
  margin: 0;
  max-width: 38em;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--screen-hint-color);
  text-align: center;
}

.screen-slide__hint-touch {
  display: none;
}

@media (hover: none) {
  .screen-slide__hint-desktop {
    display: none;
  }

  .screen-slide__hint-touch {
    display: inline;
  }
}

.screen-slide__footer {
  margin: 1.5rem 0 0;
  color: var(--screen-footer-color);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.screen-slide__nav-back {
  margin: 1.25rem 0 0;
}

.screen-slide__nav-back a {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--screen-lead-color);
}

.screen-slide__nav-back a:hover {
  color: var(--accent);
}

.screen-bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.screen-bullets li {
  margin-bottom: 0.85rem;
}

.iphone-shell {
  --shell-pad: 11px;
  --iphone-screen-br: 28px;
  /* Sichtbare Display-Höhe leitet sich von Gerätebreite + 9:19,5 ab (siehe __screen--scrollable) */
  --shell-outer-w: min(320px, 86vw);
  width: var(--shell-outer-w);
  box-sizing: border-box;
  padding: var(--shell-pad);
  border-radius: 42px;
  /* Graphit / Titan (Pro): dunkles Metall, nur feine Kantenreflexe */
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(215deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 48%),
    linear-gradient(
      165deg,
      #3a3a40 0%,
      #1c1c20 18%,
      #2e2e34 38%,
      #121216 52%,
      #35353b 68%,
      #18181c 85%,
      #28282e 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -4px 12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 28px 60px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

.iphone-shell__bezel {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.75),
    inset 0 0 0 2px rgba(255, 255, 255, 0.09);
}

/* Start: Pro-Maße & Dynamic Island – nach Basis .iphone-shell, damit --shell-pad/--shell-outer-w greifen */
.iphone-shell.iphone-shell--start {
  --shell-pad: 8px;
  --shell-outer-w: min(326px, 74vw);
  position: relative;
  z-index: 1;
  width: var(--shell-outer-w);
  border-radius: 46px;
  filter:
    drop-shadow(0 36px 64px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.12));
}

.iphone-shell.iphone-shell--start .iphone-shell__bezel {
  border-radius: 38px;
}

.iphone-shell.iphone-shell--start .iphone-shell__dynamic {
  height: 28px;
}

.iphone-shell.iphone-shell--start .iphone-shell__dynamic::after {
  top: 11px;
  width: 32%;
  max-width: 108px;
  height: 7px;
  border-radius: 999px;
  background: #08080a;
}

.iphone-shell__dynamic {
  height: 27px;
  background: #000;
  position: relative;
}

.iphone-shell__dynamic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 38%;
  max-width: 120px;
  height: 9px;
  background: #0d0d0f;
  border-radius: 6px;
}

.iphone-shell__screen {
  position: relative;
  background: #000;
}

/*
 * Langer Screenshot: feste „Display“-Fläche wie am Gerät (9 : 19,5), begrenzt in der Höhe.
 * Nur .iphone-scroll-clip scrollt – der Rahmen wächst nicht mit der Bildhöhe.
 */
.iphone-shell__screen--scrollable {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--iphone-screen-br) var(--iphone-screen-br);
  isolation: isolate;
  height: min(
    calc((var(--shell-outer-w) - 2 * var(--shell-pad)) * 19.5 / 9),
    min(62dvh, 580px)
  );
}

.iphone-scroll-clip {
  position: absolute;
  inset: 0;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 0 0 var(--iphone-screen-br) var(--iphone-screen-br);
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 115, 20, 0.55) rgba(255, 255, 255, 0.06);
}

@supports not (overflow: clip) {
  .iphone-scroll-clip {
    overflow-x: hidden;
  }
}

.iphone-scroll-clip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.iphone-scroll-clip::-webkit-scrollbar {
  width: 7px;
}

.iphone-scroll-clip::-webkit-scrollbar-thumb {
  background: rgba(245, 115, 20, 0.45);
  border-radius: 4px;
}

.screen-with-hotspots {
  position: relative;
  margin: 0;
  line-height: 0;
}

.screen-with-hotspots__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
  /* Rundung nur am sichtbaren Ausschnitt: .iphone-scroll-clip + __screen--scrollable (clip-path auf dem langen PNG stört Scrollen/Masking) */
  border-radius: 0;
}

.screen-with-hotspots__layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hotspot {
  position: absolute;
  top: var(--t);
  left: var(--l);
  width: var(--w);
  height: var(--h);
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(245, 115, 20, 0.75), 0 0 20px rgba(89, 209, 250, 0.15);
  background: rgba(89, 209, 250, 0.07);
}

.hotspot.is-active {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 24px var(--accent-glow);
  background: rgba(245, 115, 20, 0.1);
}

/* Zurück / Schließen im Screenshot-Bereich (Web-Navigation, unsichtbarer Hit) */
.iphone-chrome-hit {
  position: absolute;
  z-index: 5;
  box-sizing: border-box;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.iphone-chrome-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(245, 115, 20, 0.35);
}

.iphone-chrome-hit--pill {
  border-radius: 14px;
}

.site-nav--meta ul {
  gap: 6px 14px;
}

.tip-portal {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.tip-card {
  position: absolute;
  width: min(252px, calc(100vw - 40px));
  padding: 10px 12px;
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 28px rgba(0, 0, 0, 0.14),
    0 18px 48px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  line-height: 1.32;
  color: #1c1c1e;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease, box-shadow 0.22s ease;
}

.tip-card.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.5) inset,
    0 10px 32px rgba(0, 0, 0, 0.15),
    0 22px 56px rgba(0, 0, 0, 0.2);
}

.tip-card strong {
  display: block;
  color: #000000;
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.tip-card p {
  margin: 0;
  color: #2c2c2e;
}

.tip-card p + p {
  margin-top: 0.5em;
}

.tip-card__web {
  margin-top: 0.55em;
  padding-top: 0.5em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.72rem;
  line-height: 1.35;
  color: #3a3a3c;
}

.tip-card p strong {
  display: inline;
  font-size: inherit;
  margin-bottom: 0;
}

.tip-card a {
  color: #b84a0a;
  font-weight: 600;
}

.tip-card a:hover {
  color: #8f3a08;
}

.screen-dots {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.screen-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.screen-dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.screen-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: scale(1.15);
}

.site-footer--rail {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 24px) clamp(40px, 7vw, 72px);
}

/* Einheitlicher Seitenrhythmus: Abstand unter Kopf, über Fuß */
body.page-dashboard .screen-rail {
  padding-top: clamp(20px, 4.5vw, 48px);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  body.page-dashboard .screen-rail {
    padding-top: clamp(12px, 3.6vw, 36px);
  }
}

body.page-meta main {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(48px, 9vw, 100px);
  box-sizing: border-box;
}

body.page-start--journey .site-footer.site-footer--rail {
  border-top: 1px solid var(--start-header-border);
  color: var(--start-kicker);
  background: transparent;
}

body.page-start--journey .site-footer.site-footer--rail a {
  color: var(--start-footer-link);
}

body.page-start--journey .site-footer.site-footer--rail a:hover {
  color: var(--accent);
}

body.page-meta .site-footer.site-footer--rail {
  border-top-color: var(--card-border);
  color: var(--text-muted);
}

body.page-meta .site-footer.site-footer--rail a {
  color: var(--text-secondary);
}

body.page-meta .site-footer.site-footer--rail a:hover {
  color: var(--accent);
}

/* Kompakter iPhone-Rahmen auf der Startseite */
.iphone-shell--hero {
  width: min(260px, 100%);
  padding: 9px;
  border-radius: 36px;
}

.iphone-shell--hero .iphone-shell__bezel {
  border-radius: 28px;
}

.iphone-shell--hero .iphone-shell__dynamic {
  height: 22px;
}

.iphone-shell--hero .iphone-shell__dynamic::after {
  top: 8px;
  height: 7px;
}

.iphone-shell__shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 22px 22px;
  vertical-align: top;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 8px;
    gap: 10px;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }
}

/* Start-Landing: Kopfzeile + Navigation nur über Burger (alle Viewports) */
.site-header--start-landing {
  background: var(--start-header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--start-header-border);
}

.site-header__inner--start {
  position: relative;
  flex-wrap: nowrap;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand--start-plain span:not(.visually-hidden) {
  display: inline;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  color: var(--start-brand-text);
}

.brand--start-plain:hover span {
  color: var(--start-brand-text);
  opacity: 0.88;
}

.brand--start-plain img {
  width: 40px;
  height: 40px;
  border-radius: 22.37%;
  box-shadow: 0 0 24px rgba(245, 115, 20, 0.28);
}

body.page-start .nav-toggle--bars,
body.page-dashboard .nav-toggle--bars,
body.page-meta .nav-toggle--bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: inherit;
}

body.page-start .nav-toggle--bars:hover,
body.page-dashboard .nav-toggle--bars:hover,
body.page-meta .nav-toggle--bars:hover {
  background: var(--start-nav-hover);
}

body.page-start .nav-toggle--bars .nav-toggle__bar,
body.page-dashboard .nav-toggle--bars .nav-toggle__bar,
body.page-meta .nav-toggle--bars .nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--start-burger-bar);
}

body.page-dashboard .nav-toggle--bars .nav-toggle__bar {
  background: var(--text);
  opacity: 0.88;
}

html[data-theme="light"] body.page-dashboard .nav-toggle--bars .nav-toggle__bar {
  background: var(--text);
  opacity: 0.85;
}

body.page-start .site-nav--start-drawer:not(.is-open),
body.page-dashboard .site-nav--start-drawer:not(.is-open),
body.page-meta .site-nav--start-drawer:not(.is-open) {
  display: none !important;
}

body.page-start .site-nav--start-drawer.is-open,
body.page-dashboard .site-nav--start-drawer.is-open,
body.page-meta .site-nav--start-drawer.is-open {
  display: block !important;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 14px 16px;
  margin: 0;
  background: var(--start-nav-drawer-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--start-nav-drawer-border);
  border-radius: 14px;
  box-shadow: var(--start-drawer-shadow);
  z-index: 250;
}

body.page-start .site-nav--start-drawer ul,
body.page-dashboard .site-nav--start-drawer ul,
body.page-meta .site-nav--start-drawer ul {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 0;
}

body.page-start .site-nav--start-drawer a,
body.page-dashboard .site-nav--start-drawer a,
body.page-meta .site-nav--start-drawer a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--start-nav-link);
}

body.page-start .site-nav--start-drawer a:hover,
body.page-start .site-nav--start-drawer a.is-active,
body.page-dashboard .site-nav--start-drawer a:hover,
body.page-dashboard .site-nav--start-drawer a.is-active,
body.page-meta .site-nav--start-drawer a:hover,
body.page-meta .site-nav--start-drawer a.is-active {
  background: var(--start-nav-row-hover);
  color: var(--start-brand-text);
  text-decoration: none;
}

/* ——— Startseite: Startbildschirm – Rentra-Ring mittig mit Glow, Text ruhig darüber und darunter ——— */
@property --intro-p {
  syntax: "<angle>";
  inherits: true;
  initial-value: 336deg;
}

@property --glow-s {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --glow-p {
  syntax: "<angle>";
  inherits: false;
  initial-value: 400deg;
}

html.intro-offen,
html.intro-offen body {
  overflow: hidden;
}

html.intro-aus .rentra-intro {
  display: none;
}

.rentra-intro {
  --gr: min(46vmin, 40vh, 380px);
  --dicke: calc(var(--gr) * 0.075);
  --r: calc((var(--gr) - var(--dicke)) / 2);
  --kopf: 65px;
  position: fixed;
  inset: 0;
  z-index: 90; /* unter der Kopfzeile (100): Logo und Menü bleiben erreichbar */
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  padding: calc(var(--kopf) + 12px) 20px max(20px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(ellipse 60% 48% at 50% 54%, var(--start-glow-a) 0%, transparent 62%),
    radial-gradient(ellipse 52% 44% at 50% 54%, var(--start-glow-b, transparent) 0%, transparent 56%),
    var(--start-bg);
  color: var(--text);
  text-align: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.rentra-intro.is-weg {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rentra-intro__oben {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: clamp(22px, 4.5vh, 44px);
  max-width: 560px;
}

.rentra-intro__unten {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: clamp(22px, 4.5vh, 44px);
  max-width: 520px;
}

.rentra-intro__kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--start-kicker, var(--text-secondary));
}

.rentra-intro__linie {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
}

.rentra-intro__titel {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.rentra-intro__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

.rentra-intro__fragen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
}

.rentra-intro__fragen li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 14px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--accent);
}

.rentra-intro__knoepfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  margin-top: 2px;
}

.rentra-intro__los {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rentra-intro__los:hover,
.rentra-intro__los:focus-visible {
  background: var(--accent-dim);
  border-color: var(--accent);
  outline: none;
}

.rentra-intro__los span { color: var(--accent); }

.rentra-intro__mehr {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1px;
}

.rentra-intro__mehr:hover { color: var(--text); border-color: var(--text-secondary); }

.rentra-intro__hinweis {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Ring wie das App-Logo: oben offen, Eisblau/Mint über Creme und Bernstein zu Orange – mit weichem Glow. */
.rentra-intro__ring {
  position: relative;
  width: var(--gr);
  height: var(--gr);
  display: grid;
  place-items: center;
}

/* Glow als fertig weichgezeichnetes Bild (assets/intro-glow.webp, doppelt so groß wie der Ring,
   Rand vollständig durchsichtig). Kein CSS-Blur – Safari schneidet den sonst rechteckig ab. */
.rentra-intro__glow {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background: url("../assets/intro-glow.webp") center / 100% 100% no-repeat;
  -webkit-mask: conic-gradient(from 2deg, transparent 0deg, #000 var(--glow-s), #000 var(--glow-p), transparent calc(var(--glow-p) + 50deg));
  mask: conic-gradient(from 2deg, transparent 0deg, #000 var(--glow-s), #000 var(--glow-p), transparent calc(var(--glow-p) + 50deg));
}
html[data-theme="light"] .rentra-intro__glow { opacity: 0.75; }

.rentra-intro__bogen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 12deg,
      #d6eef4 0deg, #a6e7d4 55deg, #e8e5d6 140deg, #f3c47c 190deg,
      #f7a12b 228deg, #ff7d17 290deg, #ff5a0a 336deg, transparent 336deg);
  -webkit-mask:
    radial-gradient(farthest-side, transparent calc(100% - var(--dicke) - 0.5px), #000 calc(100% - var(--dicke))),
    conic-gradient(from 12deg, #000 var(--intro-p), transparent 0);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(farthest-side, transparent calc(100% - var(--dicke) - 0.5px), #000 calc(100% - var(--dicke))),
    conic-gradient(from 12deg, #000 var(--intro-p), transparent 0);
  mask-composite: intersect;
}

.rentra-intro__kappe,
.rentra-intro__punkt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dicke);
  height: var(--dicke);
  margin: calc(var(--dicke) / -2) 0 0 calc(var(--dicke) / -2);
  border-radius: 50%;
  transform: rotate(var(--w)) translateY(calc(var(--r) * -1));
}

.rentra-intro__kappe--start { --w: 12deg; background: #d6eef4; }
.rentra-intro__kappe--ende { --w: 348deg; background: #ff5a0a; box-shadow: 0 0 calc(var(--dicke) * 0.8) rgba(255, 90, 10, 0.55); }

.rentra-intro__punkt {
  --w: 270deg;
  width: calc(var(--dicke) * 0.55);
  height: calc(var(--dicke) * 0.55);
  margin: calc(var(--dicke) * -0.275) 0 0 calc(var(--dicke) * -0.275);
  background: #fff;
  box-shadow: 0 0 calc(var(--dicke) * 0.7) calc(var(--dicke) * 0.2) rgba(255, 255, 255, 0.8);
}

.rentra-intro__wort {
  position: relative;
  margin: 0;
  font-size: calc(var(--gr) * 0.13);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.rentra-intro__ring > span { pointer-events: none; }

.rentra-intro__mitte {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--gr) * 0.035);
}

.rentra-intro__news {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff453a;
  text-decoration: none;
  padding: 3px 0 2px;
  border-bottom: 1px solid rgba(255, 69, 58, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

html[data-theme="light"] .rentra-intro__news { color: #d70015; border-color: rgba(215, 0, 21, 0.3); }

.rentra-intro__news:hover,
.rentra-intro__news:focus-visible {
  border-color: currentColor;
  text-decoration: none;
  outline: none;
}

/* Ablauf: Ring zeichnet sich – Schriftzug – Text darüber – Text darunter */
@keyframes intro-zeichnen { from { --intro-p: 0deg; } to { --intro-p: 336deg; } }
@keyframes intro-glow { from { --glow-p: 0deg; --glow-s: 10deg; } to { --glow-p: 336deg; --glow-s: 10deg; } }
@keyframes intro-glow-rest { from { --glow-p: 336deg; --glow-s: 10deg; } to { --glow-p: 420deg; --glow-s: 0deg; } }
@keyframes intro-auf {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-da { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-linie { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-puls {
  0%, 100% { box-shadow: 0 0 calc(var(--dicke) * 0.7) calc(var(--dicke) * 0.2) rgba(255, 255, 255, 0.8); }
  50% { box-shadow: 0 0 calc(var(--dicke) * 1.2) calc(var(--dicke) * 0.35) rgba(255, 255, 255, 0.95); }
}

@media (prefers-reduced-motion: no-preference) {
  .rentra-intro__bogen { animation: intro-zeichnen 1.8s cubic-bezier(0.45, 0, 0.2, 1) 0.25s both; }
  .rentra-intro__glow { animation: intro-glow 1.8s cubic-bezier(0.45, 0, 0.2, 1) 0.25s both, intro-glow-rest 0.9s ease 2.05s forwards; }
  .rentra-intro__kappe--start { animation: intro-da 0.2s ease 0.25s both; }
  .rentra-intro__kappe--ende { animation: intro-da 0.25s ease 1.95s both; }
  .rentra-intro__punkt { animation: intro-da 0.5s ease 2s both, intro-puls 2.8s ease-in-out 2.6s infinite; }
  .rentra-intro [data-schritt] {
    animation: intro-auf 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(1.1s + var(--schritt) * 0.32s);
  }
  .rentra-intro__linie { animation: intro-linie 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.5s both; }
}

@media (max-width: 600px) {
  .rentra-intro { --gr: min(62vw, 34vh, 280px); --kopf: 58px; }
  .rentra-intro__titel { font-size: 1.3rem; }
}

/* ——— Hinweisleiste Datenschutz (keine Cookies) ——— */
.rentra-hinweis {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(720px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 12px 14px 12px 20px;
  transform: translateX(-50%);
  background: var(--start-header-bg, var(--card));
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.6);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rentra-hinweis.is-weg { opacity: 0; transform: translate(-50%, 12px); }
.rentra-hinweis p { margin: 0; flex: 1 1 auto; }
.rentra-hinweis strong { color: var(--text); font-weight: 500; }
.rentra-hinweis a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--card-border); }
.rentra-hinweis a:hover { border-color: var(--text-secondary); }

.rentra-hinweis button {
  flex: 0 0 auto;
  font: inherit;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
}

.rentra-hinweis button:hover,
.rentra-hinweis button:focus-visible { background: var(--accent-dim); border-color: var(--accent); outline: none; }

@media (max-width: 560px) {
  .rentra-hinweis { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
}

/* ——— App-Store-Hinweis in der Kopfzeile ——— */
.app-laden {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.05;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.app-laden:hover,
.app-laden:focus-visible {
  border-color: var(--accent-soft);
  background: var(--accent-dim);
  text-decoration: none;
  outline: none;
}

.app-laden img {
  width: 22px;
  height: 22px;
  border-radius: 22.37%;
}

.app-laden__text {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-laden__text small {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.app-laden + .theme-toggle { margin-left: 14px; }

@media (max-width: 560px) {
  .app-laden { padding: 4px; }
  .app-laden__text { display: none; }
  .app-laden img { width: 26px; height: 26px; }
}

/* Markenzusatz unter „Rentra“ – zur Unterscheidung von gleichnamigen Angeboten */
.brand .brand__zusatz,
.brand--start-plain span.brand__zusatz {
  display: block;
  white-space: nowrap;
  line-height: 1.1;
  font-size: 0.625rem !important;
  font-weight: 500 !important;
  margin-top: 2px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}



/* Handy quer: wird nicht unterstützt – Hinweis zum Drehen (nur Telefone; iPad und Rechner bleiben unberührt) */
.dreh-hinweis { display: none; }
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  html, body { overflow: hidden; }
  .dreh-hinweis {
    display: flex; position: fixed; inset: 0; z-index: 10000;
    flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    padding: 24px; text-align: center;
    background: var(--start-bg, #000); color: var(--text);
  }
  .dreh-hinweis__telefon {
    width: 34px; height: 60px; border: 2px solid currentColor; border-radius: 9px; opacity: .85;
    animation: dreh-hinweis 2.4s ease-in-out infinite;
  }
  .dreh-hinweis p { margin: 0; font-size: 1rem; font-weight: 500; }
  .dreh-hinweis small { color: var(--text-secondary); font-size: .8125rem; }
}
@keyframes dreh-hinweis { 0%, 30% { transform: rotate(-90deg); } 60%, 100% { transform: rotate(0deg); } }

/* Handy: der weiche Schein hinter der Übersicht ragte seitlich über den Rand (Seite ließ sich quer verschieben) */
.start-journey { overflow-x: hidden; }
@supports (overflow: clip) { .start-journey { overflow-x: clip; } }





/* ═══════════════════════════════════════════════════════════════
   HANDY (bis 600 px) – eigene, ruhige Aufteilung.
   Rechner und iPad bleiben davon unberührt.
   ═══════════════════════════════════════════════════════════════ */
.nur-handy { display: none; }
.handy-galerie, .app-abzeichen { display: none; }

@media (max-width: 600px) {
  .nur-gross { display: none; }
  .nur-handy { display: inline; }

  /* Kopfzeile: aufgeräumt – App-Store-Hinweis sitzt groß im Inhalt statt als Symbol oben */
  .site-header .app-laden { display: none; }

  /* Intro */
  .rentra-intro__hinweis { display: none; }
  .rentra-intro__knoepfe { gap: 14px; }

  /* App-Store-Abzeichen */
  .app-abzeichen {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 auto; padding: 9px 20px 9px 10px;
    border-radius: 16px; text-decoration: none;
    background: #000; color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  .app-abzeichen img { width: 34px; height: 34px; border-radius: 22.37%; }
  .app-abzeichen span { display: flex; flex-direction: column; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; text-align: left; }
  .app-abzeichen small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.75; }
  .app-abzeichen--intro { margin-top: 18px; }
  .app-abzeichen--fuss { display: flex; width: max-content; margin: 8px auto 28px; }
  .handy-galerie .app-abzeichen { display: flex; width: max-content; margin-top: 30px; }

  /* Startseite: Rundgang-Übersicht weicht der Galerie */
  .start-journey { display: none !important; }

  .handy-galerie {
    display: block;
    --hg-h: min(58svh, 560px);
    --hg-w: calc(var(--hg-h) * 9 / 19.5);
    padding: 34px 0 40px;
    text-align: center;
  }
  @supports not (height: 1svh) { .handy-galerie { --hg-h: min(58vh, 560px); } }

  .hg-kicker {
    margin: 0 0 12px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--start-kicker, var(--text-secondary));
  }
  .hg-linie { display: block; width: 26px; height: 1px; margin: 0 auto 16px; background: var(--accent); }
  .hg-titel { margin: 0 0 10px; font-size: 1.6rem; font-weight: 400; letter-spacing: -0.02em; color: var(--text); }
  .hg-lead { margin: 0 auto 26px; max-width: 21rem; padding: 0 20px; font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }

  .hg-spur {
    display: flex; gap: 22px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 6px calc(50% - var(--hg-w) / 2 - 8px) 10px;
    scrollbar-width: none;
  }
  .hg-spur::-webkit-scrollbar { display: none; }
  .hg-spur:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

  .hg-karte {
    flex: 0 0 auto; width: calc(var(--hg-w) + 16px); margin: 0;
    scroll-snap-align: center; scroll-snap-stop: always;
  }
  /* Ganzes iPhone im Originalverhältnis: Display 9 : 19,5, schmaler Rand, Dynamic Island */
  .hg-telefon {
    position: relative; box-sizing: border-box;
    width: calc(var(--hg-w) + 16px); height: calc(var(--hg-h) + 16px);
    padding: 8px; border-radius: calc(var(--hg-w) * 0.16);
    background: linear-gradient(155deg, #4a4a52 0%, #1c1c20 30%, #2e2e34 60%, #141418 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 22px 44px rgba(0, 0, 0, 0.5);
  }
  .hg-telefon img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    border-radius: calc(var(--hg-w) * 0.13); background: #000;
  }
  .hg-insel {
    position: absolute; z-index: 1; top: calc(8px + var(--hg-w) * 0.035); left: 50%;
    width: 30%; height: calc(var(--hg-w) * 0.085); transform: translateX(-50%);
    border-radius: 999px; background: #000;
  }
  .hg-karte figcaption {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 18px 2px 0; text-align: center;
  }
  .hg-nr { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; color: var(--accent); }
  .hg-karte strong { font-size: 1.125rem; font-weight: 600; color: var(--text); }
  .hg-text { font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); }
  .hg-mehr { margin-top: 4px; font-size: 0.8125rem; font-weight: 500; color: var(--accent); text-decoration: none; }
  .hg-mehr span { margin-left: 2px; }

  .hg-punkte { display: flex; justify-content: center; gap: 8px; margin: 18px 0 6px; }
  .hg-punkt {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px;
    background: var(--text-secondary); opacity: 0.35; cursor: pointer;
    transition: width 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  }
  .hg-punkt.is-aktiv { width: 20px; opacity: 1; background: var(--accent); }

  .hg-hinweis {
    display: flex; gap: 14px; align-items: flex-start; text-align: left;
    margin: 26px 20px 0; padding: 16px 18px;
    border-radius: 18px; background: var(--card); border: 1px solid var(--card-border);
  }
  .hg-hinweis__icon { flex: 0 0 26px; color: var(--accent); }
  .hg-hinweis__icon svg { display: block; width: 26px; height: 26px; }
  .hg-hinweis p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); }
  .hg-hinweis strong { color: var(--text); font-weight: 600; }

  .hg-aktionen { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0 20px; }
  .hg-handbuch {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 20px; border-radius: 999px; text-decoration: none;
    font-size: 0.9375rem; font-weight: 500; color: var(--text);
    border: 1px solid rgba(245, 115, 20, 0.6);
  }
  .hg-handbuch span { color: var(--accent); }
  .hg-handbuch--leise { border-color: var(--card-border); }

  /* Rundgang-Seiten am Handy: ganzes Telefon im Originalverhältnis, als ruhiges Bild ohne Antipp-Bereiche */
  body.page-dashboard .iphone-shell:not(.iphone-shell--start) {
    --shell-avail-h: min(60svh, 600px);
    --shell-outer-w: calc((var(--shell-avail-h) - 27px - 2 * var(--shell-pad)) * 9 / 19.5 + 2 * var(--shell-pad));
  }
  body.page-dashboard .iphone-shell__screen--scrollable {
    height: calc((var(--shell-outer-w) - 2 * var(--shell-pad)) * 19.5 / 9);
  }
  body.page-dashboard .iphone-scroll-clip { overflow: hidden; }
  body.page-dashboard .screen-with-hotspots__layer,
  body.page-dashboard .tip-portal,
  body.page-dashboard .iphone-chrome-hit { display: none; }
  body.page-dashboard .screen-slide__hint { display: none; }
  body.page-dashboard .sim-wide-grid__copy::after {
    content: "Den interaktiven Rundgang mit allen Erklärungen zeigen wir am Computer und iPad.";
    display: block; margin: 14px auto 0; max-width: 20rem; padding: 12px 14px;
    border-radius: 14px; background: var(--card); border: 1px solid var(--card-border);
    font-size: 0.8125rem; line-height: 1.45; color: var(--text-secondary);
  }

  /* Textseiten: ruhige, helle Überschriften wie in der App statt grauer Fettschrift */
  main h1, .prose h1, .page-meta h1 {
    font-size: 1.75rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em;
    color: var(--text); -webkit-hyphens: manual; hyphens: manual; text-wrap: balance;
  }
}
