/* ═══════════════════════════════════════════
   Lechdesign (Richard Rutsatz) — styles.css
   ═══════════════════════════════════════════ */

/* ── Schriften: selbst gehostet (DSGVO-konform, kein Google-Server) ──
   Variable Fonts: eine Datei deckt alle Gewichte ab.
   latin-ext lädt der Browser nur, wenn Sonderzeichen gebraucht werden. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --accent: #c96442;
  --accent-soft: rgba(201, 100, 66, 0.16);
  --bg: #14110d;
  --bg-alt: #181410;
  --surface: #1e1a15;
  --surface-2: #27211a;
  --text: #ece7e0;
  --text-dim: #a49b8f;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

img { max-width: 100%; display: block; }

.accent { color: var(--accent); transition: color 0.4s; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-soft); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 9px 20px; font-size: 0.85rem; background: var(--accent); color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* ─────────── Navigation ─────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(20, 17, 13, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-small { color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── Hero ─────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; background: var(--accent); top: -10%; left: -10%; }
.orb-2 { width: 380px; height: 380px; background: #a8842c; bottom: -15%; right: -5%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.08); }
}

.hero-content { max-width: 860px; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 24px;
}
.typed-wrap { display: inline-block; min-width: 1ch; }
.cursor {
  animation: blink 0.9s step-end infinite;
  color: var(--accent);
  font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-sub strong { color: var(--text); }
.hero-sub em { color: var(--text); font-style: normal; border-bottom: 2px solid var(--accent); }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ─────────── Sections ─────────── */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-sub { color: var(--text-dim); max-width: 560px; margin-bottom: 56px; }

/* ─────────── Cards (Leistungen) ─────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.card-icon { color: var(--accent); margin-bottom: 18px; line-height: 0; }
.card-icon .ic { width: 40px; height: 40px; stroke-width: 1.6; }

/* ─────────── Lucide-Icons ─────────── */
.ic { display: inline-block; vertical-align: middle; flex: none; }
.demo-box h3 { display: flex; align-items: center; gap: 9px; }
.demo-box h3 .ic { width: 20px; height: 20px; color: var(--accent); }
.ref-tag .ic { width: 15px; height: 15px; }
.about-badge .ic { width: 15px; height: 15px; color: var(--accent); }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 18px; }
.card-list { list-style: none; }
.card-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text);
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ─────────── Demo-Grid ─────────── */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.demo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.demo-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.demo-box > p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 20px; }
.demo-stage {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.demo-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; }

