/* Studio Webseite v1. Grundlage: DESIGN.md der App (Newsreader + Geist, Papierweiß, Kacheln). */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --tile: #f6f5f2;
  --tile-2: #eceae5;
  --ink: #141413;
  --ink-2: #4e4c47;
  --ink-3: #8a8780;
  --rule: #e8e6e1;
  --shadow: 20 20 19;

  --d-paper: #121211;
  --d-tile: #1c1b1a;
  --d-ink: #f1efea;
  --d-ink-2: #b4b1aa;
  --d-ink-3: #7f7c76;
  --d-rule: #2a2927;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.32, 0.72, 0, 1);

  --pad: clamp(20px, 3.4vw, 56px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--pad); }
.cap { font: 500 10.5px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Buttons (wie in der App: Pille) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 999px; border: 0;
  font: 500 14px/1 var(--sans); letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer;
  user-select: none; -webkit-user-select: none;
  transition: transform 140ms var(--ease), background-color 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; }
.btn-primary { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: #2c2b29; } }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Navigation (schwebend, Glas nur hier) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.nav.scrolled {
  background: rgb(255 255 255 / 0.74);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 rgb(var(--shadow) / 0.07);
}
@media (prefers-reduced-transparency: reduce) { .nav.scrolled { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Kopfzeile: Logo und Slogan links, Menü zum Aufklappen und Anmelden rechts */
.nav-in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-in::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--ink); transition: opacity 300ms var(--ease); }
.nav.scrolled .nav-in::after { opacity: 0; }
.brand { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 20px); min-width: 0; }
.brand-mark { width: auto; height: 34px; flex: none; }
/* Slogan mittig auf der Achse von Schriftzug und Laptop (am Handy neben dem Logo) */
.brand-line {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font: 300 clamp(21px, 1.75vw, 30px)/1 var(--serif); letter-spacing: -0.018em; white-space: nowrap; padding-top: 2px;
}
.brand-line em { font-style: italic; }
.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 16px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 14px/1 var(--sans); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgb(var(--shadow) / 0.16);
  transition: background-color 200ms var(--ease), transform 140ms var(--ease);
  user-select: none; -webkit-user-select: none;
}
.menu-btn:active { transform: scale(0.97); }
.menu-btn svg { width: 14px; height: 14px; fill: currentColor; transition: transform 300ms var(--spring); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-btn[aria-expanded="true"] { background: rgb(255 255 255 / 0.9); }
@media (hover: hover) and (pointer: fine) { .menu-btn:hover { background: rgb(255 255 255 / 0.7); } }

/* Menü: schmal und leicht durchscheinend, damit es wenig vom Schriftzug verdeckt */
.menu {
  position: absolute; top: calc(100% + 8px); right: var(--pad);
  width: 232px;
  padding: 6px; border-radius: 16px;
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 0 0 1px rgb(var(--shadow) / 0.07), inset 0 1px 0 rgb(255 255 255 / 0.8), 0 18px 44px -18px rgb(var(--shadow) / 0.28);
  transform-origin: top right; opacity: 0; transform: translateY(-4px) scale(0.98);
  transition: opacity 180ms var(--ease), transform 240ms var(--out);
}
@media (prefers-reduced-transparency: reduce) { .menu { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.menu.open { opacity: 1; transform: none; }
.menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px 8px 12px; border-radius: 10px;
  font: 300 18px/1.2 var(--serif); letter-spacing: -0.01em;
  transition: background-color 160ms var(--ease);
}
.menu a svg { width: 13px; height: 13px; fill: var(--ink-3); transition: transform 200ms var(--out), fill 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .menu a:hover { background: rgb(var(--shadow) / 0.05); } .menu a:hover svg { transform: translateX(2px); fill: var(--ink); } }
.menu a:active { background: rgb(var(--shadow) / 0.07); }
.menu .menu-login { display: none; }
.btn-nav { flex: none; }

/* ---------- Geräte ---------- */
/* Handy: Bild behält sein Seitenverhältnis, der Rahmen ist eine dünne Kante im Verhältnis zur Handybreite */
.phone { position: relative; container-type: inline-size; border-radius: 13.5% / 6.2%; }
.phone img {
  width: 100%; height: auto; aspect-ratio: 900 / 1948;
  border-radius: 13.5% / 6.2%;
  background: var(--tile);
  box-shadow:
    0 0 0 2.2cqi #1c1c1b,
    0 0 0 calc(2.2cqi + 1px) rgb(var(--shadow) / 0.35),
    0 30px 60px -24px rgb(var(--shadow) / 0.30),
    0 70px 120px -50px rgb(var(--shadow) / 0.28);
}
.phone img + img { position: absolute; inset: 0; }

.screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--tile);
  box-shadow: 0 0 0 1px rgb(var(--shadow) / 0.07), 0 2px 4px rgb(var(--shadow) / 0.04), 0 40px 90px -40px rgb(var(--shadow) / 0.30);
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen img + img { position: absolute; inset: 0; }

/* ---------- Titelblatt ---------- */
.cover { position: relative; min-height: max(100dvh, 640px); padding-top: var(--nav-h); display: flex; flex-direction: column; }
.topline {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0 10px; border-bottom: 1px solid var(--ink);
  font: 500 10.5px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.masthead-box { display: flex; justify-content: center; }
.masthead, .foot-mark {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 72;
  letter-spacing: -0.055em; line-height: 0.8; white-space: nowrap; font-size: 22vw;
}
.masthead { margin-top: 0.21em; padding-right: 0.04em; }
.masthead .ch, .foot-mark .ch { display: inline-block; }

.tagline { text-align: center; padding: 10px 0 12px; border-bottom: 1px solid var(--ink); font: 300 clamp(20px, 1.6vw, 28px)/1.2 var(--serif); letter-spacing: -0.012em; }
.tagline em { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cover-grid { flex: 1; display: grid; grid-template-columns: 1fr var(--phone-w, 260px) 1fr; gap: clamp(24px, 3vw, 56px); align-items: end; padding-bottom: 28px; }
.cover-grid .cover-phone { grid-column: 2; width: var(--phone-w, 260px); }
.cover-text { padding-bottom: 8px; max-width: 520px; }
.cover-h { font: 300 clamp(34px, 3.1vw, 54px)/1.04 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.cover-h em { font-style: italic; }
.cover-phone { align-self: start; margin-top: calc(var(--mh, 300px) * -0.44); position: relative; z-index: 2; }
.cover-lines { justify-self: end; text-align: right; padding-bottom: 8px; max-width: clamp(280px, 22vw, 380px); }
.cover-lines li + li { margin-top: 22px; }
.cover-lines .cap { display: block; color: var(--ink-3); margin-bottom: 6px; }
.cover-lines .cl { font: 300 clamp(20px, 1.45vw, 26px)/1.22 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }

/* ---------- Warum ---------- */
.manifest { padding-block: clamp(72px, 9vw, 150px) clamp(40px, 5vw, 90px); }
.mf { font: 300 clamp(30px, 3.9vw, 64px)/1.12 var(--serif); letter-spacing: -0.022em; max-width: 19em; margin-left: clamp(0px, 8.33%, 140px); text-wrap: pretty; }
.mf-dim { color: var(--ink-3); }

/* ---------- Heute, hell und dunkel ---------- */
.stage { position: relative; width: min(92%, calc((100dvh - 340px) * 1.6)); margin-inline: auto; }
.stage .lt, .stage .dk { transition: opacity 420ms var(--ease), filter 420ms var(--ease); }
.stage .dk { opacity: 0; filter: blur(6px); }
.stage[data-mode="dark"] .dk { opacity: 1; filter: none; }
.stage[data-mode="dark"] .lt { opacity: 0; filter: blur(6px); }
.stage-phone { position: absolute; right: -6%; bottom: -9%; width: 18.5%; z-index: 2; }
.showcase-foot { width: min(92%, calc((100dvh - 340px) * 1.6)); margin: 80px auto 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.showcase-foot p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.h-sm { font: 300 clamp(32px, 2.8vw, 44px)/1.05 var(--serif); letter-spacing: -0.02em; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tile); flex-shrink: 0; }
.seg button {
  position: relative; z-index: 1; height: 34px; min-width: 84px; padding: 0 16px;
  border: 0; background: none; border-radius: 999px; cursor: pointer;
  font: 500 13px/1 var(--sans); color: var(--ink-3);
  transition: color 220ms var(--ease), transform 140ms var(--ease);
  user-select: none; -webkit-user-select: none;
}
.seg button:active { transform: scale(0.96); }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg-ind { position: absolute; top: 4px; left: 4px; height: 34px; width: 84px; border-radius: 999px; background: var(--paper); box-shadow: 0 1px 2px rgb(var(--shadow) / 0.08), 0 2px 8px rgb(var(--shadow) / 0.06); transition: transform 380ms var(--spring), width 380ms var(--spring); }

/* ---------- Kapitel ---------- */
.kapitel { padding-block: clamp(72px, 8vw, 140px) 0; }
.kap-title {
  font: italic 300 clamp(76px, 11.2vw, 196px)/0.98 var(--serif); font-variation-settings: "opsz" 72;
  letter-spacing: -0.045em; padding-bottom: 0.06em; margin-left: -0.04em;
}
.kap-title-sm { font-size: clamp(60px, 7.4vw, 128px); }

/* Dein Tag */
.kap-tag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 2.5vw, 40px); align-items: start; }
.kt-text { grid-column: 1 / 7; }
.area-list { margin-top: clamp(28px, 3.5vw, 52px); }
.area-list li { padding: 22px 0 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(150px, 0.9fr) 1.6fr; gap: 24px; }
.area-list b { font: 300 26px/1.15 var(--serif); letter-spacing: -0.015em; }
.area-list span { color: var(--ink-2); font-size: 15px; line-height: 1.5; padding-top: 4px; }
.kt-phones { grid-column: 7 / 13; display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 1.6vw, 28px); padding-top: clamp(24px, 4vw, 64px); }
.kt-phones .phone { width: min(31%, calc((100dvh - var(--nav-h) - 260px) * 0.462)); }
.kt-p1 { margin-top: 72px; }
.kt-p2 { margin-top: 144px; }

/* Content und Geschäft: Liste links, Bild rechts, beides auf einem Bildschirm */
.browse { margin-top: clamp(28px, 3.5vw, 52px); display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.b-list { display: flex; flex-direction: column; }
.b-item {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 12px 0 12px 22px; color: var(--ink-3);
  transition: color 240ms var(--ease);
}
.b-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.b-item .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--ink); transform: scaleY(0); transform-origin: top; }
.b-item.on .bar { transform: scaleY(1); }
.b-item.on { color: var(--ink); }
.b-item b { display: block; font: 300 25px/1.15 var(--serif); letter-spacing: -0.015em; }
.b-item.sub { padding-left: 44px; }
.b-item.sub b { font-size: 20px; }
.b-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--spring); }
.b-more > span { overflow: hidden; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.b-more > span > i { display: block; font-style: normal; padding-top: 8px; }
.b-item.on .b-more { grid-template-rows: 1fr; }
@media (hover: hover) and (pointer: fine) { .b-item:not(.on):hover { color: var(--ink-2); } }
.b-view { width: 100%; max-width: calc((100dvh - var(--nav-h) - 72px) * 1.6); justify-self: end; }
.b-view img { opacity: 0; filter: blur(8px); transform: scale(1.012); transition: opacity 520ms var(--ease), filter 520ms var(--ease), transform 900ms var(--out); }
.b-view img.on { opacity: 1; filter: none; transform: none; }

/* Geschäft: die eine dunkle Kachel */
.kap-geschaeft-wrap { padding-top: clamp(72px, 8vw, 140px); }
.kap-geschaeft { border-radius: 28px; background: var(--d-paper); color: var(--d-ink); padding: clamp(40px, 5vw, 80px); }
.browse-dark .b-item { color: var(--d-ink-3); }
.browse-dark .b-item::before { background: var(--d-rule); }
.browse-dark .b-item .bar { background: var(--d-ink); }
.browse-dark .b-item.on { color: var(--d-ink); }
.browse-dark .b-more > span { color: var(--d-ink-2); }
@media (hover: hover) and (pointer: fine) { .browse-dark .b-item:not(.on):hover { color: var(--d-ink-2); } }
.browse-dark .b-view { background: var(--d-tile); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07), 0 50px 120px -30px rgb(0 0 0 / 0.6); }
.kg-note { margin-top: 44px; font-size: 14.5px; color: var(--d-ink-3); }

