/* ============================================================
   TischTap AI — Homepage
   Scoped stylesheet for index.html only. styles.css (Poppins,
   used by the other 23 pages) is deliberately NOT loaded here.
   Tokens extracted from "Tischtap AI Website.dc.html".
   ============================================================ */

:root {
  --bg: #efe9e1;          /* page cream */
  --sheet: #fff;          /* floating white card */
  --sheet-soft: #fbfaf7;  /* tinted panels */
  --ink: #111;
  --ink-2: #6f6f6f;       /* body / secondary */
  --ink-3: #929292;       /* captions, mono labels */
  --line: #e9e9e9;
  --line-2: #929292;      /* emphasised outline */
  --red: #ab1e03;         /* unchanged brand red */
  --red-tint: #fbe4de;
  --olive: #485c11;       /* accent numerals */
  --sand: #e2ded9;        /* device bezel + placeholder fill */
  --dot: #d8d0c8;

  --font-display: 'Crimson Text', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sheet: 32px;
  --r-lg: 30px;
  --r-md: 24px;
  --r-sm: 14px;
  --r-pill: 100px;

  --shadow-sheet: 0 20px 60px rgba(0, 0, 0, .06);
  --shadow-device: 0 30px 80px rgba(0, 0, 0, .14);

  --pad-x: 48px;   /* sheet inner gutter — shrinks at breakpoints */
  --block: 120px;  /* vertical rhythm between blocks */
}

/* ============ base ============ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }

img { max-width: 100%; }

::selection { background: #dfecc6; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100; white-space: nowrap;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============ page shell ============ */

.page { background: var(--bg); padding: 14px 20px 20px; }

.sheet {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px var(--pad-x) 0;
  background: var(--sheet);
  border-radius: var(--r-sheet);
  box-shadow: var(--shadow-sheet);
}

/* ============ typography ============ */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -.03em;
  margin: 0;
}

h2.title, .title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 0;
}
.title.sm { font-size: clamp(30px, 4.4vw, 52px); }
.title.xs { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; }

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.body { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.cap { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  padding: 5px 13px;
  border-radius: var(--r-pill);
}
.eyebrow.bare { background: none; padding: 0; font-size: 12px; }

.mono { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

/* ============ buttons ============ */

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  white-space: nowrap;
  transition: background .18s, color .18s, transform .18s;
}
.btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn.lg { font-size: 15px; padding: 12px 28px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--sheet-soft); color: var(--red); border-color: var(--red); }

.textlink { font-size: 14px; font-weight: 700; color: var(--ink); }
.textlink:hover { color: var(--red); }

/* ============ layout helpers ============ */

/* rhythm between sections. `.block` adds inner space (safe on plain sections);
   `.gap-after` adds outer space (use on anything that draws its own border). */
