/* ============================================================
   wuensche.pro — Style
   Schwarzes Grund, tiefes Grün, warmes Gold.
   Kein Portal, kein Login, kein Tracking.
   ============================================================ */

:root {
  --bg: #0c0e0a;
  --bg-gradient-top: #080a07;
  --bg-gradient-bottom: #0e110c;
  --surface: #141712;
  --surface-border: #1c2018;
  --text-primary: #e6e2da;
  --text-secondary: #9aad8a;
  --text-muted: #67705e;
  --muted-light: #464d40;
  --accent: #c8a64a;
  --accent-light: #ddc06f;
  --accent-dark: #9e8030;
  --accent-dim: #7a6528;
  --accent-gold: rgba(200, 166, 74, 0.08);
  --shadow: rgba(0, 0, 0, 0.35);
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 640px;
  --header-h: 32px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 100%);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Schwebe-Text: Hintergrund-Flüchte ──────────────────── */
.quantum-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.drift {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--accent-dim);
  white-space: nowrap;
  letter-spacing: 0.01em;
  user-select: none;
  opacity: 0;
  will-change: transform, opacity;
  animation: driftBackground linear infinite;
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.04);
}

/* Individuelle Positionen & Geschwindigkeiten */
.d1  { left: -160px; top: 8%;   --duration: 50s; --delay: 0s;   --opacity: 0.18; --drift-x: 100vw; --drift-y: -8px;  color: rgba(200, 166, 74, 0.14); }
.d2  { left: 65%;    top: 5%;   --duration: 65s; --delay: 7s;   --opacity: 0.12; --drift-x: 100vw; --drift-y: 15px;  font-size: 11px; color: rgba(200, 166, 74, 0.08); }
.d3  { left: -200px; top: 25%;  --duration: 55s; --delay: 12s;  --opacity: 0.15; --drift-x: 100vw; --drift-y: -5px;  color: rgba(200, 166, 74, 0.11); }
.d4  { left: 40%;    top: 12%;  --duration: 70s; --delay: 3s;   --opacity: 0.08; --drift-x: 100vw; --drift-y: 22px;  font-size: 11px; color: rgba(200, 166, 74, 0.06); }
.d5  { left: -170px; top: 45%;  --duration: 58s; --delay: 9s;   --opacity: 0.14; --drift-x: 100vw; --drift-y: -3px;  color: rgba(200, 166, 74, 0.10); }
.d6  { left: 25%;    top: 30%;  --duration: 62s; --delay: 15s;  --opacity: 0.10; --drift-x: 100vw; --drift-y: 18px;  font-size: 11px; color: rgba(200, 166, 74, 0.07); }
.d7  { left: -230px; top: 65%;  --duration: 52s; --delay: 5s;   --opacity: 0.16; --drift-x: 100vw; --drift-y: -7px;  color: rgba(200, 166, 74, 0.12); }
.d8  { left: 75%;    top: 50%;  --duration: 68s; --delay: 10s;  --opacity: 0.09; --drift-x: 100vw; --drift-y: 20px;  font-size: 11px; color: rgba(200, 166, 74, 0.06); }
.d9  { left: -190px; top: 80%;  --duration: 56s; --delay: 18s;  --opacity: 0.12; --drift-x: 100vw; --drift-y: -10px; color: rgba(200, 166, 74, 0.09); }
.d10 { left: 50%;    top: 92%;  --duration: 64s; --delay: 2s;   --opacity: 0.07; --drift-x: 100vw; --drift-y: 15px;  font-size: 11px; color: rgba(200, 166, 74, 0.05); }
.d11 { left: -210px; top: 15%;  --duration: 54s; --delay: 22s;  --opacity: 0.17; --drift-x: 100vw; --drift-y: -12px; color: rgba(200, 166, 74, 0.13); }
.d12 { left: 30%;    top: 75%;  --duration: 66s; --delay: 8s;   --opacity: 0.09; --drift-x: 100vw; --drift-y: 16px;  font-size: 11px; color: rgba(200, 166, 74, 0.07); }
.d13 { left: -180px; top: 38%;  --duration: 60s; --delay: 14s;  --opacity: 0.11; --drift-x: 100vw; --drift-y: -6px;  color: rgba(200, 166, 74, 0.08); }
.d14 { left: 60%;    top: 22%;  --duration: 72s; --delay: 20s;  --opacity: 0.07; --drift-x: 100vw; --drift-y: 25px;  font-size: 11px; color: rgba(200, 166, 74, 0.05); }
.d15 { left: -240px; top: 55%;  --duration: 57s; --delay: 6s;   --opacity: 0.14; --drift-x: 100vw; --drift-y: -4px;  color: rgba(200, 166, 74, 0.10); }

