/* ============================================================
   IT-Service — "Webseite2" (Konzept-Redesign)
   Helles "Liquid Glass"-Design, identische Farbbasis wie die
   bestehende Live-Seite (cremefarbener Hintergrund, Glas-Karten,
   Pink/Violett/Blau-Verlauf), neue Struktur/Assistent/Animationen.
   Dial-Notiz: Variance 8 / Motion 8 / Density 3 (bewusst gewählt,
   siehe Auftrag: "heftige Animationen", "spricht Kunden an").
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --pink:   #F0509F;
  --violet: #A96FEA;
  --blue:   #5FA8F5;
  --gradient-brand: linear-gradient(90deg, var(--pink) 0%, var(--violet) 52%, var(--blue) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(240,80,159,0.16), rgba(169,111,234,0.13) 50%, rgba(95,168,245,0.14));
  /* Dunklere Variante nur für Text auf hellem Grund (WCAG-Kontrast) */
  --gradient-brand-text: linear-gradient(90deg, #D63F8C 0%, #8F52D9 52%, #2A63C9 100%);

  --bg:            #F7F5F1;
  --bg-elevated:   #FFFFFF;
  --bg-elevated-2: #F1ECE4;
  --surface:        rgba(28,27,34,0.04);
  --surface-strong:  rgba(28,27,34,0.06);
  --border:         rgba(28,27,34,0.10);
  --border-strong:  rgba(28,27,34,0.18);

  --ink:       #1C1B22;
  --ink-soft:  #57565F;
  --ink-faint: #8B8A93;

  --teal: #2B6E68;

  --success: #38B673;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --maxw: 1180px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { margin: 0; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--violet); color: #fff; }

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

/* ===== reduced motion master switch ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===== farbige Blobs — exakt wie auf der bestehenden Live-Seite ===== */
.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.blob1 { width: 520px; height: 520px; background: var(--pink); top: -160px; left: -120px; }
.blob2 { width: 460px; height: 460px; background: var(--violet); top: 20px; right: -140px; }
.blob3 { width: 420px; height: 420px; background: var(--blue); bottom: -200px; left: 25%; }
.blob4 { width: 320px; height: 320px; background: var(--teal); bottom: 60px; right: 8%; opacity: 0.3; }

canvas#fx {
  position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .35;
}

/* ===== scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: var(--gradient-brand); z-index: 200; box-shadow: 0 0 12px rgba(169,111,234,0.6);
}

/* ===== nav ===== */
header.site-header { position: sticky; top: 14px; z-index: 90; padding: 0 20px; }
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 10px 9px 18px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.62);
  backdrop-filter: url(#glass-distortion) blur(14px);
  -webkit-backdrop-filter: blur(14px) brightness(1.05);
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 40px -20px rgba(30,20,50,0.22), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: box-shadow .25s ease, background .25s ease;
  height: 62px;
}
header.site-header.scrolled .nav-wrap { box-shadow: 0 20px 46px -18px rgba(30,20,50,0.3), inset 0 1px 0 rgba(255,255,255,0.9); }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 32px; width: auto; display: block; }
.logo-link .word { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); white-space: nowrap; }
.logo-link .word b { background: var(--gradient-brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

nav.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
nav.main-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.84rem; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--radius-pill); display: inline-block;
  transition: background .18s ease, color .18s ease;
}
nav.main-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
nav.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-strong); border: 1px solid var(--border-strong); }

.nav-cta {
  font-family: var(--font-display); font-weight: 700; font-size: 0.84rem; color: #fff;
  padding: 10px 20px; border-radius: var(--radius-pill); white-space: nowrap; display: inline-block;
  background: var(--gradient-brand); position: relative; isolation: isolate;
  transition: transform .35s var(--ease-spring), box-shadow .3s ease;
  box-shadow: 0 10px 28px -12px rgba(169,111,234,0.55);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(169,111,234,0.7); }
