/* =========================================================
   LENZWERK KONZEPT — Design System
   ========================================================= */

:root {
  /* ===== TRACK A — ATELIER (B2C, warm beige) ===== */
  --color-bg:        #f5f3f0;        /* Linen */
  --color-bg-white:  #ffffff;        /* Paper */
  --color-bg-dark:   #1a1816;        /* Anthracite */
  --color-text:      #1a1a1a;        /* Charcoal Ink */
  --color-text-soft: #555555;        /* Stone */
  --color-text-mute: #8a8a8a;        /* Mute */
  --color-line:      #d9d4cc;        /* Driftwood */
  --color-line-soft: #e8e4dd;        /* Sand */
  --color-accent:    #8b6f47;        /* Walnut */
  --color-accent-d:  #5a4730;        /* Walnut Deep */
  --color-on-dark:   #f0ece5;        /* Ivory */

  /* ===== TRACK B — KONZEPT (B2B/IG, dark zinc) ===== */
  --kz-void:       #0a0a0a;
  --kz-carbon:     #141414;
  --kz-onyx:       #1f1f1f;
  --kz-zinc-900:   #18181b;
  --kz-zinc-700:   #3f3f46;
  --kz-mist:       #fafafa;
  --kz-mist-70:    rgba(250,250,250,0.7);
  --kz-mist-50:    rgba(250,250,250,0.5);
  --kz-mist-12:    rgba(255,255,255,0.12);
  --kz-mist-06:    rgba(255,255,255,0.06);
  --kz-mist-03:    rgba(255,255,255,0.03);
  --kz-accent:     #a8835a;          /* Walnut Echo */

  /* ===== TYPOGRAPHY ===== */
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-disp:    "Cormorant Garamond", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-kz-disp: "Inter", -apple-system, sans-serif;   /* Track B Display */

  --type-display-xl: clamp(3rem, 7vw, 5.5rem);
  --type-display-lg: clamp(2.4rem, 5.5vw, 4.8rem);
  --type-display-md: clamp(2rem, 4vw, 3.2rem);

  --track-tight-xl: -0.04em;
  --track-tight-lg: -0.025em;
  --track-tight-md: -0.015em;

  /* ===== LAYOUT ===== */
  --w-max:    1400px;
  --w-text:   780px;
  --w-content: 60ch;

  --section-py: clamp(5rem, 9vw, 8rem);
  --section-pb: clamp(5.5rem, 10vw, 8.8rem);   /* +10% Bottom optisches Gleichgewicht */

  /* ===== MOTION ===== */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-snap:   cubic-bezier(0.5, 0, 0.1, 1);

  --t-fast:   0.2s ease;
  --t-base:   0.4s var(--ease-out);
  --t-slow:   0.8s var(--ease-out);

  /* ===== SHADOWS (Track A — warme Tinte statt black) ===== */
  --shadow-sm:  0 2px 8px   rgba(40, 30, 20, 0.06);
  --shadow-md:  0 10px 40px rgba(40, 30, 20, 0.08);
  --shadow-lg:  0 25px 60px rgba(40, 30, 20, 0.12);

  /* ===== SHADOWS (Track B — deep neutral) ===== */
  --kz-shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.4);
  --kz-shadow-md:    0 10px 30px rgba(0, 0, 0, 0.6);
  --kz-shadow-glass: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 0 rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast), opacity var(--t-fast); }
a:hover { color: var(--color-accent); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Typography */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }

.display {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; color: var(--color-accent); }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-mute);
  font-weight: 500;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 60ch;
}