/* Demo 1: Mini-Site Theme Toggle */
.mini-site {
  width: 100%;
  max-width: 240px;
  border-radius: 10px;
  padding: 14px;
  background: #f4f5fa;
  transition: background 0.4s;
}
.mini-site.dark { background: #171310; }
.mini-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.mini-logo, .mini-nav, .mini-hero, .mini-block {
  border-radius: 5px;
  background: #d3d6e4;
  transition: background 0.4s;
}
.mini-site.dark .mini-logo,
.mini-site.dark .mini-nav,
.mini-site.dark .mini-block { background: #38302a; }
.mini-logo { width: 34px; height: 12px; }
.mini-nav { width: 80px; height: 12px; }
.mini-hero {
  height: 46px;
  margin-bottom: 10px;
  background: var(--accent) !important;
  opacity: 0.9;
}
.mini-row { display: flex; gap: 8px; }
.mini-block { flex: 1; height: 26px; }

.toggle-btn {
  width: 60px; height: 32px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.toggle-btn .toggle-knob {
  position: absolute;
  top: 3px; left: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.3s, background 0.4s;
}
.toggle-btn.on .toggle-knob { transform: translateX(27px); }

/* Demo 2: Farb-Swatches */
.color-swatches { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.swatch {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sw);
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.swatch:hover { transform: scale(1.15); }
.swatch.active { border-color: #fff; transform: scale(1.1); }

/* Demo 3: Slider */
.slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: grab;
  transition: background 0.4s;
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: grab;
}
.calc-result { font-size: 1.05rem; }
.calc-result strong { font-size: 1.2rem; }

/* Demo 4: Design-Stile */
.style-preview { width: 100%; min-height: 110px; }
.style-card {
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  animation: fadeSwap 0.4s ease;
}
@keyframes fadeSwap {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.style-card[data-style="elegant"] {
  background: #f6f2ec;
  color: #3d3229;
  font-family: Georgia, 'Times New Roman', serif;
}
.style-card[data-style="elegant"] h4 { font-family: Georgia, serif; font-weight: 400; letter-spacing: 1px; }
.style-card[data-style="modern"] {
  background: linear-gradient(135deg, #111827, #1f2a44);
  color: #e5e9f2;
  font-family: 'Inter', sans-serif;
}
.style-card[data-style="modern"] h4 { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.style-card[data-style="verspielt"] {
  background: linear-gradient(135deg, #fef3c7, #fde2e4);
  color: #7c3a00;
  font-family: 'Comic Sans MS', 'Segoe UI', cursive;
}
.style-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.style-card p { font-size: 0.8rem; opacity: 0.8; }

.style-tabs { display: flex; gap: 8px; }
.style-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.style-tab:hover { color: var(--text); }
.style-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─────────── Timeline (Prozess) ─────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  position: relative;
}
.timeline-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: border-color 0.3s;
}
.timeline-step:hover { border-color: var(--accent); }
.timeline-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.4s, color 0.4s;
}
.timeline-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.timeline-body p { color: var(--text-dim); font-size: 0.9rem; }

/* ─────────── Pricing ─────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 48px rgba(0, 0, 0, 0.35);
}
.badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 999px;
  transition: background 0.4s;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.price-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
}
.price-desc { color: var(--text-dim); font-size: 0.88rem; margin: 6px 0 22px; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 0.92rem;
  color: var(--text);
}
.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing-note {
  margin: 36px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─────────── Paket-Finder Quiz ─────────── */
.quiz-card {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.quiz-card::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 300px;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}
.quiz-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
  position: relative;
}
.quiz-head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; }
.quiz-intro { color: var(--text-dim); font-size: 0.95rem; }

.quiz-body { max-width: 580px; margin: 0 auto; position: relative; }
.quiz-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 22px;
}
.quiz-progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.35s ease, background 0.4s;
}
.quiz-stage.swap { animation: fadeSwap 0.35s ease; }
.quiz-step {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.quiz-question {
  font-size: 1.3rem;
  margin-bottom: 24px;
}
.quiz-answers { display: flex; flex-direction: column; gap: 12px; }
.quiz-answer {
  text-align: left;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.quiz-answer:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.quiz-back {
  margin-top: 22px;
  background: none;
  border: none;
  padding: 4px 0;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
}
.quiz-back:hover { color: var(--text); }
.quiz-back[disabled] { opacity: 0; pointer-events: none; }

.quiz-result {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  animation: fadeSwap 0.4s ease;
}
.quiz-result-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  transition: background 0.4s, color 0.4s;
}
.quiz-result h4 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 6px;
}
.quiz-result-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  transition: color 0.4s;
}
.quiz-result-reason {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 24px;
}
.quiz-result .card-list {
  display: inline-block;
  text-align: left;
  margin-bottom: 8px;
}
.quiz-result-hints-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 8px 0 4px;
}
.quiz-result-budget {
  max-width: 480px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-align: left;
}
.quiz-result-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.quiz-result-note {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.quiz-restart {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.quiz-restart:hover { color: var(--text); }

/* ─────────── Kontakt ─────────── */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-success {
  display: none;
  margin-top: 18px;
  text-align: center;
  color: #34d399;
  font-weight: 600;
}
.form-success.visible { display: block; animation: fadeSwap 0.4s ease; }
.form-error {
  display: none;
  margin-top: 18px;
  text-align: center;
  color: #f87171;
  font-weight: 600;
}
.form-error.visible { display: block; animation: fadeSwap 0.4s ease; }
.form-error a { color: inherit; }

/* Honeypot: aus dem Sichtbereich geschoben, nicht display:none (füllen manche Bots sonst nicht aus) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 22px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.form-consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent a { color: var(--accent); }

.contact-direct { text-align: center; margin-top: 28px; color: var(--text-dim); }
.contact-direct a { text-decoration: none; font-weight: 600; }

/* ─────────── Unterseite (Anfrage) ─────────── */
.subpage {
  position: relative;
  padding: 160px 0 110px;
  min-height: 100vh;
}
.subpage-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.subpage-bg .orb { opacity: 0.18; }
.subpage-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.optional { color: var(--text-dim); font-weight: 400; font-size: 0.8rem; }
.form-hint {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Auswahl-Chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Vertrauens-Leiste */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.trust-icon { line-height: 0; color: var(--accent); margin-top: 2px; }
.trust-icon .ic { width: 21px; height: 21px; stroke-width: 1.8; }
.form-success .ic { width: 17px; height: 17px; margin-right: 4px; }
.trust-item p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.5; }

/* ─────────── CTA-Banner (Startseite) ─────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 300px;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 14px;
  position: relative;
}
.cta-banner p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─────────── Footer ─────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ─────────── Referenzen ─────────── */
.browser-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #16120e;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.b-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.b-dot:nth-child(2) { background: #febc2e; }
.b-dot:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 10px;
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 14px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-frame img { width: 100%; height: auto; transition: transform 0.6s ease; }
.browser-frame:hover img { transform: scale(1.04); }

.ref-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 28px;
  transition: border-color 0.3s;
}
.ref-featured:hover { border-color: var(--accent); }
.ref-info h3 { font-size: 1.5rem; margin: 14px 0 12px; }
.ref-info > p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 18px; }

