/*
Theme Name: Smart Image Studio
Theme URI: https://smartimagestudio.de
Author: Smart Image Studio
Description: Premium-Onepager für KI-Fotorestaurierung & Bildveredelung. Mit 3D-Mockup-Studio, Preisrechner, Vorher/Nachher-Galerie und Customizer-Steuerung.
Version: 1.0.0
Requires PHP: 7.4
License: Proprietary
Text Domain: smart-image-studio
*/
/* ═══════════════════════════════════════════════════════════
   Smart Image Studio – smartimagestudio.de
   Design: dunkles Premium-Theme, Gold×Violett-Verlauf,
   2026-Trends: Bento-Grid, Micro-Interactions, Scroll-Reveals
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0b0b14;
  --bg-alt: #10101d;
  --surface: #161627;
  --surface-2: #1d1d31;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eeedf6;
  --muted: #a5a3ba;
  --gold: #e8b04b;
  --violet: #7c5cff;
  --cyan: #4cc9f0;
  --grad: linear-gradient(120deg, #e8b04b 0%, #e86e4b 35%, #7c5cff 75%, #4cc9f0 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

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

a { color: inherit; }

::selection { background: rgba(124, 92, 255, 0.45); }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }

/* ─── Typografie ─── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; letter-spacing: 0.2px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.18rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.lead, .section-lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.section-lead { margin-bottom: 2.6rem; }

/* ─── Skip-Link ─── */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--violet); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--grad);
  background-size: 160% 160%;
  color: #14101f;
  box-shadow: 0 8px 26px rgba(232, 176, 75, 0.28);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(124, 92, 255, 0.4); background-position: 100% 50%; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; text-align: center; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ─── Header ─── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 11, 20, 0.62);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(11, 11, 20, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; }
.brand-text { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; white-space: nowrap; }
.brand-text em { font-style: normal; color: var(--gold); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 13px; border-radius: 999px;
  text-decoration: none; font-size: 0.92rem; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: none; border: none; color: var(--muted);
  padding: 6px 11px; font-size: 0.78rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.active { background: rgba(232, 176, 75, 0.18); color: var(--gold); }
.lang-switch button:hover:not(.active) { color: var(--text); }

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

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 90px;
  overflow: hidden;
}
#dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none;
  animation: float 14s ease-in-out infinite alternate;
}
.hero-glow-1 { width: 520px; height: 520px; background: rgba(124, 92, 255, 0.22); top: -140px; right: -100px; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(232, 176, 75, 0.16); bottom: -160px; left: -120px; animation-delay: -7s; }
@keyframes float { from { transform: translateY(0) scale(1); } to { transform: translateY(40px) scale(1.08); } }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy .lead { margin: 1.2rem 0 1.8rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap;
  list-style: none; margin-top: 1.7rem;
  color: var(--muted); font-size: 0.88rem;
}
.hero-visual-hint { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 12px; letter-spacing: 0.06em; }