@keyframes driftBackground {
  0%   { transform: translate(0, 0); opacity: 0; }
  4%   { opacity: var(--opacity); }
  40%  { opacity: calc(var(--opacity) * 0.75); }
  70%  { opacity: calc(var(--opacity) * 0.3); }
  100% { transform: translate(calc(var(--drift-x), 10vw), var(--drift-y)); opacity: 0; }
}

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 24px);
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 12, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-h);
}

/* ── Haupt-Bereich ──────────────────────────────────────── */
.main-section {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h) - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(44px, 7vw, 64px) 0;
}

.main-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vw, 44px);
}

/* ── Titelblock ──────────────────────────────────────────── */
.title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 1.8vw, 16px);
}

.kicker {
  font-size: clamp(10px, 1.4vw, 11px);
  font-weight: 600;
  letter-spacing: clamp(0.18em, 1.5vw, 0.22em);
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 2px;
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 6.5vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 520px;
}

.title-line {
  display: block;
  color: var(--accent);
  font-style: italic;
  margin-top: 4px;
  opacity: 0.90;
  font-size: clamp(26px, 5.5vw, 40px);
}

.subtitle {
  font-size: clamp(13px, 1.8vw, 15px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
  margin-top: 6px;
}

/* ── Depot-Block ──────────────────────────────────────────── */
.depot-block {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 4px 18px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.8vw, 22px);
}

.depot-label {
  font-size: clamp(12px, 1.6vw, 14px);
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.depot-form {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 10px);
}

.depot-input {
  width: 100%;
  padding: clamp(13px, 2vw, 16px) clamp(14px, 2.2vw, 18px);
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.5;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  resize: none;
}

.depot-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
  font-style: italic;
}

.depot-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-gold);
}

.depot-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--bg) inset;
  -webkit-text-fill-color: var(--text-primary);
}

.depot-button {
  align-self: flex-end;
  padding: clamp(9px, 1.4vw, 12px) clamp(18px, 3vw, 24px);
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.6vw, 13px);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.depot-button:hover {
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent-gold);
  transform: translateY(-1px);
}

.depot-button:active {
  transform: translateY(0);
}

.depot-note {
  font-size: clamp(10px, 1.2vw, 11px);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  opacity: 0.6;
}

/* ── Unten: Logo-Text + Impressum ────────────────────────── */
.bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(20px, 3.5vw, 28px);
  flex-wrap: wrap;
}

.logo-text-bottom {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.8vw, 15px);
  letter-spacing: -0.02em;
  color: var(--text-muted);
  opacity: 0.55;
}

.bottom-sep {
  color: var(--surface-border);
  opacity: 0.5;
}

.impressum-text {
  font-size: clamp(11px, 1.4vw, 12px);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.impressum-text:hover {
  opacity: 0.90;
  color: var(--accent);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--surface-border);
  padding: clamp(14px, 2vw, 16px) 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.footer-copy {
  font-size: clamp(9px, 1.1vw, 10px);
  color: var(--text-muted);
  letter-spacing: 0.03em;
  opacity: 0.5;
}

/* ── Wünsche im Hintergrund ─────────────────────────────── */
.drift.wish {
  color: rgba(201, 168, 76, 0.22);
  font-style: italic;
  font-size: 13px;
  text-shadow: 0 0 16px rgba(201, 168, 76, 0.06);
  transition: color 0.6s ease;
}
.drift.wish:hover {
  color: rgba(201, 168, 76, 0.45);
}

/* ── Barrierefreiheit ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--text-primary);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  z-index: 300;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ── Kein externer Ressourcen-Abruf ─────────────────────── */
/* Keine externen Bilder, keine externen Skripte, keine Cookies,
   keine Tracking-Skripte. Alles aus CSS + HTML + lokalen SVGs. */