/* Verbindungen: eine Kachel wie in der App, darin eine Karte je Dienst mit Logo */
.vb-tile { background: var(--tile); border-radius: 28px; padding: clamp(32px, 4.5vw, 72px); }
.vb-lead { margin-top: clamp(14px, 1.4vw, 22px); max-width: 30em; font: 300 clamp(20px, 1.6vw, 26px)/1.38 var(--serif); letter-spacing: -0.01em; color: var(--ink-2); text-wrap: pretty; }
.vb-grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vb-card {
  display: flex; flex-direction: column; min-height: 300px; padding: 24px 26px 26px;
  border-radius: 18px; background: var(--paper);
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.04);
  transition: transform 260ms var(--out), box-shadow 260ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .vb-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgb(var(--shadow) / 0.04), 0 18px 40px -22px rgb(var(--shadow) / 0.28); } }
.vb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vb-top .cap { color: var(--ink-3); padding-top: 4px; }
.vb-logo { flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--tile); display: grid; place-items: center; }
.vb-logo svg { width: 26px; height: 26px; fill: var(--ink); }
.vb-card h3 { margin-top: 30px; font: 300 clamp(24px, 1.9vw, 30px)/1.1 var(--serif); letter-spacing: -0.015em; }
.vb-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.vb-card ul { margin-top: auto; padding-top: 22px; }
.vb-card li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink); }
.vb-soon { font: 500 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); padding: 6px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(var(--shadow) / 0.16); }
.vb-more-card { background: transparent; box-shadow: inset 0 0 0 1px rgb(var(--shadow) / 0.12); }
.vb-more-card .vb-logo { background: var(--paper); }
.vb-plus { position: relative; width: 18px; height: 18px; }
.vb-plus::before, .vb-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.vb-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .vb-more-card:hover { transform: none; box-shadow: inset 0 0 0 1px rgb(var(--shadow) / 0.12); } }

