/* =========================================================
   CreatorVillage — style.css
   Ein einziges, schlankes Stylesheet für die ganze Seite,
   damit der Browser es einmal lädt und auf jeder weiteren
   Seite aus dem Cache bekommt (schnelle Ladezeit).
   ========================================================= */

:root {
  --bg:            #1b1a22;
  --bg:            oklch(16% 0.02 280);
  --bg-glow-1:     #b34c8c;
  --bg-glow-2:     #e2914a;

  --text:          #f4f1ea;
  --text:          oklch(96% 0.01 80);
  --text-secondary:#c9c3b8;
  --text-secondary:oklch(82% 0.02 80);
  --text-muted:    #948d80;
  --text-muted:    oklch(55% 0.02 80);

  --card:          #232230;
  --card:          oklch(20% 0.02 290);
  --card-alt:      #2b2838;
  --card-alt:      oklch(22% 0.03 280);
  --card-border:   #383547;
  --card-border:   oklch(30% 0.03 290);

  --accent-1:      #d9558f;
  --accent-1:      oklch(70% 0.19 340);
  --accent-2:      #e9924a;
  --accent-2:      oklch(75% 0.19 55);
  --accent-1-soft: color-mix(in oklch, var(--accent-1) 18%, transparent);

  --gradient: linear-gradient(90deg, var(--accent-1), var(--accent-2));

  --font-display: 'Sora', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;

  --container: 1160px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* Sichtbarer Fokus-Rahmen für alle interaktiven Elemente (Tastatur-Bedienung).
   Nutzt denselben Akzentton wie die Formularfelder, damit Fokus überall
   konsistent und mit ausreichend Kontrast zum dunklen Hintergrund sichtbar ist. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent-1); color: #1b1a22; font-weight: 700;
  padding: 10px 18px; border-radius: 8px; z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Background glow (decorative, cheap: CSS only) ---------- */
.bg-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-glow::before, .bg-glow::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.bg-glow::before { top: -180px; right: -140px; background: var(--bg-glow-1); }
.bg-glow::after { top: 520px; left: -200px; background: var(--bg-glow-2); opacity: 0.22; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: relative;
  z-index: 10;
  padding: 24px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav-logo-mark { display: block; height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  color: var(--bg);
  background: var(--gradient);
}
.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--card-border);
}
.btn-large { padding: 16px 32px; border-radius: 12px; font-size: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 40px 0 0;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card-alt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e6a9c8;
  width: fit-content;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--card-border);
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  width: fit-content;
}
.trust-badge svg { width: 16px; height: 16px; stroke: var(--accent-2); flex-shrink: 0; }

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 8px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.link-arrow svg { width: 18px; height: 18px; }

.hero-visual { flex: 1 1 0; display: flex; align-items: center; justify-content: center; }
.hero-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-alt), var(--card));
  border: 1px solid color-mix(in oklch, var(--card-border) 70%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-card svg { width: 35%; height: 35%; stroke: #e6b7d4; }
.hero-card .live-tag {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  padding: 14px 18px; border-radius: 14px;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  font-size: 13px; font-weight: 600;
  display: flex; justify-content: space-between;
}
.hero-card .live-tag .status { color: var(--accent-2); }

/* ---------- Value strip ---------- */
.value-strip {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 56px 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: color-mix(in oklch, var(--card-border) 60%, transparent);
}
.value-strip > div { padding: 24px 28px; background: var(--card); }
.value-strip h3 { font-size: 16px; margin-bottom: 6px; }
.value-strip p { font-size: 14px; color: var(--text-secondary); }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: 120px 0 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 640px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.kicker.pink { color: #e290c4; }
.kicker.orange { color: #eba86e; }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-intro { font-size: 18px; line-height: 1.6; color: var(--text-secondary); }

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

.card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--card-border);
}
.card h3 { font-size: 19px; }
.card p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); }