.nav-cta:active { transform: translateY(0) scale(.97); }

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 6px; background: var(--surface-strong);
  border: 1px solid var(--border-strong); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem;
  padding: 10px 14px; border-radius: var(--radius-pill); cursor: pointer;
}
.nav-toggle .bars { display: flex; flex-direction: column; gap: 3px; }
.nav-toggle .bars span { width: 15px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

@media (max-width: 860px) {
  header.site-header { top: 10px; padding: 0 12px; }
  .nav-wrap { padding: 8px 8px 8px 16px; }
  .logo-link .word { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: url(#glass-distortion-lg) blur(16px);
    -webkit-backdrop-filter: blur(16px) brightness(1.05);
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    padding: 10px; box-shadow: 0 24px 50px -20px rgba(30,20,50,0.25);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
  }
  nav.main-nav.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  nav.main-nav ul { flex-direction: column; gap: 2px; }
  nav.main-nav a { display: block; padding: 12px 16px; }
  .nav-cta { padding: 9px 16px; font-size: 0.78rem; }
}

/* ===== buttons ===== */
.btn {
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; display: inline-flex;
  align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-pill); cursor: pointer;
  border: none; white-space: nowrap; position: relative; transition: transform .3s var(--ease-spring), box-shadow .3s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--gradient-brand); box-shadow: 0 14px 34px -14px rgba(169,111,234,0.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px -14px rgba(169,111,234,0.75); }
.btn-secondary { color: var(--ink); background: var(--surface-strong); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-ghost { color: var(--ink-soft); background: transparent; border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--ink); border-color: var(--border-strong); }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* magnetic wrapper (JS adds translate via CSS var) */
.magnetic { transform: translate(var(--mx, 0), var(--my, 0)); }

/* ===== eyebrow (rationed: hero + max ~1 per 3 sections) ===== */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px; display: inline-block;
}

/* ===== hero ===== */
.hero { padding: 44px 0 84px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); margin-bottom: 18px; }
.hero .lead { font-size: 1.08rem; max-width: 46ch; color: var(--ink-soft); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stage {
  position: relative; aspect-ratio: 1/1; width: 100%; max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.hero-stage .ring {
  position: absolute; inset: 8%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(240,80,159,0.35), rgba(169,111,234,0.35), rgba(95,168,245,0.35), rgba(240,80,159,0.35));
  filter: blur(38px); opacity: .55; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-stage .platform {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  width: 72%; height: 14px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(169,111,234,0.5), transparent 70%);
  filter: blur(2px);
}
.hero-stage .visual-mount { width: 78%; height: 78%; position: relative; z-index: 2; }
.hero-stage .visual-mount canvas { border-radius: 50%; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink);
  box-shadow: 0 16px 30px -14px rgba(30,20,50,0.25); animation: float 5s ease-in-out infinite;
}
.float-chip b { color: var(--violet); font-weight: 700; }
.float-chip.c1 { top: 4%; left: -6%; animation-delay: 0s; }
.float-chip.c2 { bottom: 10%; right: -8%; animation-delay: 1.4s; }
.float-chip.c3 { top: 46%; right: -4%; animation-delay: 2.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 320px; margin-top: 20px; }
  .float-chip { display: none; }
}

/* ===== sections / rhythm ===== */
section { padding: 88px 0; position: relative; }
section.tight { padding: 56px 0; }
section.border-top { border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-head p { font-size: 1rem; }

/* ===== two-line-of-business bento (asymmetric, not 3 equal cards) ===== */
.biz-bento { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.biz-card {
  border-radius: var(--radius-lg); padding: 38px; position: relative; overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface);
  transition: transform .4s var(--ease-out), border-color .3s ease;
}
.biz-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.3); }
.biz-card.lg { background: linear-gradient(155deg, rgba(240,80,159,0.14), rgba(169,111,234,0.10) 55%, rgba(95,168,245,0.10)); }
.biz-card .tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: block; }
.biz-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.biz-card p { max-width: 42ch; }
.biz-card .list { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-card .list li { font-size: 0.78rem; font-family: var(--font-mono); padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--ink-soft); }
.biz-card .go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.biz-card .go svg { transition: transform .3s var(--ease-spring); }
.biz-card:hover .go svg { transform: translateX(5px); }

