/* ═══════════════════════════════════════════════════════
   LayerPulse · Premium Apple-Inspired Design System
═══════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────── */
:root {
  --bg:          #FAFAF9;
  --bg-2:        #F5F4F2;
  --fg:          #0C0A09;
  --primary:     #1C1917;
  --secondary:   #57534E;
  --muted:       #78716C;
  --subtle:      #A8A29E;
  --accent:      #92400E;
  --accent-mid:  #B45309;
  --accent-hi:   #D97706;
  --accent-bg:   #FFFBEB;
  --border:      #E7E5E4;
  --border-2:    #D6D3D1;
  --white:       #FFFFFF;
  --success:     #16A34A;
  --error:       #DC2626;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px;
  --r-xl: 28px; --r-2xl: 36px; --r-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 40px 100px rgba(0,0,0,.14);

  --dur-fast:   150ms;
  --dur-base:   260ms;
  --dur-slow:   420ms;
  --ease-out:   cubic-bezier(.22,1,.36,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);

  --nav-h: 72px;
  --max-w: 1200px;
  --pad:   clamp(20px, 5vw, 80px);
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--fg);
  line-height: 1.6; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Layout ──────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-header {
  max-width: 640px; margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 18px; }
.section-header .section-intro { color: var(--secondary); font-size: .95rem; line-height: 1.75; }