.block { padding-bottom: var(--block); }
.gap-after { margin-bottom: var(--block); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.row > .col { flex: 1; min-width: 260px; }

.head { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.head.center { align-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
/* the eyebrow is a pill — never let a flex column stretch it edge to edge */
.head > .eyebrow, .say > .eyebrow, .hero-copy > .eyebrow { align-self: flex-start; }
.head.center > .eyebrow, .hero-copy > .eyebrow { align-self: center; }

/* an outlined framed block — the design's recurring hairline box */
.frame { border: 1px solid var(--line); border-radius: var(--r-md); }
.frame.pad { padding: 60px 40px; }
.frame.strong { border-color: var(--line-2); }
.frame.round { border-radius: var(--r-md); }

/* ============ reveal (driven by app.js IntersectionObserver) ============ */

/* Content is visible by default. Only once the inline <head> script has set
   .js on <html> do we hide it for the entrance animation — so a JS failure,
   a blocked script or a missed observer can never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============ placeholder slot ============ */

.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--sand);
  border: 2px dashed rgba(17, 17, 17, .18);
  border-radius: var(--r-sm);
  color: #6b625a;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .01em;
  min-height: 120px;
  overflow-wrap: anywhere;
}
.slot.round { border-radius: var(--r-lg); }
.slot.circle { border-radius: 50%; }

/* a number we do not have yet */
.todo-num {
  font-family: var(--font-mono);
  color: var(--ink-3);
  background: var(--sand);
  border-radius: 6px;
  padding: 0 8px;
}

/* ============ 1 · nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  flex-wrap: wrap;
  background: var(--sheet);
  transition: box-shadow .2s;
}
.nav.solid { box-shadow: 0 1px 0 var(--line); }
.nav .logo { height: 26px; width: auto; flex-shrink: 0; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
}
.nav-links a { font-size: 13px; white-space: nowrap; }

.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-actions .plain { font-size: 13px; white-space: nowrap; }
.nav-actions .btn { padding: 8px 16px; font-size: 13px; }

/* ============ 2 · hero ============ */

.hero { display: flex; flex-direction: column; gap: 18px; align-items: center; padding-top: 6px; }
.hero-copy {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; text-align: center; max-width: 1100px;
}
/* wide enough to keep the sub-headline on two lines, so the screenshot stays high */
.hero-copy .lead { max-width: 780px; }
.hero-actions { display: flex; gap: 12px; padding-top: 2px; flex-wrap: wrap; justify-content: center; }

/* ============ 3 · trust factor strip ============ */

.trustbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--sheet-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  white-space: nowrap;
}
.tf svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--olive); }

/* ============ 4 · hero device peek ============ */

.device-peek { position: relative; width: 100%; max-width: 1180px; display: flex; justify-content: center; }
.device-peek .bezel {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--sand);
  border-radius: 28px 28px 0 0;
  padding: 22px 22px 0;
  box-shadow: var(--shadow-device);
}
.device-peek .screen {
  width: 100%; height: 100%;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-bottom: none;
}
.device-peek img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; }
.hero-disclaimer { max-width: 560px; text-align: center; margin: 0 auto; }

/* ============ 5 · logo cloud ============ */

.logocloud { display: flex; flex-direction: column; gap: 30px; padding: 100px 0; align-items: center; }
.logocloud .label { font-size: 15px; color: var(--ink-2); }
.logocloud .ticker {
  width: 100%;
  overflow: hidden;
  /* fade the strip out at both edges instead of cutting it hard */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logocloud .ticker-track {
  display: flex;
  width: max-content;
  gap: 56px;
  padding-right: 56px;
  animation: ticker 38s linear infinite;
}
.logocloud .ticker:hover .ticker-track { animation-play-state: paused; }
.logocloud .ticker-track span {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink-3);
  white-space: nowrap;
}
/* the track holds the list twice, so -50% lands exactly on the seam */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logocloud .ticker-track { animation: none; }
  .logocloud .ticker { overflow-x: auto; }
}

/* ============ 6 · demo video ============ */

.video-wrap { border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.video-wrap .slot { aspect-ratio: 16 / 9; min-height: 0; border-radius: 0; border: none; }
.video-wrap video { display: block; width: 100%; height: auto; }

.storyline { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; padding: 0; }
.storyline li {
  flex: 1; min-width: 170px; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.storyline li .n { font-family: var(--font-mono); font-size: 12px; color: var(--olive); }
.storyline li .t { font-weight: 700; font-size: 15px; }
.storyline li .d { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

/* ============ 7 · benefits ============ */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.benefit {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md);
}

/* picture card used in "Wir haben den Code geknackt" */
.pcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--sheet);
}
.pcard > img { display: block; width: 100%; height: 190px; object-fit: cover; }
.pcard .pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.pcard h3 { font-size: 18px; font-weight: 700; margin: 0; }
.pcard p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.benefit .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center;
}
.benefit .ico svg { width: 20px; height: 20px; color: var(--red); }
.benefit .fig {
  font-family: var(--font-display);
  font-size: 52px; line-height: 1; letter-spacing: -.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 2px;
  margin: 0;
}
.benefit .fig .unit { font-family: var(--font-body); font-size: 20px; font-weight: 500; color: var(--ink); }
.benefit h3 { font-size: 17px; font-weight: 700; margin: 0; }
.benefit p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ============ 8 · device flow ============ */