/* ─── Before/After Slider ─── */
.ba-slider {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: var(--surface);
}
.hero-slider { aspect-ratio: 4 / 3.4; transform: rotate(0.6deg); }
.ba-slider img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img {
  filter: sepia(0.72) contrast(0.82) brightness(0.84) saturate(0.42) blur(0.4px);
}
.ba-damage {
  position: absolute; inset: 0;
  background: url("assets/img/scratches.svg") center / cover no-repeat;
  mix-blend-mode: screen; opacity: 0.75;
}
.ba-damage::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(60, 40, 10, 0.55) 100%);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; background: rgba(255, 255, 255, 0.92); transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
}
.ba-handle-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.96); color: #1a1428;
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.ba-slider:hover .ba-handle-btn { transform: translate(-50%, -50%) scale(1.12); }
.ba-label {
  position: absolute; bottom: 12px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-label-l { left: 12px; background: rgba(20, 14, 8, 0.62); color: #e6cfa2; }
.ba-label-r { right: 12px; background: rgba(124, 92, 255, 0.75); color: #fff; }

/* ─── Trustbar ─── */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-alt); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 26px 0; text-align: center;
}
.trust-item strong { display: block; font-size: 1.25rem; font-family: var(--font-display); color: var(--gold); }
.trust-item span { color: var(--muted); font-size: 0.86rem; }

/* ─── Sections ─── */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

/* ─── Bento ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 2.4rem;
}
.bento-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 130%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bento-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.35s;
}
.bento-card:hover::before, .bento-card:focus-visible::before { opacity: 1; }
.bento-card:hover, .bento-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(232, 176, 75, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.bento-lg { grid-column: span 2; grid-row: span 1; }
.bento-wide { grid-column: span 2; }
.bento-icon { font-size: 1.9rem; margin-bottom: 12px; }
.bento-card h3 { margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 0.93rem; position: relative; }
.bento-tag {
  display: inline-block; margin-top: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(232, 176, 75, 0.45);
  padding: 4px 12px; border-radius: 999px;
}

/* ─── Galerie ─── */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; font-family: var(--font-body);
  transition: all 0.25s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.filter-btn.active { background: var(--grad); color: #14101f; border-color: transparent; }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gallery-item { transition: opacity 0.35s, transform 0.35s; }
.gallery-item.hidden-cat { display: none; }
.gallery-item figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 12px; text-align: center; }
.gallery-note { margin-top: 2rem; text-align: center; color: var(--muted); font-size: 0.82rem; opacity: 0.75; }

/* ─── Ablauf ─── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 2.6rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  transition: transform 0.3s, border-color 0.3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, 0.45); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #14101f;
  font-weight: 800; font-size: 1.15rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(232, 176, 75, 0.3);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ─── Produkte ─── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 2.4rem; }
.product-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-6px) rotate(-0.4deg); border-color: rgba(232, 176, 75, 0.4); box-shadow: var(--shadow); }
.product-visual { margin-bottom: 18px; display: grid; place-items: center; height: 170px; }
.pv-frame { position: relative; height: 78%; aspect-ratio: 1; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }
.pv-frame img { width: 100%; height: 100%; object-fit: cover; }
.pv-canvas .pv-frame { border-radius: 3px; outline: 6px solid #211d2e; transform: rotate(-2deg); }
.pv-poster .pv-frame { border-radius: 2px; border: 10px solid #fff; transform: rotate(1.6deg); }
.pv-framed .pv-frame { border: 12px solid #8a6a3b; border-radius: 2px; box-shadow: inset 0 0 0 3px #2c2517, 0 14px 30px rgba(0,0,0,.5); }
.pv-gift { position: relative; }
.pv-gift .pv-frame { border-radius: 10px; transform: rotate(-1.4deg); }
.pv-ribbon {
  position: absolute; inset: 0; margin: auto;
  height: 78%; aspect-ratio: 1; pointer-events: none; transform: rotate(-1.4deg);
  background:
    linear-gradient(to right, transparent 46.5%, rgba(232, 110, 75, 0.88) 46.5%, rgba(232, 110, 75, 0.88) 53.5%, transparent 53.5%),
    linear-gradient(to bottom, transparent 46.5%, rgba(232, 110, 75, 0.88) 46.5%, rgba(232, 110, 75, 0.88) 53.5%, transparent 53.5%);
}
.product-card h3 { margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: 0.88rem; min-height: 3.2em; }
.price { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--gold); font-size: 1.05rem; }

/* ─── Preise / Bundles ─── */
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 2.6rem 0 3.4rem; }
.bundle {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.bundle:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bundle-featured {
  border-color: rgba(232, 176, 75, 0.55);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  transform: scale(1.03);
}
.bundle-featured:hover { transform: scale(1.03) translateY(-6px); }
.bundle-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #14101f;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.bundle h3 { margin-bottom: 4px; }
.bundle-price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--gold); }
.bundle-sub { color: var(--muted); font-size: 0.86rem; margin-bottom: 18px; }
.bundle ul { list-style: none; margin-bottom: 26px; flex: 1; }
.bundle li { padding: 7px 0; color: var(--muted); font-size: 0.92rem; border-bottom: 1px dashed var(--line); }
.bundle li:last-child { border-bottom: none; }
.bundle .btn { align-self: stretch; text-align: center; }