/* ── Shared typography helpers ───────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-hi);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ═══════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  background: rgba(250,250,249,.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--fg); position: relative; overflow: hidden; flex-shrink: 0;
}
.brand-mark::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent-hi);
  transform: translate(-50%,-50%);
  animation: pulse-mark 2.8s ease-in-out infinite;
}
@keyframes pulse-mark { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(.55)} }
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.brand-accent { color: var(--accent-hi); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 7px 13px; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 500; color: var(--secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover, .nav-link.active { color: var(--fg); background: var(--bg-2); }
.nav-cta {
  padding: 9px 20px; background: var(--fg); color: var(--white) !important;
  border-radius: var(--r-full); font-size: .85rem; font-weight: 600;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast);
}
.nav-cta:hover { background: var(--accent-mid); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(180,83,9,.3); }
.nav-cta.active { background: var(--fg) !important; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5.5px; width: 36px; height: 36px; padding: 7px; border-radius: var(--r-sm);
}
.bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--fg); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
  transform-origin: center;
}
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }

/* ═══════════════════════════════════════════════════════
   VAUL DRAWER
═══════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.48); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.drawer-panel {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 201;
  background: var(--white); border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: 0 24px 48px; max-height: 85svh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: 0 -12px 60px rgba(0,0,0,.14);
}
.drawer-handle-wrap { padding: 14px 0 24px; display: flex; justify-content: center; cursor: grab; }
.drawer-handle { width: 40px; height: 4px; background: var(--border-2); border-radius: 2px; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.drawer-link {
  display: flex; align-items: center; padding: 14px 16px;
  border-radius: var(--r-lg); font-size: 1rem; font-weight: 500; color: var(--fg);
  transition: background var(--dur-fast);
}
.drawer-link:hover { background: var(--bg-2); }
.drawer-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px; background: var(--fg); color: var(--white) !important;
  border-radius: var(--r-xl); font-size: 1rem; font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-spring), background var(--dur-fast);
}
.drawer-cta:hover { transform: translateY(-2px); background: var(--accent-mid); }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: all; }
body.drawer-open .drawer-panel { transform: translateY(0); }
body.drawer-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding-top: var(--nav-h); padding-left: var(--pad); padding-right: 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 75% at 78% 45%, rgba(217,119,6,.07) 0%, transparent 65%);
}
.hero-text-col { padding: clamp(40px,5vw,80px) clamp(20px,3vw,52px) clamp(40px,5vw,80px) 0; }
.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 800;
  line-height: 1.0; letter-spacing: -.035em; margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hi) 45%, #F59E0B 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: clamp(.93rem, 1.5vw, 1.1rem); color: var(--secondary);
  max-width: 46ch; line-height: 1.72; margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.hero-meta { display: flex; align-items: center; gap: 28px; margin-bottom: 20px; }
.hero-stat strong { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-stat span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; display: block; }
.hero-stat-sep { width: 1px; height: 36px; background: var(--border); }
.hero-proof {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; color: var(--muted); font-weight: 500;
}
.hero-proof svg { color: var(--success); flex-shrink: 0; }
.hero-img-col { position: relative; align-self: stretch; min-height: 100svh; overflow: hidden; }
.hero-img-col img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 1.4s var(--ease-out);
}
.hero-img-col.in-view img { transform: scale(1); }
.hero-img-col::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 28%);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-size: .875rem; font-weight: 600; border: none; font-family: inherit;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast),
              background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97) translateY(0); }
.btn-accent { background: var(--fg); color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.btn-accent:hover { background: var(--primary); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.btn-outline { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--border-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--fg); background: var(--fg); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   TRUST TICKER
═══════════════════════════════════════════════════════ */
.trust-bar { background: var(--fg); overflow: hidden; padding: 14px 0; }
.trust-track-wrap { display: flex; overflow: hidden; }
.trust-track { display: flex; align-items: center; animation: ticker 38s linear infinite; will-change: transform; white-space: nowrap; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 500; padding: 0 24px; color: rgba(255,255,255,.65); }
.trust-item svg { color: var(--accent-hi); flex-shrink: 0; }
.trust-sep { color: rgba(255,255,255,.18); padding: 0 4px; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.trust-bar:hover .trust-track { animation-play-state: paused; }

/* ═══════════════════════════════════════════════════════
   SHOWCASE
═══════════════════════════════════════════════════════ */
.showcase { padding: clamp(60px, 8vw, 100px) 0; }
.showcase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 0 var(--pad); }
.showcase-item { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 3/4; background: var(--bg-2); }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease-out); }
.showcase-item:hover img { transform: scale(1.06); }
.showcase-caption {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fg);
  opacity: 0; transform: translateY(6px); transition: all .28s var(--ease-out);
}
.showcase-item:hover .showcase-caption { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
.services { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 48px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px; position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.card::before {
  content: attr(data-num); position: absolute; top: -16px; right: 16px;
  font-size: 5.5rem; font-weight: 800; line-height: 1;
  color: var(--border); letter-spacing: -.05em; pointer-events: none;
  transition: color var(--dur-base);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { color: rgba(217,119,6,.1); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: .875rem; color: var(--secondary); line-height: 1.68; margin-bottom: 20px; }
.card-features { display: flex; flex-direction: column; gap: 8px; }
.card-features li { font-size: .8rem; color: var(--secondary); font-weight: 500; padding-left: 16px; position: relative; }
.card-features li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hi); }

/* Product Window */
.ptw-window { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: var(--shadow-md); }
.ptw-header { border-bottom: 1px solid var(--border); padding: 18px 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.products-label { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ptw-nav { display: flex; gap: 5px; flex-wrap: wrap; }
.ptw-tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-full); font-size: .8rem; font-weight: 500; color: var(--secondary); transition: all var(--dur-fast); }
.ptw-tab:hover { background: var(--bg-2); color: var(--fg); }
.ptw-tab--active { background: var(--fg); color: var(--white); }
.ptw-body { padding: 28px; }
.ptw-product-header { margin-bottom: 20px; }
.ptw-product-name { font-size: 1.05rem; font-weight: 700; display: block; margin-bottom: 4px; }
.ptw-product-subtitle { font-size: .82rem; color: var(--muted); }
.ptw-slabel { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 10px; }
.ptw-swatches { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.modal-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; position: relative; transition: transform var(--dur-fast) var(--ease-spring); }
.modal-swatch:hover { transform: scale(1.35); z-index: 1; }
.modal-swatch.selected { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--fg); }
.modal-swatch--light { border-color: var(--border); }
.swatch-tip { position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); background: var(--fg); color: var(--white); padding: 4px 8px; border-radius: var(--r-sm); font-size: .68rem; line-height: 1.4; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 10; transition: opacity var(--dur-fast); }
.modal-swatch:hover .swatch-tip { opacity: 1; }
.ptw-meta-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin-bottom: 16px; }
.size-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.size-badge { padding: 4px 12px; background: var(--bg-2); border-radius: var(--r-full); font-size: .74rem; font-weight: 600; color: var(--secondary); }
.size-table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.size-table th { text-align: left; font-weight: 600; padding: 6px 12px; color: var(--muted); border-bottom: 1px solid var(--border); }
.size-table td { padding: 6px 12px; color: var(--secondary); }
.size-table tbody tr:hover { background: var(--bg-2); }
.ptw-note { font-size: .76rem; color: var(--muted); margin-bottom: 20px; }
.ptw-cta-row { margin-top: 4px; }
.variant-tabs, .ptw-vtabs { display: flex; gap: 6px; margin-bottom: 14px; }
.variant-tab, .ptw-vtab { padding: 5px 12px; border-radius: var(--r-full); font-size: .76rem; font-weight: 500; color: var(--secondary); background: var(--bg-2); transition: all var(--dur-fast); }
.variant-tab.active, .ptw-vtab.active { background: var(--fg); color: var(--white); }

