/* ==========================================================================
   HAKUNA TV – Globales Stylesheet
   Struktur: 1. Tokens  2. Basis  3. Layout  4. Komponenten  5. Sektionen
             6. Unterseiten  7. Animationen  8. Responsive
   ========================================================================== */

/* 1. Design-Tokens ------------------------------------------------------- */
:root {
  --navy-950: #080911;
  --navy-900: #101321;
  --navy-850: #111629;
  --navy-800: #161c35;
  --navy-700: #1f2744;
  --purple-600: #7a2ff0;
  --purple-500: #9146ff;
  --blue-500: #4385ff;
  --purple-400: #a56bff;
  --purple-300: #c3a2ff;
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: #a7adc2;
  --text-dim: #7c8299;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);

  --grad-brand: linear-gradient(135deg, #9146ff 0%, #4385ff 100%);
  --card: #111629;
  --grad-text: linear-gradient(100deg, #b07aff 0%, #9146ff 40%, #4385ff 100%);
  --glow: 0 0 0 1px rgba(145, 70, 255, 0.35), 0 12px 40px -8px rgba(145, 70, 255, 0.55);

  --font-sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", "Segoe UI Variable Display", "Segoe UI",
    system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Basis --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--navy-950);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(145, 70, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(67, 133, 255, 0.10), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--purple-300); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

ul, ol.steps { padding: 0; margin: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--purple-400);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(145, 70, 255, 0.4); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--white);
  color: var(--navy-950);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--navy-950); }

/* 3. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(16, 19, 33, 0.45) 20%, rgba(16, 19, 33, 0.45) 80%, transparent);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-300);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 4. Komponenten --------------------------------------------------------- */

/* Buttons */
.btn {
  --btn-bg: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--white);
  font: 600 0.975rem/1 var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { color: var(--white); transform: translateY(-2px); background-color: var(--surface-hover); border-color: rgba(255,255,255,0.28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  border-color: transparent;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -10px rgba(145, 70, 255, 0.8);
}
.btn--primary:hover { box-shadow: var(--glow); background: var(--grad-brand); border-color: transparent; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(8, 9, 17, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
}
.site-header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.site-header .logo { justify-self: start; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font: 800 1.125rem/1 var(--font-display);
  letter-spacing: 0.06em;
}
.logo:hover { color: var(--white); }
.logo img { width: 32px; height: 32px; }
.logo span em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.main-nav ul a::after {          /* feine Verlaufslinie unter dem Menüpunkt */
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transform: scaleX(0.3);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.main-nav ul a:hover { color: var(--white); }
.main-nav ul a:hover::after { opacity: 0.45; transform: scaleX(0.6); }
.main-nav ul a[aria-current="page"] {
  font-weight: 600;
  background: linear-gradient(90deg, #a46bff, #9146ff 45%, #4385ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav ul a[aria-current="page"]::after {
  opacity: 1;
  transform: none;
  box-shadow: 0 0 10px rgba(145, 70, 255, 0.7);
}
.main-nav .nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--white);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); background: var(--white); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); background: var(--white); }

/* Cards */
.card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 60%), var(--card);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(145, 70, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(145, 70, 255, 0.35); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin: 0; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.28), rgba(67, 133, 255, 0.16));
  border: 1px solid rgba(145, 70, 255, 0.3);
  color: var(--purple-300);
}
.icon-badge svg { width: 24px; height: 24px; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Checklist */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--grad-brand) center / 12px no-repeat;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"),
    var(--grad-brand);
  background-size: 12px, cover;
}

/* 5. Sektionen ----------------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.4;
}
.hero-orb--1 { width: 520px; height: 520px; top: -180px; right: -80px; background: #9146ff; animation: float 14s ease-in-out infinite; }
.hero-orb--2 { width: 420px; height: 420px; bottom: -160px; left: -160px; background: #4385ff; opacity: 0.25; animation: float 18s ease-in-out infinite reverse; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 14px;
  border: 1px solid rgba(145, 70, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.14), rgba(67, 133, 255, 0.10));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--white);
}
.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.9);
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 3.7vw, 3.4rem);
  line-height: 1.08;
}
.hero h1 .h1-brand {
  display: block;
  margin-bottom: 0.08em;
  font-size: 1.12em;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero h1 .h1-brand b {
  font-weight: inherit;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .text-gradient { white-space: nowrap; }
.hero h1 .h1-dash { color: var(--text-dim); font-weight: 400; }
.hero h1 .h1-rest { color: var(--white); }

.text-gradient { padding-bottom: 0.06em; }

.hero-lead {
  max-width: 540px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 1.4vw, 1.175rem);
  color: var(--text-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--purple-400); }

/* Hero-Visual: Fernseher mit App-Oberfläche (rein dekorativ) */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% 14%;
  border-radius: 40px;
  background: var(--grad-brand);
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
}