.pay-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  margin: -1.6rem 0 3rem;
  letter-spacing: 0.02em;
}

/* ─── Rechner ─── */
.calculator {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: calc(var(--radius) + 6px);
  padding: 38px clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.calculator h3 { font-size: 1.5rem; margin-bottom: 4px; }
.calc-sub { color: var(--muted); margin-bottom: 26px; font-size: 0.94rem; }
.calc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.calc-label { display: block; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.calc-label:first-child { margin-top: 0; }
.pill-group { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 9px 17px; border-radius: 999px; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; font-family: var(--font-body);
  transition: all 0.22s;
}
.pill:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.pill.active { background: rgba(124, 92, 255, 0.22); border-color: var(--violet); color: #cfc3ff; }

input[type="range"] {
  width: 100%; accent-color: var(--violet); height: 34px; cursor: pointer;
}
.calc-extras { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; cursor: pointer; }
.check input { accent-color: var(--violet); width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; }

select, input[type="text"], input[type="email"], input:not([type]), textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 15px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
}
select:focus, input:focus, textarea:focus {
  outline: none; border-color: var(--violet); background: rgba(124, 92, 255, 0.07);
}
select option { background: var(--surface-2); color: var(--text); }

.calc-result {
  background: rgba(11, 11, 20, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.calc-result-label { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }
.calc-total {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 6px 0 4px;
  transition: transform 0.2s;
}
.calc-total.bump { transform: scale(1.07); }
.calc-discount { color: #7ee2a8; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.calc-note { color: var(--muted); font-size: 0.8rem; margin: 12px 0 20px; }

/* ─── Stimmen ─── */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.voice {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.voice:hover { transform: translateY(-5px); border-color: rgba(232, 176, 75, 0.35); }
.voice::before {
  content: "“";
  position: absolute; top: 6px; right: 18px;
  font-family: var(--font-display); font-size: 4.4rem;
  color: rgba(232, 176, 75, 0.18); line-height: 1;
}
.voice p { font-style: italic; color: var(--text); font-size: 0.97rem; margin-bottom: 18px; }
.voice footer { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.84rem; }
.voice-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: #14101f;
  display: grid; place-items: center; font-weight: 800;
  flex-shrink: 0;
}

/* ─── FAQ ─── */
.faq-list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 160%);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(124, 92, 255, 0.4); }
.faq-item summary {
  padding: 19px 52px 19px 22px;
  cursor: pointer; font-weight: 700; font-size: 1rem;
  list-style: none; position: relative;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--gold); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; }

/* ─── Kontakt ─── */
.section-contact {
  background:
    radial-gradient(700px circle at 85% 20%, rgba(124, 92, 255, 0.13), transparent 60%),
    radial-gradient(600px circle at 10% 90%, rgba(232, 176, 75, 0.1), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-points { list-style: none; margin: 1.6rem 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.socials { display: flex; gap: 12px; }
.socials a {
  padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  text-decoration: none; font-size: 0.88rem; font-weight: 600;
  transition: all 0.25s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.contact-form {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
}
.dropzone {
  border: 2px dashed rgba(124, 92, 255, 0.45);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(124, 92, 255, 0.05);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--gold); background: rgba(232, 176, 75, 0.06); }
.dropzone.dragover { border-color: var(--gold); background: rgba(232, 176, 75, 0.12); transform: scale(1.015); }
.dz-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.dz-inner p { font-size: 0.95rem; }
.dz-hint { color: var(--muted); font-size: 0.8rem !important; margin-top: 4px; }

.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 3px; right: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.72); color: #fff;
  border: none; cursor: pointer; font-size: 0.72rem; line-height: 1;
  display: grid; place-items: center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.consent { font-size: 0.82rem; }
.consent a { color: var(--gold); }
.form-status { min-height: 1.4em; font-size: 0.9rem; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status.ok { color: #7ee2a8; }
.form-status.err { color: #ff8a80; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); background: #08080f; padding: 54px 0 30px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand-text { font-size: 1.25rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 10px; max-width: 32ch; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-legal a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; color: var(--muted); font-size: 0.82rem;
}

/* ─── To-Top ─── */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #14101f;
  border: none; cursor: pointer; font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ─── Reveal-Animationen ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg, .bento-wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .voices { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: rgba(11, 11, 20, 0.97);
    backdrop-filter: blur(16px);
    padding: 18px 6vw 26px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 16px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .bundles { grid-template-columns: 1fr; }
  .bundle-featured { transform: none; }
  .bundle-featured:hover { transform: translateY(-6px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-cta .btn { width: 100%; text-align: center; }
  .lang-switch button { padding: 6px 8px; }
}

/* ═══════════════════════════════════════════════════════════
   Erweiterungen: Rotator-Headline · Service-Chips · Warum-wir
   Gutschein · Versand-Leiste · Formular-Schritte · Mobile CTA
   Scroll-Fortschritt
   ═══════════════════════════════════════════════════════════ */

/* ─── Scroll-Fortschrittsbalken ─── */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2.5px;
  width: 0; background: var(--grad);
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* ─── Rotator-Headline ─── */
.hero-copy h1 { min-height: 2.55em; }
.hero-quote {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.02rem;
  opacity: 0.85;
}

/* ─── Service-Chips im Hero ─── */
.svc-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 1.3rem 0 1.7rem; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 15px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover, .chip:focus-visible {
  border-color: var(--gold);
  background: rgba(232, 176, 75, 0.12);
  transform: translateY(-2px);
}

/* ─── Bento: Preis-Fußzeile ─── */
.bento-card[data-svc] { cursor: pointer; }
.bento-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; position: relative;
}
.bento-price {
  display: inline-block;
  font-weight: 800; font-size: 0.95rem;
  color: var(--gold);
  background: rgba(232, 176, 75, 0.1);
  border: 1px solid rgba(232, 176, 75, 0.3);
  padding: 4px 13px; border-radius: 999px;
  transition: background 0.25s, transform 0.25s;
}
.bento-card:hover .bento-price { background: rgba(232, 176, 75, 0.22); transform: scale(1.05); }
.bento-foot .bento-tag { margin-top: 0; }

/* ─── Warum wir (Vergleich) ─── */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 2.4rem; align-items: stretch; }
.vs-card {
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex; flex-direction: column;
}
.vs-card h3 { margin-bottom: 18px; font-size: 1.3rem; }
.vs-card ul { list-style: none; flex: 1; }
.vs-card li { padding: 9px 0; font-size: 0.95rem; border-bottom: 1px dashed var(--line); }
.vs-card li:last-child { border-bottom: none; }
.vs-app {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  opacity: 0.85;
}
.vs-app li { color: var(--muted); }
.vs-us {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}
.vs-us li { color: var(--text); }
.vs-us .btn { margin-top: 22px; align-self: flex-start; }

/* ─── Gutschein-Banner ─── */
.voucher {
  display: flex; align-items: center; gap: 26px;
  margin-top: 2.2rem;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 26px 30px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.voucher:hover, .voucher:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.voucher-icon { font-size: 2.6rem; flex-shrink: 0; }
.voucher-copy { flex: 1; }
.voucher-copy h3 { margin-bottom: 4px; }
.voucher-copy p { color: var(--muted); font-size: 0.93rem; }
.voucher .btn { flex-shrink: 0; pointer-events: none; }

/* ─── Versand-Leiste ─── */
.ship-row {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  list-style: none; margin-top: 2rem;
  color: var(--muted); font-size: 0.9rem;
}

/* ─── Formular-Schritte ─── */
.form-steps {
  display: flex; justify-content: space-between; gap: 8px;
  list-style: none; margin-bottom: 4px;
  counter-reset: none;
}
.form-steps li {
  flex: 1; text-align: center;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.form-steps li:first-child { color: var(--gold); border-bottom-color: var(--gold); }

/* ─── WhatsApp-Button ─── */
.socials a.whatsapp { border-color: rgba(37, 211, 102, 0.5); color: #4fd97d; }
.socials a.whatsapp:hover { border-color: #25d366; color: #25d366; }

/* ─── Mobile Sticky-CTA ─── */
.mobile-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 96;
  padding: 15px 18px;
  border-radius: 999px;
  background: var(--grad);
  color: #14101f;
  font-weight: 800; font-size: 0.98rem; text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}
.mobile-cta.visible { transform: translateY(0); }

@media (max-width: 820px) {
  .mobile-cta { display: block; }
  .to-top { bottom: 78px; }
  .vs-grid { grid-template-columns: 1fr; }
  .voucher { flex-direction: column; text-align: center; }
  .vs-us .btn { align-self: stretch; text-align: center; }
  .hero-copy h1 { min-height: 3.9em; }
  .ship-row { gap: 12px; flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════
   Mockup-Lab & 3D-Vorschau (js/mockup.js)
   ═══════════════════════════════════════════════════════════ */

.lab {
  margin-top: 3rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: calc(var(--radius) + 6px);
  padding: 30px clamp(18px, 3.5vw, 40px) 34px;
  box-shadow: var(--shadow);
}
.lab-head {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.lab-upload { cursor: pointer; }
.lab-privacy { color: var(--muted); font-size: 0.82rem; }
.lab-demo-note {
  color: var(--gold); font-size: 0.84rem;
  background: rgba(232, 176, 75, 0.1);
  border: 1px dashed rgba(232, 176, 75, 0.4);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin: 10px 0 4px;
  display: inline-block;
}
.lab-demo-note[hidden] { display: none; }

.lab-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 22px; }
.lab-tab {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px 10px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.lab-tab:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.3); color: var(--text); }
.lab-tab.active { border-color: var(--gold); background: rgba(232, 176, 75, 0.1); color: var(--gold); }
.lab-tab-visual { width: 58px; height: 58px; display: grid; place-items: center; }
.lab-tab-visual img { width: 46px; height: 46px; object-fit: cover; }
.lab-tab-canvas .lab-tab-visual img { outline: 4px solid #211d2e; border-radius: 2px; }
.lab-tab-framed .lab-tab-visual img { border: 6px solid #8a6a3b; border-radius: 2px; }
.lab-tab-poster .lab-tab-visual img { border: 4px solid #fff; border-radius: 1px; }
.lab-tab-mug .lab-tab-visual img { border-radius: 50%; border: 4px solid #f6f3ee; }

.lab-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }

.lab-stage {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at 50% 38%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(ellipse at 50% 96%, rgba(0, 0, 0, 0.5), transparent 60%),
    #0d0d18;
  border: 1px solid var(--line);
  overflow: hidden;
}
.p3d {
  height: 380px;
  display: grid; place-items: center;
  perspective: 900px;
  cursor: grab;
  touch-action: none;
}
.p3d:active { cursor: grabbing; }
.p3d-obj {
  position: relative;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.p3d-obj.dragging { transition: none; }
.p3d-face {
  position: absolute; left: 0; top: 0;
  backface-visibility: hidden;
  background-color: #ddd6c8;
  box-shadow: 0 0 0 0.6px rgba(0, 0, 0, 0.12) inset;
}
.p3d-framed { border: 14px solid #8a6a3b; box-shadow: inset 0 0 0 3px #2c2517, 0 24px 50px rgba(0,0,0,.55); }
.p3d-poster { border: 10px solid #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); }
.p3d-flat-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.p3d-mug-seg { backface-visibility: hidden; }
.p3d-mug-top {
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #3a3630 0 58%, #f6f3ee 58% 100%);
  backface-visibility: visible;
}
.p3d-mug-handle {
  position: absolute; left: -14px; top: -52px;
  width: 58px; height: 104px;
  border: 14px solid #f0ece5;
  border-left: none;
  border-radius: 0 52px 52px 0;
  backface-visibility: visible;
}
.lab-hint {
  position: absolute; left: 0; right: 0; bottom: 10px;
  text-align: center; color: var(--muted);
  font-size: 0.76rem; letter-spacing: 0.05em;
  pointer-events: none;
}

.lab-side { display: flex; flex-direction: column; gap: 12px; }
.lab-side .calc-label { margin: 6px 0 2px; }
.lab-price {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 900px) {
  .lab-body { grid-template-columns: 1fr; }
  .p3d { height: 320px; }
}

/* ═══════════════════════════════════════════════════════════
   Blog / Ratgeber
   ═══════════════════════════════════════════════════════════ */

.blog-main { padding: calc(var(--header-h) + 50px) 0 90px; min-height: 80vh; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.blog-card {
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(232, 176, 75, 0.4); box-shadow: var(--shadow); }
.blog-card-icon { font-size: 2rem; margin-bottom: 12px; }
.blog-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.blog-card-meta { margin-top: 16px; color: var(--gold); font-size: 0.84rem; font-weight: 700; }

.article { max-width: 720px; }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.6rem; }
.article-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 2rem; }
.article h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }
.article h3 { font-size: 1.08rem; margin: 1.5rem 0 0.5rem; }
.article p, .article li { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.article p { margin-bottom: 1rem; }
.article ul, .article ol { padding-left: 1.5rem; margin: 0.6rem 0 1.2rem; }
.article li { margin-bottom: 0.45rem; }
.article a { color: var(--gold); }
.article strong { color: var(--text); }
.article-cta {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 2.6rem 0;
}
.article-cta h2 { margin-top: 0 !important; }
.article-cta .btn { margin-top: 12px; }
.article-tip {
  background: rgba(124, 92, 255, 0.1);
  border-left: 3px solid var(--violet);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 1.2rem 0;
}
.article-tip p { margin: 0; }
.blog-back { display: inline-block; margin-bottom: 1.8rem; color: var(--muted); text-decoration: none; }
.blog-back:hover { color: var(--gold); }

@media (max-width: 820px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   Kundenportal (studio.html)
   ═══════════════════════════════════════════════════════════ */

.portal-main { padding: calc(var(--header-h) + 50px) 0 90px; min-height: 82vh; }
.portal-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 34px clamp(20px, 3.5vw, 42px);
  box-shadow: var(--shadow);
  margin-top: 1.8rem;
}
.portal-code-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.portal-code-row input { flex: 1; min-width: 220px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.portal-status { margin-top: 12px; font-weight: 600; min-height: 1.4em; }
.portal-demo-hint { margin-top: 14px; color: var(--muted); font-size: 0.84rem; opacity: 0.85; }
.portal-demo-hint strong { color: var(--gold); }
.portal-status.err { color: #ff8a80; }
.portal-status.ok { color: #7ee2a8; }
.portal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.portal-section-title { margin: 1.8rem 0 0.6rem; }
.portal-review-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.portal-review-img img { width: 100%; display: block; }
.portal-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.portal-addr-grid .wide { grid-column: span 2; }
@media (max-width: 600px) {
  .portal-addr-grid { grid-template-columns: 1fr; }
  .portal-addr-grid .wide { grid-column: span 1; }
}