/* ═══════════════════════════════════════════════════════
   BENEFITS
═══════════════════════════════════════════════════════ */
.benefits { background: var(--bg-2); }
.benefits-list { display: grid; grid-template-columns: repeat(2,1fr); }
.benefit-item { display: flex; gap: 20px; padding: 36px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background var(--dur-base); }
.benefit-item:nth-child(2n) { border-right: none; }
.benefit-item:nth-last-child(-n+2) { border-bottom: none; }
.benefit-item:hover { background: var(--white); }
.benefit-num { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-hi); min-width: 24px; padding-top: 2px; }
.benefit-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: 7px; }
.benefit-body p { font-size: .855rem; color: var(--secondary); line-height: 1.68; }

/* ═══════════════════════════════════════════════════════
   STUDIO BANNER
═══════════════════════════════════════════════════════ */
.studio-banner { position: relative; height: clamp(280px, 48vw, 580px); overflow: hidden; }
.studio-banner img { width: 100%; height: 130%; object-fit: cover; transform: translateY(-10%); will-change: transform; }
.studio-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 100%); display: flex; align-items: center; justify-content: center; }
.studio-banner-text { font-size: clamp(1.8rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; color: var(--white); text-align: center; line-height: 1.25; }
.studio-banner-text em { font-style: normal; color: var(--accent-hi); }

/* ═══════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════ */
.process { background: var(--bg); }
.process-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; }
.process-step { padding: 28px 16px; text-align: center; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .76rem; font-weight: 700; letter-spacing: .05em; margin: 0 auto 14px; transition: transform var(--dur-base) var(--ease-spring), background var(--dur-base); }
.process-step:hover .step-num { transform: scale(1.18); background: var(--accent-mid); }
.step-body h4 { font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: .78rem; color: var(--secondary); line-height: 1.6; }
.process-line { height: 1px; background: var(--border-2); min-width: 16px; position: relative; transition: background .5s; }
.process-line::after { content: ''; position: absolute; top: -3px; right: -1px; width: 7px; height: 7px; border-top: 1.5px solid var(--border-2); border-right: 1.5px solid var(--border-2); transform: rotate(45deg); transition: border-color .5s; }
.process-steps.lines-visible .process-line { background: var(--accent-hi); }
.process-steps.lines-visible .process-line::after { border-color: var(--accent-hi); }