.tv { position: relative; }
.tv-frame {
  position: relative;
  container-type: inline-size;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1c2133, #0c0f1a);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 120px -50px rgba(145, 70, 255, 0.8);
}
.tv-frame::after {               /* leichte Glasspiegelung */
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background: linear-gradient(115deg, rgba(255,255,255,0.07) 0%, transparent 32%);
  pointer-events: none;
}
.tv-stand {
  width: 30%;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(180deg, #151a2b, #0b0e18);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}
.tv-base {
  width: 44%;
  height: 6px;
  margin: 0 auto;
  border-radius: 6px;
  background: #1a2034;
  box-shadow: 0 16px 30px -6px rgba(0, 0, 0, 0.8);
}

.app {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(145, 70, 255, 0.16), transparent 60%),
    #080911;
  font-size: 10px;
  font-size: 1.35cqw;
  color: var(--white);
  display: grid;
  grid-template-rows: auto 1fr;
  user-select: none;
  white-space: nowrap;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 2.2em;
  padding: 1.1em 2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-logo { display: flex; align-items: center; gap: 0.6em; font-weight: 800; letter-spacing: 0.06em; }
.app-logo i {
  width: 1.6em; height: 1.6em;
  border-radius: 0.45em;
  background: var(--grad-brand);
}
.app-tabs { display: flex; gap: 1.6em; color: var(--text-muted); font-weight: 500; }
.app-tabs .is-active { color: var(--white); position: relative; }
.app-tabs .is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.7em;
  height: 0.2em;
  border-radius: 1em;
  background: var(--grad-brand);
}
.app-tools { margin-left: auto; display: flex; align-items: center; gap: 1.2em; }
.app-search {
  display: flex; align-items: center; gap: 0.6em;
  width: 11em;
  padding: 0.45em 0.9em;
  border-radius: 2em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}
.app-search svg { width: 1.1em; height: 1.1em; }
.app-avatar {
  width: 2em; height: 2em;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4a8ff, #4385ff);
  box-shadow: 0 0 0 0.18em rgba(145, 70, 255, 0.5);
}

.app-body { padding: 1.2em 2em; display: grid; grid-auto-rows: max-content; gap: 1em; align-content: start; min-height: 0; }

.app-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 1.5em 2em;
  border-radius: 1em;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 78% 30%, rgba(145, 70, 255, 0.85), transparent 60%),
    radial-gradient(50% 80% at 98% 90%, rgba(67, 133, 255, 0.8), transparent 60%),
    linear-gradient(135deg, #171d36, #0d1022);
}
.app-feature-art {               /* abstrakte Landschaft */
  position: absolute;
  right: 0; bottom: 0;
  width: 62%; height: 100%;
  color: rgba(8, 9, 17, 0.55);
}
.app-feature-art circle { color: rgba(255, 255, 255, 0.85); }
.app-feature::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 17, 0.92) 0%, rgba(8, 9, 17, 0.5) 45%, transparent 75%);
}
.app-feature > div { position: relative; max-width: 55%; }
.app-chip {
  display: inline-block;
  margin-bottom: 0.6em;
  padding: 0.25em 0.7em;
  border-radius: 0.4em;
  background: rgba(145, 70, 255, 0.35);
  border: 1px solid rgba(145, 70, 255, 0.6);
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.app-title { display: block; font-size: 1.9em; font-weight: 800; line-height: 1.1; margin-bottom: 0.35em; letter-spacing: -0.01em; }
.app-meta { display: flex; gap: 0.6em; margin-bottom: 1.2em; color: var(--text-muted); font-size: 0.9em; }
.app-meta span + span::before { content: "•"; margin-right: 0.6em; color: var(--text-dim); }
.app-buttons { display: flex; gap: 0.7em; }
.app-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1.2em;
  border-radius: 2em;
  background: var(--white);
  color: #080911;
  font-weight: 700;
}
.app-btn svg { width: 1em; height: 1em; }
.app-btn--ghost { background: rgba(255, 255, 255, 0.12); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }

.app-row-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.05em; margin-bottom: -0.4em; }
.app-row-head span { color: var(--text-dim); font-weight: 500; font-size: 0.85em; }
.app-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9em; }

.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0.7em;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(70% 90% at var(--x, 70%) var(--y, 20%), var(--c1), transparent 70%),
    linear-gradient(150deg, var(--c2), #0b0e1c);
  animation: tileIn 0.8s var(--ease) both;
}
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 17, 0.75));
}
.thumb-tag {
  position: absolute; top: 0.5em; left: 0.5em; z-index: 1;
  padding: 0.15em 0.5em;
  border-radius: 0.3em;
  background: rgba(8, 9, 17, 0.6);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.thumb-progress {
  position: absolute; left: 0.6em; right: 0.6em; bottom: 0.6em; z-index: 1;
  height: 0.25em;
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.2);
}
.thumb-progress::before {
  content: "";
  display: block;
  width: var(--p, 50%); height: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
}
.thumb--live .thumb-tag::before {
  content: "";
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin-right: 0.35em;
  border-radius: 50%;
  background: #ff4d6d;
  animation: pulse 1.6s ease-in-out infinite;
}
.thumb:nth-child(1) { --c1: rgba(145, 70, 255, 0.9);  --c2: #2a1f5e; animation-delay: .25s; }
.thumb:nth-child(2) { --c1: rgba(67, 133, 255, 0.9);  --c2: #142a5c; --x: 30%; animation-delay: .32s; }
.thumb:nth-child(3) { --c1: rgba(255, 120, 190, 0.7); --c2: #3a1a52; --y: 80%; animation-delay: .39s; }
.thumb:nth-child(4) { --c1: rgba(70, 210, 200, 0.6);  --c2: #102e44; --x: 20%; animation-delay: .46s; }
.thumb:nth-child(5) { --c1: rgba(255, 170, 80, 0.6);  --c2: #3a2618; --y: 70%; animation-delay: .53s; }
.app-row--live .thumb:nth-child(1) { --c1: rgba(67, 133, 255, 0.8);  --c2: #13254f; }
.app-row--live .thumb:nth-child(2) { --c1: rgba(120, 220, 140, 0.55); --c2: #11331f; }
.app-row--live .thumb:nth-child(3) { --c1: rgba(145, 70, 255, 0.85); --c2: #26185a; }
.app-row--live .thumb:nth-child(4) { --c1: rgba(255, 110, 110, 0.6); --c2: #3a1620; }
.app-row--live .thumb:nth-child(5) { --c1: rgba(100, 200, 255, 0.6); --c2: #122c40; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(17, 22, 41, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.float-card small { display: block; color: var(--text-dim); font-size: 0.75rem; font-weight: 400; }
.float-card .icon-badge { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.float-card .icon-badge svg { width: 18px; height: 18px; }
.float-card--a { left: -26px; bottom: 20%; animation: float 7s ease-in-out infinite; }
.float-card--b { right: -16px; top: -24px; animation: float 8s ease-in-out infinite 1s; }

/* Abschnittsüberschriften mit Verlauf */
.section-head h2 .text-gradient { white-space: nowrap; }

/* 5. Vorteile – Bento-Raster */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bento-card { display: flex; flex-direction: column; }
.bento-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}
.bento-art {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(145, 70, 255, 0.22), transparent 60%),
    rgba(8, 9, 17, 0.6);
}
.bento-art-bar {
  display: block;
  height: 10px;
  width: 46%;
  margin-bottom: 14px;
  border-radius: 6px;
  background: var(--grad-brand);
  opacity: 0.85;
}
.bento-art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bento-art-grid i {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(140deg, var(--c, #26185a), #0d1022);
  transition: transform 0.5s var(--ease);
}
.bento-art-grid i:nth-child(1) { --c: rgba(145, 70, 255, 0.7); }
.bento-art-grid i:nth-child(2) { --c: rgba(67, 133, 255, 0.6); }
.bento-art-grid i:nth-child(3) { --c: rgba(190, 110, 255, 0.45); }
.bento-art-grid i:nth-child(4) { --c: rgba(67, 133, 255, 0.4); }
.bento-art-grid i:nth-child(5) { --c: rgba(145, 70, 255, 0.5); }
.bento-art-grid i:nth-child(6) { --c: rgba(90, 160, 255, 0.5); }
.bento-card--wide:hover .bento-art-grid i:nth-child(odd) { transform: translateY(-3px); }
.bento-card--wide:hover .bento-art-grid i:nth-child(even) { transform: translateY(3px); }

/* 6. Geräte */
.device-tiles {
  --cols: 4;
  --gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.device-tiles > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.device-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 14px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--card);
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.device-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(145, 70, 255, 0.45);
  box-shadow: 0 24px 50px -30px rgba(145, 70, 255, 0.9);
}
.device-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.22), rgba(67, 133, 255, 0.14));
  border: 1px solid rgba(145, 70, 255, 0.3);
  color: var(--white);
  transition: background 0.35s var(--ease);
}
.device-icon svg { width: 30px; height: 30px; }
.device-tile:hover .device-icon { background: var(--grad-brand); }
.device-tile strong { color: var(--white); font-size: 1rem; font-weight: 600; }

.devices-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  text-align: center;
}
.trademark-note { margin: 0; font-size: 0.8rem; color: var(--text-dim); max-width: 640px; }

/* 7. Schritte */
.steps { counter-reset: step; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 35px; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 70, 255, 0.5) 20%, rgba(67, 133, 255, 0.5) 80%, transparent);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
  counter-increment: step;
  position: relative;
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  margin: 0 auto 26px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(145, 70, 255, 0.45);
  box-shadow: 0 0 0 10px var(--navy-950), 0 0 36px -6px rgba(145, 70, 255, 0.7);
  font: 800 1.35rem/1 var(--font-display);
}
.step-num::before {
  content: counter(step, decimal-leading-zero);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-muted); max-width: 320px; margin-inline: auto; }

/* 8. Transparenz */
.transparency {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  border: 1px solid rgba(145, 70, 255, 0.25);
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(145, 70, 255, 0.2), transparent 60%),
    radial-gradient(420px 300px at 100% 100%, rgba(67, 133, 255, 0.14), transparent 60%),
    var(--card);
  overflow: hidden;
}
.transparency .shield {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: var(--grad-brand);
  box-shadow: var(--glow);
  color: var(--white);
}
.transparency .shield svg { width: 30px; height: 30px; }
.transparency h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 16px; }
.transparency-copy > p { color: var(--text-muted); font-size: 1.075rem; margin-bottom: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.text-link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

.transparency-list { display: grid; gap: 14px; }
.transparency-list li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 9, 17, 0.55);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.transparency-list li:hover { border-color: rgba(145, 70, 255, 0.4); transform: translateX(4px); }
.tl-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.25), rgba(67, 133, 255, 0.18));
  color: var(--purple-300);
}
.tl-icon svg { width: 20px; height: 20px; }
.transparency-list strong { display: block; color: var(--white); margin-bottom: 2px; }
.transparency-list p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* 9. Pakete */
.plans-cta { margin: 44px 0 0; text-align: center; }

