/* ==========================================================================
   Neuaufbau der deutschen Seite (Sept. 2026): Mac, iPhone, iPad.
   Nur NEUE Klassen – style.css bleibt unverändert, damit die übrigen
   Sprachseiten nichts von diesem Umbau abbekommen.
   ========================================================================== */

/* ---------- Hero: Merkzeichen ---------- */
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Hero: Geräte-Trio (reines HTML/CSS) ---------- */
.device-trio { position: relative; height: 430px; }
@media (max-width: 900px) { .device-trio { height: 400px; max-width: 520px; margin: 0 auto; width: 100%; } }

.dev-mac {
  position: absolute; left: 0; top: 10px; width: 88%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.dev-mac-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dev-mac-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.dev-mac-bar i:nth-child(1) { background: #FF5F57; } .dev-mac-bar i:nth-child(2) { background: #FEBC2E; } .dev-mac-bar i:nth-child(3) { background: #28C840; }
.dev-mac-bar span { margin-left: 10px; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--muted); }
.dev-mac-body { display: grid; grid-template-columns: 34% 66%; min-height: 250px; }
.dev-side { background: var(--surface-2); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.dev-side h5 { margin: 6px 4px 2px; font-family: var(--font-display); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dev-side p { margin: 0; padding: 5px 8px; border-radius: 7px; font-size: 11.5px; display: flex; align-items: center; gap: 7px; }
.dev-side p.on { background: var(--accent-tint); color: var(--accent-deep); font-weight: 700; }
.dev-side .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); flex-shrink: 0; }
.dev-side .dot--b { background: #6366F1; } .dev-side .dot--c { background: #F59E0B; }
.dev-main { padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.dev-main h6 { margin: 0 0 4px; font-family: var(--font-display); font-size: 13px; }
.dev-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 11px; background: var(--paper); }
.dev-row .ico { width: 16px; height: 20px; border-radius: 3px; border: 1.5px solid var(--line); background: var(--surface); flex-shrink: 0; }
.dev-row .ico--folder { width: 20px; height: 15px; border-radius: 3px; background: var(--accent-tint); border-color: var(--accent); }
.dev-row .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dev-chip { font-family: var(--font-display); font-weight: 700; font-size: 9.5px; padding: 2px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.dev-chip--on { background: var(--accent); color: var(--accent-ink); }
.dev-lock { font-size: 10px; margin-left: auto; }

.dev-ipad {
  position: absolute; right: 2%; bottom: 0; width: 46%;
  background: #0E1422; border-radius: 18px; padding: 9px; box-shadow: var(--shadow);
}
.dev-ipad-screen { background: var(--surface); border-radius: 11px; padding: 11px; min-height: 170px; display: flex; flex-direction: column; gap: 8px; }
.dev-bubble { font-size: 10.5px; line-height: 1.45; padding: 7px 10px; border-radius: 11px; max-width: 90%; }
.dev-bubble--q { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 3px; }
.dev-bubble--a { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 3px; }
.dev-cite { color: var(--accent-deep); font-weight: 700; }
.dev-source { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 9.5px; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 8px; background: var(--accent-tint); }

.dev-iphone {
  position: absolute; left: 30%; bottom: -6px; width: 25%; min-width: 120px;
  background: #0E1422; border-radius: 24px; padding: 7px; box-shadow: var(--shadow);
}
.dev-iphone-screen { background: var(--surface); border-radius: 18px; padding: 16px 9px 12px; min-height: 210px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.dev-iphone-screen::before { content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 34%; height: 6px; border-radius: 999px; background: #0E1422; }
.dev-scan { border: 2px dashed var(--accent); border-radius: 8px; height: 76px; position: relative; background: var(--paper); }
.dev-scan::after { content: "Scannen"; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 800; font-size: 8.5px; background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 999px; }
.dev-field { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; padding: 4px 6px; border-radius: 6px; background: var(--paper); }
.dev-field b { font-family: var(--font-display); }

/* ---------- Erklärvideos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column;
}
.video-thumb {
  height: 132px; background: var(--surface-2); position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.video-thumb svg { width: 64px; height: 64px; color: var(--accent-deep); }
.video-thumb .tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
  padding: 2px 9px; border-radius: 999px;
}
.video-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-body h3 { font-family: var(--font-body); font-weight: 600; font-size: 16.5px; }
.video-body p { color: var(--muted); font-size: 14px; }
.video-body .demo-play-btn { margin-top: auto; align-self: flex-start; font-size: 13px; padding: 8px 18px 8px 12px; }
.video-body .demo-play-btn .play-dot { width: 26px; height: 26px; }

/* ---------- Funktionen ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px 22px; }
.feature-block h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.feature-block > p { color: var(--muted); font-size: 14px; }
.feature-block .kb-points { margin-top: 14px; gap: 10px; }
.feature-block .kb-points li { font-size: 14px; }
.pf {
  display: inline-block; vertical-align: 1px; margin-left: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.02em;
  color: var(--muted); background: var(--surface-2); padding: 1px 7px; border-radius: 999px;
}

/* ---------- Plattformen ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
}
.platform-card--main { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow); }
.platform-card h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.platform-card h3 svg { width: 26px; height: 26px; color: var(--accent-deep); }
.platform-card .lead { color: var(--muted); font-size: 15px; }
.platform-card .kb-points { margin-top: 6px; }
.platform-card .kb-points li { font-size: 14px; }
.status-pill {
  align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  padding: 3px 11px; border-radius: 999px;
}
.status-pill--live { background: var(--accent-tint); color: var(--accent-deep); }
.status-pill--soon { background: var(--before-bg); color: var(--before-ink); border: 1px solid var(--before-line); }
.platform-req { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.platform-note {
  margin-top: 26px; text-align: center; font-size: 15px; color: var(--muted);
}
.platform-note strong { color: var(--ink); }

/* ---------- Preise: drei Stufen ---------- */
.price-card .price-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Tresor-Hinweis in der Privatsphäre ---------- */
.vault-band {
  margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-m);
  box-shadow: 0 0 0 3px var(--accent-tint); padding: 24px 26px;
}
.vault-band svg { width: 44px; height: 44px; color: var(--accent-deep); }
.vault-band h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.vault-band p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 600px) { .vault-band { grid-template-columns: 1fr; } }

/* ---------- Schmale Bildschirme: Kopfleiste passt in 375 px ---------- */
@media (max-width: 520px) {
  .nav-inner { gap: 8px; padding: 12px 16px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand img { width: 24px; height: 24px; }
  .nav-right { gap: 6px; min-width: 0; }
  .lang-select { max-width: 92px; padding-left: 8px; padding-right: 22px; font-size: 13px; }
  .nav-cta { padding: 7px 12px; font-size: 13px; }
}

/* ---------- Schmale Bildschirme: Geräte-Trio ohne Überdeckung ---------- */
@media (max-width: 600px) {
  .device-trio { height: 390px; }
  .dev-mac { width: 100%; top: 0; }
  .dev-mac-body { grid-template-columns: 1fr; min-height: 210px; }
  .dev-side { display: none; }
  .dev-main { min-width: 0; }
  .dev-iphone { left: 2%; width: 38%; min-width: 0; bottom: 0; }
  .dev-ipad { right: 0; width: 56%; bottom: 14px; }
  .dev-ipad-screen { min-height: 150px; }
}

/* App-Store-Knopf in den Plattformkarten */
.platform-badge { margin-top: auto; align-self: flex-start; }
.platform-badge + .platform-req { margin-top: 12px; }

/* App-Store-Knöpfe auf einer Höhe: Fußzeile jeder Karte gleich hoch (zwei Zeilen) */
.platform-req { min-height: calc(2 * 1.55em + 15px); }

/* ---------- Abo-Vergleich ---------- */
.tier-table-wrap { margin-top: 34px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.tier-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.tier-table th, .tier-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tier-table th:first-child, .tier-table td:first-child { text-align: left; }
.tier-table thead th { font-family: var(--font-display); font-weight: 800; font-size: 15px; background: var(--surface-2); }
.tier-table thead th small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tier-table thead th.is-pro { color: var(--accent-deep); }
.tier-table tbody tr.group td { background: var(--paper); font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 16px; }
.tier-table tbody tr:last-child td { border-bottom: 0; }
.tier-table td.pro { background: var(--accent-tint); }
.tier-table .yes { color: var(--accent-deep); font-weight: 800; font-size: 16px; }
.tier-table .no { color: var(--muted); }
.tier-table .quota { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--before-ink); background: var(--before-bg); border: 1px solid var(--before-line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.tier-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Screenshots aus den Apps ---------- */
.shots-group + .shots-group { margin-top: 34px; }
.shots-label { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.shot-card { margin: 0; }
.shot-card--phone { flex: 0 0 min(250px, 62vw); }
.shot-card--phone .shot-frame { border-radius: 34px; border: 6px solid #0E1422; background: #0E1422; }
.shot-card--phone .shot-frame img { border-radius: 28px; }
.shot-card--tablet { flex: 0 0 min(460px, 82vw); }
.shot-card--tablet .shot-frame { border-radius: 26px; border: 8px solid #0E1422; background: #0E1422; }
.shot-card--tablet .shot-frame img { border-radius: 18px; }
.shot-card .shot-caption { display: block; line-height: 1.45; }

/* ---------- Umschalter Mac-App / iPhone-App / iPad-App (wie tenzen.studio/photon) ---------- */
.app-tabs {
  display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  overflow-x: auto;
}
.app-tabs button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 9px 18px;
  transition: background 0.18s ease, color 0.18s ease;
}
.app-tabs button svg { width: 18px; height: 18px; }
.app-tabs button:hover { color: var(--ink); }
.app-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.app-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.app-panel .shots-track { justify-content: safe center; }
.shot-card--mac { flex: 0 0 min(640px, 86vw); }
.shot-card--mac .shot-frame { border-radius: 12px; }
@media (max-width: 520px) { .app-tabs button { padding: 8px 12px; font-size: 13px; } }
.tier-table td .yes:not([aria-label]) { font-size: 13px; font-weight: 700; }

/* ---------- Vier Säulen: Reiter-Showcase (Sept. 2026) ---------- */
.pillar-panel {
  display: grid; grid-template-columns: 0.85fr 1.3fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow); padding: 36px;
}
.pillar-panel[hidden] { display: none; }
/* Eine Saeule ohne Bildschirmfotos: Das zweispaltige Raster liesse die
   rechte Haelfte leer, und die Tafel saehe unfertig aus. Diese Klasse
   faellt weg, sobald die Aufnahmen da sind (Stand 2. Okt. 2026: Saeule 3
   „Verfassen"). */
.pillar-panel.ohne-bilder { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
@media (max-width: 900px) { .pillar-panel { grid-template-columns: 1fr; gap: 26px; padding: 24px; } }
.pillar-text .badge {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--accent-deep); background: var(--accent-tint);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 14px;
}
.pillar-text h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.pillar-text > p { color: var(--muted); font-size: 15.5px; }
.pillar-text .kb-points { margin-top: 18px; gap: 10px; }
.pillar-text .kb-points li { font-size: 14.5px; }
.pillar-text .demo-play-btn { margin-top: 22px; font-size: 13px; padding: 8px 18px 8px 12px; }
.pillar-text .demo-play-btn .play-dot { width: 26px; height: 26px; }
.pillar-media { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pillar-media figure { margin: 0; min-width: 0; }
.pillar-media .shot-frame { border-radius: 12px; }
.pillar-media .shot-caption { margin-top: 8px; display: block; line-height: 1.45; font-size: 12.5px; }
.pillar-media .shot-caption strong { font-size: 13px; }
.pillar-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 520px) { .pillar-thumbs { grid-template-columns: 1fr; } }

/* ---------- Mac-Streifen ---------- */
.mac-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .mac-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mac-band { grid-template-columns: 1fr; } }
.mac-fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 20px; }
.mac-fact svg { width: 24px; height: 24px; color: var(--accent-deep); margin-bottom: 12px; display: block; }
.mac-fact h3 { font-family: var(--font-body); font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.mac-fact p { color: var(--muted); font-size: 13.5px; }
.mac-band-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; font-size: 13.5px; color: var(--muted); }

/* ---------- Schmale Bildschirme: Hero-Grafik und Reiter passen in 375 px ---------- */
@media (max-width: 640px) {
  .hero-grid > * { min-width: 0; }
  .hero-demo { max-width: 100%; }
  .hero-demo-row { gap: 8px; }
  .file-card { width: min(150px, 40vw); padding: 12px 10px; gap: 8px; }
  .file-glyph { width: 44px; height: 54px; }
  .file-name { font-size: 10.5px; }
  .transform-arrow { width: 32px; height: 32px; }
  .transform-arrow--down { width: 28px; height: 28px; }
  .json-card { width: 100%; }
  .json-snippet { font-size: 11.5px; padding: 10px 12px; }
}
@media (max-width: 520px) {
  .app-tabs { flex-wrap: wrap; justify-content: center; border-radius: 22px; width: 100%; }
}

/* ---------- Geräte-Fotos (DocOversee, 17. Okt. 2026): eine Reihe je Gerät, seitlich scrollbar ---------- */
.shots-group { margin-top: 34px; }
.shots-row { display: flex; gap: 18px; align-items: flex-start; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.shots-row .shot-card { scroll-snap-align: start; }
.shots-row .shot-frame img { width: 100%; height: auto; display: block; }