/* ═══════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════ */
.pricing { background: var(--bg-2); }
.pricing-formula { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }
.formula-part { padding: 11px 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-full); font-weight: 600; font-size: .875rem; box-shadow: var(--shadow-xs); }
.formula-op { font-size: 1.15rem; font-weight: 300; color: var(--muted); }
.formula-result { padding: 11px 22px; background: var(--fg); color: var(--white); border-radius: var(--r-full); font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; transition: box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out); }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card--example { border-color: var(--accent-hi); background: var(--accent-bg); }
.pricing-card-title { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; }
.pricing-list { display: flex; flex-direction: column; }
.pricing-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--secondary); }
.pricing-list li:last-child { border-bottom: none; }
.price { font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.pricing-total { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--accent-hi); font-weight: 800; font-size: 1.05rem; }
.pricing-note { font-size: .74rem; color: var(--muted); margin-top: 12px; }
.pricing-footer { text-align: center; font-size: .78rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════════ */
.portfolio { background: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 48px; }
.project-card { margin: 0; }
.project-img { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 4/5; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease-out); }
.project-card:hover .project-img img { transform: scale(1.07); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.68) 0%, transparent 48%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; opacity: 0; transition: opacity var(--dur-base); }
.project-card:hover .project-overlay { opacity: 1; }
.project-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-hi); margin-bottom: 6px; }
.project-overlay h4 { color: var(--white); font-size: .95rem; font-weight: 700; }
.project-card figcaption { padding: 14px 4px 0; }
.project-card figcaption h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.project-card figcaption p { font-size: .8rem; color: var(--secondary); }
.portfolio-cta { text-align: center; }

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.about-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content .eyebrow { margin-bottom: 16px; }
.about-content h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 22px; }
.about-content p { font-size: .875rem; color: var(--secondary); line-height: 1.77; margin-bottom: 14px; }
.about-p2 { margin-bottom: 28px !important; }
.about-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 500; }
.about-features li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }
.founder-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 28px; }
.founder-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--fg); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; }
.founder-card strong { display: block; font-size: .875rem; font-weight: 700; }
.founder-card p { font-size: .76rem; color: var(--muted); margin: 0; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.about-stat { text-align: center; }
.about-stat-num { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-unit { font-size: .9rem; color: var(--accent-hi); }
.stat-desc { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; display: block; margin-top: 4px; }

/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
.faq { background: var(--bg); }
.faq-list { max-width: 720px; margin: 0 auto 48px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 22px 0; font-size: .93rem; font-weight: 600; text-align: left; color: var(--fg); cursor: pointer; transition: color var(--dur-fast); }
.faq-question:hover { color: var(--accent-mid); }
.faq-icon { flex-shrink: 0; color: var(--muted); transition: transform var(--dur-base) var(--ease-out); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--accent-hi); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .42s var(--ease-out); }
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding-bottom: 22px; }
.faq-answer-inner p { font-size: .875rem; color: var(--secondary); line-height: 1.77; }
.faq-cta { text-align: center; }
.faq-cta p { font-size: .875rem; color: var(--secondary); margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr .48fr; gap: clamp(36px,5vw,64px); align-items: start; }
.contact-form-wrapper { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-md); }
.form-progress { display: flex; align-items: center; margin-bottom: 36px; }
.fp-step { display: flex; align-items: center; gap: 10px; flex: 1; }
.fp-circle { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--bg-2); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 700; color: var(--muted); transition: all var(--dur-base) var(--ease-out); }
.fp-label { font-size: .78rem; font-weight: 500; color: var(--muted); transition: color var(--dur-base); }
.fp-active .fp-circle { background: var(--fg); border-color: var(--fg); color: var(--white); }
.fp-active .fp-label { color: var(--fg); font-weight: 600; }
.fp-done .fp-circle { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--white); }
.fp-line { flex: 1; height: 1px; background: var(--border); margin: 0 12px; }
.form-block { margin-bottom: 28px; }
.form-block:last-child { margin-bottom: 0; }
.form-block-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.form-block-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row-3-1 { grid-template-columns: 3fr 1fr; }
.form-row-1-3 { grid-template-columns: 1fr 3fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--secondary); }
.form-group input, .form-group textarea, .form-group select { padding: 11px 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--bg); font-size: .875rem; color: var(--fg); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--fg); box-shadow: 0 0 0 3px rgba(12,10,9,.07); }
.form-group.has-error input, .form-group.has-error textarea { border-color: var(--error); }
.field-error { font-size: .73rem; color: var(--error); min-height: 14px; }
.form-optional { color: var(--muted); font-weight: 400; font-size: .73rem; }
.required { color: var(--accent-hi); }
textarea { resize: vertical; min-height: 80px; }
.form-panel-hidden { display: none !important; }
.payment-options { display: flex; flex-direction: column; gap: 8px; }
.payment-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--r-lg); cursor: pointer; transition: all var(--dur-fast); }
.payment-option:hover { border-color: var(--fg); }
.payment-option--active { border-color: var(--fg); background: var(--bg); }
.payment-icon { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--bg-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--secondary); }
.payment-info strong { font-size: .85rem; font-weight: 700; display: block; margin-bottom: 3px; }
.payment-info p { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.payment-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--white); transition: all var(--dur-fast); }
.payment-option--active .payment-check { background: var(--fg); border-color: var(--fg); }
.form-actions { margin-top: 24px; }
.form-actions-split { display: flex; gap: 10px; }
.btn-back { min-width: 100px; }
.btn-submit { flex: 1; }
.btn-add-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-full); font-size: .76rem; font-weight: 600; color: var(--secondary); border: 1.5px solid var(--border); transition: all var(--dur-fast); }
.btn-add-item:hover { border-color: var(--fg); color: var(--fg); }
.item-row { border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 18px; margin-bottom: 10px; transition: border-color var(--dur-fast); }
.item-row:focus-within { border-color: var(--fg); }
.item-row-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.item-row-label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--secondary); }
.item-remove-btn { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all var(--dur-fast); }
.item-remove-btn:hover { background: #FEE2E2; color: var(--error); }
.item-section { margin-bottom: 12px; }
.item-section-label { font-size: .72rem; font-weight: 600; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .07em; }
.type-chips, .pos-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.type-chip, .pos-chip { padding: 5px 11px; border-radius: var(--r-full); font-size: .74rem; font-weight: 500; color: var(--secondary); border: 1px solid var(--border); transition: all var(--dur-fast); }
.type-chip:hover, .pos-chip:hover { border-color: var(--fg); color: var(--fg); }
.type-chip.active, .pos-chip.active { background: var(--fg); border-color: var(--fg); color: var(--white); }
.form-color-swatches { display: flex; flex-wrap: wrap; gap: 5px; }
.form-color-swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: transform var(--dur-fast) var(--ease-spring); }
.form-color-swatch:hover { transform: scale(1.3); z-index: 1; }
.form-color-swatch.active { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--fg); }
.item-file-zone { position: relative; border: 1.5px dashed var(--border); border-radius: var(--r-lg); transition: border-color var(--dur-fast), background var(--dur-fast); overflow: hidden; }
.item-file-zone.dragover { border-color: var(--accent-hi); background: var(--accent-bg); }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.item-file-ui { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 18px; text-align: center; color: var(--muted); font-size: .78rem; pointer-events: none; }
.file-link { color: var(--accent-hi); text-decoration: underline; }
.item-file-ui small { font-size: .68rem; color: var(--subtle); }
.item-file-chosen { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--fg); font-size: .82rem; font-weight: 500; }
.file-clear { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--muted); flex-shrink: 0; cursor: pointer; transition: all var(--dur-fast); }
.file-clear:hover { background: #FEE2E2; color: var(--error); }
.initials-field { margin-top: 8px; }
.initials-input, .item-sizes, .item-color-text { width: 100%; }
.form-success { margin-top: 14px; padding: 14px 16px; background: #F0FDF4; border: 1px solid #86EFAC; border-radius: var(--r-lg); display: flex; align-items: center; gap: 10px; font-size: .855rem; font-weight: 500; color: #166534; }
.erp-status { font-size: .8rem; color: var(--error); margin-top: 8px; min-height: 16px; display: block; }
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-info-card { display: flex; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); transition: box-shadow var(--dur-base); }
.contact-info-card:hover { box-shadow: var(--shadow-sm); }
.contact-info-icon { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-2); display: flex; align-items: center; justify-content: center; color: var(--secondary); flex-shrink: 0; }
.contact-info-card h4 { font-size: .78rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-card p { font-size: .76rem; color: var(--secondary); line-height: 1.5; margin: 0; }
.contact-info-card a { font-size: .76rem; color: var(--accent-hi); font-weight: 500; }
.contact-info-card a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer { background: var(--fg); color: rgba(255,255,255,.55); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-accent { color: var(--accent-hi); }
.footer-brand p { font-size: .76rem; margin-top: 6px; color: rgba(255,255,255,.45); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: .78rem; color: rgba(255,255,255,.45); transition: color var(--dur-fast); }
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: .73rem; color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════════
   FLOATING CTA
═══════════════════════════════════════════════════════ */
.floating-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--r-full);
  background: var(--fg); color: var(--white);
  font-size: .855rem; font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-fast), background var(--dur-fast);
}
.floating-cta:hover { background: var(--accent-mid); transform: translateY(-3px) !important; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.floating-cta.hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ═══════════════════════════════════════════════════════
   SONNER-STYLE TOASTS
═══════════════════════════════════════════════════════ */
#toast-container {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column-reverse; gap: 8px;
  align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 48px);
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--r-lg);
  background: var(--fg); color: var(--white);
  font-size: .855rem; font-weight: 500; line-height: 1.4;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  pointer-events: all; min-width: 260px; max-width: 400px;
  animation: toast-in .3s var(--ease-out) both;
}
.toast--success { background: #15803D; }
.toast--error   { background: #B91C1C; }
.toast.toast-out { animation: toast-out .25s var(--ease-out) forwards; }
@keyframes toast-in  { from{opacity:0;transform:translateY(14px) scale(.95)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes toast-out { from{opacity:1;transform:translateY(0) scale(1)} to{opacity:0;transform:translateY(8px) scale(.95)} }
.toast-close { margin-left: auto; opacity: .55; font-size: 1rem; line-height: 1; cursor: pointer; transition: opacity var(--dur-fast); flex-shrink: 0; }
.toast-close:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════ */
.fade-up, .fade-left, .fade-right { opacity: 0; }
.fade-up.visible    { animation: fadeUp   .72s var(--ease-out) both; animation-delay: var(--delay, 0s); }
.fade-left.visible  { animation: fadeLeft .72s var(--ease-out) both; animation-delay: var(--delay, 0s); }
.fade-right.visible { animation: fadeRight .72s var(--ease-out) both; animation-delay: var(--delay, 0s); }
@keyframes fadeUp    { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft  { from{opacity:0;transform:translateX(-30px)} to{opacity:1;transform:translateX(0)} }
@keyframes fadeRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

/* ═══════════════════════════════════════════════════════
   EVENTS — Live-Druck bei deiner Veranstaltung
═══════════════════════════════════════════════════════ */
.events { background: var(--fg); color: var(--white); }
.events .section-header .eyebrow { color: var(--accent-hi); }
.events .section-header h2 { color: var(--white); }
.events .section-header .section-intro { color: rgba(255,255,255,.6); }

/* Bento grid */
.events-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-bottom: 48px;
}
/* Large card spans 2 rows */
.ev-feature--large {
  grid-row: span 2;
}
/* CTA card spans 2 cols */
.ev-feature--accent {
  grid-column: span 2;
}

.ev-feature {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 32px;
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base);
}
.ev-feature:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

/* Dark variant */
.ev-feature--dark {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.07);
}

/* Accent CTA card */
.ev-feature--accent {
  background: var(--accent-mid);
  border-color: transparent;
  display: flex; align-items: center;
}
.ev-feature--accent:hover {
  background: var(--accent);
  box-shadow: 0 20px 50px rgba(180,83,9,.4);
}
.ev-cta-content { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.ev-cta-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 6px;
}
.ev-cta-text { font-size: .9rem; color: rgba(255,255,255,.85); line-height: 1.55; flex: 1; min-width: 200px; }
.ev-feature--accent .btn-accent {
  background: var(--fg); color: var(--white); white-space: nowrap; flex-shrink: 0;
}
.ev-feature--accent .btn-accent:hover { background: var(--primary); }

.ev-feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-hi); margin-bottom: 20px;
}
.ev-feature-icon--light { color: rgba(255,255,255,.85); }