@media (max-width: 860px) { .biz-bento { grid-template-columns: 1fr; } }

/* ===== process strip (verb-first steps, no "Step N" labels) ===== */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.process .step { padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); position: relative; }
.process .step .n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }
.process .step h4 { font-size: 1.14rem; margin: 10px 0 8px; }
.process .step::after {
  content: ""; position: absolute; top: 50%; right: -22px; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.process .step:last-child::after { display: none; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process .step::after { display: none; } }

.material-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.material-grid .step::after { display: none; }

/* ===== stats (organic numbers, labeled) ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--bg-elevated); padding: 30px 22px; text-align: left; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.7rem,3vw,2.3rem); font-weight: 800; }
.stat .num .unit { font-size: 0.5em; color: var(--ink-faint); font-weight: 600; margin-left: 2px; }
.stat .label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ===== gallery (masonry-ish varied bento) ===== */
.gallery-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; }
.gitem { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: zoom-in; border: 1px solid var(--border); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gitem:hover img { transform: scale(1.08); }
.gitem .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(8,7,16,0.92), transparent);
  transform: translateY(8px); opacity: 0; transition: transform .3s var(--ease-out), opacity .3s ease;
}
.gitem:hover .cap { transform: translateY(0); opacity: 1; }
.gitem .cap strong { display: block; font-family: var(--font-display); font-size: 0.92rem; }
.gitem .cap span { font-size: 0.78rem; color: var(--ink-soft); }
.gitem.span2 { grid-column: span 2; }
.gitem.rowspan2 { grid-row: span 2; }
@media (max-width: 860px) { .gallery-bento { grid-template-columns: repeat(2, 1fr); } .gitem.span2 { grid-column: span 2; } }
@media (max-width: 560px) { .gallery-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; } .gitem.span2, .gitem.rowspan2 { grid-column: span 1; grid-row: span 1; } }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(6,5,12,0.9); backdrop-filter: blur(10px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease; padding: 40px 20px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: min(760px, 90vw); text-align: center; transform: scale(.94); transition: transform .3s var(--ease-spring); }
.lightbox.open figure { transform: scale(1); }
.lightbox img { max-width: 100%; max-height: 70vh; border-radius: 16px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7); }
.lightbox figcaption { color: var(--ink); margin-top: 16px; font-family: var(--font-display); font-weight: 700; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-strong); border: 1px solid var(--border-strong); color: #fff; font-size: 1.4rem;
  cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }

/* ===== testimonial / trust ===== */
.quote-block { max-width: 720px; }
.quote-block blockquote { font-family: var(--font-display); font-size: clamp(1.2rem,2.2vw,1.55rem); font-weight: 600; color: var(--ink); margin: 0 0 18px; line-height: 1.4; }
.quote-block cite { font-style: normal; font-size: 0.86rem; color: var(--ink-faint); display: block; }