/* 10. FAQ-Akkordeon */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: rgba(145, 70, 255, 0.4); box-shadow: 0 20px 50px -35px rgba(145, 70, 255, 0.9); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  border-radius: inherit;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--white), var(--white)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 1.5px 10px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--purple-500);
  border-color: transparent;
}
.faq-answer { padding: 0 26px 24px; color: var(--text-muted); }
.faq-item[open] .faq-answer { animation: faqIn 0.35s var(--ease); }
.faq-answer p:last-child { margin: 0; }
.faq-more { text-align: center; margin-top: 36px; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* 11. Abschluss-CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 72px);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(145, 70, 255, 0.35), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(67, 133, 255, 0.25), transparent 70%),
    var(--card);
}
.cta-band::before {               /* Verlaufsrahmen */
  content: "";
  position: absolute; inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.8), rgba(255, 255, 255, 0.06) 45%, rgba(67, 133, 255, 0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.cta-band::after {                /* Punktraster */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  z-index: -1;
  left: 50%; bottom: -220px;
  width: 520px; height: 320px;
  margin-left: -260px;
  border-radius: 50%;
  background: var(--grad-brand);
  filter: blur(90px);
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}
.cta-band h2 { max-width: 720px; margin-inline: auto; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta-band p { max-width: 560px; margin: 0 auto 36px; color: var(--text-muted); font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Footer */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 72px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16,19,33,0.5), var(--navy-950));
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p { color: var(--text-dim); max-width: 320px; margin-top: 18px; }
.footer-col h2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }

/* Zurück-nach-oben */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(17, 22, 41,0.9);
  backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--purple-500); }
.to-top svg { width: 20px; height: 20px; }

/* 6. Unterseiten --------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.page-hero .hero-orb--1 { width: 420px; height: 420px; top: -200px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero p { max-width: 680px; color: var(--text-muted); font-size: 1.15rem; margin: 0; }

.breadcrumb { margin-bottom: 22px; font-size: 0.875rem; color: var(--text-dim); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-muted); }

.notice {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border: 1px dashed rgba(145, 70, 255,0.45);
  border-radius: var(--radius);
  background: rgba(145, 70, 255,0.07);
  color: var(--text-muted);
}
.notice strong { color: var(--white); }
.notice svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--purple-300); }

/* Preisseite --------------------------------------------------------------- */
.page-hero--center { text-align: center; }
.page-hero--center h1,
.page-hero--center p { margin-inline: auto; }
.page-hero--center .breadcrumb ol { justify-content: center; }
.page-hero .hero-orb--2 { width: 360px; height: 360px; bottom: -260px; left: -120px; }

.section.pricing { padding-top: clamp(8px, 2vw, 24px); }

/* Laufzeit-Umschalter */
.term-switch {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(32px, 5vw, 48px);
  padding: 5px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--card);
  min-inline-size: 0;
}
.term-switch-option { position: relative; }
.term-switch-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.term-switch-option span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.term-switch-option:hover span { color: var(--white); }
.term-switch-option input:checked + span {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 8px 24px -10px rgba(145, 70, 255, 0.9);
}
.term-switch-option input:focus-visible + span { outline: 2px solid var(--purple-400); outline-offset: 2px; }
.term-switch-option--long span::after {   /* dezente Hervorhebung der 12-Monats-Laufzeit */
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 8px rgba(145, 70, 255, 0.9);
}
.term-switch-option--long input:checked + span::after { background: var(--white); box-shadow: none; }

/* Preiskarten */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card { display: flex; flex-direction: column; padding: 28px 24px 24px; }
.price-card:hover { transform: translateY(-4px); }
.price-card-head { display: flex; align-items: center; gap: 14px; }
.price-card-head h3 { margin: 0; font-size: 1.3rem; }
.price-card .price-card-sub { margin: 2px 0 0; font-size: 0.875rem; color: var(--text-dim); }

.device-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  gap: 3px;
  width: 52px; height: 52px;
  padding-top: 4px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.24), rgba(67, 133, 255, 0.16));
  border: 1px solid rgba(145, 70, 255, 0.32);
  color: var(--white);
}
.device-badge svg { width: 22px; height: 22px; }
.device-dots { display: flex; gap: 3px; }
.device-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.device-dots i.on { background: var(--purple-300); box-shadow: 0 0 6px rgba(145, 70, 255, 0.9); }

.price-card .price-display {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
  margin: 26px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  color: var(--white);
}
.price-amount {
  font: 800 clamp(2.8rem, 4vw, 3.4rem)/1 var(--font-display);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #cfc2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-currency { font: 700 1.6rem/1 var(--font-display); color: var(--white); }
.price-term { flex-basis: 100%; margin-top: 8px; font-size: 0.925rem; color: var(--text-muted); }

/* Laufzeit-Optionen je Karte */
.term-options { margin: 0 0 24px; padding: 0; border: 0; min-inline-size: 0; display: grid; gap: 8px; }
.term-options-legend {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.term-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 9, 17, 0.45);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.term-option:hover { border-color: var(--border-strong); }
.term-option input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin: 0;
  border: 1.5px solid var(--text-dim);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.term-option input:checked {
  border-color: transparent;
  background: var(--grad-brand);
  box-shadow: inset 0 0 0 3.5px var(--card);
}
.term-option input:focus-visible { outline: 2px solid var(--purple-400); outline-offset: 2px; }
.term-option-label { flex: 1; color: var(--text-muted); font-size: 0.925rem; }
.term-option-price { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.term-option:has(input:checked) {
  border-color: rgba(145, 70, 255, 0.6);
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.16), rgba(67, 133, 255, 0.1));
}
.term-option:has(input:checked) .term-option-label { color: var(--white); }
.term-option--long { border-color: rgba(145, 70, 255, 0.28); }  /* dezente Hervorhebung */