.ev-feature h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.ev-feature p  { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.68; }

.ev-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.ev-list li {
  font-size: .83rem; color: rgba(255,255,255,.65); font-weight: 500;
  padding-left: 18px; position: relative;
}
.ev-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hi);
}

.ev-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ev-badge {
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: .74rem; font-weight: 600;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
}

/* Stats bar */
.events-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.ev-stat { text-align: center; }
.ev-stat strong {
  display: block; font-size: 1.6rem; font-weight: 800;
  letter-spacing: -.03em; color: var(--white); line-height: 1;
}
.ev-stat span {
  font-size: .7rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .07em; margin-top: 5px; display: block;
}
.ev-stat-sep {
  width: 1px; height: 36px; background: rgba(255,255,255,.1);
}

/* Responsive */
@media (max-width: 900px) {
  .events-bento {
    grid-template-columns: 1fr 1fr;
  }
  .ev-feature--large { grid-row: span 1; }
  .ev-feature--accent { grid-column: span 2; }
}
@media (max-width: 600px) {
  .events-bento {
    grid-template-columns: 1fr;
  }
  .ev-feature--large  { grid-row: span 1; }
  .ev-feature--accent { grid-column: span 1; }
  .ev-cta-content { flex-direction: column; align-items: flex-start; gap: 16px; }
  .events-stats { gap: 20px; }
  .ev-stat-sep { display: none; }
}

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES (Impressum, AGB, Datenschutz, Versand)
═══════════════════════════════════════════════════════ */
.legal-page { padding-top: var(--nav-h); min-height: 100svh; }

