/* ============================================================
   MaschinenNotes – Landingpage
   Farben aus dem App-Icon: Navy #0E2A5C, Orange #F7941D.
   Regel: Text auf Orange immer Navy, nie Weiß.
   Schrift Barlow / Barlow Semi Condensed (OFL), selbst gehostet.
   ============================================================ */
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0E2A5C;
  --navy-deep: #0A1F46;
  --navy-ink: #13254A;
  --orange: #F7941D;
  --orange-hi: #FFA53A;
  --paper: #F4F6FA;
  --tint: #E7ECF5;
  --line: #D6DDE8;
  --ink: #18233A;
  --muted: #4B5870;
  --on-navy: #D3DDEE;
  --on-navy-2: #A9B9D6;
  --ok: #1D7445;
  --err: #B3261E;
  --radius: 10px;
  --wrap: 1200px;
  --cond: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.1; margin: 0; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 420px) { .wrap { padding: 0 16px; } }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 20px;
  border-radius: 9px; border: 2px solid transparent; font: 700 1.02rem/1.15 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn .ic { width: 20px; height: 20px; }
.btn-o { background: var(--orange); color: var(--navy); }
.btn-o:hover { background: var(--orange-hi); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-line { color: var(--navy); border-color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--tint); }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: .98rem; }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 1.08rem; }
.btn.is-off { opacity: .7; cursor: default; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.45rem/1 var(--cond); color: #fff; }
.brand-claim { font: 700 .82rem/1.2 var(--body); color: var(--orange); margin-top: 3px; white-space: nowrap; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: .98rem; border-radius: 6px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.lang { color: #fff; font-weight: 700; text-decoration: none; padding: 7px 12px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.lang:hover { border-color: #fff; }
.lang-short { display: none; }
@media (max-width: 1120px) { .nav { display: none; } }
.nav a, .top-cta { white-space: nowrap; }
@media (max-width: 560px) {
  .lang-long { display: none; } .lang-short { display: inline; }
  .brand img { width: 38px; height: 38px; } .brand-name { font-size: 1.25rem; } .brand-claim { font-size: .74rem; }
  .top-in { gap: 10px; min-height: 60px; }
}
@media (max-width: 420px) { .top-cta { display: none; } }

/* ---------- Hero ---------- */
main > .hero { background: var(--navy); color: #fff; padding: 0; }
.hero-in { padding-top: 40px; }
.hero-txt { display: grid; gap: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.014em; max-width: 13ch; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--on-navy); max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 14px; color: var(--on-navy-2); font-size: .98rem; }
.counter { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: .95rem; }
.counter .ic { width: 18px; height: 18px; color: var(--orange); }
.hero-vis { position: relative; margin-top: 52px; margin-bottom: -240px; padding-left: 150px; }
@media (min-width: 1000px) {
  .hero-txt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
  .hero-in { padding-top: 72px; }
}
.win { margin: 0; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 0 rgba(255,255,255,.06), 0 40px 70px -30px rgba(2,10,30,.75), 0 0 0 1px rgba(10,30,70,.25); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 0 0 10px; background: #F3F3F3; color: #222; font: 400 .78rem/1 "Segoe UI", system-ui, sans-serif; }
.win-bar img { width: 16px; height: 16px; border-radius: 3px; }
.win-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-ctl { margin-left: auto; display: flex; height: 100%; }
.win-ctl b { width: 42px; height: 100%; position: relative; }
.win-ctl b::before, .win-ctl b::after { content: ""; position: absolute; left: 50%; top: 50%; }
.win-ctl b:nth-child(1)::before { width: 10px; height: 1px; background: #333; transform: translate(-50%, 0); }
.win-ctl b:nth-child(2)::before { width: 9px; height: 9px; border: 1px solid #333; transform: translate(-50%, -50%); }
.win-ctl b:nth-child(3)::before, .win-ctl b:nth-child(3)::after { width: 12px; height: 1px; background: #333; }
.win-ctl b:nth-child(3)::before { transform: translate(-50%, 0) rotate(45deg); }
.win-ctl b:nth-child(3)::after { transform: translate(-50%, 0) rotate(-45deg); }
.win-img { width: 100%; }

.phone { margin: 0; width: 210px; padding: 7px; background: #0B1324; border-radius: 34px;
  box-shadow: 0 30px 50px -20px rgba(2,10,30,.65), inset 0 0 0 1.5px #2A3550; }
.phone-scr { position: relative; border-radius: 27px; overflow: hidden; background: var(--navy); padding-top: 24px; }
.phone-status { position: absolute; top: 0; left: 0; right: 0; height: 24px; display: flex; align-items: center; padding: 0 20px;
  color: #fff; font: 700 .7rem/1 var(--body); }
.phone-status i { position: absolute; left: 50%; top: 6px; width: 64px; height: 15px; border-radius: 10px; background: #0B1324; transform: translateX(-50%); }
.phone-hero { position: absolute; left: 0; bottom: -40px; width: 236px; }

@media (max-width: 999px) { .hero-vis { padding-left: 90px; margin-bottom: -170px; } .phone-hero { width: 170px; padding: 6px; border-radius: 28px; }
  .phone-hero .phone-scr { border-radius: 22px; padding-top: 20px; } .phone-hero .phone-status { height: 20px; font-size: .6rem; padding: 0 14px; }
  .phone-hero .phone-status i { width: 50px; height: 12px; top: 5px; } }
@media (max-width: 640px) {
  .hero-in { padding-top: 32px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-vis { margin-top: 36px; margin-bottom: -90px; padding-left: 40px; }
  .phone-hero { width: 104px; left: -4px; bottom: -24px; padding: 4px; border-radius: 18px; }
  .phone-hero .phone-scr { border-radius: 14px; padding-top: 12px; }
  .phone-hero .phone-status { height: 12px; font-size: .45rem; padding: 0 8px; }
  .phone-hero .phone-status i { width: 30px; height: 7px; top: 3px; }
  .win-bar { height: 22px; font-size: .65rem; }
  .win-ctl b { width: 26px; }
}

/* Sync-Badge über der Überschrift + Sync-Symbol zwischen Handy und Rechner */
.hero-badge-row { margin: 0 0 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(247,148,29,.14); border: 1.5px solid rgba(247,148,29,.55); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.25; text-decoration: none; }
.hero-badge:hover { background: rgba(247,148,29,.24); text-decoration: none; }
.hero-badge .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--orange); color: var(--navy); stroke-width: 2.4; }
.hero-sync { position: absolute; z-index: 2; left: 0; bottom: 475px; width: 180px; height: 96px; overflow: visible; }
@media (max-width: 999px) { .hero-sync { left: -15px; bottom: 332px; width: 126px; height: 67px; } }
@media (max-width: 640px) {
  .hero-badge { font-size: .9rem; padding: 6px 12px 6px 6px; gap: 8px; }
  .hero-badge .ic { width: 26px; height: 26px; padding: 5px; }
  .hero-sync { left: -20px; bottom: 200px; width: 90px; height: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sync-flow { animation: syncflow 1.6s linear infinite; }
  @keyframes syncflow { to { stroke-dashoffset: -20; } }
}

/* ---------- Abschnitte allgemein ---------- */
main > section { padding: 88px 0; }
.sec-head { max-width: 46em; margin-bottom: 40px; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.sec-title { margin-bottom: 40px; }
@media (max-width: 640px) { main > section { padding: 64px 0; } .sec-head, .sec-title { margin-bottom: 28px; } }

/* ---------- Download ---------- */
main > .dl { padding-top: 350px; }
@media (max-width: 999px) { main > .dl { padding-top: 240px; } }
@media (max-width: 640px) { main > .dl { padding-top: 180px; } }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
@media (min-width: 900px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } }   /* 6 Kacheln: 3 + 3 */
.dl-tile a, .dl-off { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); }
.dl-tile a:hover { border-color: var(--navy); }
.dl-name { display: flex; align-items: center; gap: 10px; font: 700 1.25rem/1.15 var(--cond); color: var(--navy); }
.dl-sub { color: var(--muted); font-size: .95rem; }
.dl-tile.is-main a { background: var(--orange); border-color: var(--orange); }
.dl-tile.is-main a:hover { background: var(--orange-hi); }
.dl-tile.is-main .dl-name, .dl-tile.is-main .dl-sub { color: var(--navy); }
.dl-tile.is-mobile .dl-off { background: transparent; border-style: dashed; border-color: #B8C3D6; }
.dl-tile.is-mobile .dl-name { color: var(--muted); }
.dl-soon { font-weight: 700; color: var(--muted); font-size: .9rem; }
.dl-tile.is-unavailable a { pointer-events: none; opacity: .65; }
.dl-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: .98rem; }
.dl-version[hidden] { display: none; }

/* ---------- Vorteile ---------- */
.benefits { background: #fff; }
.ben-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 40px; }
.ben-grid li { border-top: 2px solid var(--navy); padding-top: 20px; }
.ben-ic { width: 30px; height: 30px; color: var(--orange); margin-bottom: 14px; stroke-width: 2.1; }
.ben-grid h3 { font-size: 1.4rem; }
.ben-grid p { margin-top: 8px; color: var(--muted); }

/* ---------- Synchronisation ---------- */
main > .sync { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.sync::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--orange); }
.sync h2 { color: #fff; max-width: 21ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--orange); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow .ic { width: 20px; height: 20px; }
.sync-top { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .sync-top { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.sync-intro { margin-top: 16px; font-size: 1.15rem; max-width: 36em; }
.sync-steps-h { margin-top: 34px; color: #fff; font-size: 1.35rem; }
.sync-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.sync-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 18px 14px 14px; border-radius: var(--radius); background: rgba(255,255,255,.06); }
.sync-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--navy); font: 700 1.3rem/1 var(--cond); }
.sync-steps h4 { margin: 0; font: 700 1.2rem/1.2 var(--cond); color: #fff; }
.sync-steps p { margin-top: 4px; }
.sync-art { margin: 0; }
.sync-svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.sync-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 56px; }
.sync-grid li { padding: 22px 22px 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.sync-ic { width: 30px; height: 30px; color: var(--orange); margin-bottom: 12px; stroke-width: 2.1; }
.sync-grid h3 { color: #fff; font-size: 1.3rem; }
.sync-grid p { margin-top: 6px; }
.sync-phones { margin-top: 48px; padding-bottom: 64px; }
/* Bildunterschrift unter dem Handy (außerhalb des Rahmens) */
.sync-phones .phone { position: relative; }
.phone-cap { position: absolute; top: 100%; left: -12px; right: -12px; margin-top: 14px; display: flex; gap: 8px; justify-content: center; align-items: flex-start;
  color: #fff; font: 700 1rem/1.25 var(--cond); text-align: left; }
.phone-cap-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: var(--navy); font-size: .9rem; }
.sync-more { margin-top: 30px; }
.sync-more a { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .sync-steps li { padding: 12px 14px 12px 12px; gap: 12px; } .sync-num { width: 34px; height: 34px; font-size: 1.15rem; } .sync-grid { margin-top: 40px; } }

/* ---------- Funktionen (Datenblatt) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 44px 56px; }
.feat h3 { display: flex; align-items: center; gap: 14px; font-size: 1.45rem; padding-bottom: 14px; border-bottom: 3px solid var(--navy); }
.feat-ic { width: 42px; height: 42px; padding: 9px; border-radius: 10px; background: var(--tint); color: var(--navy); }
.feat ul li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); }
.feat ul li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 9px; background: var(--orange); border-radius: 2px; }
.feat-hl { grid-column: 1 / -1; background: #fff; border-radius: var(--radius); padding: 24px 28px 14px; box-shadow: 0 0 0 1px var(--line); border-top: 5px solid var(--orange); }
.feat-hl .feat-ic { background: var(--orange); color: var(--navy); }
@media (min-width: 900px) { .feat-hl ul { columns: 2; column-gap: 56px; } .feat-hl ul li { break-inside: avoid; } }
@media (max-width: 640px) { .feat-hl { padding: 18px 18px 8px; } }
.feat-not { margin-top: 44px; padding: 18px 22px; background: #fff; border-left: 4px solid var(--navy); border-radius: 0 8px 8px 0; color: var(--muted); max-width: 60em; }
.feat-not strong { color: var(--ink); }

/* ---------- Fahrten aus GPS-Srv ---------- */
main > .gps { background: var(--tint); border-top: 1px solid var(--line); }
.gps-top { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .gps-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.gps-eyebrow { color: #8A4A00; }
.gps-eyebrow .ic { color: var(--orange); }
.gps-intro { margin-top: 14px; font-size: 1.15rem; color: var(--ink); max-width: 34em; }
.gps-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.gps-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px 14px 14px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.gps-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.2rem/1 var(--cond); }
.gps-steps h3 { font-size: 1.2rem; }
.gps-steps p { margin-top: 3px; color: var(--muted); }
.gps-main { margin: 0; }
@media (min-width: 1000px) { .gps-main { margin-top: 6px; } }
.gps-main .gps-zoom { display: block; text-decoration: none; }
.gps-main .gps-zoom img { aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.gps-main .gps-zoom .win-bar img { border-radius: 3px; }
.gps-main .win { box-shadow: 0 30px 60px -34px rgba(2,10,30,.6), 0 0 0 1px rgba(10,30,70,.22); }
.gps-cap { margin-top: 12px; font: 700 1.1rem/1.2 var(--cond); color: var(--navy); }
.gps-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; margin-top: 44px; }
.gps-facts li { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.gps-ic { width: 28px; height: 28px; color: var(--orange); stroke-width: 2.1; }
.gps-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 26px; margin-top: 40px; }
.gps-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 36px; padding: 16px 20px; background: #fff; border-left: 4px solid var(--navy); border-radius: 0 8px 8px 0; color: var(--muted); max-width: 60em; }
.gps-note .ic { color: var(--navy); margin-top: 2px; }
.gps-link { margin-top: 18px; }
.gps-link a { font-weight: 700; }
@media (max-width: 640px) { .gps-facts { margin-top: 32px; gap: 10px; } .gps-facts li { flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px 14px; } .gps-ic { width: 24px; height: 24px; } .gps-shots { gap: 22px; margin-top: 30px; } .gps-steps li { padding: 12px; gap: 12px; } .gps-num { width: 32px; height: 32px; font-size: 1.05rem; } }

/* ---------- Galerie ---------- */
.gallery { background: #fff; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 30px 26px; }
.gal-item { display: block; text-decoration: none; color: var(--ink); }
.gal-item img { aspect-ratio: 1440 / 900; object-fit: cover; object-position: left top; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(10,30,70,.6); }
.gal-item:hover img { border-color: var(--navy); }
.gal-cap { display: block; margin-top: 10px; font: 700 1.1rem/1.2 var(--cond); color: var(--navy); }

.lb { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(5, 14, 34, .93); }
.lb-in { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 56px 72px 24px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; background: #fff; }
.lb-cap { margin-top: 14px; color: #fff; font-weight: 700; text-align: center; }
.lb-num { color: var(--on-navy-2); font-weight: 400; margin-left: 8px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn .ic { width: 26px; height: 26px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-in { padding: 64px 10px 20px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } .lb-in { padding-bottom: 76px; } }

/* ---------- Handy ---------- */
.mobile { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.mobile h2 { color: #fff; }
.mobile-in { display: grid; gap: 48px; align-items: center; }
.mobile-txt p { margin-top: 16px; font-size: 1.1rem; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px !important; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-weight: 700; }
.store small { display: block; font-weight: 400; font-size: .82rem; color: var(--on-navy-2); }
.store.is-soon { border-style: dashed; }
.phones { display: flex; justify-content: center; gap: 22px; }
.phones .phone { width: min(30%, 210px); flex: none; }
.phones .phone:nth-child(2) { transform: translateY(-26px); }
@media (min-width: 1000px) { .mobile-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (max-width: 640px) {
  .phones { gap: 10px; } .phones .phone { padding: 4px; border-radius: 18px; }
  .phones .phone-scr { border-radius: 14px; padding-top: 12px; }
  .phones .phone-status { height: 12px; font-size: .45rem; padding: 0 8px; } .phones .phone-status i { width: 30px; height: 7px; top: 3px; }
  .phones .phone:nth-child(2) { transform: translateY(-14px); }
  .sync-phones { padding-bottom: 58px; } .phone-cap { left: -6px; right: -6px; margin-top: 10px; gap: 5px; font-size: .8rem; }
  .phone-cap-n { width: 18px; height: 18px; font-size: .75rem; }
}

/* ---------- Für wen ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px 30px; }
@media (min-width: 1100px) { .aud-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.aud-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--navy); margin-bottom: 16px; }
.aud-ic .ic { width: 26px; height: 26px; }
.aud-grid h3 { font-size: 1.35rem; }
.aud-grid p { margin-top: 8px; color: var(--muted); }

/* ---------- Tabellen ---------- */
.compare { background: #fff; }
.tbl-wrap { width: 100%; }
table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--navy); color: #fff; font: 700 1.15rem/1.2 var(--cond); }
.cmp thead th:first-child { border-radius: 8px 0 0 0; } .cmp thead th:last-child { border-radius: 0 8px 0 0; }
.cmp tbody th { font-weight: 700; color: var(--navy); width: 22%; }
.cmp tbody tr:nth-child(even) { background: var(--paper); }
@media (max-width: 700px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tbody tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; background: #fff !important; }
  .cmp tbody th { background: var(--navy); color: #fff; width: 100%; padding: 10px 16px; border: 0; }
  .cmp td { padding: 10px 16px; }
  .cmp td::before { content: attr(data-label); display: block; font-weight: 700; font-size: .85rem; color: var(--muted); }
  .cmp td:last-child { border-bottom: 0; }
}

/* ---------- Preise ---------- */
.pr-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .pr-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.pr { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.pr th, .pr td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pr thead th { background: var(--tint); color: var(--navy); font: 700 1.05rem/1.2 var(--cond); padding-top: 12px; padding-bottom: 12px; }
.pr tbody th { font: 700 1.3rem/1.2 var(--cond); color: var(--navy); white-space: nowrap; }
.pr tbody tr:last-child > * { border-bottom: 0; }
.pr td { color: var(--muted); }
.pr-price { text-align: right !important; white-space: nowrap; color: var(--ink) !important; }
.pr thead th:last-child { text-align: right; }
.pr-price strong { font-size: 1.2rem; color: var(--navy); }
.pr-price .per { display: block; font-size: .86rem; color: var(--muted); }
.tbd { display: inline-block; font-weight: 700; color: var(--navy); background: var(--tint); padding: 2px 10px; border-radius: 999px; font-size: .9rem; }
.team-list li { display: flex; justify-content: flex-end; align-items: baseline; gap: 12px; padding: 3px 0; }
.team-list li span:first-child { color: var(--muted); }
.team-list strong { font-size: 1.05rem !important; }
.pr-upd th, .pr-upd td { background: #FAFBFD; }
@media (max-width: 760px) {
  .pr thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pr, .pr tbody, .pr tr, .pr th, .pr td { display: block; width: 100%; }
  .pr tbody tr { border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .pr th, .pr td { padding: 4px 0; border: 0; }
  .pr-price { text-align: left !important; margin-top: 6px; }
  .team-list li { justify-content: space-between; }
}
.incl { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 26px 26px 24px; }
.incl h3 { color: #fff; font-size: 1.4rem; }
.incl ul { margin: 16px 0 22px; }
.incl li { display: flex; gap: 12px; padding: 7px 0; }
.incl li .ic { color: var(--orange); margin-top: 1px; }
.incl .btn { width: 100%; }
.incl-mail { margin-top: 14px; font-size: .95rem; }
.incl-mail a { color: #fff; }

/* ---------- Bestellformular ---------- */
.order { background: #fff; }
.order-page { padding-top: 48px; }
.order-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.oform { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .oform { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; } .o-side { position: sticky; top: 88px; } }
.oform-data { display: none; }
.o-errors { grid-column: 1 / -1; border: 2px solid var(--err); border-radius: var(--radius); padding: 16px 20px; background: #FDF1F0; }
.o-errors ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.o-errors a { color: var(--err); }
.o-general { border-left: 4px solid var(--err); background: #FDF1F0; padding: 14px 18px; margin-bottom: 24px; border-radius: 0 8px 8px 0; font-weight: 700; }
.o-set { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.o-set legend { font: 700 1.35rem/1.2 var(--cond); color: var(--navy); padding: 0 0 12px; width: 100%; border-bottom: 2px solid var(--navy); margin-bottom: 16px; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.f label { font-weight: 700; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #A9B5C8; border-radius: 8px;
  background: #fff; color: var(--ink); font: 400 1.02rem/1.3 var(--body); }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--navy); outline: 3px solid rgba(247,148,29,.65); outline-offset: 0; }
.f-hint { font-size: .9rem; color: var(--muted); }
.f-err { display: block; color: var(--err); font-weight: 700; font-size: .92rem; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); }
.f-row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.f-row-zip { grid-template-columns: minmax(110px, 1fr) minmax(0, 2.4fr); }
@media (max-width: 420px) { .f-row-zip { grid-template-columns: 1fr; } }
.seg, .kinds, .pays { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); margin-bottom: 14px; }
.seg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.seg label, .kind { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px solid #A9B5C8; border-radius: 8px; cursor: pointer; font-weight: 700; }
.seg label:has(input:checked), .kind:has(input:checked) { border-color: var(--navy); background: var(--tint); box-shadow: inset 0 0 0 1px var(--navy); }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.chk { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; cursor: pointer; }
.chk input { margin-top: 2px; }
.chk-legal { font-size: .95rem; padding: 12px 14px; border-radius: 8px; background: var(--paper); }
.chk-legal.has-err { box-shadow: inset 0 0 0 2px var(--err); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.js [data-show]:not(.is-on), .js [data-show-mode]:not(.is-on) { display: none; }
.sum { background: var(--paper); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; border-top: 4px solid var(--orange); }
.sum h3, .sum h2 { font-size: 1.35rem; margin-bottom: 12px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.sum-lines li span:last-child { white-space: nowrap; font-weight: 700; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.sum-total strong { font: 700 1.6rem/1.1 var(--cond); color: var(--navy); text-align: right; }
.sum-note { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.sum-terms { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.btn-order { width: 100%; margin-top: 6px; font-size: 1.15rem; }
.o-small { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.o-preview { margin-top: 10px; font-weight: 700; color: var(--navy); }
.done { max-width: 720px; padding: 20px 0 40px; }
.done h1 { display: flex; align-items: center; gap: 14px; }
.done-ic { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: var(--ok); color: #fff; }
.done > p { margin: 18px 0 24px; font-size: 1.1rem; }

/* ---------- Handbuch ---------- */
.manual-in { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.manual p { margin-top: 12px; color: var(--muted); max-width: 38em; }
.man-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px !important; }
.sample { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: start; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.sample-thumb img { border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 20px -14px rgba(10,30,70,.6); }
@media (max-width: 420px) { .sample { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 16px; } .sample .btn { width: 100%; } }
.sample .btn { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-list { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font: 700 1.25rem/1.25 var(--cond); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: translateY(-70%) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 46em; }

/* ---------- Fuß ---------- */
.foot { background: var(--navy-deep); color: var(--on-navy-2); padding: 48px 0 40px; font-size: .95rem; }
.foot-in { display: grid; gap: 24px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand strong { color: #fff; }
.foot-nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: #fff; }
.foot-small { font-size: .85rem; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr auto; align-items: center; } .foot-small { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .gal-cap { font-size: .98rem; margin-top: 6px; }
}
.page-order main { min-height: calc(100vh - 230px); }

/* ---------- Hinweis zu Cookies ---------- */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.cookie-note[hidden] { display: none; }
.cookie-in { pointer-events: auto; max-width: 760px; width: 100%; background: var(--navy-deep); color: #fff; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10, 31, 70, .35); padding: 14px 16px 14px 20px; display: flex; gap: 16px; align-items: center; }
.cookie-in p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--on-navy-2); }
.cookie-in a { color: #fff; text-decoration: underline; }
.cookie-in .btn { flex: none; }
@media (max-width: 560px) { .cookie-in { flex-direction: column; align-items: stretch; } }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 48px 0 72px; }
.legal-body { max-width: 50em; }
.legal-body h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.legal-body h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal-body p, .legal-body li { line-height: 1.6; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { padding-left: 1.2em; margin: 8px 0; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--navy-700, #1d4ed8); }
.legal-note { background: #eef3fb; border-radius: 10px; padding: 10px 14px; }
.legal-todo { background: #fff4d6; border: 1px solid #f0c060; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.legal-form { border: 1px dashed #b8c4d8; border-radius: 12px; padding: 16px 20px; margin-top: 8px; }
.legal-date { margin-top: 32px; color: var(--muted); font-size: .9rem; }
mark.ph { background: #ffe58f; padding: 0 3px; border-radius: 3px; }

/* Widerrufsbutton und Widerrufsfunktion (§ 356a BGB) */
.foot-cancel { margin: 0; }
.btn-cancel, .legal-body a.btn-cancel { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 10px;
  background: var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; border: 2px solid var(--orange); }
.btn-cancel:hover, .legal-body a.btn-cancel:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-cancel .ic { width: 20px; height: 20px; }
.legal-body .btn-cancel { margin-top: 6px; }
.legal-box { margin-top: 16px; padding: 16px 20px; border-left: 5px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc-lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.done-cancel { padding: 14px 18px; border-radius: var(--radius); background: var(--tint); }
.cancel-box { margin-top: 24px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); max-width: 760px; }
.cancel-box .f:first-child { margin-top: 0; }
.cancel-sum { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 14px 0 0; }
.cancel-sum dt { font-weight: 700; }
.cancel-sum dd { margin: 0; overflow-wrap: anywhere; }
.cancel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cancel-ok { border-left: 6px solid var(--ok); }
.cancel-ok h2 { display: flex; align-items: center; gap: 12px; }
@media (max-width: 560px) { .cancel-sum { grid-template-columns: 1fr; gap: 2px; } .cancel-sum dd { margin-bottom: 8px; } }
