/* zovel marketing one-pager — brand tokens from mobile/src/ui/theme/tokens.ts
   Mobile-first, fully polished for tablet & desktop. */

/* Inter, selbst gehostet (Variable Font, Achse wght) statt von Google Fonts:
   Ein Abruf bei fonts.googleapis.com überträgt die IP-Adresse der Besucher an
   Google, noch bevor eine Einwilligung vorliegt. Quelle: @fontsource-variable/inter
   5.3.0, Lizenz in assets/fonts/OFL.txt. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(assets/fonts/inter-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(assets/fonts/inter-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Die Seite ist bewusst hell und hat kein Dark-Theme. Ohne diese Angabe
     färbt Chromes "Auto Dark Mode for Web Contents" sie bei dunklem
     System-Theme selbsttätig um. */
  color-scheme: light;

  --primary: #7c6ff0;
  --primary-hover: #6d60e6;
  --primary-soft: #efedfd;
  --surface: #ffffff;
  --surface-muted: #f4f6f8;
  --subtle: #eef1f5;
  --text: #1b2433;
  --text-muted: #7a8699;
  --text-body: #3c4657;
  --border: #e3e8ef;
  --dark: #0e1626;
  --dark-card: #16203a;
  --instagram: #e1306c;
  --youtube: #ff3b30;
  --tiktok: #00c2b8;
  --success: #62c82c;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgba(14, 22, 38, 0.06);
  --shadow-float: 0 18px 48px rgba(14, 22, 38, 0.14);
  --shadow-device: 0 24px 60px rgba(14, 22, 38, 0.18), 0 2px 8px rgba(14, 22, 38, 0.08);
  --max: 1120px;
  --max-wide: 1200px;
  --header-h: 72px;
  /* Abstand der schwebenden Header-Kapsel zum oberen Rand */
  --header-gap: 12px;
  /* Platz, den die Kapsel überlagert — Hero gleicht ihn per padding-top aus */
  --header-space: calc(var(--header-h) + var(--header-gap));
  --device-radius: 36px;
  --device-bezel: 10px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface-muted);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-gap) + 12px);
}

body {
  margin: 0;
  min-width: 0;
  background: var(--surface-muted);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ─── Header ─────────────────────────────────────────── */

/* Der Header selbst ist nur die unsichtbare sticky-Schiene — die Glas-Kapsel
   ist .header-inner. pointer-events: none, damit der transparente Streifen
   neben und über der Kapsel keine Klicks auf den Inhalt darunter schluckt. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--header-gap);
  pointer-events: none;
  /* Kapsel legt sich über den Hero, statt ein eigenes Band aufzuspannen —
     nur so scheint der Seitenverlauf durch das Glas durch. */
  margin-bottom: calc(-1 * var(--header-space));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  pointer-events: auto;
  padding-inline: 0.9rem;
  border-radius: var(--radius-pill);
  /* Fallback ohne backdrop-filter: deckend genug, dass Nav immer lesbar ist */
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(14, 22, 38, 0.08);
  box-shadow: 0 10px 30px rgba(14, 22, 38, 0.1), 0 2px 6px rgba(14, 22, 38, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-inner {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
  }
}

/* Sobald gescrollt wurde: etwas dichter und tiefer, damit die Kapsel auch über
   dunklen Mockups klar vom Inhalt abgesetzt bleibt (Klasse setzt index.html). */
.site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(14, 22, 38, 0.12);
  box-shadow: 0 14px 38px rgba(14, 22, 38, 0.16), 0 2px 8px rgba(14, 22, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled .header-inner {
    background: rgba(255, 255, 255, 0.84);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  /* Freigestelltes Logo: eine Karten-Schatten-Box zeichnete hier ein
     Rechteck-Phantom hinter das Motiv — deshalb ohne box-shadow. */
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.2rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.35rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  /* kräftiger als --text-muted: bleibt auch lesbar, wenn ein dunkles
     Phone-Mock durch das Glas der Kapsel scrollt */
  color: var(--text-body);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.55rem 1rem !important;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary) !important;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: #e4e0fc;
  color: var(--primary-hover) !important;
}

.header-cta-mobile {
  display: inline-flex;
}

/* ─── Buttons ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 111, 240, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 10px 26px rgba(124, 111, 240, 0.36);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.btn-ghost:hover {
  background: var(--subtle);
  color: var(--text);
}

.btn-lg {
  padding: 1.05rem 1.65rem;
  font-size: 1.05rem;
}

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  position: relative;
  padding: calc(2.75rem + var(--header-space)) 0 3rem;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(124, 111, 240, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 30%, rgba(185, 168, 240, 0.2), transparent 50%),
    linear-gradient(180deg, #f8f7fc 0%, var(--surface-muted) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.eyebrow.light {
  color: #d8d2ff;
}

.eyebrow.light .eyebrow-dot {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--primary);
}

.lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
}

.hero-meta svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ─── Device chrome (real screenshots) ───────────────── */

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 0;
}