/* Hero */
.legal-hero {
  padding: clamp(52px, 8vw, 88px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.legal-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--muted); margin-bottom: 18px;
}
.legal-breadcrumb a { color: var(--accent-hi); font-weight: 500; }
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-breadcrumb span[aria-hidden] { color: var(--border-2); }
.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px;
}
.legal-hero p { font-size: .875rem; color: var(--muted); }

/* Layout: TOC sidebar + content */
.legal-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 210px 1fr; gap: 64px;
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(80px, 8vw, 120px);
  align-items: start;
}
.legal-wrap--single { grid-template-columns: 1fr; }
.legal-wrap--single .legal-content { max-width: 720px; }

/* TOC */
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.legal-toc-title {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 12px;
}
.legal-toc-list { display: flex; flex-direction: column; gap: 1px; }
.legal-toc-link {
  display: block; padding: 7px 12px; border-radius: var(--r-sm);
  font-size: .8rem; color: var(--secondary); line-height: 1.4;
  border-left: 2px solid transparent;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.legal-toc-link:hover { background: var(--bg-2); color: var(--fg); }
.legal-toc-link.active {
  color: var(--accent-hi); border-left-color: var(--accent-hi);
  background: var(--accent-bg); font-weight: 500;
}

/* Content */
.legal-content { min-width: 0; }
.legal-section {
  padding: 32px 0; border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: none; padding-bottom: 0; }
.legal-section h2 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 12px; color: var(--fg);
}
.legal-section h3 {
  font-size: .925rem; font-weight: 700; margin: 18px 0 7px; color: var(--fg);
}
.legal-section p {
  font-size: .875rem; color: var(--secondary); line-height: 1.77;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol {
  padding-left: 0; margin: 8px 0 12px;
  display: flex; flex-direction: column; gap: 5px;
}
.legal-section li {
  font-size: .875rem; color: var(--secondary); line-height: 1.65;
  padding-left: 18px; position: relative;
}
.legal-section li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hi);
}
.legal-section a { color: var(--accent-hi); word-break: break-word; }
.legal-section a:hover { text-decoration: underline; }
.legal-section strong { color: var(--fg); font-weight: 600; }

