/* ===========================================================
   VOX Hamburg — Landing Page
   Clean / hell / vertrauenswürdig · Akzent: Violett
   =========================================================== */

:root {
  --violet-50:  #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;

  --ink-900: #17141f;
  --ink-700: #3a3546;
  --ink-500: #6b6577;
  --ink-400: #928da0;

  --bg:       #ffffff;
  --bg-soft:  #faf9fe;
  --bg-alt:   #f6f4fc;
  --border:   #e9e6f2;
  --border-strong: #d8d2ea;

  --rose-600: #db2777;

  --shadow-sm: 0 1px 2px rgba(23, 20, 31, .05);
  --shadow-md: 0 8px 30px rgba(76, 41, 145, .08);
  --shadow-lg: 0 24px 60px rgba(76, 41, 145, .14);

  --radius:    16px;
  --radius-lg: 24px;
  --maxw: 1120px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, audio { display: block; max-width: 100%; }
a { color: var(--violet-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
  color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, .28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(124, 58, 237, .38); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink-900); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--violet-400); background: var(--violet-50); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); font-weight: 800; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { color: var(--violet-600); font-size: 1.5rem; line-height: 1; }
.logo-text { font-size: 1.05rem; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink-700); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--violet-700); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: radial-gradient(1200px 600px at 78% -10%, var(--violet-100), transparent 60%), linear-gradient(180deg, var(--bg-soft), #fff); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-700); background: var(--violet-100); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 22px 0 0; letter-spacing: -.03em; }
.hero h1 .accent { background: linear-gradient(120deg, var(--violet-600), var(--rose-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.18rem; color: var(--ink-700); margin-top: 22px; max-width: 34em; }
.lead strong { color: var(--ink-900); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-badges li { font-size: .98rem; color: var(--ink-700); position: relative; padding-left: 20px; }
.hero-badges li::before { content: "●"; color: var(--violet-500); position: absolute; left: 0; font-size: .7rem; top: .35em; }
.hero-badges strong { color: var(--ink-900); font-weight: 700; }

.hero-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.hero-card-title { font-size: 1.25rem; margin-bottom: 18px; }
.wave { display: flex; align-items: center; gap: 5px; height: 44px; margin-bottom: 22px; }
.wave span { flex: 1; background: linear-gradient(180deg, var(--violet-400), var(--violet-600)); border-radius: 999px; animation: wave 1.3s ease-in-out infinite; }
.wave span:nth-child(odd) { animation-delay: -.2s; }
.wave span:nth-child(3n) { animation-delay: -.5s; }
.wave span:nth-child(3n+1) { animation-delay: -.8s; }
@keyframes wave { 0%,100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; height: 60%; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-700); font-size: .98rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: var(--violet-600); border-radius: 50%; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.kicker { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-600); margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-sub { font-size: 1.12rem; color: var(--ink-700); margin-top: 16px; }
.section-sub strong { color: var(--ink-900); }

/* ---------- cards 3 ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--violet-200); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; background: var(--violet-50); border-radius: 14px; margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-700); }

/* ---------- pay grid ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pay-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.pay-card--hero { background: linear-gradient(160deg, #fff, var(--violet-50)); border-color: var(--violet-200); box-shadow: var(--shadow-md); }
.pay-tag { display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--violet-700); }
.pay-amount { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; margin: 14px 0 16px; color: var(--ink-900); letter-spacing: -.02em; }
.pay-amount--sm { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.pay-desc { color: var(--ink-700); font-size: 1.02rem; }
.pay-desc strong { color: var(--ink-900); }
.fine-print { margin-top: 26px; color: var(--ink-500); font-size: .92rem; max-width: 62em; }

/* ---------- notice (transparenz) ---------- */
.notice { background: linear-gradient(180deg, #fff, var(--violet-50)); border: 1.5px solid var(--violet-200); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.notice::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--violet-600), var(--rose-600)); }
.notice-badge { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--rose-600); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.notice-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.notice-intro { margin: 18px 0 22px; font-size: 1.08rem; color: var(--ink-700); }
.notice-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.notice-list li { position: relative; padding-left: 34px; color: var(--ink-700); font-size: 1.04rem; }
.notice-list li::before { content: "!"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: var(--rose-600); border-radius: 8px; }
.notice-list strong { color: var(--ink-900); }
.notice-foot { margin-top: 24px; color: var(--ink-500); font-size: .98rem; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow-sm); }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); border-radius: 12px; margin-bottom: 18px; }
.step-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-body p { color: var(--ink-700); font-size: .98rem; }

/* ---------- form ---------- */
.form-wrap { max-width: 860px; }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink-900); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink-900);
  padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 4px var(--violet-100); }