/* Preise: zwei kompakte Flächen, Bereiche als Marken wie in der App */
.tarif { margin-top: clamp(28px, 3.5vw, 52px); display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 14px; max-width: 1180px; }
.tarif-col { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.tarif-col.hl { background: var(--tile); box-shadow: none; }
.tarif-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tarif-col h3 { font: italic 300 clamp(40px, 3.6vw, 56px)/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -0.035em; padding-bottom: 0.06em; }
.tarif-price { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.tarif-price b { font: 300 40px/1 var(--serif); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tarif-price .tbd { font: italic 300 22px/1.2 var(--serif); color: var(--ink-3); }
.tarif-satz { margin-top: 10px; font: 300 clamp(19px, 1.45vw, 22px)/1.35 var(--serif); letter-spacing: -0.01em; color: var(--ink-2); }
.tarif-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 7px; }
.tarif-chips span { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: var(--tile); font-size: 13.5px; color: var(--ink); }
.tarif-col.hl .tarif-chips span { background: var(--paper); }
.tarif-col .tarif-chips span.all { background: var(--ink); color: var(--paper); }
.tarif-col .btn { margin-top: auto; align-self: flex-start; }
.tarif-col .tarif-chips { margin-bottom: 30px; }

/* Über uns */
.uns { padding-block: clamp(72px, 8vw, 140px) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 2.5vw, 40px); }
.uns .kap-title { grid-column: 1 / 6; }
.letter { grid-column: 6 / 12; padding-top: clamp(8px, 1.6vw, 28px); }
.letter p { font: 300 clamp(22px, 1.85vw, 30px)/1.38 var(--serif); letter-spacing: -0.012em; text-wrap: pretty; }
.letter p + p { margin-top: 0.9em; }
.letter .sig { margin-top: 1.6em; font-style: italic; font-size: clamp(28px, 2.4vw, 38px); letter-spacing: -0.02em; }

/* Fuß mit großem Schriftzug */
.foot { margin-top: clamp(100px, 11vw, 180px); overflow: hidden; }
.foot-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: clamp(24px, 3vw, 40px); }
.foot-row::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--ink); }
.foot-meta { font-size: 13px; color: var(--ink-3); }
.foot-mark-box { display: flex; justify-content: center; }
.foot-mark { margin-top: 0.2em; margin-bottom: -0.17em; padding-right: 0.04em; }

