:root {
  --bg: #0d0918;
  --bg-soft: #140e24;
  --card: #171130;
  --card-2: #1c1537;
  --ink: #f5f2ff;
  --ink-soft: #b4a9d4;
  --ink-faint: #7d7099;
  --pink: #ff2d78;
  --orange: #ff7b3d;
  --gold: #ffd166;
  --cyan: #2de2e6;
  --accent: var(--pink);
  --accent-dark: #e0195f;
  --accent-soft: rgba(255, 45, 120, 0.12);
  --grad: linear-gradient(135deg, #ff2d78, #ff7b3d 55%, #ffd166);
  --grad-btn: linear-gradient(135deg, #ff2d78, #ff7b3d);
  --line: rgba(255, 255, 255, 0.09);
  --green: #2ee88a;
  --red: #ff5c7a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 8px 36px rgba(255, 45, 120, 0.35);
  --font: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(640px 420px at 12% -5%, rgba(255, 45, 120, 0.16), transparent 70%),
    radial-gradient(640px 420px at 92% 10%, rgba(255, 123, 61, 0.12), transparent 70%),
    radial-gradient(700px 500px at 50% 115%, rgba(104, 40, 201, 0.22), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 9, 24, 0.7);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 24px;
}
.logo {
  display: flex; align-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px; letter-spacing: -0.2px;
}
.logo .mark { width: 34px; height: 34px; display: block; margin-right: 10px; filter: drop-shadow(0 2px 10px rgba(255, 45, 120, 0.45)); }
.logo .grad, .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

.lang-select {
  font-family: var(--font); font-weight: 700; font-size: 13px;
  padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink-soft); cursor: pointer; outline: none;
}
.lang-select:hover { border-color: var(--ink-faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 800; font-size: 15px;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 13px 26px; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(255, 45, 120, 0.5); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.btn-soft { background: var(--accent-soft); color: var(--pink); }
.btn-soft:hover { background: rgba(255, 45, 120, 0.22); }
.btn-danger { background: rgba(255, 92, 122, 0.15); color: var(--red); }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 8px 17px; font-size: 13.5px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 96px 0 44px; position: relative; }
.hero .trust {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 34px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.08; letter-spacing: -1px; font-weight: 900;
  text-wrap: balance;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 45, 120, 0.4));
}
.hero .sub {
  max-width: 580px; margin: 26px auto 34px;
  font-size: 18px; color: var(--ink-soft);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; margin: 20px 0 0;
  background: rgba(255, 255, 255, 0.02);
}
.marquee .track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 3px; text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Phone mockups ---------- */
.phone-row {
  display: flex; justify-content: center; gap: 20px;
  padding: 54px 20px 80px; overflow: hidden;
}
.phone {
  width: 150px; aspect-ratio: 9 / 16; border-radius: 24px;
  position: relative; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone:hover { transform: translateY(-10px) rotate(0deg) !important; box-shadow: 0 34px 80px rgba(255, 45, 120, 0.3); }
.phone::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.2), transparent 38%);
  pointer-events: none;
}
/* Laufender Clip im Hintergrund, unten abgedunkelt, damit der Untertitel lesbar bleibt */
.phone .ph-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.phone::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10, 6, 20, 0.78), rgba(10, 6, 20, 0.15) 48%, transparent 70%);
  pointer-events: none;
}
.phone .cap {
  position: relative; z-index: 2;
  font-weight: 900; font-size: 15px; color: #fff; text-align: center;
  text-transform: uppercase; letter-spacing: -0.3px; line-height: 1.15;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 14px rgba(0, 0, 0, 0.4);
  padding: 0 10px;
}
.phone .cap em { font-style: normal; color: var(--gold); }
.phone:nth-child(1) { background: linear-gradient(160deg, #ff2d78, #8f1456); transform: rotate(-6deg) translateY(16px); }
.phone:nth-child(2) { background: linear-gradient(160deg, #ff7b3d, #c23a10); transform: rotate(-2deg); }
.phone:nth-child(3) { background: linear-gradient(160deg, #2b2440, #0d0918); transform: translateY(-12px); width: 170px; }
.phone:nth-child(4) { background: linear-gradient(160deg, #2de2e6, #0b7a8f); transform: rotate(2deg); }
.phone:nth-child(5) { background: linear-gradient(160deg, #ffd166, #d98a12); transform: rotate(6deg) translateY(16px); }
.phone .playbar {
  position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; z-index: 2;
  background: rgba(255, 255, 255, 0.3); border-radius: 2px;
}
.phone .playbar::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--p, 0.55) * 100%);
  background: #fff; border-radius: 2px;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; scroll-margin-top: 60px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px); font-weight: 800;
  letter-spacing: -0.6px; line-height: 1.12;
}
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 36px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
/* Foto oben in der Karte, randlos, läuft unten in die Kartenfarbe aus; das Icon sitzt halb darauf */
.feature-card .media {
  position: relative; margin: -38px -36px 0; aspect-ratio: 2 / 1; overflow: hidden;
  background: var(--card-2);
}
.feature-card .media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.feature-card:hover .media img { transform: scale(1.04); }
.feature-card .media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(23, 17, 48, 0) 45%, var(--card));
}
.feature-card .media + .icon { position: relative; margin-top: -24px; }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 22px 60px rgba(255, 45, 120, 0.14);
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-btn); color: #fff;
  display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(255, 45, 120, 0.4);
}
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card .tag {
  color: var(--pink); font-weight: 800; font-size: 12.5px; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 1.6px;
}
.feature-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { text-align: center; padding: 30px 22px; }
.step-card .step-img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--card-2); box-shadow: var(--shadow);
}
.step-card .step-img + .num { position: relative; margin-top: -25px; }
.step-card .num {
  width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad-btn); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  box-shadow: var(--glow);
}
.step-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--grad);
  border-radius: 30px; text-align: center;
  padding: 76px 30px; color: #16091a; margin-bottom: 90px;
  box-shadow: 0 30px 90px rgba(255, 45, 120, 0.3);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 14px;
}
.cta-band p { color: rgba(22, 9, 26, 0.75); margin-bottom: 30px; font-size: 17px; font-weight: 600; }
.cta-band .btn-primary {
  background: #16091a; color: #fff;
  box-shadow: 0 12px 34px rgba(22, 9, 26, 0.45);
}
.cta-band .btn-primary:hover { box-shadow: 0 18px 44px rgba(22, 9, 26, 0.55); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(255, 45, 120, 0.4); }
.price-card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 22px 60px rgba(255, 45, 120, 0.18);
}
.price-card .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-btn); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.price-card .desc { color: var(--ink-soft); font-size: 13.5px; margin: 4px 0 18px; min-height: 2.6em; }
.price-card .price { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.price-card .price span { font-size: 14px; font-weight: 600; color: var(--ink-soft); font-family: var(--font); letter-spacing: 0; }
/* Durchgestrichener Monatspreis und hochgestellte Cents (Laufzeit-Umschalter) */
.price-card .price .was {
  font-size: 0.5em; font-weight: 700; color: var(--ink-faint); letter-spacing: 0;
  margin-right: 8px; text-decoration-thickness: 2px; vertical-align: 0.35em;
}
.price-card .price sup { font-size: 0.45em; letter-spacing: 0; vertical-align: 0.85em; line-height: 0; }
.price-card .billed { color: var(--gold); font-size: 12.5px; font-weight: 600; margin: 2px 0 18px; }
.price-card .badge.alt {
  background: var(--bg-soft); color: var(--green);
  border: 1px solid rgba(46, 232, 138, 0.45); padding: 4px 13px;
}
.pricing-grid .pv { display: none; }
.pricing-grid[data-period="month"] .pv[data-period="month"],
.pricing-grid[data-period="quarter"] .pv[data-period="quarter"],
.pricing-grid[data-period="year"] .pv[data-period="year"] { display: block; }

.period-toggle {
  display: flex; gap: 4px; width: fit-content; max-width: 100%;
  margin: -24px auto 46px; padding: 5px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.period-toggle button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-soft); font: 600 15px/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.period-toggle button:hover { color: var(--ink); }
.modal .period-toggle { margin: 0 auto 30px; }
.pricing-grid > .price-card { min-width: 0; }
.modal .price-card { padding: 26px 20px; }
.modal .price-card .price { font-size: 28px; }
.modal .price-card .price .was { margin-right: 5px; }
.period-toggle button[aria-checked="true"] {
  background: var(--card-2); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.period-toggle button:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.period-toggle .save {
  font-size: 12px; font-weight: 700; color: var(--green);
  background: rgba(46, 232, 138, 0.12); padding: 3px 9px; border-radius: 999px;
}
@media (max-width: 640px) {
  .period-toggle { border-radius: 18px; margin-top: -30px; }
  .period-toggle button { flex: 1 1 0; flex-direction: column; gap: 4px; padding: 9px 8px; font-size: 13.5px; border-radius: 14px; white-space: normal; }
  /* Kurzform „−39%“ statt „Spare bis zu 39%“ */
  .period-toggle .save[data-short] { font-size: 0; padding: 2px 8px; }
  .period-toggle .save[data-short]::after { content: attr(data-short); font-size: 11.5px; }
}
@media (max-width: 420px) {
  /* Sprache bleibt über die Fusszeile wählbar; sonst überdeckt die Auswahl das Logo */
  .nav .lang-select { display: none; }
}
.price-card .quarterly { color: var(--gold); font-size: 12.5px; font-weight: 600; margin: 2px 0 18px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li {
  font-size: 14px; color: var(--ink-soft); padding: 7px 0 7px 24px; position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.price-card li::before { content: '✦'; position: absolute; left: 2px; color: var(--pink); font-size: 11px; }

/* ---------- Upgrade-Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(5, 3, 10, 0.75); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 860px; width: 100%; padding: 34px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 22px; }
.modal .close {
  float: right; background: none; border: none; color: var(--ink-soft);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.plan-box {
  margin-top: 18px; padding: 14px 16px; background: var(--bg-soft);
  border-radius: var(--radius-sm); font-size: 14px;
}
.plan-box .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-box b { text-transform: capitalize; }
.plan-box .meta { color: var(--ink-faint); font-size: 13px; margin-top: 4px; }
.bonus-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.bonus-row .meta, .bonus-line { color: var(--gold); font-weight: 600; margin-top: 0; }
.bonus-line:empty { display: none; }
.credits .bonus-line { color: var(--gold); font-weight: 600; margin-top: 8px; font-size: 13px; }
.bonus-row .btn { margin-left: auto; }

/* Credit-Pakete (Einmalkauf) */
.modal-packs { max-width: 760px; }
.modal-packs h2 { margin-bottom: 8px; }
.packs-sub { margin: 0 0 20px; }
.pricing-grid.pack-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .pricing-grid.pack-grid { grid-template-columns: 1fr; } }

.toast {
  position: fixed; top: 82px; left: 50%; z-index: 120;
  transform: translate(-50%, -12px); opacity: 0; transition: opacity 0.3s, transform 0.3s;
  background: var(--card); border: 1px solid rgba(255, 196, 0, 0.45); color: var(--ink);
  border-radius: var(--radius-sm); padding: 12px 18px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Impressum & Datenschutz */
.legal-page { max-width: 780px; padding-top: 34px; padding-bottom: 64px; width: 100%; }
.legal-page h1 { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.5px; margin-bottom: 6px; }
.legal-page h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 30px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.legal-page p + p { margin-top: 10px; }
.legal-page ul { padding-left: 20px; margin: 6px 0 10px; }
.legal-page li { margin-bottom: 6px; }
.legal-page b { color: var(--ink); }
.legal-page a { color: var(--pink); font-weight: 600; }
.legal-page a:hover { color: var(--gold); }
.legal-page code { font-size: 13px; background: var(--bg-soft); border-radius: 4px; padding: 1px 5px; }
.legal-page address { font-style: normal; color: var(--ink); line-height: 1.75; margin-bottom: 10px; }
.legal-page .stand { color: var(--ink-faint); font-size: 13px; margin-bottom: 22px; }
.legal-switch { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 26px; }
.legal-switch button { background: none; border: 0; color: var(--ink-soft); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.legal-switch button.active { background: var(--card); color: var(--ink); }
.fill-missing { background: rgba(255, 196, 0, 0.14); color: var(--gold); border-radius: 4px; padding: 0 4px; }
.legal-links { display: inline-flex; gap: 18px; }
.legal-links a { color: var(--ink-faint); }
.legal-links a:hover { color: var(--ink); }

/* Zustimmung zur Datenschutzerklärung beim Registrieren */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.consent input { flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--pink); cursor: pointer; }
.consent a { color: var(--pink); font-weight: 700; }
.auth-legal { display: flex; justify-content: center; gap: 18px; margin-top: 20px; font-size: 12.5px; }
.auth-legal a { color: var(--ink-faint); }
.auth-legal a:hover { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 24px; margin-bottom: 12px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(255, 45, 120, 0.5); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--pink); font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--ink-soft); font-size: 15px; margin-top: 12px; line-height: 1.65; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--ink-faint); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
.footer .tagline { max-width: 320px; margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  font-family: var(--font-display);
  color: var(--ink-soft); margin-bottom: 14px;
}
.footer-col a { display: block; margin-bottom: 8px; color: var(--ink-faint); }
.footer-col a:hover { color: var(--ink); }
.footer .legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; }
}

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 24px; }
.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); width: 100%; max-width: 420px; padding: 38px;
}
.auth-card .logo { justify-content: center; margin-bottom: 26px; }
.tabs { display: flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.tabs button {
  flex: 1; border: none; background: transparent; font-family: var(--font);
  font-weight: 700; font-size: 14.5px; padding: 9px; border-radius: 999px;
  cursor: pointer; color: var(--ink-soft); transition: all 0.15s;
}
.tabs button.active { background: var(--grad-btn); color: #fff; box-shadow: 0 2px 12px rgba(255, 45, 120, 0.4); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; font-family: var(--font); font-size: 15px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card-2); color: var(--ink); outline: none; transition: border-color 0.15s;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus { border-color: var(--pink); }
.form-error {
  background: rgba(255, 92, 122, 0.14); color: var(--red); font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255, 92, 122, 0.3);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px; display: none;
}
.form-error.show { display: block; }

/* ---------- App ---------- */
.app-body { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.app-body > .container { width: 100%; }
/* Fusszeile der App-Seiten: bleibt bei kurzen Seiten unten am Fensterrand */
.app-footer { margin-top: auto; padding: 28px 0 32px; }
.app-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.app-footer .logo { font-size: 17px; }
.app-footer .logo .mark { width: 28px; height: 28px; }
.app-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.app-footer-links a { color: var(--ink-faint); font-weight: 600; }
.app-footer-links a:hover { color: var(--ink); }
.app-footer .legal { margin-top: 20px; padding-top: 16px; }
.topbar { background: rgba(13, 9, 24, 0.7); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.userchip { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-btn); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}

.app-grid { display: grid; grid-template-columns: 420px 1fr; gap: 24px; padding: 28px 20px 60px; align-items: start; }
/* Lange, einzeilige Projekttitel dürfen die Spalte nicht verbreitern (Handy) */
.app-grid > * { min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 18px; }

.seg { display: flex; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 18px; }
.seg button {
  flex: 1; border: none; background: transparent; font-family: var(--font);
  font-weight: 700; font-size: 14px; padding: 10px; border-radius: 11px;
  cursor: pointer; color: var(--ink-soft);
}
.seg button.active { background: var(--grad-btn); color: #fff; box-shadow: 0 2px 12px rgba(255, 45, 120, 0.35); }

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.18); border-radius: var(--radius-sm);
  padding: 30px 20px; text-align: center; color: var(--ink-soft);
  font-size: 14.5px; cursor: pointer; transition: all 0.15s; margin-bottom: 4px;
}
.dropzone:hover, .dropzone.drag { border-color: var(--pink); background: var(--accent-soft); color: var(--pink); }
.dropzone .big { font-size: 26px; display: block; margin-bottom: 6px; }
.dropzone strong { color: var(--ink); }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; background: var(--bg-soft); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
}
.switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; background: rgba(255, 255, 255, 0.16); border-radius: 999px;
  cursor: pointer; transition: background 0.15s;
}
.switch .slider::before {
  content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.switch input:checked + .slider { background: var(--pink); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* Projekt-Karten */
.project-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px; display: block; transition: all 0.18s;
}
.project-card:hover { border-color: rgba(255, 45, 120, 0.4); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4); transform: translateY(-1px); }
.project-card .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.project-card h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-card .meta { color: var(--ink-faint); font-size: 13px; margin-top: 3px; }