.price-cta { width: 100%; margin-top: auto; }
.price-card.is-preselected {
  border-color: rgba(145, 70, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(145, 70, 255, 0.35), 0 30px 70px -35px rgba(145, 70, 255, 0.9);
}
.price-vat-note {
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Preistabelle */
.price-table-wrap {
  max-width: 920px;
  margin-inline: auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table caption {
  caption-side: bottom;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: left;
}
.price-table th,
.price-table td { padding: 18px 20px; text-align: center; white-space: nowrap; }
.price-table thead th {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border);
}
.price-table th:first-child { text-align: left; }
.price-table tbody th { font-weight: 600; color: var(--white); }
.price-table td { font-weight: 700; color: var(--white); font-size: 1.05rem; }
.price-table tbody tr + tr { border-top: 1px solid var(--border); }
.price-table tbody tr { transition: background-color 0.2s var(--ease); }
.price-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.price-table tr.is-long { background: linear-gradient(90deg, rgba(145, 70, 255, 0.12), rgba(67, 133, 255, 0.08)); }
.price-table tr.is-long th { box-shadow: inset 3px 0 0 var(--purple-500); }

/* Hinweis lizenzierte Inhalte */
.licence-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 920px;
  margin-inline: auto;
  padding: 28px 32px;
  border: 1px solid rgba(145, 70, 255, 0.25);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(145, 70, 255, 0.16), transparent 60%),
    var(--card);
}
.licence-note .tl-icon { width: 48px; height: 48px; border-radius: 14px; }
.licence-note .tl-icon svg { width: 24px; height: 24px; }
.licence-note h2 { font-size: 1.3rem; margin-bottom: 8px; }
.licence-note p { margin: 0; color: var(--text-muted); }

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; max-width: 440px; }
  .term-switch { width: 100%; }
  .term-switch-option { flex: 1; }
  .term-switch-option span { justify-content: center; padding: 10px 6px; font-size: 0.85rem; gap: 5px; }
  .price-table { table-layout: fixed; }
  .price-table th, .price-table td { padding: 14px 4px; font-size: 0.875rem; }
  .price-table th:first-child { width: 27%; padding-left: 14px; white-space: normal; }
  .price-table thead th { font-size: 0.66rem; letter-spacing: 0.02em; white-space: normal; line-height: 1.3; }
  .price-table caption { padding: 12px 14px; }
  .licence-note { flex-direction: column; padding: 24px 20px; }
}

.faq-answer .faq-action { margin-top: 16px; }
.btn svg { pointer-events: none; }

/* Partner-Seite ------------------------------------------------------------- */
.page-hero-actions { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.request-steps { list-style: none; margin: 0; padding: 0; }
.request-num {
  display: inline-block;
  margin-bottom: 16px;
  font: 800 1.1rem/1 var(--font-display);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Support-Seite ------------------------------------------------------------- */
.section.support { padding-top: clamp(8px, 2vw, 24px); }
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  max-width: 1040px;
}
.support-side { display: grid; gap: 20px; align-content: start; }
.support-card { padding: 32px; }
.support-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.support-card--whatsapp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-color: rgba(145, 70, 255, 0.4);
  background:
    radial-gradient(480px 260px at 0% 0%, rgba(145, 70, 255, 0.24), transparent 65%),
    radial-gradient(380px 240px at 100% 100%, rgba(67, 133, 255, 0.16), transparent 65%),
    var(--card);
}
.support-card--whatsapp h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.support-card--whatsapp > p { font-size: 1.05rem; }
.support-card--whatsapp .btn { margin-top: 24px; }
.support-icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--grad-brand);
  box-shadow: var(--glow);
  color: var(--white);
}
.support-icon svg { width: 28px; height: 28px; }
.support-icon--sm {
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.28), rgba(67, 133, 255, 0.2));
  box-shadow: none;
}
.support-icon--sm svg { width: 20px; height: 20px; }
.card .support-selection {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(145, 70, 255, 0.35);
  border-radius: 12px;
  background: rgba(8, 9, 17, 0.5);
  color: var(--white);
  font-size: 0.95rem;
}
.card .wa-pending { margin-top: 12px; font-size: 0.875rem; color: var(--text-dim); }
.support-card > .btn--sm { margin-top: 18px; }
.btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.support-links ul { display: grid; gap: 4px; margin-top: 6px; }
.support-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
.support-links li:last-child a { border-bottom: 0; }
.support-links a svg { width: 18px; height: 18px; color: var(--purple-300); transition: transform 0.25s var(--ease); }
.support-links a:hover { color: var(--white); }
.support-links a:hover svg { transform: translateX(4px); }