/* ---------- Bewegung ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); }
html.js [data-reveal].in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 800ms var(--out), transform 1100ms var(--out), filter 800ms var(--out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.js .area-list li, html.js .vb-card, html.js .tarif-col, html.js .b-item { opacity: 0; transform: translateY(18px); }
html.js .in-list > * {
  opacity: 1 !important; transform: none !important;
  transition: opacity 700ms var(--out), transform 900ms var(--out), color 240ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js .b-view { opacity: 0; transform: translateY(28px); filter: blur(6px); }
html.js .b-view.in { opacity: 1; transform: none; filter: none; transition: opacity 800ms var(--out), transform 1100ms var(--out), filter 800ms var(--out); transition-delay: 120ms; }

/* Titelblatt-Auftritt: Buchstaben einzeln, dann das Handy */
html.js .masthead .ch, html.js [data-intro], html.js [data-intro-phone] { opacity: 0; }
html.ready .masthead .ch { animation: chIn 1000ms var(--out) both; animation-delay: calc(var(--c) * 55ms); will-change: transform, opacity; }
html.ready [data-intro] { animation: up 800ms var(--out) both; animation-delay: calc(300ms + var(--d, 0) * 90ms); }
html.ready [data-intro-phone] { animation: phoneIn 1300ms var(--out) both; animation-delay: 260ms; }
/* Titelblatt ohne Unschärfe: läuft gleichzeitig mit dem Aufklappen und soll nicht ruckeln */
@keyframes chIn { from { opacity: 0; transform: translateY(0.16em); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(90px) scale(0.97); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

/* Scroll-gebunden, wo der Browser es kann */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stage-screen.in { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .kt-p1.in { animation: drift1 linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .kt-p2.in { animation: drift2 linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes settle { from { transform: scale(0.93); } to { transform: none; } }
@keyframes drift1 { from { transform: translateY(30px); } to { transform: translateY(-30px); } }
@keyframes drift2 { from { transform: translateY(70px); } to { transform: translateY(-70px); } }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js .area-list li, html.js .vb-card, html.js .tarif-col, html.js .b-item, html.js .b-view { transform: none !important; filter: none !important; }
  html.ready .masthead .ch, html.ready [data-intro], html.ready [data-intro-phone] { animation: fade 400ms var(--ease) both; animation-delay: 0ms; }
  .b-view img { transform: none !important; filter: none !important; }
  .b-more { transition: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Laptop im Titelblatt: Rahmen und Unterteil wachsen mit der Breite ---------- */
.laptop { position: relative; container-type: inline-size; }
.laptop .lid {
  background: #1c1c1b; padding: 1.5cqi 1.5cqi 2.1cqi; border-radius: 2.4cqi 2.4cqi 0.5cqi 0.5cqi;
  box-shadow: 0 0 0 1px rgb(var(--shadow) / 0.35), inset 0 0 0 1px rgb(255 255 255 / 0.06),
    0 40px 80px -36px rgb(var(--shadow) / 0.34), 0 90px 140px -70px rgb(var(--shadow) / 0.30);
}
.laptop { perspective: 2400px; }
.laptop .lid { transform-origin: 50% 100%; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.laptop .scr { position: relative; aspect-ratio: 16 / 10; border-radius: 0.5cqi; overflow: hidden; background: #0e0e0d; }
.laptop .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 520ms var(--ease); }
.laptop .scr img.on { opacity: 1; }
/* Schwarzer Bildschirm, solange der Laptop aufklappt */
.laptop .scr::after { content: ""; position: absolute; inset: 0; z-index: 2; background: #0e0e0d; opacity: 0; pointer-events: none; }

/* Unter dem Laptop: ein Wort, darunter der kleine Balken bis zum nächsten Bereich */
.lap-cap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.lap-cap .cap { color: var(--ink-2); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.lap-cap .cap.swap { opacity: 0; transform: translateY(-3px); }
.lap-bar { display: block; width: 44px; height: 1px; background: rgb(var(--shadow) / 0.14); overflow: hidden; }
.lap-bar > i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* Titelblatt: ruhiger Grund mit drei Lichtflächen wie im Glas-Modus der App */
.cover { isolation: isolate; }
.aura {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: -1; overflow: hidden; pointer-events: none; background: #e9e8e4;
  -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent);
}
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); }
.aura i:nth-child(1) { width: 62vw; height: 62vw; left: -14vw; top: -22vw; background: #fbfaf8; opacity: 0.95; }
.aura i:nth-child(2) { width: 54vw; height: 54vw; right: -16vw; top: 6vh; background: #d5dde6; opacity: 0.9; }
.aura i:nth-child(3) { width: 58vw; height: 50vw; left: 22vw; bottom: -26vw; background: #efe2d2; opacity: 0.85; }
.nav:not(.scrolled) { background: transparent; }

/* Auftritt: Laptop klappt auf, dann geht der Bildschirm an */
/* Nur Transform und Deckkraft, keine Unschärfe: so läuft es auch auf schwächeren Geräten flüssig */
html.js .laptop .lid { transform: rotateX(-86deg); }
html.js .laptop .scr::after { opacity: 1; }
html.ready .laptop[data-intro-phone] { animation: fade 450ms var(--ease) 80ms both; }
html.ready .laptop .lid { animation: lidOpen 1100ms cubic-bezier(0.22, 1, 0.36, 1) 150ms both; }
html.ready .laptop .scr::after { animation: screenOn 550ms var(--ease) 1200ms both; }
html.js .lap-cap { opacity: 0; }
html.ready .lap-cap { animation: fade 500ms var(--ease) 1350ms both; }
@keyframes lidOpen { from { transform: rotateX(-86deg); } to { transform: rotateX(0deg); } }
@keyframes screenOn { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html.js .laptop .lid { transform: none; }
  html.ready .laptop .lid { animation: none; }
  html.ready .laptop .scr::after { animation: screenOn 300ms var(--ease) both; }
}
.laptop .base {
  position: relative; height: 2.2cqi; margin: 0 -7.5%;
  background: #d6d4cf; border-radius: 0 0 2.6cqi 2.6cqi / 0 0 1.6cqi 1.6cqi;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -1px 0 rgb(0 0 0 / 0.14), 0 14px 22px -14px rgb(var(--shadow) / 0.45);
}
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 0.8cqi; transform: translateX(-50%); background: #c3c1bc; border-radius: 0 0 1cqi 1cqi; }
.cover-grid .laptop.cover-phone { margin-top: calc(var(--mh, 300px) * -0.3); }
@media (max-width: 1000px) { .cover-grid .laptop.cover-phone { margin-top: calc(var(--mh, 100px) * -0.18); } }

/* ---------- Darstellung ---------- */
.look { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.look-group + .look-group { margin-top: 40px; }
.look-name { color: var(--ink-3); margin-left: 8px; }
.swatches { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.sw {
  width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
  transition: transform 140ms var(--ease), box-shadow 220ms var(--ease);
}
.sw:active { transform: scale(0.92); }
.sw[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12), 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink); }
.look .seg { margin-top: 16px; }
.look-text { margin-top: 40px; color: var(--ink-2); font-size: 15px; max-width: 34ch; text-wrap: pretty; }
.look-view { width: 100%; max-width: calc((100dvh - var(--nav-h) - 72px) * 1.6); justify-self: end; }
.look-view img { transition: opacity 420ms var(--ease), filter 420ms var(--ease); opacity: 0; filter: blur(6px); }
.look-view img.on { opacity: 1; filter: none; }

/* Titelblatt bis Tablet: Laptop über die Breite */
@media (max-width: 1000px) {
  .cover { padding-bottom: 56px; }
  .cover-grid { grid-template-columns: 1fr; justify-items: center; padding-bottom: 0; }
  .cover-grid .cover-phone { grid-column: 1; }
  .look { grid-template-columns: 1fr; }
  .look-view { grid-row: 1; justify-self: center; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .browse { grid-template-columns: 1fr; }
  .b-view { grid-row: 1; justify-self: center; }
  .vb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .brand { gap: 10px; }
  .brand-mark { height: 26px; }
  .brand-line { position: static; transform: none; font-size: 17px; }
  .btn-nav { display: none; }
  .menu .menu-login { display: flex; font-weight: 400; }
  .menu-btn { height: 36px; padding: 0 12px 0 14px; }

  .cover { min-height: 0; }
  .cover-grid { display: flex; flex-direction: column; padding-bottom: 0; gap: 0; }
  .cover-phone { width: var(--phone-w, 260px); align-self: center; margin-top: calc(var(--mh, 100px) * -0.3); order: 1; }

  .manifest { padding-block: 72px 48px; }
  .mf { margin-left: 0; font-size: clamp(28px, 7.6vw, 36px); line-height: 1.16; }

  .screen { border-radius: 8px; }

  .kap-title { font-size: clamp(52px, 16vw, 88px); }
  .kap-title-sm { font-size: clamp(46px, 13vw, 64px); }
  .kap-tag { display: block; }
  .area-list li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 20px; }
  .area-list span { padding-top: 0; }
  .kt-phones { margin-top: 56px; padding-top: 0; gap: 10px; }
  .kt-phones .phone { width: 31.5%; }
  .kt-p1 { margin-top: 32px; }
  .kt-p2 { margin-top: 64px; }

  .browse { gap: 28px; }
  .b-item b { font-size: 23px; }
  .b-item.sub { padding-left: 36px; }
  .b-item.sub b { font-size: 19px; }
  .b-view { border-radius: 7px; }

  .kap-geschaeft-wrap { padding-inline: 10px; }
  .kap-geschaeft { border-radius: 22px; padding: 40px 18px 36px; }
  .kap-geschaeft .kap-title { padding-left: 4px; }

  .verbindungen { padding-inline: 10px; }
  .vb-tile { border-radius: 22px; padding: 36px 18px 18px; }
  .vb-head { padding-inline: 4px; }
  .vb-grid { grid-template-columns: 1fr; gap: 10px; }
  .vb-card { min-height: 0; padding: 20px; }
  .vb-card h3 { margin-top: 18px; font-size: 24px; }

  .tarif { grid-template-columns: 1fr; gap: 10px; }
  .tarif-col { padding: 26px 22px; border-radius: 20px; }
  .tarif-col h3 { font-size: 40px; }

  .uns { display: block; }
  .letter { margin-top: 36px; }

  .foot-row { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
}