.ref-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  transition: background 0.4s, color 0.4s;
}
.ref-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ref-actions { margin-top: 26px; }
.browser-frame a { display: block; }
.tech-chip {
  font-size: 0.75rem;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.ref-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s;
}
.ref-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.ref-card .browser-frame { margin-bottom: 22px; }
.ref-card h3 { font-size: 1.15rem; margin: 12px 0 10px; }
.ref-card p { color: var(--text-dim); font-size: 0.92rem; }

.ref-cta {
  border-style: dashed;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}
.ref-cta-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background 0.4s, color 0.4s;
}
.ref-cta p { margin-bottom: 16px; max-width: 320px; }

/* ─────────── Über mich ─────────── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img,
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border-radius: 24px;
  border: 2px solid var(--accent);
  opacity: 0.35;
  z-index: -1;
  transition: border-color 0.4s;
}
.photo-placeholder {
  background:
    radial-gradient(ellipse at 30% 20%, var(--accent-soft), transparent 60%),
    var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.photo-initials {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.4s;
}
.photo-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  bottom: 20px;
  right: -14px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
.about-text > p:not(.section-kicker) {
  color: var(--text-dim);
  margin-bottom: 18px;
}
.about-text strong { color: var(--text); }
.about-text h2 { margin-bottom: 20px; }
.about-facts { margin-top: 8px; }

/* ─────────── FAQ ─────────── */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s;
}
.faq-item:hover, .faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 0.3s, background 0.4s, color 0.4s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 0.93rem;
  animation: fadeSwap 0.35s ease;
}
.faq-body strong { color: var(--text); }
.faq-body p + p { margin-top: 10px; }

/* ─────────── Rechtliches (Impressum / Datenschutz) ─────────── */
.legal-todo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fbbf24;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 36px;
}
.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
}
.legal-content h2 {
  font-size: 1.15rem;
  margin: 34px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 0.98rem; margin: 22px 0 8px; }
.legal-content p,
.legal-content li {
  color: var(--text-dim);
  font-size: 0.93rem;
  margin-bottom: 10px;
}
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content a { color: var(--accent); }
.legal-content strong { color: var(--text); }
mark.fill-in {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px dashed rgba(245, 158, 11, 0.45);
}
.legal-back { margin-top: 36px; }

/* ─────────── Scroll-Reveal ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .wheel, .cursor { animation: none; }
}

/* ─────────── Responsive ─────────── */
@media (max-width: 980px) {
  .ref-featured { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 340px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(20, 17, 13, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 28px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .burger { display: flex; }

  .section { padding: 80px 0; }
  .hero-stats { gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .ref-featured { padding: 22px; }
  .quiz-card { padding: 36px 22px; }
  .about-badge { right: 8px; }
  .faq-item summary { padding: 18px 18px; font-size: 0.92rem; }
  .faq-body { padding: 0 18px 18px; }
  .legal-content { padding: 28px 22px; }
}