/* ---------- FAQ (native <details>/<summary>, keine Zeilen JS nötig) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-inline: auto; }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 4px 24px; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--accent-1); transition: transform .2s ease; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.65; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-1-soft);
}
.card-icon svg { width: 22px; height: 22px; stroke: #e6a9c8; }

.feature {
  display: flex; flex-direction: column; gap: 14px;
}
.feature svg { width: 28px; height: 28px; stroke: var(--accent-2); }
.feature h3 { font-size: 18px; }
.feature p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); }

.quote-panel {
  margin-top: 64px;
  padding: 48px 56px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--card-border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.5;
  max-width: 820px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; z-index: 1;
  margin: 120px 0 0;
  padding: 56px;
  border-radius: 28px;
  background: linear-gradient(120deg, #4a2f52, #4a3323);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-banner p { font-size: 16px; color: var(--text-secondary); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 1;
  margin-top: 100px;
  padding: 56px 0 40px;
  border-top: 1px solid var(--card-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-mark { width: 75px; height: 64px; align-self: flex-start; object-fit: contain; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); max-width: 280px; line-height: 1.6; }
.footer-brand .handle { font-size: 14px; font-weight: 600; color: #e6a9c8; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-secondary); }
.footer-col .footer-title { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--card-border);
  font-size: 13px; color: var(--text-muted);
}

/* ---------- Page intro (Leistungen / Über uns / Kontakt headers) ---------- */
.page-intro { padding-top: 56px; }
.page-intro .container { max-width: 760px; }
.page-intro h1 { font-size: clamp(30px, 4vw, 48px); margin-top: 20px; }
.page-intro .hero-sub { margin-top: 20px; max-width: none; }
.section-tight { padding-top: 64px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.field input, .field textarea {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--card-border);
  color: var(--text); font: inherit; font-size: 15px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent-1); outline-offset: 1px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.form-panel {
  display: flex; flex-direction: column; gap: 20px;
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--card-border);
}
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.side-panel {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: 20px;
}
.side-panel.bordered { background: var(--card); border: 1px solid var(--card-border); }
.side-panel.tinted { background: var(--card-alt); }
.side-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.side-panel.tinted h3 { font-size: 16px; }
.side-panel p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.side-panel .link-arrow { color: #e6a9c8; font-weight: 700; }
.side-panel .btn { margin-top: 6px; }
.side-col { display: flex; flex-direction: column; gap: 20px; }
.btn.fit { width: fit-content; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: -8px; }
.form-note a { color: #e6a9c8; text-decoration: underline; }
.form-status { font-size: 14px; margin-top: 4px; }
.form-status[data-state="success"] { color: #8fd19e; }
.form-status[data-state="error"] { color: #e08787; }

/* ---------- Cookie preview toggles (disabled, informational only) ---------- */
.cookie-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--card-border);
}
.cookie-row + .cookie-row { margin-top: 12px; }
.cookie-row-text h3 { font-size: 16px; margin-bottom: 4px; }
.cookie-row-text p { font-size: 13px; color: var(--text-muted); }
.toggle-preview {
  position: relative; flex: 0 0 auto;
  width: 46px; height: 26px; border-radius: 999px;
  background: var(--card-border);
}
.toggle-preview::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--text-muted);
}
.toggle-preview[data-state="on"] { background: var(--accent-1-soft); }
.toggle-preview[data-state="on"]::after { left: auto; right: 3px; background: var(--accent-1); }
.cookie-status-badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Legal pages (Impressum, Datenschutz, ...) ---------- */
.legal-content { max-width: 760px; padding-bottom: 100px; }
.legal-content .meta-block { margin-bottom: 40px; }
.legal-content .meta-block p { color: var(--text); font-size: 15px; margin-bottom: 4px; }
.legal-content h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.legal-content a { color: #e6a9c8; text-decoration: underline; }
.legal-content .source-note { font-size: 13px; color: var(--text-muted); margin-top: 32px; }

/* ---------- 404 page ---------- */
.error-page { text-align: center; padding-bottom: 140px; }
.error-page .container { max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.error-page .hero-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { flex-direction: column; }
  .hero-visual { order: -1; max-width: 320px; margin-inline: auto; }
  .value-strip { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--card-border);
    padding: 8px 24px; display: none;
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; }
  .nav-toggle { display: inline-flex; order: 2; }
  .site-header { position: relative; }
  .site-header .container { flex-wrap: wrap; }
  .btn-primary.nav-cta { padding: 10px 18px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .quote-panel, .cta-banner { padding: 32px; }
}