.field-hint { font-size: .84rem; color: var(--ink-500); margin-top: 2px; }
input:invalid:not(:placeholder-shown) { border-color: #e879a8; }

/* ---------- recorder ---------- */
.recorder { margin-top: 28px; background: var(--bg-soft); border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 28px; }
.recorder-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.recorder-head h3 { font-size: 1.15rem; }
.pill { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--violet-700); background: var(--violet-100); padding: 4px 10px; border-radius: 999px; }
.recorder-intro { color: var(--ink-700); margin-bottom: 12px; }
.sample-text { font-size: 1.05rem; color: var(--ink-900); background: #fff; border-left: 4px solid var(--violet-500); border-radius: 8px; padding: 16px 20px; margin: 0 0 20px; font-style: italic; }
.recorder-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-record { background: #fff; border: 1.5px solid var(--border-strong); color: var(--ink-900); font-weight: 600; }
.btn-record:hover { border-color: var(--rose-600); }
.btn-record.recording { background: var(--rose-600); color: #fff; border-color: var(--rose-600); }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rose-600); }
.btn-record.recording .rec-dot { background: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.rec-timer { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.1rem; color: var(--ink-700); }
.rec-status { font-size: .9rem; color: var(--ink-500); }
.recorder-playback { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.recorder-playback audio { width: 100%; }

/* ---------- consents ---------- */
.consents { border: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .98rem; color: var(--ink-700); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet-600); cursor: pointer; }
.check strong { color: var(--ink-900); }

/* ---------- form actions ---------- */
.form-actions { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: .96rem; min-height: 1.2em; }
.form-note.ok { color: #16794f; }
.form-note.err { color: var(--rose-600); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 6px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-600); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-700); padding: 0 0 18px; }

/* ---------- final cta ---------- */
.final-cta { padding: 80px 0; background: linear-gradient(135deg, var(--violet-700), var(--violet-600)); color: #fff; text-align: center; }
.final-cta-inner { max-width: 640px; }
.final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); }
.final-cta p { font-size: 1.15rem; margin: 14px 0 30px; color: rgba(255,255,255,.9); }
.final-cta .btn-primary { background: #fff; color: var(--violet-700); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.final-cta .btn-primary:hover { background: var(--violet-50); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-900); color: #cfc9dd; padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.footer-brand .logo-mark { color: var(--violet-400); font-size: 1.5rem; }
.footer-brand .logo-text { color: #fff; font-weight: 800; font-size: 1.1rem; margin-left: 8px; }
.footer-brand p { margin-top: 14px; font-size: .95rem; color: #9d97ac; max-width: 30em; }
.footer-legal p { font-size: .9rem; color: #9d97ac; margin-bottom: 14px; }
.footer-legal strong { color: #cfc9dd; }
.footer-copy { font-size: .85rem; }

/* ---------- success modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(23, 20, 31, .55); backdrop-filter: blur(4px);
  animation: overlayIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: 100%; max-width: 460px; text-align: center;
  background: #fff; border-radius: var(--radius-lg); padding: 44px 36px 36px;
  box-shadow: var(--shadow-lg); animation: modalIn .28s cubic-bezier(.2,.8,.3,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px;
  border: none; background: transparent; color: var(--ink-400); font-size: 1.7rem; line-height: 1;
  cursor: pointer; border-radius: 50%; transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink-700); }
.modal-icon { width: 84px; height: 84px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--violet-50); border-radius: 50%; }
.modal-check-circle { stroke: var(--violet-500); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawCircle .5s ease forwards; }
.modal-check-mark { stroke: var(--violet-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: drawCheck .35s .45s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.modal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin-bottom: 12px; }
.modal p { color: var(--ink-700); margin-bottom: 26px; }
.modal .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { animation: none; }
  .modal-check-circle, .modal-check-mark { animation: none; stroke-dashoffset: 0; }
}

/* ---------- legal pages ---------- */
.legal-hero { background: linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--border); padding: 56px 0 40px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal { padding: 48px 0 72px; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; margin: 40px 0 12px; }
.legal-body h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-700); }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.legal-body address { font-style: normal; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin: 8px 0 8px; line-height: 1.7; }
.legal-body strong { color: var(--ink-900); }
.legal-updated { color: var(--ink-500); font-size: .92rem; margin-top: 8px; }
.legal-note { background: var(--violet-50); border: 1px solid var(--violet-200); border-radius: 12px; padding: 16px 20px; font-size: .92rem; color: var(--ink-700); margin-top: 32px; }
.legal-toc { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.legal-toc strong { display: block; margin-bottom: 8px; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; columns: 2; gap: 24px; }
.legal-toc a { font-size: .95rem; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .95rem; }

@media (max-width: 560px) { .legal-toc ul { columns: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
  .form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .notice { padding: 28px 24px; }
  .container { padding-inline: 18px; }
}