.legal-highlight {
  background: var(--accent-bg); border: 1px solid rgba(217,119,6,.22);
  border-left: 3px solid var(--accent-hi); border-radius: var(--r-md);
  padding: 15px 18px; font-size: .875rem; color: var(--accent);
  line-height: 1.65; margin: 12px 0;
}
.legal-highlight strong { color: var(--accent); }
.legal-highlight ul { margin-top: 8px; }
.legal-highlight li::before { background: var(--accent-hi); }

.legal-address {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 20px;
  font-size: .875rem; color: var(--secondary); line-height: 1.8;
  margin: 12px 0; font-style: normal;
}
.legal-address a { color: var(--accent-hi); }

/* Responsive */
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .legal-toc {
    position: static; border-bottom: 1px solid var(--border);
    padding-bottom: 20px; margin-bottom: 12px;
  }
  .legal-toc-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .legal-toc-link {
    border-left: none; border-bottom: 2px solid transparent;
    border-radius: var(--r-sm); padding: 5px 10px; font-size: .75rem;
  }
  .legal-toc-link.active { border-bottom-color: var(--accent-hi); }
}
@media (max-width: 480px) {
  .legal-hero h1 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .legal-section { padding: 24px 0; }
}

/* ═══════════════════════════════════════════════════════
   EVENT-FORMULAR SEKTION
═══════════════════════════════════════════════════════ */
.event-form-section { background: var(--bg-2); }

.event-form-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}

.efg-copy .eyebrow { margin-bottom: 16px; }
.efg-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px;
}
.efg-copy p { font-size: .9rem; color: var(--secondary); line-height: 1.72; margin-bottom: 24px; }

.efg-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.efg-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 500;
}
.efg-bullets li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent-hi);
}

.efg-contact-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .83rem; color: var(--muted);
}
.efg-contact-hint svg { color: var(--accent-hi); flex-shrink: 0; }
.efg-contact-hint a { color: var(--accent-hi); font-weight: 500; }
.efg-contact-hint a:hover { text-decoration: underline; }

.efg-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

/* date input consistent styling */
input[type="date"] { appearance: none; -webkit-appearance: none; }

.form-privacy-note {
  margin-top: 14px; font-size: .73rem; color: var(--muted);
  text-align: center; line-height: 1.6;
}
.form-privacy-note a { color: var(--accent-hi); }
.form-privacy-note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   EINFACHES KONTAKTFORMULAR
═══════════════════════════════════════════════════════ */
.contact-simple { background: var(--bg); }

.cs-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}

.cs-copy .eyebrow { margin-bottom: 16px; }
.cs-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px;
}
.cs-copy p { font-size: .9rem; color: var(--secondary); line-height: 1.72; margin-bottom: 24px; }

.cs-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* ── ≤1024px ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-line { display: none; }
  .process-step { border-bottom: 1px solid var(--border); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .cards { grid-template-columns: repeat(2,1fr); }
}