/* ===== CTA banner ===== */
.cta-banner {
  border-radius: var(--radius-lg); padding: 52px 48px; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.4);
  backdrop-filter: url(#glass-distortion-lg) blur(14px);
  -webkit-backdrop-filter: blur(14px) brightness(1.05);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner::before {
  content: ""; position: absolute; inset: -40%; background: var(--gradient-brand-soft); filter: blur(60px); opacity: .8; z-index: -1;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h3 { font-size: 1.5rem; margin-bottom: 6px; }
.cta-banner p { margin: 0; max-width: 46ch; }

/* ===== footer ===== */
footer.site-footer { border-top: 1px solid var(--border); padding: 56px 0 34px; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; flex-wrap: wrap; gap: 24px; }
.footer-links { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 0; }
.footer-links a { font-size: 0.86rem; color: var(--ink-soft); transition: color .2s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 26px; opacity: .95; }
.footer-meta { width: 100%; border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.copyright { font-size: 0.8rem; color: var(--ink-faint); margin: 0; }
.footer-nap { font-size: 0.8rem; color: var(--ink-faint); margin: 0; }
.footer-nap a { color: var(--ink-soft); }

/* ===== legal pages ===== */
.legal-block { max-width: 720px; }
.legal-block h1 { font-size: 1.9rem; }
.legal-block h3 { font-size: 1.05rem; margin-top: 30px; color: var(--ink); }
.legal-block p, .legal-block dd { color: var(--ink-soft); font-size: 0.94rem; }
.legal-block dl { margin: 0 0 8px; }
.legal-block dt { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-top: 14px; }
.legal-block dd { margin: 2px 0 0; }

/* ===== scroll reveal (cinematic: blur-in + rise) ===== */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); filter: blur(5px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .23s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .30s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .37s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ===== forms (shared base for wizard + kontakt) ===== */
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--ink); }
.field .hint { display: block; font-size: 0.78rem; color: var(--ink-faint); margin-top: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--bg-elevated); color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(169,111,234,0.22);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ===== leistungen: service detail rows (alternating index rhythm) ===== */
.service-detail {
  display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: 1px solid var(--border); }
.service-detail .idx-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.service-detail .index { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-faint); }
.service-detail .ic { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--surface-strong); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; }
.service-detail .ic svg { width: 22px; height: 22px; fill: none; stroke: url(#sg); stroke-width: 1.6; }
.service-detail h3 { font-size: 1.28rem; margin-bottom: 8px; }
.service-detail p { max-width: 58ch; }
.service-detail .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.service-detail .tags .tag { font-family: var(--font-mono); font-size: 0.74rem; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--ink-soft); }
@media (max-width: 600px) { .service-detail { grid-template-columns: 1fr; } }

/* ===== kontakt ===== */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: stretch; }
.contact-card { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: var(--surface); }
.contact-email {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 20px;
  border-radius: var(--radius-pill); background: var(--bg-elevated); border: 1px solid var(--border-strong);
  cursor: pointer; font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink); transition: border-color .2s ease, transform .2s ease;
}
.contact-email:hover { border-color: var(--violet); transform: translateY(-2px); }
.contact-email .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(56,182,115,0.2); flex: none; }
.contact-email .copy-icon { width: 16px; height: 16px; stroke: var(--ink-faint); fill: none; stroke-width: 1.8; }
.mail-alt { display: block; font-size: 0.82rem; color: var(--ink-faint); margin-top: 14px; }
.mail-alt a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.fact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fact-list li { padding: 18px 20px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.fact-list .k { display: block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); margin-bottom: 6px; }
.fact-list li span:last-child { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AUFTRAGS-ASSISTENT (Wizard) — Herzstück von /Webseite2
   ============================================================ */
.wizard-shell { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
@media (max-width: 900px) { .wizard-shell { grid-template-columns: 1fr; } }

.wizard-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 36px; }
.wizard-steps .ws-item { display: flex; align-items: center; gap: 6px; flex: 1; }
.wizard-steps .dot {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); background: var(--surface);
  border: 1px solid var(--border-strong); flex: none; transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.wizard-steps .lbl { font-family: var(--font-display); font-size: 0.78rem; color: var(--ink-faint); white-space: nowrap; transition: color .3s ease; }
.wizard-steps .bar { flex: 1; height: 2px; background: var(--border); position: relative; overflow: hidden; border-radius: 2px; }
.wizard-steps .bar::after { content: ""; position: absolute; inset: 0; width: 0%; background: var(--gradient-brand); transition: width .5s var(--ease-out); }
.wizard-steps .ws-item.done .dot { background: var(--gradient-brand); border-color: transparent; color: #fff; }
.wizard-steps .ws-item.done .lbl { color: var(--ink); }
.wizard-steps .ws-item.done .bar::after { width: 100%; }
.wizard-steps .ws-item.active .dot { border-color: var(--violet); color: var(--ink); box-shadow: 0 0 0 4px rgba(169,111,234,0.18); }
.wizard-steps .ws-item.active .lbl { color: var(--ink); }
@media (max-width: 640px) { .wizard-steps .lbl { display: none; } }

.wizard-card { border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: var(--surface); padding: 36px; min-height: 380px; }
.wizard-pane { display: none; }
.wizard-pane.active { display: block; animation: paneIn .45s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .wizard-pane.active { animation: none; } }
.wizard-pane h3 { font-size: 1.3rem; margin-bottom: 6px; }
.wizard-pane > .sub { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 26px; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 14px; }
.wizard-nav .spacer { flex: 1; }

.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 700px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
.choice {
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 16px 14px; cursor: pointer;
  background: var(--bg-elevated); transition: border-color .2s ease, transform .2s ease, background .2s ease; text-align: left;
}
.choice:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.35); }
.choice.selected { border-color: var(--violet); background: rgba(169,111,234,0.12); box-shadow: 0 0 0 3px rgba(169,111,234,0.16); }
.choice strong { display: block; font-family: var(--font-display); font-size: 0.92rem; margin-bottom: 3px; }
.choice span { font-size: 0.76rem; color: var(--ink-faint); }