.devflow { display: flex; flex-direction: column; gap: 20px; }
.devrow { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.devrow > .shot { flex: 1.3; min-width: 320px; }
.devrow > .say { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 14px; }
.devrow.flip > .shot { order: 2; }
.devrow.flip > .say { order: 1; }

.device {
  background: var(--sand);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}
.device > * {
  display: block; width: 100%;
  border-radius: 10px; overflow: hidden;
  border: 1px solid #e3e3e3;
}
.device.tablet { padding: 20px; }
.device.phone { max-width: 262px; margin: 0 auto; padding: 12px; border-radius: 34px; }
.device.phone > * { border-radius: 24px; }

/* ============ shared media components ============ */

/* wide editorial image block (demo section) */
.media-wide { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.media-wide img { display: block; width: 100%; height: auto; }

/* photo card used in the three-views flow */
.photo {
  margin: 0; border-radius: var(--r-md); overflow: hidden;
  background: var(--sand); box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* full-bleed image band with copy laid over the bottom */
.band {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
}
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .band-copy {
  position: relative; width: 100%; padding: 44px;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .12) 70%, transparent);
}
.band .band-copy .title, .band .band-copy h2 { color: #fff; max-width: 700px; }
.band .band-copy p { color: rgba(255, 255, 255, .86); max-width: 640px; margin-top: 12px; }
.band .band-copy .eyebrow { background: rgba(255, 255, 255, .18); color: #fff; margin-bottom: 16px; }

/* figures we have modelled rather than measured — always labelled */
.disclosure { margin-top: 22px; max-width: 760px; font-style: italic; }

/* ============ 9 · integrations ============ */

.rule-list { display: flex; flex-direction: column; }
.rule-list .r { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rule-list .r .n { font-family: var(--font-mono); font-size: 12px; color: var(--olive); padding-top: 2px; }
.rule-list .r .t { font-size: 15px; line-height: 1.5; color: var(--ink); }

.int-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.int-grid .i {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 2; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--sheet-soft);
  color: #4a443f;
  text-align: center;
}
.int-grid .i img { width: 30px; height: 30px; opacity: .8; }
/* brands without an available vector mark get a clean wordmark instead */
.int-grid .i .wm {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: -.01em; line-height: 1.2; color: var(--ink-2);
}

.partner-callout {
  display: flex; gap: 32px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding: 40px; margin-top: 20px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--sheet-soft);
}
.partner-callout .say { max-width: 620px; display: flex; flex-direction: column; gap: 10px; }

/* ============ 10 · comparison table ============ */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
}
.compare th, .compare td {
  padding: 20px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  vertical-align: top;
}
.compare th:first-child, .compare td:first-child { border-left: none; }
.compare thead th { padding: 24px; font-weight: 700; font-size: 15px; background: #fafafa; }
.compare thead th.best { color: var(--red); background: var(--sheet-soft); }
.compare tbody th { font-weight: 400; color: var(--ink-2); }
.compare tbody td.best { font-weight: 600; background: var(--sheet-soft); }
.compare tbody tr:last-child > * { border-bottom: none; }

/* ============ 11 · case study ============ */

.case { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.case .ba { display: grid; grid-template-columns: 1fr 1fr; }
.case .ba figure { margin: 0; display: flex; flex-direction: column; }
.case .ba figure + figure { border-left: 1px solid var(--line); }
.case .ba figcaption {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .04em; padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.case .ba .before figcaption { color: var(--ink-3); }
.case .ba .after figcaption { color: var(--olive); }
.case .ba img, .case .ba .slot { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 0; border: none; }
.case .nums { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.case .nums div {
  flex: 1; min-width: 180px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.case .nums div + div { border-left: 1px solid var(--line); }
.case .nums .v { font-family: var(--font-display); font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.case .nums .k { font-size: 13px; color: var(--ink-2); }
.case .story { padding: 32px 24px; border-top: 1px solid var(--line); }

/* ============ 12 · testimonials ============ */

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote {
  display: flex; flex-direction: column; gap: 20px; justify-content: space-between;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.25; letter-spacing: -.01em;
}
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .slot { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; font-size: 9px; flex-shrink: 0; }
.quote .who .av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.av1 { background-image: url("assets/media/abstract-marble.jpg"); }
.av2 { background-image: url("assets/media/abstract-warm.jpg"); }
.av3 { background-image: url("assets/media/nature-hills.jpg"); }
.quote .who .slot::before { content: ""; }
.quote .who .nm { font-size: 14px; font-weight: 700; }
.quote .who .rl { font-size: 13px; color: var(--ink-2); }

/* ============ 13 · partner / institution logos ============ */

.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partners .slot { height: 110px; min-height: 0; }
.pmark {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; height: 132px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--sheet-soft);
  color: #4a443f;
}
.pmark img { width: 32px; height: 32px; opacity: .85; }
.pm-a { font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1; color: var(--ink); }
.pm-b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--ink-3); line-height: 1.3; }

/* ============ 14 · founder ============ */

.founder { display: flex; gap: 20px; flex-wrap: wrap; }
.founder > .shot { flex: 1; min-width: 300px; border-radius: var(--r-lg); overflow: hidden; }
.founder > .shot .slot { height: 100%; min-height: 380px; border-radius: var(--r-lg); }
.founder > .shot img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.founder > .say {
  flex: 1; min-width: 340px; border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 24px; padding: 50px; justify-content: center;
}

/* ============ 15 · steps ============ */

.steps-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.steps { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; padding: 0; }
.steps li { flex: 1; min-width: 240px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps .n { font-family: var(--font-display); font-size: 52px; color: var(--red-tint); line-height: 1; }
.steps h3 { font-size: 18px; font-weight: 700; margin: 0; }
.steps p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ============ 16 · trust FAQ ============ */

.faq { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 28px; font-size: 16px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 20px;
  color: var(--red); flex-shrink: 0; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { background: var(--sheet-soft); }
.faq .a { padding: 0 28px 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 820px; }

/* ============ 17 · trust badges ============ */

.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.badge {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 40px 28px; border: 1px solid var(--line); border-radius: var(--r-md);
}
.badge .ico {
  width: 40px; height: 40px; border-radius: 50%; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center;
}
.badge .ico svg { width: 18px; height: 18px; color: var(--red); }
.badge .t { font-size: 17px; font-weight: 700; }
.badge .d { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ============ 18 · studio cross-link ============ */

.studio {
  border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; gap: 40px; align-items: center; justify-content: space-between;
  padding: 56px; flex-wrap: wrap; background: var(--sheet-soft);
}
.studio .say { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

/* invisible jump target, so ../index.html#preise from the subpages still lands */
.anchor-target { display: block; height: 0; scroll-margin-top: 90px; }

/* ============ 19 · centered CTA ============ */

.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 32px; align-items: center;
  padding: 100px 40px;
}
.cta > .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta > *:not(.cta-bg) { position: relative; }
.cta .lead { max-width: 520px; text-align: center; }

/* ============ 20 · privacy strip + footer ============ */

.privacy {
  border: 1px solid var(--line); border-radius: 20px;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  padding: 32px 40px; margin-bottom: 60px;
}
.privacy .say { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.privacy .links { display: flex; gap: 24px; flex-wrap: wrap; }
.privacy .links a { font-size: 14px; }

.foot { border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 60px; padding: 60px 0 32px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.foot-brand .mark { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.foot-brand .mark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.foot-brand .mark .ai { color: var(--olive); }
.foot-brand p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 14px; min-width: 140px; }
.foot-col .h {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .04em;
}
.foot-col a { font-size: 14px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line);
}
.foot-bottom .mono.red { color: var(--red); }

/* ============================================================
   Responsive — the design file has no breakpoints at all, so
   every fixed padding below is authored here.
   ============================================================ */

@media (max-width: 1180px) {
  :root { --pad-x: 36px; --block: 96px; }
  .device-peek .bezel { height: 480px; }
  .int-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --pad-x: 28px; --block: 80px; }
  .page { padding: 20px 14px 14px; }
  .sheet { border-radius: var(--r-md); }
  .hero { padding-top: 56px; gap: 44px; }
  .device-peek .bezel { height: 360px; padding: 14px 14px 0; border-radius: 20px 20px 0 0; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badges { grid-template-columns: 1fr; }
  .pcard > img { height: 160px; }
  .quotes { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder > .say { padding: 36px 28px; }
  .frame.pad { padding: 44px 28px; }
  .studio { padding: 36px 28px; }
  .cta { padding: 72px 28px; }
  .privacy { padding: 28px; }
  .logocloud { padding: 72px 0; }
  .devrow { gap: 28px; }
  .devrow.flip > .shot, .devrow.flip > .say { order: 0; }
}

@media (max-width: 700px) {
  :root { --pad-x: 20px; --block: 64px; }
  .btn { white-space: normal; }
  .nav { padding: 14px 0; gap: 12px; }
  .nav-links {
    order: 3; width: 100%; justify-content: space-between;
    gap: 10px; overflow-x: auto; padding: 8px 14px;
  }
  .nav-links a { font-size: 12px; }
  .device-peek .bezel { height: 260px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { padding: 24px; }
  .partners { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .badges { grid-template-columns: 1fr; }
  .case .ba { grid-template-columns: 1fr; }
  .case .ba figure + figure { border-left: none; border-top: 1px solid var(--line); }
  .case .ba img, .case .ba .slot { height: 240px; }
  .case .nums div + div { border-left: none; border-top: 1px solid var(--line); }
  /* stacked cards: each row keeps its own label next to each value */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { display: none; }
  .compare { border-radius: var(--r-sm); }
  .compare tbody tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: none; }
  .compare tbody th {
    font-weight: 700; color: var(--ink); font-size: 15px;
    border: none; padding: 0 20px 10px;
  }
  .compare tbody td {
    border: none; background: none; padding: 4px 20px;
    display: flex; justify-content: space-between; gap: 16px;
  }
  .compare tbody td::before {
    content: attr(data-label);
    color: var(--ink-3); font-size: 13px; font-weight: 400; flex-shrink: 0;
  }
  .compare tbody td.best { font-weight: 600; }
  .compare tbody td.best::before { color: var(--red); }
  .faq summary { padding: 18px 20px; font-size: 15px; }
  .faq .a { padding: 0 20px 20px; }
  .storyline li { min-width: 100%; }
  .band { min-height: 300px; }
  .band .band-copy { padding: 24px 20px; }
  .photo img { aspect-ratio: 4 / 3; }
  .row > .col { min-width: 100%; }
  .devrow > .shot, .devrow > .say { min-width: 100%; }
  .founder > .shot, .founder > .say { min-width: 100%; }
  .compare .colr, .case .nums div, .storyline li, .steps li { min-width: 100%; }
  .frame.pad { padding: 36px 20px; }
  .founder > .say { padding: 32px 20px; }
  .studio { padding: 32px 20px; }
  .cta { padding: 56px 20px; }
  .privacy { padding: 24px 20px; }
  .foot-cols { gap: 36px; }
  .device.phone { max-width: 240px; }
}