h2.section-title {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

h3 { font-size: 1.25rem; font-weight: 500; }

p + p { margin-top: 1em; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
}
.section--dark .eyebrow { color: rgba(240, 236, 229, 0.6); }
.section--dark .lead    { color: rgba(240, 236, 229, 0.75); }

/* Header / Navigation */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(245, 243, 240, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.scrolled { border-color: var(--color-line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-mute);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a.active { color: var(--color-accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-text);
  border-radius: 0;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-text); }
.btn--ghost:hover { background: var(--color-text); color: var(--color-bg); }
.btn--dark-bg { border-color: var(--color-on-dark); background: transparent; color: var(--color-on-dark); }
.btn--dark-bg:hover { background: var(--color-on-dark); color: var(--color-bg-dark); }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.btn-arrow::after { content: "→"; transition: transform var(--t-fast); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* Mobile nav */
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 110;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: transform var(--t-fast), opacity var(--t-fast);
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(100%, 360px);
    background: var(--color-bg);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--t-base);
    border-left: 1px solid var(--color-line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  /* Text schmal (max 26rem) — Bild bekommt den restlichen Platz, deutlich breiter */
  grid-template-columns: minmax(18rem, 26rem) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-text { max-width: 26rem; }
.hero-text .eyebrow { margin-bottom: 1.5rem; }
.hero-text .display { margin-bottom: 1.5rem; }
.hero-text .lead { margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  background: var(--color-bg-dark);
  overflow: hidden;
  border-radius: 4px;
  /* Bild bekommt feste, dominante Höhe statt aspect-ratio — wirkt deutlich präsenter */
  height: clamp(28rem, 65vh, 42rem);
  width: 100%;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.35);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(20rem, 26rem) 1fr;
    gap: 2.5rem;
  }
  .hero-visual { height: clamp(24rem, 55vh, 36rem); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* Sub-hero (inner pages) */
.page-hero {
  padding: 11rem 0 5rem;
  border-bottom: 1px solid var(--color-line);
}
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero .display { margin-bottom: 1.5rem; max-width: 16ch; }
.page-hero .lead { max-width: 50ch; }

/* USP Grid */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 3rem;
  margin-top: 3rem;
}
.usp {
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
}
.usp-num {
  font-family: var(--font-disp);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}
.usp h3 { margin-bottom: 0.6rem; }
.usp p { font-size: 0.95rem; color: var(--color-text-soft); }

/* Two-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split-image {
  background: var(--color-bg-dark);
  overflow: hidden;
  border-radius: 4px;
  /* Landscape-Ratio matched mit den 16:9-Lenzwerk-Visus → kein Crop, volle Wirkung */
  aspect-ratio: 16 / 10;
}
.split-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
/* Volle Bildhöhe ohne Beschnitt (für Detailaufnahmen, falls nötig) */
.split-image--full {
  aspect-ratio: auto;
}
.split-image--full img {
  height: auto;
  object-fit: contain;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* Segment cards (B2C/B2B teaser) */
.segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.segment-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-dark);
  display: flex;
  align-items: flex-end;
  color: var(--color-on-dark);
  text-decoration: none;
}
.segment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.segment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}
.segment-card:hover img { transform: scale(1.04); }
.segment-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}
.segment-card .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.segment-card h3 {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.segment-card p { font-size: 0.95rem; opacity: 0.85; margin-bottom: 1.2rem; }

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

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.project-card { cursor: pointer; }
.project-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--color-line-soft);
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.project-card:hover .project-card-img img { transform: scale(1.04); }
.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-mute);
  margin-bottom: 0.4rem;
}
.project-card h3 { font-size: 1.15rem; }

/* Feature list */
.feature-list {
  list-style: none;
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--color-line-soft);
}
.feature-list li::before {
  content: "—";
  color: var(--color-accent);
  font-weight: 500;
}

/* Quote / testimonial */
.quote {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  font-style: italic;
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
}
.quote-attr {
  margin-top: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-mute);
  text-align: center;
}

/* CTA banner */
.cta-banner {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
  padding: clamp(3rem, 7vw, 6rem) 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner p {
  max-width: 50ch;
  margin: 0 auto 2rem;
  color: rgba(240, 236, 229, 0.75);
}

/* Forms */
.form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }

.form {
  display: grid;
  gap: 1.5rem;
}
.form-group { display: grid; gap: 0.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text-soft);
}
.form label .req { color: var(--color-accent); }

.form input,
.form select,
.form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text);
  transition: border-color var(--t-fast);
  width: 100%;
  border-radius: 0;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form textarea { min-height: 100px; resize: vertical; padding: 0.85rem 0; }
.form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'><path d='M7 10l5 5 5-5z'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 1.8rem; }

.segment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.segment-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--color-line);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  transition: all var(--t-fast);
}
.segment-toggle input { display: none; }
.segment-toggle input:checked + span,
.segment-toggle label:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.segment-toggle label:has(input:checked) { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  line-height: 1.4;
}
.checkbox-row input { width: auto; margin-top: 4px; }

.form-aside {
  background: var(--color-bg-white);
  padding: 2.5rem;
  border: 1px solid var(--color-line-soft);
  align-self: start;
}
.form-aside h3 { font-family: var(--font-disp); font-size: 1.6rem; margin-bottom: 1rem; }
.form-aside ul { list-style: none; display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.form-aside ul li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; font-size: 0.95rem; color: var(--color-text-soft); }
.form-aside ul li::before { content: "✓"; color: var(--color-accent); }
.form-aside .contact-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line-soft);
  font-size: 0.95rem;
}

