/* ============================================================
   Florian Soddemann Veranstaltungstechnik
   Design: Dark arena aesthetic — amber spotlight on black stage
   Palette: OKLCH throughout
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:          oklch(0.08 0.000 0);       /* near-black */
  --surface:     oklch(0.12 0.005 79);      /* dark, tiny amber hint */
  --surface-2:   oklch(0.17 0.008 79);      /* cards, panels */
  --surface-3:   oklch(0.22 0.006 79);      /* hover states */

  /* Brand colors */
  --primary:     oklch(0.72 0.155 79);      /* amber/gold — stage light */
  --primary-dim: oklch(0.52 0.120 79);      /* darker amber */
  --primary-glow:oklch(0.72 0.155 79 / 0.18);

  /* Accent */
  --accent:      oklch(0.42 0.090 250);     /* steel blue — precision */
  --accent-dim:  oklch(0.30 0.065 250);

  /* Text */
  --ink:         oklch(0.96 0.000 0);       /* near-white body text */
  --ink-muted:   oklch(0.62 0.006 79);      /* secondary text */
  --ink-subtle:  oklch(0.40 0.004 79);      /* tertiary / disabled */

  /* Borders */
  --border:      oklch(0.22 0.006 79 / 0.8);
  --border-subtle: oklch(0.18 0.004 79 / 0.6);

  /* Semantic */
  --success:     oklch(0.72 0.17 145);
  --error:       oklch(0.65 0.21 25);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Typography */
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index scale */
  --z-base:    1;
  --z-sticky:  100;
  --z-modal:   200;
  --z-toast:   300;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.02em; }

/* H6: @import entfernt — Inter wird bereits per <link> im HTML-Head geladen (performanter) */

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s var(--ease-out-quart),
              backdrop-filter 0.4s var(--ease-out-quart),
              border-color 0.4s var(--ease-out-quart);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: oklch(0.08 0 0 / 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo-tagline {
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-logo-img {
  max-height: 44px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--primary);
  transition: right 0.3s var(--ease-out-quart);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  padding: 0.55rem 1.25rem;
  background: var(--primary);
  color: oklch(0.08 0 0);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: oklch(0.78 0.155 79);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-quart), opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: oklch(0.06 0 0 / 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-sticky) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-quart),
              transform 0.35s var(--ease-out-quart);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--primary); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px clamp(1.5rem, 5vw, 4rem) var(--space-16);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Spotlight effect */
.hero-spotlight {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    oklch(0.72 0.155 79 / 0.22) 0%,
    oklch(0.72 0.155 79 / 0.08) 40%,
    transparent 70%
  );
  animation: spotlight-pulse 8s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.22 0.006 79 / 0.15) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.22 0.006 79 / 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 1rem;
  background: oklch(0.72 0.155 79 / 0.12);
  border: 1px solid oklch(0.72 0.155 79 / 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

.hero-headline em {
  font-style: normal;
  color: var(--primary);
}

.hero-subline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ink-muted);
  max-width: 55ch;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out-quart);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: oklch(0.08 0 0);
  box-shadow: 0 4px 20px oklch(0.72 0.155 79 / 0.3);
}

.btn-primary:hover {
  background: oklch(0.78 0.155 79);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px oklch(0.72 0.155 79 / 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateY(-1px);
}

/* ── Scroll indicator ───────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

/* ── Section anatomy ────────────────────────────────────── */
.section {
  padding: var(--space-16) clamp(1.5rem, 5vw, 4rem);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header.centered {
  text-align: center;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 60ch;
  text-wrap: pretty;
  line-height: 1.7;
}

.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Services ───────────────────────────────────────────── */
#leistungen { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: background 0.25s var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-glow);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-quart);
}

.service-card:hover { background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.72 0.155 79 / 0.12);
  border-radius: var(--radius-sm);
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.25s;
}

.service-card:hover .service-icon {
  background: oklch(0.72 0.155 79 / 0.2);
}