/* ── ≤768px ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; --pad: clamp(16px, 4vw, 28px); }

  /* Nav → drawer */
  .nav { display: none; }
  .menu-toggle { display: flex; }

  /* Hero: stack image on top, text below */
  .hero {
    grid-template-columns: 1fr; padding-right: var(--pad);
    min-height: auto; padding-top: var(--nav-h);
  }
  .hero-img-col {
    order: -1; min-height: 52svh;
    border-radius: 0; margin: 0;
  }
  .hero-img-col::after { display: none; }
  .hero-text-col { padding: 28px 0 52px; }

  /* Showcase */
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-item:last-child { display: none; }

  /* Services */
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }

  /* Product window tabs */
  .ptw-header { padding: 14px 20px; gap: 10px; }
  .ptw-nav {
    overflow-x: auto; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .ptw-nav::-webkit-scrollbar { display: none; }
  .ptw-tab { flex-shrink: 0; }
  .ptw-body { padding: 20px; }
  .ptw-meta-row { grid-template-columns: 1fr; gap: 20px; }

  /* Benefits */
  .benefits-list { grid-template-columns: 1fr; }
  .benefit-item { border-right: none; padding: 28px 24px; }
  .benefit-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .benefit-item:last-child { border-bottom: none; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; padding: 24px 20px; text-align: left; }
  .step-num { margin: 0 0 12px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .portfolio-grid .project-card:last-child { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Event form + contact simple */
  .event-form-grid,
  .cs-grid { grid-template-columns: 1fr; gap: 32px; }
  .efg-form-wrap,
  .cs-form-wrap { padding: 28px 22px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 22px; }

  /* Form rows → always single column on mobile */
  .form-row,
  .form-row-3-1,
  .form-row-1-3 { grid-template-columns: 1fr; gap: 8px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav { gap: 12px 20px; flex-wrap: wrap; }
}

/* ── ≤480px ──────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --pad: 16px; }

  /* Section vertical rhythm */
  .section { padding: clamp(56px, 10vw, 80px) 0; }
  .section-header { margin-bottom: clamp(36px, 6vw, 52px); }

  /* Hero */
  .hero-img-col { min-height: 48svh; }
  .hero-meta { flex-wrap: wrap; gap: 10px 16px; }
  .hero-stat-sep { display: none; }
  .hero-proof { font-size: .75rem; }

  /* Showcase → single column */
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item { aspect-ratio: 4/3; }
  .showcase-item:last-child { display: block; }

  /* Services cards */
  .card { padding: 24px 18px; }
  .card::before { font-size: 4rem; }

  /* Product window */
  .ptw-header { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .ptw-body { padding: 16px; }

  /* Benefits */
  .benefit-item { padding: 20px 16px; gap: 14px; }

  /* Process */
  .process-step { padding: 18px 16px; }
  .step-num { width: 38px; height: 38px; font-size: .7rem; }
  .step-body h4 { font-size: .85rem; }
  .step-body p { font-size: .78rem; }

  /* Pricing */
  .pricing-card { padding: 22px 18px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .project-card:last-child { display: block; }

  /* About stats - keep 2-col, tighten numbers */
  .about-stat-num { font-size: 1.3rem; }
  .about-stats { gap: 12px; }

  /* Forms - bump minimum readable sizes */
  .form-group label { font-size: .84rem; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: .9rem;
    padding: 13px 14px;
    min-height: 46px;
  }
  .field-error { font-size: .78rem; }
  .form-block-title { font-size: .76rem; }
  .type-chip, .pos-chip { font-size: .8rem; padding: 7px 13px; }
  .size-badge { font-size: .78rem; padding: 5px 12px; }
  .item-section-label { font-size: .76rem; }
  .contact-form-wrapper { padding: 20px 16px; border-radius: var(--r-xl); }
  .efg-form-wrap,
  .cs-form-wrap { padding: 20px 16px; border-radius: var(--r-xl); }
  .form-progress { gap: 0; }
  .fp-label { font-size: .74rem; }

  /* Payment options */
  .payment-option { padding: 12px 14px; gap: 10px; }

  /* Events section */
  .ev-feature { padding: 24px 18px; }
  .ev-feature-icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .events-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  }
  .ev-stat-sep { display: none; }

  /* Contact info cards */
  .contact-info-card { padding: 14px; gap: 12px; }

  /* Floating CTA */
  .floating-cta { bottom: 16px; right: 16px; padding: 12px 18px; font-size: .82rem; }
}

/* ── ≤380px — extreme small screens ─────────────────── */
@media (max-width: 380px) {
  :root { --pad: 14px; }

  /* Hero */
  .hero-headline { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .hero-lead { font-size: .875rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-outline { box-shadow: inset 0 0 0 1.5px var(--border-2); }

  /* Section headings */
  .section-header h2 { font-size: clamp(1.55rem, 7.5vw, 2rem); }

  /* Benefits */
  .benefit-item { padding: 16px 14px; }

  /* Process */
  .process-step { padding: 14px; }

  /* About stats → 2 col still fine, reduce number size */
  .about-stat-num { font-size: 1.15rem; }
  .stat-unit { font-size: .8rem; }

  /* Form step labels hide on tiny screens to save space */
  .fp-label { display: none; }
  .fp-circle { width: 28px; height: 28px; font-size: .7rem; }
  .fp-line { margin: 0 8px; }

  /* Payment option description text — hide to reduce clutter */
  .payment-info p { display: none; }
  .payment-option { padding: 10px 12px; }

  /* PTW */
  .ptw-header { padding: 12px 14px; }
  .ptw-body { padding: 14px 12px; }

  /* Events */
  .ev-feature { padding: 20px 14px; }
  .events-stats { gap: 12px; }
  .ev-stat strong { font-size: 1.3rem; }

  /* Floating CTA — icon only on smallest screens */
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; border-radius: 50%; }
  .floating-cta svg { margin: 0; }

  /* Card */
  .card { padding: 20px 16px; }
  .pricing-card { padding: 18px 14px; }
}

/* ── prefers-reduced-motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .trust-track { animation: none; }
}