.form-message {
  padding: 1rem 1.25rem;
  background: #eef5ee;
  border-left: 3px solid #5a8a5a;
  display: none;
  font-size: 0.95rem;
}
.form-message.show { display: block; }

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240, 236, 229, 0.15);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 236, 229, 0.6);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col ul a { font-size: 0.95rem; color: rgba(240, 236, 229, 0.85); }
.footer-col ul a:hover { color: var(--color-accent); }

.footer-brand .brand { color: var(--color-on-dark); }
.footer-brand p { font-size: 0.9rem; color: rgba(240, 236, 229, 0.65); margin-top: 1rem; max-width: 28ch; }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(240, 236, 229, 0.55);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; }

/* Misc */
.divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 2rem 0;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-text { max-width: var(--w-text); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-line);
  color: var(--color-text-soft);
}

/* =========================================================
   FIXES AUS AUDIT (DESIGN.md Sektion 11)
   ========================================================= */

/* Skip-Link für Keyboard-User */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-size: 0.9rem;
  font-weight: 500;
}
.skip-link:focus { left: 1rem; top: 1rem; outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* Active Press-State auf allen Buttons */
.btn:active,
.btn--ghost:active,
.btn--dark-bg:active,
.btn-arrow:active,
button:active {
  transform: scale(0.985);
  transition: transform 0.1s var(--ease-snap);
}

/* Focus-visible Ring (Accessibility — ersetzt outline:none) */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: none;   /* hier ist border-color der Indikator */
  border-color: var(--color-accent);
}

/* 100vh → 100dvh */
.hero { min-height: 100vh; min-height: 100dvh; }

/* Tabular Numbers für Daten */
.tabular,
.social-proof-rating-score,
.price-display-value,
.quiz-step-meta {
  font-variant-numeric: tabular-nums;
}