.chip {
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.4px; white-space: nowrap;
}
.chip.queued, .chip.downloading, .chip.analyzing, .chip.rendering { background: var(--accent-soft); color: var(--pink); }
.chip.done { background: rgba(46, 232, 138, 0.14); color: var(--green); }
.chip.error { background: rgba(255, 92, 122, 0.15); color: var(--red); }

.progress { height: 7px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; margin-top: 14px; }
.progress .bar {
  height: 100%; border-radius: 99px;
  background: var(--grad);
  transition: width 0.6s ease;
}

.empty {
  text-align: center; color: var(--ink-faint); padding: 60px 20px;
  border: 2px dashed rgba(255, 255, 255, 0.14); border-radius: var(--radius); font-size: 15px;
}

/* Projektseite */
.clips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.clip-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.clip-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #050308; }
.clip-card.wide video { aspect-ratio: 16 / 9; }
.clip-card.square video { aspect-ratio: 1 / 1; }
.clip-card .body { padding: 14px 16px 16px; }
.clip-card h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 2px; }
.clip-card .meta { color: var(--ink-faint); font-size: 12.5px; margin-bottom: 12px; }

.log-box {
  background: #050308; color: var(--ink-soft); font-size: 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 16px 18px; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  max-height: 220px; overflow-y: auto; line-height: 1.7;
}
.log-box .t { color: var(--ink-faint); margin-right: 8px; }

