﻿/* =========================================================
   Crewly – Produktwebsite
   Gestaltungsidee: der gedruckte Dienstplan. Klare Linien,
   Monospace-Zeiten und die Dienstfarben aus der App.
   ========================================================= */
:root {
  --paper: #f4f5f7;
  --paper-2: #e8eaef;
  --surface: #fdfdfe;
  --ink: #0e1430;
  --ink-2: #363d58;
  --muted: #5f6680;
  --line: #d8dbe3;
  --line-strong: #b4bacb;
  --navy: #0d1433;
  --navy-2: #161e45;
  --navy-line: #2a3360;
  --accent: #2c53f0;
  --accent-ink: #1c3cc8;
  --accent-soft: #e6ebfe;

  /* Dienstfarben aus der App */
  --f: #0f8a7e;  --f-bg: #e2f4f0;
  --s: #6d44c9;  --s-bg: #efe8fb;
  --l: #b36b05;  --l-bg: #fbefdc;
  --e: #2758c9;  --e-bg: #e5ecfb;

  --r: 6px;
  --display: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --g: 20px;
  --cw: min(1240px, 100vw - 2 * var(--g));
}
@media (min-width: 768px) { :root { --g: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
main, .site-footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-stretch: 112%; line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; text-wrap: balance; max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 650; font-stretch: 105%; letter-spacing: -.01em; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: var(--cw); margin-inline: auto; }

.eyebrow { font: 500 .8rem/1 var(--mono); color: var(--accent); margin-bottom: 20px; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 58ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); }
.link-quiet { font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 4px; }
.link-quiet:hover { color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding: 4px 0; transition: color .2s, border-color .2s; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(244, 245, 247, .94); border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px);
  transition: border-color .3s, transform .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.bar { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.nav-links { display: none; gap: 2px; margin-inline: auto; }
.nav-links a { padding: 8px 12px; font-size: .94rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; border-radius: var(--r); }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.is-current { color: var(--accent); }
.nav-links a.nav-download { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.nav-links a.nav-download i { font-size: 1.05em; }
.nav-actions { display: none; align-items: center; gap: 14px; }
.menu-toggle {
  margin-left: auto; padding: 9px 14px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: transparent; font: 600 .9rem var(--body); color: var(--ink); cursor: pointer;
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding: 12px 0 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .container { display: grid; }
.mobile-menu .container > a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 1100px) {
  .nav-links, .nav-actions { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(68px + clamp(40px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 5.9rem); font-weight: 750; font-stretch: 118%; letter-spacing: -.04em; line-height: 1.02; max-width: none; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: italic; font-weight: 700; color: var(--accent); padding-right: .04em; }
.hero-grid { display: grid; gap: 40px; margin-top: clamp(32px, 4vw, 52px); }
.hero-copy { border-top: 2px solid var(--ink); padding-top: 22px; }
.hero-sub { font-size: clamp(1.08rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 34ch; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-shot { margin: 0; }
.hero-shot .device-browser { will-change: transform; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
}

.device-browser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(14, 20, 48, .45); }
.browser-bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.bb-icon { width: 22px; height: auto; flex-shrink: 0; }
.browser-bar span { flex: 1; max-width: 320px; height: 22px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); font: 400 .74rem/20px var(--mono); color: var(--muted); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ctrl { margin-left: auto; display: flex; align-items: center; gap: 16px; padding-left: 12px; }
.bb-ctrl i { position: relative; width: 10px; height: 10px; flex-shrink: 0; }
.bb-ctrl i:nth-child(1)::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: #858ca6; }
.bb-ctrl i:nth-child(2) { border: 1.5px solid #858ca6; border-radius: 1px; }
.bb-ctrl i:nth-child(3)::before, .bb-ctrl i:nth-child(3)::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; margin-top: -.75px; background: #858ca6; transform: rotate(45deg); }
.bb-ctrl i:nth-child(3)::after { transform: rotate(-45deg); }

/* ---------- Plattformen ---------- */
.facts { padding-bottom: clamp(60px, 9vw, 120px); }
.facts-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.fact { padding: 22px 20px 24px 0; display: grid; gap: 4px; align-content: start; }
.fact:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
.fact i { font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; }
.fact strong { font-family: var(--display); font-stretch: 110%; font-weight: 650; font-size: 1.15rem; }
.fact span { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.facts-note { margin-top: 18px; font: 400 .85rem var(--mono); color: var(--muted); }
@media (min-width: 900px) {
  .facts-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 0; }
}

/* ---------- Problem / Lösung ---------- */
.problem { padding: clamp(40px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.problem-inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .problem-inner { grid-template-columns: 1fr 1fr; gap: 80px; min-height: 100vh; } .problem { padding: 0; } }
.problem-copy h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.scrub-text .sw { opacity: .18; }
.no-anim .scrub-text .sw { opacity: 1; }
.problem-lead { margin-top: 24px; color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.problem-state { margin-top: 32px; position: relative; height: 34px; }
.state { position: absolute; left: 0; top: 0; padding: 7px 12px; border-radius: 4px; font: 500 .85rem var(--mono); white-space: nowrap; }
.state-before { background: #fbe7e4; color: #a3271a; }
.state-after { background: var(--f-bg); color: var(--f); opacity: 0; }

.chaos-board { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .chaos-board { grid-template-columns: 1fr 1fr; } }
.flip-card { perspective: 1200px; height: 118px; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.face { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face p { line-height: 1.35; }
.face strong { display: block; font-size: 1rem; }
.face small { display: block; font-size: .86rem; margin-top: 2px; }
.face.front { background: #f6eeb4; color: #4a4320; box-shadow: 0 14px 24px -18px rgba(70, 60, 10, .55); }
.face.front strong { font: 500 .92rem/1.35 var(--mono); }
.face.front small { color: #6f6637; }
.face.back { transform: rotateY(180deg); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--c); }
.face.back small { color: var(--muted); }
.face.back i { font-size: 1.3rem; color: var(--c); flex-shrink: 0; }
.no-anim .flip-inner { transform: rotateY(180deg); }

/* Dienstfarben als Klassen */
.s-f { --c: var(--f); --cb: var(--f-bg); }
.s-s { --c: var(--s); --cb: var(--s-bg); }
.s-l { --c: var(--l); --cb: var(--l-bg); }
.s-e { --c: var(--e); --cb: var(--e-bg); }

/* ---------- Tour ---------- */
.tour { padding: clamp(80px, 10vw, 140px) 0; }
.tour-grid { display: grid; gap: 48px; }
.tour-step h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; font-stretch: 112%; letter-spacing: -.025em; }
.tour-step > p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.tour-inline { margin: 28px 0 0; }
.tour-sticky { display: none; }
@media (min-width: 980px) {
  .tour-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .tour-steps { border-left: 1px solid var(--line); }
  .tour-step { position: relative; padding-left: 36px; min-height: 76vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s var(--ease); }
  .tour-step::before { content: ""; position: absolute; left: -2px; top: 50%; width: 3px; height: 0; background: var(--accent); transform: translateY(-50%); transition: height .6s var(--ease); }
  .tour-step.is-active { opacity: 1; }
  .tour-step.is-active::before { height: 120px; }
  .tour-step:first-child { min-height: 60vh; }
  .tour-inline { display: none; }
  .tour-sticky { display: block; position: sticky; top: calc(50vh - 270px); }
  .tour-screens { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
  .tour-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
  .tour-screen.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
  .tour-screen.was-active { clip-path: inset(0 0 0 0); z-index: 1; transition: none; }
  .tour-dots { display: flex; gap: 6px; margin-top: 20px; }
  .tour-dots i { width: 24px; height: 3px; background: var(--line); transition: background-color .3s; }
  .tour-dots i.is-active { background: var(--accent); }
}

/* ---------- Automatische Planung (einziger dunkler Block) ---------- */
.planning { background: var(--navy); color: #d9def0; padding: clamp(90px, 11vw, 150px) 0; }
.planning .eyebrow { color: #8ea5ff; }
.planning h2 { color: #fff; }
.planning-inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .planning-inner { grid-template-columns: 1fr 1.1fr; gap: 80px; min-height: 80vh; } }
.planning-lead { margin-top: 22px; color: #aab3d6; font-size: 1.1rem; max-width: 44ch; }
.planning-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--navy-line); }
.planning-list li { padding: 14px 0; border-bottom: 1px solid var(--navy-line); color: #dfe4f7; }

.planner { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r); padding: clamp(16px, 2.4vw, 26px); }
.planner-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.planner-head small { display: block; font: 400 .75rem var(--mono); color: #8590bb; }
.planner-head strong { font-family: var(--display); font-stretch: 110%; font-size: 1.15rem; color: #fff; }
.planner-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.planner-grid { display: grid; gap: 5px; }
.pg-row { display: grid; grid-template-columns: 36px repeat(5, 1fr); gap: 5px; align-items: center; }
.pg-days span { font: 500 .74rem var(--mono); color: #8590bb; text-align: center; }
.pg-who { font: 500 .74rem var(--mono); color: #aab3d6; }
.sh { display: grid; place-items: center; height: 34px; border-radius: 4px; font: 600 .74rem var(--body); background: var(--cb); color: var(--c); border-left: 3px solid var(--c); }
.sh.s-u { background: #2b3566; color: #c9d2ff; border-left-color: #7d90f5; }
.sh.s-x { background: transparent; color: #6e79a8; border: 1px dashed var(--navy-line); font-family: var(--mono); font-weight: 400; }
.planner-conflict { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: rgba(240, 180, 60, .1); border: 1px solid rgba(240, 180, 60, .32); }
.planner-conflict i { color: #f2bb4a; font-size: 1.25rem; flex-shrink: 0; }
.planner-conflict p { font-size: .87rem; color: #ecdcb6; line-height: 1.45; }
.planner-conflict strong { display: block; color: #fff; }
.planner-checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; }
.planner-checks li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--navy-line); font-size: .88rem; }
.planner-checks i { color: #4fd1a6; }
.planner-checks span { color: #aab3d6; }
.planner-checks b { font: 500 .8rem var(--mono); color: #fff; }
.planner-ok { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); background: #1f6f55; color: #e3fbef; font-weight: 600; font-size: .9rem; }

.rules-showcase { margin-top: clamp(80px, 10vw, 130px); display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .rules-showcase { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.rules-shot { border-color: var(--navy-line); box-shadow: none; }
.rules-grid { display: grid; gap: 0; border-top: 1px solid var(--navy-line); }
@media (min-width: 640px) and (max-width: 999px) { .rules-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.rule { padding: 20px 0; border-bottom: 1px solid var(--navy-line); }
.rule h3 { color: #fff; font-size: 1.05rem; }
.rule p { margin-top: 6px; color: #a3add3; font-size: .94rem; }

/* ---------- Details / Bento ---------- */
.details { padding: clamp(90px, 11vw, 150px) 0 clamp(60px, 8vw, 100px); }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cell-wide { grid-column: span 2; } }
.cell { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cell p { margin-top: 10px; color: var(--muted); }
.cell-ico { font-size: 1.7rem; color: var(--accent); margin-bottom: 26px; }
.cell-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.cell-accent p { color: #dfe6ff; }
.cell-accent .cell-ico { color: #fff; }
.cell-tint { background: var(--paper-2); border-color: var(--paper-2); }
.cell-print { background: var(--navy); border-color: var(--navy); color: #fff; padding-top: 0; }
.cell-print p { color: #aab3d6; }
.print-sheet { margin: 22px auto 22px; width: 62%; aspect-ratio: 210 / 297; background: #fff; border-radius: 2px; overflow: hidden; transform: rotate(-3deg); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6); }
.print-sheet img { width: 100%; height: 100%; object-fit: cover; object-position: 30% top; }
.reason-list, .shift-tags { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.reason-list span, .shift-tags span { padding: 7px 11px; border-radius: 4px; font-size: .84rem; font-weight: 600; background: var(--cb); color: var(--c); border-left: 3px solid var(--c); }
.shift-tags em { font: normal 400 .78rem var(--mono); margin-left: 6px; opacity: .85; }

/* ---------- Zielgruppen (horizontal) ---------- */
.audience { padding: clamp(60px, 8vw, 100px) 0; }
.audience-head { margin-bottom: 40px; }
.audience-track { display: flex; gap: 14px; padding: 0 var(--g) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.audience-track::-webkit-scrollbar { display: none; }
.aud-card { flex: 0 0 min(80vw, 400px); min-height: 360px; scroll-snap-align: start; padding: 30px; border-radius: var(--r); display: flex; flex-direction: column; border: 1px solid transparent; }
.aud-card i { font-size: 2rem; }
.aud-card h3 { margin-top: auto; font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 750; font-stretch: 118%; letter-spacing: -.035em; hyphens: manual; }
.aud-card p { margin-top: 12px; max-width: 30ch; }
.aud-1 { background: var(--navy); color: #fff; } .aud-1 p { color: #aab3d6; }
.aud-2 { background: var(--accent); color: #fff; } .aud-2 p { color: #dfe6ff; }
.aud-3 { background: var(--surface); border-color: var(--line); } .aud-3 p { color: var(--muted); } .aud-3 i { color: var(--accent); }
.aud-4 { background: var(--f-bg); color: #0a4d46; } .aud-4 p { color: #2f6b64; }
.aud-5 { background: var(--paper-2); } .aud-5 p { color: var(--muted); } .aud-5 i { color: var(--accent); }
@media (min-width: 980px) {
  .audience { padding: 0; }
  .audience-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .audience-track { overflow: visible; padding: 0 0 0 calc((100vw - var(--cw)) / 2); scroll-snap-type: none; width: max-content; }
  .aud-card { flex-basis: 420px; min-height: 440px; }
  .no-anim .audience-track { overflow-x: auto; width: auto; }
}

/* ---------- Mobil & Offline ---------- */
.mobile { padding: clamp(90px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.mobile-inner { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1000px) { .mobile-inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.phones { position: relative; display: flex; justify-content: center; gap: 5%; padding: 56px 0 76px; overflow: hidden; background: var(--paper-2); border-radius: var(--r); }
.phone { width: min(42%, 240px); padding: 8px; border-radius: 34px; background: #11162c; box-shadow: 0 30px 50px -30px rgba(14, 20, 48, .7); position: relative; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 28%; height: 16px; transform: translateX(-50%); background: #11162c; border-radius: 99px; z-index: 2; }
.phone img { border-radius: 27px; aspect-ratio: 9 / 18.8; object-fit: cover; object-position: top; width: 100%; }
.phone-1 { margin-top: 44px; }
.sync-pill { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font: 500 .84rem var(--mono); white-space: nowrap; color: var(--l); }
.sync-pill i { font-size: 1.15rem; }
.sync-pill .sync-on, .sync-pill .sync-on-ico { display: none; }
.sync-pill.is-online { color: var(--f); }
.sync-pill.is-online .sync-on, .sync-pill.is-online .sync-on-ico { display: inline; }
.sync-pill.is-online .sync-off, .sync-pill.is-online .sync-off-ico { display: none; }
.mobile-copy .ticks { margin-top: 26px; }
.pairing { margin-top: 34px; padding-top: 22px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.pairing strong { display: block; }
.pairing span { font-size: .92rem; color: var(--muted); }
.code { display: flex; gap: 6px; }
.code i { width: 36px; height: 44px; border-radius: 4px; display: grid; place-items: center; font: normal 500 1.2rem var(--mono); background: var(--surface); border: 1px solid var(--line-strong); }

/* ---------- Sicherheit ---------- */
.security { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 11vw, 150px); }
.security-inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .security-inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.roles { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { padding: 8px 14px; border-radius: 4px; border: 1px solid var(--line-strong); font: 500 .85rem var(--mono); }
.vaults { position: relative; height: 340px; perspective: 1400px; }
.vault { position: absolute; left: 50%; top: 50%; width: min(90%, 380px); padding: 20px 22px; border-radius: var(--r); display: grid; gap: 2px; transform: translate(-50%, -50%); }
.vault strong { font-family: var(--display); font-stretch: 110%; font-size: 1.1rem; }
.vault small { font: 400 .8rem var(--mono); opacity: .75; }
.vault i { position: absolute; right: 20px; top: 20px; font-size: 1.2rem; }
.v1 { background: var(--navy); color: #fff; z-index: 3; margin-top: -100px; }
.v2 { background: var(--accent); color: #fff; z-index: 2; }
.v3 { background: var(--surface); color: var(--ink); border: 1px solid var(--line); z-index: 1; margin-top: 100px; }
.sec-grid { margin-top: clamp(56px, 7vw, 80px); display: grid; column-gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec-item { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.sec-item i { font-size: 1.4rem; color: var(--accent); }
.sec-item h3 { margin-top: 14px; font-size: 1.08rem; }
.sec-item p { margin-top: 6px; color: var(--muted); font-size: .95rem; }

/* ---------- Preise ---------- */
.pricing { padding: clamp(90px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(40px, 5vw, 60px); }
.billing-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 3px; background: var(--surface); }
.billing-toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 4px; font: 600 .9rem var(--body); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button em { font: normal 500 .74rem var(--mono); color: var(--f); }
.billing-toggle button.is-active { background: var(--ink); color: #fff; }
.billing-toggle button.is-active em { color: #8fe3c9; }
.price-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; padding: 30px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--ink); }
.featured-label { position: absolute; top: 0; right: 0; padding: 6px 12px; background: var(--ink); color: #fff; font: 500 .75rem var(--mono); border-bottom-left-radius: var(--r); }
.price-card h3 { font-size: 1.45rem; }
.price-for { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.price { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.price .amount { font-size: 3.3rem; font-stretch: 115%; letter-spacing: -.04em; line-height: 1; }
.price .per { font: 400 .92rem var(--body); color: var(--muted); }
.price-note { font: 400 .78rem var(--mono); color: var(--muted); margin-top: 4px; }
.price-card .ticks { margin: 24px 0 28px; flex: 1; }
.ticks li.opt { color: var(--muted); }
.ticks li.opt::before { background: var(--line-strong); }
.ticks li.opt em { font: normal 500 .76rem var(--mono); color: var(--accent); margin-left: 6px; white-space: nowrap; }
.extras { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
@media (min-width: 900px) { .extras { grid-template-columns: repeat(4, 1fr); } }
.extras div { padding: 20px 22px; border-left: 1px solid var(--line); }
.extras div:nth-child(odd) { border-left: 0; }
.extras div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .extras div:nth-child(odd) { border-left: 1px solid var(--line); } .extras div:first-child { border-left: 0; } .extras div:nth-child(n+3) { border-top: 0; } }
.extras strong { display: block; font-family: var(--display); font-stretch: 110%; font-size: 1.2rem; }
.extras span { font-size: .86rem; color: var(--muted); }
.fineprint { margin-top: 18px; font-size: .84rem; color: var(--muted); max-width: 90ch; }

/* ---------- Downloads ---------- */
.downloads { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.dl-inner { display: grid; gap: 40px; }
@media (min-width: 1000px) { .dl-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } }
.dl-list { border-top: 2px solid var(--ink); }
.dl-row { display: grid; grid-template-columns: 34px 1fr auto 28px; align-items: center; gap: 18px; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .25s, padding .35s var(--ease); }
.dl-row > i:first-child { font-size: 1.7rem; color: var(--accent); }
.dl-text strong { display: block; font-family: var(--display); font-stretch: 110%; font-weight: 650; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.dl-text span { color: var(--muted); font-size: .9rem; }
.dl-type { font: 500 .78rem var(--mono); padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px; }
.dl-go { font-size: 1.3rem; transition: transform .3s var(--ease); }
.dl-row:hover { background: var(--surface); padding-left: 16px; padding-right: 16px; }
.dl-row:hover .dl-go { transform: translateY(2px); color: var(--accent); }
.dl-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.faq-inner { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; } .faq-head { position: sticky; top: 110px; } }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }
.faq a { color: var(--accent); font-weight: 600; }

/* ---------- Kontakt ---------- */
.cta { padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 140px); }
.cta-inner { display: grid; gap: 40px; border-top: 2px solid var(--ink); padding-top: clamp(32px, 4vw, 48px); }
@media (min-width: 1000px) { .cta-inner { grid-template-columns: 1fr 1fr; gap: 72px; } }
.cta h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-stretch: 118%; letter-spacing: -.04em; }
.cta-logo { width: 96px; margin-bottom: 26px; }
.cta-copy p { margin-top: 20px; color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.cta-form { display: grid; gap: 16px; grid-template-columns: 1fr; padding: clamp(20px, 3vw, 30px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 600px) { .cta-form { grid-template-columns: 1fr 1fr; } .cta-form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border-radius: var(--r); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 400 1rem var(--body); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: #c2321f; }
.form-hint { font-size: .84rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c1e0; padding: 72px 0 28px; }
.footer-inner { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; font-size: .92rem; color: #939dc6; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { font: 500 .8rem var(--mono); color: #fff; margin-bottom: 6px; letter-spacing: 0; }
.footer-col a { color: #b0b9dd; text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: #7d88b6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