.device-stage {
  position: relative;
  width: min(100%, 320px);
  /* height grows with primary phone on mobile; fixed on desktop */
  min-height: 0;
  height: auto;
  padding-bottom: 0.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  width: 220px;
  height: 220px;
  background: rgba(124, 111, 240, 0.28);
  top: 10%;
  right: 5%;
}

.glow-b {
  width: 180px;
  height: 180px;
  background: rgba(0, 194, 184, 0.12);
  bottom: 15%;
  left: 0;
}

.device {
  margin: 0;
  position: relative;
  z-index: 2;
}

.device-chrome {
  position: relative;
  background: linear-gradient(165deg, #222b42 0%, var(--dark) 55%, #0a101c 100%);
  border-radius: var(--device-radius);
  padding: var(--device-bezel);
  box-shadow: var(--shadow-device);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.device-chrome::after {
  /* subtle glass rim */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 4;
}

.device-speaker {
  position: absolute;
  top: calc(var(--device-bezel) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 6px;
  border-radius: 999px;
  background: #05080f;
  z-index: 5;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.device-chrome img {
  width: 100%;
  aspect-ratio: 390 / 844;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: calc(var(--device-radius) - 6px);
  background: var(--surface-muted);
}

.device-primary {
  width: min(100%, 260px);
  z-index: 3;
}

.device-secondary {
  display: none;
  width: 220px;
  z-index: 1;
}

.device-inline {
  width: min(100%, 280px);
  margin-inline: auto;
}

/* gallery width set under .gallery-item */

/* Floating chips on hero — desktop only (see min-width: 900px) */
.float-card {
  display: none;
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  padding: 0.7rem 0.9rem;
  backdrop-filter: blur(8px);
}

.float-card-insight {
  top: 12%;
  left: 0;
  gap: 0.1rem;
}

.float-card-insight .float-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.float-card-insight strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.float-card-insight span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.float-card-ai {
  bottom: 8%;
  right: 0;
  max-width: 180px;
  gap: 0.5rem;
  align-items: flex-start;
}

.float-card-ai .ai-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.float-card-ai p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-body);
  font-weight: 500;
}

/* ─── Trust strip ────────────────────────────────────── */

.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding: 1.15rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.trust-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-platforms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
}

.trust-platforms li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.platform-badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.platform-badge.ig {
  background: var(--instagram);
  box-shadow: 0 0 0 4px rgba(225, 48, 108, 0.12);
}
.platform-badge.yt {
  background: var(--youtube);
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
}
.platform-badge.tt {
  background: var(--tiktok);
  box-shadow: 0 0 0 4px rgba(0, 194, 184, 0.12);
}

/* ─── Sections ───────────────────────────────────────── */

.section {
  padding: 4.25rem 0;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-intro.center {
  margin-inline: auto;
  text-align: center;
}

.section-intro.center .section-lead {
  margin-inline: auto;
}

.section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  font-weight: 800;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 36rem;
}

.section h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  font-weight: 700;
}

/* ─── Value cards ────────────────────────────────────── */

.card-grid.three {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 22, 38, 0.08);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ─── Features ───────────────────────────────────────── */

.features {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.feature-rows {
  display: grid;
  gap: 1.75rem;
}

.feature-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  overflow: hidden;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.feature-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.feature-bullets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
}

.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.feature-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

/* ─── Gallery ────────────────────────────────────────── */

.gallery {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(124, 111, 240, 0.08), transparent 60%),
    var(--surface-muted);
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.15rem;
  align-items: start;
}

.gallery-item {
  margin: 0;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.device-gallery {
  width: min(100%, 200px);
}

.gallery-item figcaption {
  text-align: center;
  display: grid;
  gap: 0.15rem;
}

.gallery-item figcaption strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.gallery-item figcaption span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Platforms ──────────────────────────────────────── */

.platforms-grid {
  display: grid;
  gap: 1.75rem;
}

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.platform-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(14, 22, 38, 0.07);
}

.platform-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.platform-list span:not(.platform-dot) {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.platform-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.platform-dot.ig {
  background: var(--instagram);
  box-shadow: 0 0 0 6px rgba(225, 48, 108, 0.12);
}
.platform-dot.yt {
  background: var(--youtube);
  box-shadow: 0 0 0 6px rgba(255, 59, 48, 0.12);
}
.platform-dot.tt {
  background: var(--tiktok);
  box-shadow: 0 0 0 6px rgba(0, 194, 184, 0.12);
}

/* ─── CTA ────────────────────────────────────────────── */

.cta-band {
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
}

.cta-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(135deg, #5f52df 0%, var(--primary) 48%, #9b90f5 100%);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 2.25rem 1.6rem;
  box-shadow: var(--shadow-float);
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 0.65rem;
}

.cta-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  line-height: 1.65;
}

.cta-actions {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.cta-inner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(14, 22, 38, 0.15);
}

.cta-inner .btn-primary:hover {
  background: #f4f2ff;
  color: var(--primary-hover);
}

.cta-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-tagline,
.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   Responsive: tablet
   ═══════════════════════════════════════════════════════ */