/* Eyebrow-Varianten (statt all-caps überall) */
.eyebrow--italic {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-soft);
}
.eyebrow--num {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* Text-Wrap (verhindert Orphans) */
h1, .display, h2.section-title { text-wrap: balance; }
p { text-wrap: pretty; }

/* Hero-Spaltenaufteilung wird oben (.hero-inner) gesteuert — diese Override entfernt */

/* Section bottom-padding +10% (optisches Gleichgewicht) */
.section { padding: var(--section-py) 0 var(--section-pb); }

/* Squircle Avatars statt Circles */
.testimonial-author-avatar { border-radius: 30%; }

/* =========================================================
   UTILITY-KLASSEN (für Inline-Style-Migration)
   ========================================================= */

/* Background */
.bg-paper      { background: var(--color-bg-white); }
.bg-anthracite { background: var(--color-bg-dark); color: var(--color-on-dark); }

/* Padding utilities */
.pt-0   { padding-top: 0 !important; }
.pt-2x  { padding-top: calc(var(--section-py) * 1.5) !important; }
.pb-sm  { padding-bottom: 1rem !important; }
.pb-md  { padding-bottom: 2rem !important; }

/* Section padding overrides */
.section--tight { padding: 3rem 1rem; }
.section--no-pt { padding-top: 0; }

/* Margin utilities */
.mt-0  { margin-top: 0 !important; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mb-0  { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.mb-2xl { margin-bottom: 5rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-inline: auto; }

/* Text utilities */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-soft    { color: var(--color-text-soft); }
.text-mute    { color: var(--color-text-mute); }
.text-accent  { color: var(--color-accent); }
.text-sm      { font-size: 0.85rem; }
.text-xs      { font-size: 0.78rem; }
.text-lg      { font-size: 1.15rem; }
.disp-font    { font-family: var(--font-disp); }

/* Layout utilities */
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.flex-between    { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.flex-center     { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.flex-end        { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.gap-sm          { gap: 0.5rem; }
.gap-md          { gap: 1rem; }
.gap-lg          { gap: 2rem; }
.grid-stack      { display: grid; gap: 2rem; align-self: start; }

/* Stat / Number-Card */
.stat--center { text-align: center; border-color: rgba(240, 236, 229, 0.2); }
.stat-num,
.stat--center .stat-num {
  font-family: var(--font-disp);
  font-size: 3rem;
  color: var(--color-on-dark);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.stat--center .stat-label {
  color: rgba(240, 236, 229, 0.7);
}

/* Padding extra utility */
.pt-2rem { padding-top: 2rem !important; }
.mt-2 { margin-top: 0.75rem; }

/* Stats grid (referenzen — schmaler als Cards) */
.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem 3rem;
  margin-top: 3rem;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem 3rem;
  margin-top: 3rem;
}

/* IG color helper */
.text-mist-80 { color: rgba(255,255,255,0.8); }

/* Process list (kontakt aside) */
.process-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  padding: 0;
}

/* USP-Variant: dark sections */
.usp--dark           { border-color: rgba(240, 236, 229, 0.2); }
.usp--dark h3        { color: var(--color-on-dark); }
.usp--dark p         { color: rgba(240, 236, 229, 0.7); }

/* Dialog-Card (für Hinweise / Notiz-Boxen) */
.notice-card {
  padding: 1rem 1.25rem;
  background: #fff5e6;
  border-left: 3px solid #b87333;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.success-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #eef5ee;
  border-left: 3px solid #5a8a5a;
}

/* Stagger für reveal */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }

/* Legal-Page H3 (Impressum/Datenschutz) */
.legal-h3 {
  font-family: var(--font-disp);
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

/* Form Aside Card */
.form-aside-info {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

/* Process step (für kontakt.html Briefing-Liste) */
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  font-size: 0.92rem;
  align-items: start;
}
.process-step strong { color: var(--color-accent); }

/* Quiz result text styling */
.quiz-result-text {
  max-width: 50ch;
  margin: 0 auto 2rem;
  color: var(--color-text-soft);
}

/* Project-card description */
.project-desc {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

/* Mini fine-print note */
.fine-print {
  font-size: 0.78rem;
  color: var(--color-text-mute);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Hero Price-Anchor (sanft, low-contrast) */
.hero-anchor {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text-mute);
  font-variant-numeric: tabular-nums;
}
.hero-anchor::before {
  content: "—  ";
  color: var(--color-accent);
  margin-right: 0.3rem;
}

/* =========================================================
   LIGHTBOX-GALERIE
   ========================================================= */

.lz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 8, 6, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.lz-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lz-lightbox-frame {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
}
.lz-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: #1a1816;
  animation: lz-lb-fade 0.4s var(--ease-out);
}
@keyframes lz-lb-fade {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.lz-lightbox-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0 0.25rem;
}
.lz-lightbox-title {
  font-weight: 500;
}
.lz-lightbox-counter {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* Navigations-Buttons */
.lz-lightbox-prev,
.lz-lightbox-next,
.lz-lightbox-close {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lz-lightbox-prev,
.lz-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.lz-lightbox-prev { left: 1.5rem; }
.lz-lightbox-next { right: 1.5rem; }
.lz-lightbox-prev:hover,
.lz-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) scale(1.05);
}
.lz-lightbox-prev:active,
.lz-lightbox-next:active {
  transform: translateY(-50%) scale(0.96);
}

.lz-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}
.lz-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .lz-lightbox { padding: 1rem; }
  .lz-lightbox-prev,
  .lz-lightbox-next {
    width: 44px; height: 44px;
    font-size: 1.4rem;
  }
  .lz-lightbox-prev { left: 0.5rem; }
  .lz-lightbox-next { right: 0.5rem; }
  .lz-lightbox-close { top: 0.5rem; right: 0.5rem; }
  .lz-lightbox-img { max-height: calc(100vh - 6rem); }
}

/* Cursor auf klickbaren Cards */
.project-card,
.kz-portfolio-card {
  cursor: pointer;
}

/* =========================================================
   SPRACH-TOGGLE DE / EN
   ========================================================= */

/* Pattern: <span class="lang lang-de">…</span><span class="lang lang-en">…</span> */
.lang-en { display: none; }
html.lang-en .lang-de { display: none; }
html.lang-en .lang-en { display: contents; }
.lang-de { display: contents; }

/* Lang-Toggle Pill-Group (Atelier) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-line);
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}
.lang-switch button {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  background: transparent;
  color: var(--color-text-mute);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-transform: uppercase;
}
.lang-switch button:hover { color: var(--color-text); }
.lang-switch button.is-active {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Grain Overlay (subtle texture, "handgefertigt" feel) */
.grain {
  position: fixed; inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.035;
  mix-blend-mode: overlay;
}