.dropzone {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 34px 20px; text-align: center;
  cursor: pointer; transition: border-color .25s ease, background .25s ease; background: var(--bg-elevated);
}
.dropzone.drag { border-color: var(--violet); background: rgba(169,111,234,0.08); }
.dropzone .ic { width: 42px; height: 42px; margin: 0 auto 14px; stroke: var(--violet); fill: none; stroke-width: 1.6; }
.dropzone strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.dropzone span { font-size: 0.8rem; color: var(--ink-faint); }
.file-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.file-chip {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-pill);
  background: var(--surface-strong); border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 0.76rem;
  animation: chipIn .3s var(--ease-spring);
}
@keyframes chipIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
.file-chip button { background: none; border: none; color: var(--ink-faint); cursor: pointer; font-size: 0.9rem; line-height: 1; padding: 0; }
.file-chip button:hover { color: var(--pink); }

.summary-card { border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: var(--bg-elevated-2); padding: 26px; position: sticky; top: 100px; }
.summary-card h4 { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row .k { color: var(--ink-faint); }
.summary-row .v { color: var(--ink); text-align: right; font-weight: 600; max-width: 60%; }
.summary-row .v.empty { color: var(--ink-faint); font-weight: 400; font-style: normal; }
@media (max-width: 900px) { .summary-card { position: static; } }

.review-summary { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }

.wizard-success { text-align: center; padding: 40px 10px; }
.wizard-success .check {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center;
  background: rgba(56,182,115,0.14); border: 1px solid rgba(56,182,115,0.4);
}
.wizard-success .check svg { width: 34px; height: 34px; stroke: var(--success); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wizard-success h3 { font-size: 1.4rem; }

.field-error { border-color: var(--pink) !important; }
.field-error-msg { color: var(--pink); font-size: 0.78rem; margin-top: 6px; display: none; }
.field-error-msg.show { display: block; }

/* ============================================================
   KINO-EFFEKTE: Cursor-Glow, 3D-Tilt-Karten, Scroll-Parallax
   (nur Desktop mit Hover, respektiert prefers-reduced-motion)
   ============================================================ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169,111,234,0.14), rgba(240,80,159,0.08) 42%, transparent 72%);
  pointer-events: none; z-index: 4; transform: translate(-50%, -50%); opacity: 0;
  transition: opacity .4s ease; filter: blur(10px); mix-blend-mode: multiply;
}
.cursor-glow.active { opacity: 1; }

.tilt { transition: transform .35s var(--ease-out); will-change: transform; }

.hero-stage { will-change: transform; }
.ambient { will-change: transform; }