.back-link { color: var(--ink-soft); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.back-link:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .phone-row .phone:nth-child(1), .phone-row .phone:nth-child(5) { display: none; }
}

/* ---------- Profil ---------- */
.userlink { display: flex; align-items: center; gap: 10px; color: inherit; border-radius: 99px; padding: 3px 10px 3px 3px; transition: background 0.15s; }
.userlink:hover { background: var(--accent-soft); color: var(--ink); }
.plan-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--pink); }
.plan-link:hover { color: var(--gold); }

.profile-wrap { padding-top: 30px; padding-bottom: 70px; max-width: 1080px; }
.profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.profile-head h1 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.5px; }
.profile-head .meta { color: var(--ink-faint); font-size: 14px; margin-top: 4px; }
.profile-head .btn { margin-left: auto; }
.avatar-lg { width: 64px; height: 64px; font-size: 26px; box-shadow: 0 0 30px rgba(255, 45, 120, 0.35); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.profile-grid .hint { color: var(--ink-faint); font-size: 13px; line-height: 1.5; margin-top: 8px; }
.profile-grid form .btn { margin-top: 4px; }

.plan-hero { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.plan-chip {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 22px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-price { color: var(--ink-soft); font-size: 14px; font-weight: 600; margin-top: 2px; }
.plan-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.credits { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.credits-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.credits-top span { color: var(--ink-faint); }
.credits .meta { color: var(--ink-faint); font-size: 13px; margin-top: 8px; }
.limits { list-style: none; margin: 16px 0 6px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.limits li::before { content: '✓'; color: var(--cyan); font-weight: 800; margin-right: 8px; }

.banner-row { display: flex; gap: 18px; align-items: flex-start; }
.banner-preview {
  flex: 0 0 132px; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-soft); border: 1.5px dashed var(--line); display: grid; place-items: center;
  color: var(--ink-faint); font-size: 12px; text-align: center; padding: 0;
}
.banner-preview span { padding: 10px; }
.banner-preview img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.banner-side { flex: 1; min-width: 0; }
.banner-side .hint:first-child { margin-top: 0; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 12px; }

.form-ok {
  background: rgba(46, 232, 138, 0.12); color: var(--green); font-size: 14px; font-weight: 600;
  border: 1px solid rgba(46, 232, 138, 0.3); border-radius: var(--radius-sm);
  padding: 10px 14px; margin-bottom: 16px; display: none;
}
.form-ok.show { display: block; }

@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-head { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .topbar .back-link { display: none; }
  .profile-head h1 { font-size: 22px; }
  .banner-row { flex-direction: column; }
  .banner-preview { flex-basis: auto; width: 140px; }
  .userlink span { display: none; }
  /* Kopfzeile der Startseite passt sonst auf schmalen Handys nicht in die Breite */
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { padding: 7px 11px; font-size: 12.5px; }
  .nav .lang-select { padding: 6px 6px; font-size: 12px; }
  .nav .logo { font-size: 15px; }
  .nav .logo .mark { width: 28px; height: 28px; margin-right: 7px; }
}