@media (max-width: 860px) {
  .support-grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 640px) {
  .support-card { padding: 26px 22px; }
  .support-card--whatsapp .btn { width: 100%; white-space: normal; }
}

/* Reseller-Seite ------------------------------------------------------------ */
.page-hero .hero-badge {
  margin: 0 auto 22px;
  max-width: none;
  font-size: 0.75rem;
  color: var(--white);
}
@media (max-width: 480px) {
  .page-hero .hero-badge { font-size: 0.68rem; letter-spacing: 0.1em; }
}
.reseller-hero .page-hero-actions { margin-top: 36px; }

.benefit-grid { align-items: stretch; }
.benefit-card { display: flex; flex-direction: column; padding: 30px 26px; }
.benefit-card .icon-badge { transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.benefit-card:hover .icon-badge { background: var(--grad-brand); color: var(--white); box-shadow: var(--glow); }
.benefit-card h3 { font-size: 1.125rem; }

.reseller-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.reseller-step { padding: 34px 30px 30px; }
.reseller-step-num {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -10px rgba(145, 70, 255, 0.9);
  font: 800 1.15rem/1 var(--font-display);
  color: var(--white);
}
.reseller-step h3 { font-size: 1.2rem; }

/* WhatsApp-Schaltfläche (grün) */
.btn--whatsapp {
  border-color: transparent;
  background: linear-gradient(135deg, #1ea952 0%, #138a48 100%);
  box-shadow: 0 10px 30px -10px rgba(30, 169, 82, 0.8);
}
.btn--whatsapp:hover {
  background: linear-gradient(135deg, #22b85a 0%, #159650 100%);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.45), 0 14px 40px -10px rgba(30, 169, 82, 0.9);
}

.cta-band--reseller h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }

/* Funktionsseite */
.feature-overview { align-items: stretch; }
.feature-card { display: flex; flex-direction: column; padding: 32px 28px; }
.feature-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card .text-link { margin-top: auto; padding-top: 20px; font-size: 0.95rem; }

/* 7. Animationen --------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes tileIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .thumb { animation: none; }
}

/* 8. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .float-card--a { left: -8px; }
  .float-card--b { right: -6px; }

  .device-tiles { --cols: 3; }

}

@media (max-width: 960px) {
  :root { --header-h: 62px; }


  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }

  .grid--3 { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card--wide { grid-column: 1 / -1; }
  .transparency { grid-template-columns: 1fr; }

  .steps::before { display: none; }
  .steps.grid--3 { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .site-header .container { display: flex; justify-content: space-between; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px clamp(20px, 4vw, 32px) 40px;
    background: rgba(8, 9, 17, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav ul a { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .main-nav ul a::after { left: 16px; right: auto; width: 28px; bottom: 6px; }
  .main-nav ul a:hover { background: var(--surface); }
  .main-nav .nav-cta-mobile { display: none; }
  body.nav-locked { overflow: hidden; }
}

@media (max-width: 480px) {
  .header-actions > .btn { display: none; }
  .main-nav .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  .app-tabs span:nth-child(n+4) { display: none; }
}

@media (max-width: 640px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .app-row { grid-template-columns: repeat(4, 1fr); }
  .app-row .thumb:nth-child(5) { display: none; }
  .app-search { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--wide { grid-template-columns: 1fr; gap: 24px; }
  .device-tiles { --cols: 2; --gap: 12px; }
  .device-tile { padding: 24px 12px 20px; }
  .transparency { padding: 28px 18px; border-radius: 24px; }
  .transparency-copy { padding-inline: 6px; }
  .transparency-list li { padding: 16px; gap: 14px; }
  .section-head h2 .text-gradient { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-answer { padding: 0 20px 20px; }
  .cta-actions .btn { flex: 1 1 100%; }
}