.service-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-description {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ── Über mich ──────────────────────────────────────────── */
#ueber-mich {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--ink-subtle);
  background: var(--surface-2);
}

.about-image-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    oklch(0.72 0.155 79 / 0.3) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.about-text-content { display: flex; flex-direction: column; gap: var(--space-5); }

.about-text p {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-3);
}

.stat-item {
  background: var(--surface-2);
  padding: var(--space-5) var(--space-4);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: var(--space-2);
  line-height: 1.3;
}

/* ── Referenzen ─────────────────────────────────────────── */
#referenzen { background: var(--bg); }

.ref-filter {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.ref-filter-btn {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: transparent;
  transition: all 0.2s;
}

.ref-filter-btn:hover,
.ref-filter-btn.active {
  background: var(--primary);
  color: oklch(0.08 0 0);
  border-color: var(--primary);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ref-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.25s var(--ease-out-quart);
}

.ref-card:hover { background: var(--surface-2); }

.ref-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

.ref-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-quart);
}

.ref-card:hover .ref-card-image img { transform: scale(1.04); }

.ref-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-subtle);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
}

.ref-card-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.ref-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ref-card-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ref-card-year {
  font-size: 0.75rem;
  color: var(--ink-subtle);
}

.ref-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.ref-card-client {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.ref-card-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ── Kontakt ────────────────────────────────────────────── */
#kontakt {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.72 0.155 79 / 0.12);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.contact-info-value {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 2px;
}

/* Contact Form */
.contact-form {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.form-label .required { color: var(--primary); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-subtle);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.72 0.155 79 / 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-select option { background: var(--surface); }

.form-submit {
  width: 100%;
  padding: 0.875rem;
  justify-content: center;
}

.form-feedback {
  display: none;
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  align-items: center;
  gap: var(--space-3);
}

.form-feedback.success {
  display: flex;
  background: oklch(0.72 0.17 145 / 0.12);
  border: 1.5px solid oklch(0.72 0.17 145 / 0.4);
  color: oklch(0.80 0.17 145);
}

.form-feedback.error {
  display: flex;
  background: oklch(0.65 0.21 25 / 0.12);
  border: 1.5px solid oklch(0.65 0.21 25 / 0.4);
  color: oklch(0.75 0.21 25);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: oklch(0.05 0 0);
  border-top: 1.5px solid var(--border);
  padding: var(--space-12) clamp(1.5rem, 5vw, 4rem) var(--space-8);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1.5px solid var(--border);
  margin-bottom: var(--space-8);
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 32ch;
  text-wrap: pretty;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-col a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--ink-muted); }

.footer-social-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--surface-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.footer-social-label {
  font-size: 0.75rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  flex-shrink: 0;
}

.footer-social-links {
  display: flex;
  gap: var(--space-2);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-muted);
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  background: var(--primary);
  color: oklch(0.08 0 0);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── Subpages (Impressum, AGB, Datenschutz) ─────────────── */
.subpage-hero {
  padding: 140px clamp(1.5rem, 5vw, 4rem) var(--space-12);
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at 50% 0%, oklch(0.72 0.155 79 / 0.1), transparent 70%);
  pointer-events: none;
}

.subpage-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-12) clamp(1.5rem, 5vw, 4rem);
}

.subpage-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: var(--space-8) 0 var(--space-4);
  letter-spacing: -0.02em;
}

.subpage-content h2:first-child { margin-top: 0; }

.subpage-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: var(--space-6) 0 var(--space-3);
}

.subpage-content p {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
  text-wrap: pretty;
}

.subpage-content strong { color: var(--ink); font-weight: 600; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes spotlight-pulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50%       { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.reveal-hidden.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-image-wrap { aspect-ratio: 16/9; max-width: 500px; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-actions { flex-direction: column; align-items: center; }

  .form-row { grid-template-columns: 1fr; }

  .references-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .about-stats > :last-child { grid-column: auto; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  /* L5: sofort sichtbar — kein Warten auf IntersectionObserver */
  .reveal-hidden,
  .reveal-hidden.revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