@media (min-width: 640px) {
  .device-stage {
    height: 520px;
    width: min(100%, 480px);
  }

  .device-primary {
    width: 280px;
    position: relative;
  }

  .gallery-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .device-gallery {
    width: min(100%, 210px);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   Responsive: desktop
   ═══════════════════════════════════════════════════════ */

@media (min-width: 900px) {
  .container {
    width: min(100% - 3rem, var(--max-wide));
  }

  :root {
    --header-gap: 16px;
  }

  .header-inner {
    padding-inline: 1.15rem 1.25rem;
  }

  .nav {
    display: flex;
  }

  .header-cta-mobile {
    display: none;
  }

  .hero {
    padding: calc(4.5rem + var(--header-space)) 0 5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 3.4vw, 3.4rem);
  }

  .lead {
    font-size: 1.12rem;
  }

  .hero-visual {
    min-height: 560px;
  }

  .device-stage {
    width: 100%;
    height: 560px;
    max-width: 520px;
    margin-inline: auto;
  }

  .device-secondary {
    display: block;
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 230px;
    transform: rotate(-8deg);
    z-index: 1;
  }

  .device-secondary .device-chrome {
    box-shadow: 0 16px 40px rgba(14, 22, 38, 0.14);
    opacity: 0.96;
  }

  .device-primary {
    position: absolute;
    right: 12px;
    bottom: 0;
    width: 280px;
    transform: rotate(3deg);
    z-index: 3;
  }

  .float-card {
    display: grid;
  }

  .float-card-ai {
    display: flex;
  }

  .float-card-insight {
    top: 8%;
    left: -8px;
  }

  .float-card-ai {
    bottom: 18%;
    right: -4px;
    max-width: 190px;
  }

  /* keep both cards visible only in dual-phone stage */
  .device-stage .float-card {
    display: grid;
  }

  .device-stage .float-card-ai {
    display: flex;
  }

  .section {
    padding: 5.5rem 0;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .feature-row {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding: 2rem 2rem 2rem 2.25rem;
    min-height: 420px;
  }

  .feature-row.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .feature-row.reverse .feature-copy {
    order: 2;
  }

  .feature-row.reverse .feature-media {
    order: 1;
  }

  .feature-media {
    padding: 0.5rem 1rem;
  }

  .device-inline {
    width: 260px;
  }

  .platforms-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }

  .platform-list {
    gap: 0.95rem;
  }

  .cta-inner {
    grid-template-columns: 1.3fr auto;
    gap: 2.5rem;
    padding: 3rem 3.25rem;
  }

  .cta-actions {
    justify-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 2rem;
  }

  .footer-brand-block {
    grid-column: 1;
  }

  .footer-links {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  .footer-copy {
    grid-column: 1 / -1;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
    margin-top: 0.35rem;
    padding-top: 1rem;
  }
}

/* Large desktop polish */
@media (min-width: 1200px) {
  .hero {
    padding: 5.5rem 0 6rem;
  }

  .device-stage {
    height: 600px;
    max-width: 560px;
  }

  .device-primary {
    width: 300px;
    right: 20px;
  }

  .device-secondary {
    width: 250px;
    left: 8px;
  }

  .device-inline {
    width: 280px;
  }

  .feature-row {
    min-height: 460px;
    padding: 2.25rem 2.5rem;
  }

  .gallery-track {
    gap: 1.75rem;
    max-width: 1040px;
    margin-inline: auto;
  }

  .device-gallery {
    width: 220px;
  }
}

/* Small phones */
@media (max-width: 390px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  :root {
    --header-gap: 8px;
  }

  .header-inner {
    padding-inline: 0.7rem;
    border-radius: var(--radius-2xl);
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .header-cta-mobile {
    width: auto;
  }

  .device-primary {
    width: min(100%, 250px);
  }

  .gallery-track {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .platform-list li {
    transition: none;
  }
}

/* Print: keep content readable */
@media print {
  .site-header {
    position: static;
    padding-top: 0;
    margin-bottom: 0;
  }

  .header-inner {
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .device-secondary,
  .float-card,
  .glow {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   Rechtsseiten (impressum.html, datenschutz.html, agb.html)
   ───────────────────────────────────────────────────────
   Eigener, ruhiger Lesemodus statt der Marketing-Sektionen: schmale
   Zeilenlänge, statischer Header ohne Glas-Kapsel, keine Animationen. Die
   Seiten werden aus docs/legal/*.md generiert — Struktur hier nicht an eine
   einzelne Seite anpassen, sie gilt für alle drei.
   ═══════════════════════════════════════════════════════ */

.legal-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.legal-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--primary);
}

.legal-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.legal {
  background: var(--surface-muted);
  padding: 2.5rem 0 3.5rem;
}

.legal-inner {
  width: min(100% - 2rem, 46rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.legal h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Die Tabelle „Zwecke und Rechtsgrundlagen" ist auf dem Telefon breiter als
   der Viewport — sie scrollt in ihrem eigenen Kasten, die Seite selbst nie. */
.legal-table-scroll {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 32rem;
}

.legal th,
.legal td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal th {
  background: var(--surface-muted);
  color: var(--text);
  font-weight: 600;
}

.legal td {
  color: var(--text-body);
}

.legal tbody tr:last-child td {
  border-bottom: 0;
}
