/* =============================================================
   Thorsten Wachten — Hauptstylesheet
   Basis: Referenz-Design (backup/Ramona_Webseite_Thorsten)
   Stand: 2026-04-01
   Keine externen Ressourcen — DSGVO-konform
   ============================================================= */

/* -------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------- */

:root {
  /* Primärfarben */
  --black:       #080807;
  --warm-white:  #faf9f6;
  --off-white:   #f4f2ee;
  --cool-gray:   #f1f3f0;

  /* Akzentfarben */
  --gold:        #7a5f31;
  --gold-light:  #b8955a;
  --gold-accent: #c4a265;

  /* Neutrale */
  --mid-gray:    #6b6860;
  --light-gray:  #e8e5e0;
  --dark-mid:    #1a1917;

  /* Erweiterte Neutrale */
  --white:       #ffffff;
  --text-secondary: #4a4845;
  --near-black:  #0a0a0a;

  /* Status-Farben */
  --status-green:       #4ade80;
  --status-green-dark:  #22c55e;
  --status-red:         #f87171;
  --status-red-dark:    #ef4444;
  --status-red-muted:   #cc4444;
  --status-yellow:      #eab308;
  --status-yellow-dark: #a16207;

  /* Error-Farben */
  --error-bg:     #fef2f2;
  --error-text:   #991b1b;
  --error-border: #fecaca;
  --error-toast:  #dc2626;

  /* Erweiterter Text */
  --text-body-dark: #3a3834;

  /* Bild-Platzhalter */
  --img-placeholder: #1a1a1a;

  /* Hero-Hintergruende (Gradients) */
  --hero-bg-warm-dark:  #1a1610;
  --hero-bg-black-warm: #0d0c0a;
  --hero-bg-black-cool: #0a0f14;
  --hero-photo-dark-1:  #111418;
  --hero-photo-mid:     #1c2228;
  --hero-photo-dark-2:  #151a1f;
  --referenz-bg-dark-1: #1a1c20;
  --referenz-bg-dark-2: #10121a;

  /* Typografie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Typografie-Scale (fluid) */
  --text-h1:      clamp(2.5rem, 5vw, 4rem);
  --text-h2:      clamp(1.75rem, 3.5vw, 2.5rem);
  --text-h3:      clamp(1.25rem, 2vw, 1.6rem);
  --text-body:    1rem;
  --text-small:   0.875rem;
  --text-caption: 0.75rem;

  /* Abstände */
  --section-pad:  clamp(80px, 10vw, 140px);
  --container-pad: clamp(24px, 6vw, 80px);

  /* Animationen */
  --ease-snap:    cubic-bezier(0.77, 0, 0.18, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);

  --duration-fast:  150ms;
  --duration-base:  300ms;
  --duration-slow:  600ms;
  --duration-xslow: 900ms;

  /* Custom Cursor */
  --cursor-dot-size:  10px;
  --cursor-ring-size: 36px;
  --cursor-color:     var(--gold);

  /* Marquee */
  --marquee-duration: 40s;

  /* Breakpoints als Referenz (keine echten CSS-Variablen fuer Media Queries) */
  /* --bp-sm: 480px | --bp-md: 768px | --bp-lg: 1024px | --bp-xl: 1280px | --bp-2xl: 1600px */
}


/* -------------------------------------------------------------
   2. WEBFONTS (@font-face)
   ------------------------------------------------------------- */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-normal.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}


/* -------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* text-size-adjust entfernt — Firefox warnt, iOS Safari 15+ braucht es nicht */
  background-color: var(--warm-white);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

/* Kein border-radius auf Bildern — architektonischer Look */
img {
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Scroll-Margin bei Sticky Header */
[id] {
  scroll-margin-top: 80px;
}


/* -------------------------------------------------------------
   4. SKIP-LINK (Barrierefreiheit)
   ------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  transition: top var(--duration-base) ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--warm-white);
  outline-offset: 2px;
}


/* -------------------------------------------------------------
   5. FOKUS-STYLES (global)
   ------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Nur sichtbar bei Tastaturbedienung, nicht bei Mausklick */
:focus:not(:focus-visible) {
  outline: none;
}


/* -------------------------------------------------------------
   6. NAVIGATION
   ------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 0 var(--container-pad);
  background: rgba(8, 8, 7, 0.35);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--duration-base) ease, border-color var(--duration-base) ease;
}

.nav.scrolled {
  background: rgba(250, 249, 246, 0.6);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 72px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Desktop-Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-white);
  transition: color var(--duration-fast) ease;
}

.nav.scrolled .nav-links a {
  color: rgba(0,0,0,0.45);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--warm-white);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a[aria-current="page"] {
  color: var(--black);
}

/* CTA-Button in Navigation */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--warm-white) !important;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: background var(--duration-fast) ease;
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--warm-white) !important;
}

/* Hamburger-Button (Mobile) — 3 Spans, X-Morph bei geöffnetem Menü */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

/* Im scrolled-Zustand dunkel */
.nav.scrolled .hamburger span {
  background: var(--black);
}

/* X-Morph wenn Menü offen (aria-expanded=true) */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay-Menü */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) ease;
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) ease;
}

.nav-mobile-overlay a:hover {
  color: var(--gold);
}

.nav-mobile-tel {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--mid-gray) !important;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}


/* -------------------------------------------------------------
   7. CUSTOM CURSOR (Desktop only)
   ------------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-ring {
    display: none !important;
  }

  body {
    cursor: auto;
  }
}

.cursor {
  position: fixed;
  width: var(--cursor-dot-size);
  height: var(--cursor-dot-size);
  background: var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-fast) ease,
              opacity 0.2s ease;

}

.cursor-ring {
  position: fixed;
  width: var(--cursor-ring-size);
  height: var(--cursor-ring-size);
  border: 1px solid var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease,
              opacity 0.2s ease;
  opacity: 0.6;

}

/* Ring skaliert bei Hover auf Links/Buttons */
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring,
body:has([role="button"]:hover) .cursor-ring {
  transform: translate(-50%, -50%) scale(1.8);
  opacity: 0.3;
}

/* Klick-Feedback */
body:has(a:active) .cursor,
body:has(button:active) .cursor {
  transform: translate(-50%, -50%) scale(0.7);
}


/* -------------------------------------------------------------
   8. BUTTONS
   ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast) ease,
              color var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
  text-decoration: none;
  white-space: nowrap;
}

/* Primär-Button */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transition: background 0.2s, transform 0.2s;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
  transform: translateY(-1px);
}

/* Sekundär-Button (Referenz: schwarz/transparent auf hellem Hintergrund) */
.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--warm-white);
}

/* Hell-Variante / Outline (auf dunklem Hintergrund) — Referenz: btn-outline */
.btn-light,
.btn-outline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s, color 0.2s;
}

.btn-light:hover,
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

/* Touch-Targets: mindestens 44×44px */
.btn {
  min-height: 44px;
}


/* -------------------------------------------------------------
   9. HERO (Referenz-Design: Slider + Content-Overlay)
   ------------------------------------------------------------- */

/* ——— HERO ——— */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0; /* Reset: globale section-Regel ueberschreiben */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--hero-bg-warm-dark) 0%, var(--hero-bg-black-warm) 40%, var(--hero-bg-black-cool) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(184,149,90,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(30,40,60,0.5) 0%, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.4;
}
.hero-photo-silhouette {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(135deg, var(--hero-photo-dark-1) 0%, var(--hero-photo-mid) 50%, var(--hero-photo-dark-2) 100%);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
}
.hero-photo-silhouette::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 60% 30%, rgba(184,149,90,0.06) 0%, transparent 60%),
    linear-gradient(180deg, transparent 50%, rgba(8,8,7,0.6) 100%);
}
.hero-slider-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.4s ease;
  /* will-change entfernt — transition genuegt, spart GPU-Speicher */
}
.hero-slider-img.active {
  opacity: 1;
}
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  right: 28px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-slider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.4s, transform 0.4s;
  cursor: pointer;
}
.hero-slider-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}
.hero-logo-wrap {
  position: relative;
  z-index: 2;
  margin-top: calc(72px + 16px); /* Nav-Hoehe (72px) + fester Abstand (16px) */
  padding: 0 clamp(24px, 6vw, 80px);
  margin-bottom: 28px; /* fester Abstand zum Text */
}
.hero-content {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 6vw, 80px);
  padding-top: 0;
  padding-bottom: clamp(60px, 8vw, 100px);
  max-width: 740px;
}

/* ——— HERO SLIDE CLAIM ——— */
.hero-claim-wrap {
  position: absolute;
  bottom: 72px;
  left: 0; right: 0;
  width: 55%;
  margin-left: auto;
  z-index: 4;
  text-align: center;
  pointer-events: none;
  padding: 0 clamp(24px, 5vw, 56px);
}
.hero-claim {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 1px 16px rgba(0,0,0,0.8), 0 4px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-claim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo im Hero (Hoehe via --hero-logo-h aus SiteSettings) */
.hero-logo {
  display: block;
  height: var(--hero-logo-h, 70px);
  max-height: 500px;
  width: auto;
  max-width: min(90vw, calc(var(--hero-logo-h, 70px) * 10));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s forwards;
}
.hero-title em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(24px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(184,149,90,0.6), transparent);
  animation: scrollLine 2s 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ——— METADATA RIBBON ——— */
.hero-ribbon {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  background: rgba(8,8,7,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0 clamp(24px, 6vw, 80px);
  opacity: 0;
  animation: fadeIn 0.8s 1.4s forwards;
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(16px, 2.5vw, 36px);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ribbon-item:first-child { padding-left: 0; }
.ribbon-item:last-child { border-right: none; }
.ribbon-key {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.ribbon-val {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 768px) { .hero-ribbon { display: none; } }

/* ——— BILDER in Hero-Silhouette ——— */
.hero-photo-silhouette img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.45);
}

/* -------------------------------------------------------------
   9b. HERO — MOBILE OVERRIDE (max-width: 768px)

   Strategie: Hero-Foto deckt die gesamte Sektion ab.
   .hero-photo-silhouette wird von rechter Haelfte auf inset:0
   gestreckt, clip-path entfernt. Ein ::after-Overlay (Gradient)
   sichert Lesbarkeit des Textes. Der img-Filter wird auf dem
   Mobile angepasst (etwas heller, Gradient uebernimmt Abdueckung).
   Keine Template-Aenderung noetig — kein Inline-JS.
   ------------------------------------------------------------- */

@media (max-width: 768px) {

  /* Vollbild-Foto als Hintergrund der gesamten Hero-Sektion */
  .hero-photo-silhouette {
    position: absolute;
    inset: 0;
    width: 100%;
    clip-path: none;                  /* Schraege entfernen */
    background: var(--hero-bg-black-warm); /* Fallback falls Bild laedt */
    z-index: 0;
  }

  /* Overlay: dunkler Gradient von unten + leichter Schleier oben
     Gibt Text und Logo Kontrast ohne das Foto zu sehr zu verdecken */
  .hero-photo-silhouette::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to bottom,
        rgba(8,8,7,0.55) 0%,         /* Oben: Nav + Logo lesbar */
        rgba(8,8,7,0.30) 35%,         /* Mitte: Foto sichtbar     */
        rgba(8,8,7,0.70) 70%,         /* Unten: Text lesbar       */
        rgba(8,8,7,0.88) 100%         /* CTA-Bereich: hoher Kontrast */
      );
    z-index: 1;
    pointer-events: none;
  }

  /* Bilder etwas heller — der Gradient uebernimmt Abdueckung */
  .hero-photo-silhouette img {
    filter: brightness(0.65);
  }

  /* Claim-Wrap auf Mobile ausblenden — kein Slider, Haupttext genuegt */
  .hero-claim-wrap {
    display: none;
  }

  /* Content-Bereich: zentriert, vollen Platz nutzen */
  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    padding-left: clamp(20px, 6vw, 32px);
    padding-right: clamp(20px, 6vw, 32px);
    padding-bottom: clamp(48px, 8vw, 72px);
    text-align: center;
  }

  /* Eyebrow: zentriert + gut lesbar */
  .hero-eyebrow {
    color: var(--gold-light);
    justify-content: center;
  }

  /* Titel: kompakter + zentriert */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  /* Fliesstext: zentriert, erhoehte Opazitaet */
  .hero-sub {
    color: rgba(255,255,255,0.80);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Buttons: zentriert, vertikal stacken */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Logo-Wrap: etwas weniger Abstand oben */
  .hero-logo-wrap {
    margin-top: calc(64px + 12px);   /* Nav-Hoehe Mobile + Abstand */
    padding: 0 clamp(20px, 6vw, 32px);
    margin-bottom: 20px;
  }

  /* Scroll-Indikator auf Mobile ausblenden — zu viel Laerm */
  .hero-scroll {
    display: none;
  }

  /* Slider-Dots + Slider auf Mobile ausblenden — statisches Bild genuegt */
  .hero-slider-dots {
    display: none;
  }
}

/* Buttons ab 400px wieder nebeneinander */
@media (min-width: 400px) and (max-width: 768px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* prefers-reduced-motion: Slider-Uebergang deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .hero-slider-img {
    transition: none;
  }
  .hero-claim {
    transition: none;
  }
}


/* -------------------------------------------------------------
   10. SEKTIONS-COMMONS
   ------------------------------------------------------------- */

section { padding: var(--section-pad) clamp(24px, 6vw, 80px); }

/* -------------------------------------------------------------
   11. REFERENZ-SEKTIONEN (Startseite)
   ------------------------------------------------------------- */

/* ——— SECTION COMMONS ——— */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 18px;
}
.section-title em { font-style: italic; font-weight: 300; }
.section-intro {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 60px;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }




/* -------------------------------------------------------------
   15. FOOTER (Sektion 7)
   ------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  padding: clamp(48px, 7vw, 80px) var(--container-pad) clamp(32px, 4vw, 48px);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Footer-Logo */
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-logo strong {
  font-weight: 600;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.45);
  line-height: 1.5;
}

/* Footer-Navigation */
.footer-nav-label,
.footer-contact-label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.3);
  margin-bottom: 1.25rem;
}

.footer-nav-list li + li,
.footer-contact-list li + li {
  margin-top: 0.65rem;
}

.footer-nav-list a,
.footer-contact-list a {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 300;
  /* WCAG: rgba(250, 249, 246, 0.55) auf --black = ~6.2:1 — PASS */
  color: rgba(250, 249, 246, 0.55);
  transition: color var(--duration-fast) ease;
}

.footer-nav-list a:hover,
.footer-contact-list a:hover {
  color: var(--warm-white);
}

/* Footer-Trennlinie */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(250, 249, 246, 0.08);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

/* Footer-Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.3);
  transition: color var(--duration-fast) ease;
}

.footer-legal-links a:hover {
  color: rgba(250, 249, 246, 0.7);
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* -------------------------------------------------------------
   15b. KONTAKT-CTA SEKTION (Startseite, vor Footer)
   ------------------------------------------------------------- */

.contact-cta-section {
  background: var(--black);
  padding: var(--section-pad) var(--container-pad);
  text-align: center;
}

.contact-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--warm-white);
  margin-bottom: 1.25rem;
}

.contact-cta-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

.contact-cta-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(250, 249, 246, 0.4);
  margin-bottom: 2rem;
}

.contact-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-cta-phone {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
  margin-bottom: 0.5rem;
}

.contact-cta-phone:hover {
  color: var(--warm-white);
}

.contact-cta-hours {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.3);
}

/* -------------------------------------------------------------
   15c. FOOTER-ERGAENZUNGEN (Kontaktblock + Logo span)
   ------------------------------------------------------------- */

.footer-logo span {
  color: var(--gold);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.footer-contact-block a,
.footer-contact-block span {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: rgba(250, 249, 246, 0.5);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-contact-block a::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width var(--duration-fast) ease;
}

.footer-contact-block a:hover {
  color: var(--warm-white);
}

.footer-contact-block a:hover::before {
  width: 28px;
}

/* Leerer Block (alle Felder ungefuellt): kein Leer-Abstand */
.footer-contact-block:empty {
  display: none;
}

/* -------------------------------------------------------------
   16. FLOATING CTA (Desktop, ab 300px Scroll)
   ------------------------------------------------------------- */

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  background: var(--gold);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  text-align: right;
  box-shadow: 0 4px 24px rgba(8, 8, 7, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--duration-base) ease,
              transform var(--duration-base) ease;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-cta-text {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--warm-white);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.floating-cta-phone {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.75);
  letter-spacing: 0.08em;
}

.floating-cta:hover {
  background: var(--gold-light);
}

.floating-cta:hover .floating-cta-text,
.floating-cta:hover .floating-cta-phone {
  color: var(--black);
}

/* Nur auf Desktop */
@media (max-width: 1024px) {
  .floating-cta {
    display: none;
  }
}

/* prefers-reduced-motion: direkt sichtbar, kein Delay */
@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transition: none;
    transform: none;
  }
}


/* -------------------------------------------------------------
   17. SCROLL-REVEAL (.reveal)
   ------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth),
              transform 0.7s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gestaffelt */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* -------------------------------------------------------------
   18. GALERIE-GRID (wiederverwendbar)
   ------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1600px) {
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 3 / 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth),
              filter var(--duration-slow) ease;
  /* will-change entfernt — transition genuegt, spart GPU-Speicher */
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.06) contrast(0.97);
}

/* Label beim Hover */
.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(
    to top,
    rgba(8, 8, 7, 0.65) 0%,
    transparent 100%
  );
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img       { transition: none; }
  .gallery-item-label     { transition: none; opacity: 1; transform: none; }
}


/* -------------------------------------------------------------
   19. HILFKLASSEN / UTILITIES
   ------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Touch-Targets: mindestens 44×44px */
a,
button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Ausnahmen fuer Touch-Target-Regel */
.nav-logo {
  display: flex;
  min-height: unset;
}
.nav-links a:not(.btn),
.footer-logo,
.footer-nav-list a,
.footer-contact-list a,
.footer-legal-links a {
  display: inline;
  min-height: unset;
}
.featured-carousel__dot {
  display: block;
  min-height: unset;
}


/* ——— LEISTUNGEN TEASER (aus Referenzseite) ——— */

.leistungen-teaser {
  position: relative;
  z-index: 10;
  background: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.leistungen-teaser .section-title { color: var(--black); }
.teaser-header {
  position: sticky;
  top: 100px;
  min-width: 0;
}
.teaser-header .section-label { color: var(--gold); }
.teaser-header .section-title { color: var(--black); margin-bottom: 16px; }
.teaser-header-intro {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(30,25,20,0.6);
  margin-bottom: 28px;
}
.teaser-more-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.teaser-more-link:hover { color: var(--gold-light); }

/* ——— LEISTUNGEN TEASER — Karten-Grid ——— */
.teaser-header-img {
  display: block;
  width: 960px; /* Editorial overflow: bewusst breiter als die 1fr-Spalte */
  height: 600px;
  margin: 24px 0;
  border-radius: 4px;
  object-fit: cover;
}
.leistungen-teaser-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lt-card {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 36px 40px;
  transition: background 0.3s;
}
.lt-card:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.lt-card:hover { background: rgba(20,17,14,0.92); }
.lt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lt-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.lt-card-top svg {
  width: 28px; height: 28px;
  color: var(--gold);
  opacity: 0.7;
}
.lt-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.lt-text {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.lt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.lt-tags span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
}
.lt-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s, letter-spacing 0.2s;
}
.lt-link:hover { color: var(--gold-light); letter-spacing: 0.15em; }

@media (max-width: 900px) {
  .leistungen-teaser { grid-template-columns: 1fr; }
  .teaser-header { position: static; }
  .teaser-header-img { width: 100%; height: auto; aspect-ratio: 16/9; }
}

/* ---- Leistungen — Tab-Navigation ---- */
.lt-tab-wrap {
  padding: 0;
}

/* Scroll-Wrapper mit Fade-Indikator rechts (Mobile) */
.lt-tab-nav-wrap {
  position: relative;
}
/* prefers-reduced-motion: Kein Fade-Gradient noetig — kein animiertes Scroll */
.lt-tab-nav-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--warm-white));
  pointer-events: none;
}

.lt-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(30,25,20,0.12);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lt-tab-nav::-webkit-scrollbar { display: none; }

.lt-tab-btn {
  background: none;
  border: none;
  color: rgba(30,25,20,0.45);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 24px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  /* Touch-Target mind. 44px Hoehe */
  min-height: 44px;
}
.lt-tab-btn:hover { color: rgba(30,25,20,0.75); }
.lt-tab-btn.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.lt-tab-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.lt-tab-panel {
  display: none;
}
.lt-tab-panel.is-active { display: block; }

.lt-tab-bild {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.lt-tab-titel {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.lt-tab-text {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 50ch;
}

.lt-tab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 24px;
}
.lt-tab-tags span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.lt-tab-tags span::before { content: '— '; opacity: 0.5; }

.lt-tab-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s;
}
.lt-tab-cta:hover { gap: 12px; }

/* Mobile: einspaltig */
@media (max-width: 768px) {
  .leistungen-teaser { grid-template-columns: 1fr; }
  .teaser-header { position: relative; top: auto; }
  .lt-tab-nav { padding: 0 16px; }
}

.lt-tab-bild { margin-bottom: 24px; }


/* -------------------------------------------------------------
   PORTFOLIO-TEASER (Startseite)
   ------------------------------------------------------------- */

.portfolio-teaser {
  background: var(--cool-gray);
  overflow: hidden;
}
.portfolio-teaser-cta {
  padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 32px);
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 6px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--dark-mid);
  cursor: pointer;
}
.portfolio-item:nth-child(1) { grid-column: 1/8;  grid-row: 1/7; }
.portfolio-item:nth-child(2) { grid-column: 8/13; grid-row: 1/5; }
.portfolio-item:nth-child(3) { grid-column: 8/11; grid-row: 5/9; }
.portfolio-item:nth-child(4) { grid-column: 11/13; grid-row: 5/9; }
.portfolio-item:nth-child(5) { grid-column: 1/5;  grid-row: 7/12; }
.portfolio-item:nth-child(6) { grid-column: 5/9;  grid-row: 7/11; }
.portfolio-item:nth-child(7) { grid-column: 9/13; grid-row: 9/13; }
.portfolio-item:nth-child(8) { grid-column: 5/9;  grid-row: 11/13; }
.portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.portfolio-item:nth-child(1) img { object-position: center top; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(8,8,7,0.85) 0%, transparent 100%);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transform: translateY(4px);
  transition: transform 0.3s, color 0.3s;
}
.portfolio-item:hover .portfolio-label { transform: translateY(0); color: rgba(255,255,255,0.9); }

@media (max-width: 768px) {
  .portfolio-grid { display: flex; flex-direction: column; }
  .portfolio-item { aspect-ratio: 4/3; }

  /* Button auf volle Breite, Letter-Spacing reduzieren */
  .portfolio-teaser-cta .btn-primary {
    display: block;
    width: 100%;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    padding: 14px 16px;
    text-align: center;
  }
}


/* -------------------------------------------------------------
   PORTFOLIO-SEITE — Hero, Filter, Masonry, Lightbox, Stats
   (pf-* = Portfolio-Feature-Klassen, nur auf /portfolio)
   ------------------------------------------------------------- */

/* Hero */
.pf-hero {
  background: var(--black);
  padding: clamp(120px, 14vw, 180px) clamp(32px, 6vw, 96px) clamp(48px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.pf-hero-left {
  max-width: 600px;
}

.pf-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pf-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.pf-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.08;
  margin: 0;
}

.pf-hero h1 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
}

.pf-hero-right {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  max-width: 380px;
  flex-shrink: 0;
}

.pf-hero-count {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

/* Filter Bar */
.pf-filter {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 clamp(32px, 6vw, 96px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  position: sticky;
  top: 72px;
  z-index: 90;
  /* Scrollbalken auf Mobile ausblenden aber scrollbar lassen */
  scrollbar-width: none;
}

.pf-filter::-webkit-scrollbar {
  display: none;
}

.pf-filter-btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 20px 12px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s, border-bottom-color 0.3s;
  /* Touch-Target min 44px */
  min-height: 44px;
}

.pf-filter-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.pf-filter-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.pf-filter-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* Masonry Grid */
.pf-grid {
  background: var(--near-black);
  padding: 4px;
  column-count: 3;
  column-gap: 4px;
}

.pf-item {
  break-inside: avoid;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.pf-item picture {
  display: block;
}

.pf-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0.25, 1), filter 0.6s ease;
  filter: brightness(0.85);
}

.pf-item:hover img,
.pf-item:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1);
}

.pf-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  pointer-events: none;
}

.pf-item:hover .pf-item-overlay,
.pf-item:focus-visible .pf-item-overlay {
  opacity: 1;
}

.pf-item-cat {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.pf-item-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--warm-white);
}

/* Focus-Style fuer Tastaturnavigation */
.pf-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  z-index: 1;
}

/* Filter: versteckte Items */
.pf-item.pf-hidden {
  display: none;
}

/* Lightbox */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}

.pf-lightbox.active {
  display: flex;
}

.pf-lightbox-picture {
  display: contents;
}

.pf-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  cursor: default;
  pointer-events: none;
}

.pf-lightbox-close {
  position: absolute;
  top: 28px;
  right: 36px;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 300;
  transition: color 0.3s;
  z-index: 10000;
  /* Touch-Target */
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-lightbox-close:hover {
  color: var(--warm-white);
}

.pf-lightbox-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  color: var(--warm-white);
}

.pf-lightbox-info {
  position: absolute;
  bottom: 32px;
  left: 40px;
  pointer-events: none;
}

.pf-lightbox-cat {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.pf-lightbox-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}

.pf-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px;
  transition: color 0.3s;
  z-index: 10000;
  min-width: 44px;
  min-height: 44px;
}

.pf-lightbox-nav:hover {
  color: var(--warm-white);
}

.pf-lightbox-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  color: var(--warm-white);
}

.pf-lightbox-prev { left: 16px; }
.pf-lightbox-next { right: 16px; }

/* Stats-Bar */
.pf-stats {
  background: var(--black);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-stat {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.pf-stat:last-child {
  border-right: none;
}

.pf-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 6px;
}

.pf-stat-num em {
  color: var(--gold);
  font-style: normal;
}

.pf-stat-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive Portfolio-Seite */
@media (max-width: 1024px) {
  .pf-grid { column-count: 2; }
}

@media (max-width: 900px) {
  .pf-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .pf-stats {
    grid-template-columns: 1fr 1fr;
  }

  .pf-stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 600px) {
  .pf-grid { column-count: 1; }

  .pf-stats {
    grid-template-columns: 1fr;
  }

  .pf-stat {
    border-right: none;
  }

  .pf-lightbox-info {
    left: 16px;
    bottom: 16px;
  }

  .pf-lightbox-nav {
    font-size: 1.8rem;
  }

  .pf-lightbox-prev { left: 4px; }
  .pf-lightbox-next { right: 4px; }
}

/* prefers-reduced-motion: Uebergaenge deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .pf-item img,
  .pf-item-overlay,
  .pf-lightbox-close,
  .pf-lightbox-nav {
    transition: none !important;
  }
}


/* -------------------------------------------------------------
   KUNDENLOGOS — Marquee (Startseite)
   ------------------------------------------------------------- */

#kunden {
  background: var(--black);
  padding: 64px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.kunden-label {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 48px;
}
.kunden-marquee-wrap {
  position: relative;
  overflow: hidden;
}
.kunden-marquee-wrap::before,
.kunden-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.kunden-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.kunden-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
.kunden-marquee {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.kunden-marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .kunden-marquee { animation: none; }
}
.kunden-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
  height: 56px;
}
.kunden-marquee-item img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: 0.5;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.kunden-marquee:hover .kunden-marquee-item img { opacity: 0.2; }
.kunden-marquee:hover .kunden-marquee-item:hover img {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}


/* -------------------------------------------------------------
   FOOTER-CTA (Startseite)
   ------------------------------------------------------------- */

.footer-cta {
  padding: clamp(64px, 9vw, 110px) clamp(24px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.footer-cta--with-image {
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;
}
.footer-cta-body {
  padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 280px;
}
.footer-cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  max-width: 640px;
}
.footer-cta-text em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}
.footer-cta-sub {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  max-width: 440px;
}
.footer-cta-image {
  width: clamp(280px, 40%, 560px);
  flex-shrink: 0;
  overflow: hidden;
}
.footer-cta-image img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  .footer-cta--with-image { flex-direction: column; }
  .footer-cta-image { width: 100%; min-height: 260px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}


/* =============================================================
   KUNDENGALERIE — Login + Galerie-Ansicht
   ============================================================= */

/* --- Login --- */

.client-login-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 96px 24px 48px; /* 72px nav + 24px Luft */
}

.client-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--warm-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 48px 40px;
}

.client-login-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  color: var(--black);
  margin: 0 0 12px;
}

.client-login-text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0 0 32px;
}

.client-flash {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: var(--text-small);
  font-family: var(--font-body);
  margin-bottom: 24px;
}

.client-flash--error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
}

.client-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.client-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.client-label {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
}

.client-input {
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s;
}

.client-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(122, 95, 49, 0.1);
}

.client-submit-btn {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: var(--warm-white);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.client-submit-btn:hover { background: var(--gold-light); }

/* --- Galerie --- */

.client-gallery-section {
  padding: 96px 24px 48px; /* 72px nav + 24px Luft */
  max-width: 1400px;
  margin: 0 auto;
}

.client-gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.client-gallery-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 500;
  color: var(--black);
  margin: 0 0 8px;
}

.client-gallery-desc {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--mid-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 12px;
}

.client-gallery-count {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--mid-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.client-zip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.client-zip-btn:hover {
  background: var(--gold);
  color: var(--warm-white);
}

.client-logout-form {
  display: inline-block;
  margin-top: 8px;
}

.client-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--mid-gray);
  border-radius: 4px;
  color: var(--mid-gray);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.client-logout-btn:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.client-gallery-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--mid-gray);
  font-family: var(--font-body);
}

/* Foto-Grid: Masonry-artig */
.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.client-gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--off-white);
}

.client-gallery-link {
  display: block;
  cursor: zoom-in;
}

.client-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.client-gallery-item:hover .client-gallery-img {
  transform: scale(1.03);
}

.client-gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--mid-gray);
}

.client-download-btn {
  position: absolute;
  bottom: 40px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 7, 0.6);
  color: var(--warm-white);
  border-radius: 50%;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
}

.client-gallery-item:hover .client-download-btn { opacity: 1; }
.client-download-btn:hover { background: var(--gold); }

/* --- Lightbox --- */

.client-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 7, 0.97);
  display: flex;
  flex-direction: row;
}

.client-lightbox[hidden] { display: none; }

.client-lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
}

.client-lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.client-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.client-lightbox-close:hover { opacity: 1; }
.client-lightbox-close:focus-visible,
.client-lightbox-prev:focus-visible,
.client-lightbox-next:focus-visible {
  outline: 2px solid var(--warm-white);
  outline-offset: 2px;
  opacity: 1;
}

.client-lightbox-prev,
.client-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 16px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.client-lightbox-prev { left: 8px; }
.client-lightbox-next { right: 8px; }
.client-lightbox-prev:hover,
.client-lightbox-next:hover { opacity: 1; }

.client-lightbox-counter {
  position: absolute;
  bottom: 54px;
  right: 20px;
  left: auto;
  transform: none;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
}

/* --- Selection-System --- */

/* Bewertungs-Leiste unter Thumbnails */
.sel-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 0;
  opacity: 1;
  background: rgba(8, 8, 7, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sel-dot {
  flex: 1;
  height: auto;
  min-height: 32px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  box-shadow: none;
  padding: 6px 4px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sel-dot:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}
.sel-dot--green  { background: transparent; }
.sel-dot--yellow { background: transparent; }
.sel-dot--red    { background: transparent; }

.sel-dot--green:hover  { border-bottom-color: var(--status-green); }
.sel-dot--yellow:hover { border-bottom-color: var(--gold-light); }
.sel-dot--red:hover    { border-bottom-color: var(--status-red); }

/* Farbpunkt vor dem Text */
.sel-dot::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sel-dot--green::before  { background: var(--status-green); }
.sel-dot--yellow::before { background: var(--gold-light); }
.sel-dot--red::before    { background: var(--status-red); }

.sel-dot--active {
  transform: none;
  box-shadow: none;
}
.sel-dot--active.sel-dot--green  { color: var(--status-green);           border-bottom-color: var(--status-green); }
.sel-dot--active.sel-dot--yellow { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.sel-dot--active.sel-dot--red    { color: var(--status-red);           border-bottom-color: var(--status-red); }

/* Markierter Status: dezenter Rahmen */
.sel-marked { box-shadow: inset 0 0 0 3px var(--gold-light); }
.sel-marked--green  { box-shadow: inset 0 0 0 3px var(--status-green-dark); }
.sel-marked--yellow { box-shadow: inset 0 0 0 3px var(--status-yellow); }
.sel-marked--red    { box-shadow: inset 0 0 0 3px var(--status-red-dark); }

/* Filter-Bar */
.sel-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  padding: 0 24px;
}

.sel-filter {
  font-family: var(--font-body);
  font-size: var(--text-small);
  padding: 8px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 24px;
  background: transparent;
  color: var(--mid-gray);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sel-filter:hover { border-color: var(--gold); color: var(--gold); }

.sel-filter--active {
  background: var(--black);
  color: var(--warm-white);
  border-color: var(--black);
}

.sel-filter-count {
  font-size: var(--text-caption);
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 7px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
}

.sel-filter--active .sel-filter-count {
  background: rgba(255, 255, 255, 0.2);
}

.sel-filter--green .sel-filter-count  { color: var(--status-green-dark); }
.sel-filter--yellow .sel-filter-count { color: var(--status-yellow-dark); }
.sel-filter--red .sel-filter-count    { color: var(--status-red-dark); }

/* Selection-Bar (Sticky Bottom) */
.sel-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  background: var(--black);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: var(--text-small);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sel-bar[hidden] { display: none; }

.sel-bar-name {
  font-weight: 600;
  color: var(--gold-light);
}

.sel-bar-counter {
  letter-spacing: 0.04em;
}

.sel-bar-finalize {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  padding: 8px 24px;
  background: var(--gold);
  color: var(--warm-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.04em;
}

.sel-bar-finalize:hover:not(:disabled) { background: var(--gold-light); }
.sel-bar-finalize:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Name-Modal & Re-Login-Modal */
.sel-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 8, 7, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.sel-modal-overlay[hidden] { display: none; }

.sel-modal {
  background: var(--warm-white);
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sel-modal h2 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--black);
  margin: 0 0 12px;
}

.sel-modal p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0 0 8px;
}

.sel-modal-hint {
  font-size: var(--text-caption);
  color: var(--mid-gray);
  opacity: 0.7;
}

.sel-modal form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.sel-modal input[type="text"] {
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  background: white;
  color: var(--black);
  text-align: center;
  transition: border-color 0.2s;
}

.sel-modal input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
}

.sel-modal button[type="submit"],
.sel-modal-btn {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  padding: 12px 32px;
  background: var(--gold);
  color: var(--warm-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.sel-modal button[type="submit"]:hover,
.sel-modal-btn:hover { background: var(--gold-light); }

/* Lightbox-Footer (Selection + Kommentar + Counter) — unterhalb des Fotos */
.sel-lightbox-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 10;
  background: rgba(8, 8, 7, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sel-lightbox-colors {
  display: flex;
  gap: 0;
}

/* Bewertungsbuttons: Text statt Farbkreise */
.sel-lb-color {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 0;
  width: auto;
  height: auto;
}

.sel-lb-color:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  transform: none;
}

/* Farbindikator: kleiner Punkt vor dem Text */
.sel-lb-color::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sel-lb-color--green  { border-bottom-color: transparent; }
.sel-lb-color--yellow { border-bottom-color: transparent; }
.sel-lb-color--red    { border-bottom-color: transparent; }

.sel-lb-color--green::before  { background: var(--status-green); }
.sel-lb-color--yellow::before { background: var(--gold-light); }
.sel-lb-color--red::before    { background: var(--status-red); }

.sel-lb-color--green:hover  { border-bottom-color: var(--status-green); }
.sel-lb-color--yellow:hover { border-bottom-color: var(--gold-light); }
.sel-lb-color--red:hover    { border-bottom-color: var(--status-red); }

/* Aktiver Zustand */
.sel-lb-color--active {
  transform: none;
  box-shadow: none;
}
.sel-lb-color--active.sel-lb-color--green  { color: var(--status-green);            border-bottom-color: var(--status-green); }
.sel-lb-color--active.sel-lb-color--yellow { color: var(--gold-light);  border-bottom-color: var(--gold-light); }
.sel-lb-color--active.sel-lb-color--red    { color: var(--status-red);            border-bottom-color: var(--status-red); }

/* Trenner */
.sel-lightbox-colors::after {
  content: '';
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 4px;
}

/* Kommentar-Button: Text statt runder Icon-Button */
.sel-lb-comment-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  border-radius: 0;
  width: auto;
  height: auto;
}

.sel-lb-comment-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  border-color: transparent;
}

.sel-lb-comment-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--black);
  border-radius: 2px;
  padding: 1px 5px;
  min-width: auto;
  position: static;
  display: none;
}

.sel-lb-comment-badge:not(:empty) { display: inline-block; }

/* ── Kommentar-System (Kundengalerie) ── */

/* Badge im Grid */
.photo-comment-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 8px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: rgba(250, 249, 246, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Annotation-Badge im Grid (oben-links) */
.photo-annotation-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 4px;
  cursor: pointer;
  background: rgba(10, 8, 6, 0.75);
  border: 1px solid rgba(196, 162, 101, 0.35);
  padding: 6px 10px;
  color: rgba(196, 162, 101, 0.85);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.photo-annotation-badge:hover {
  border-color: rgba(196, 162, 101, 0.65);
  color: rgba(196, 162, 101, 1);
}

.photo-annotation-badge__text {
  font-size: 0.625rem;
  letter-spacing: 0.03em;
}

/* Panel (rechts neben dem Bild in der Lightbox) */
.comment-panel {
  width: 320px;
  flex-shrink: 0;
  background: rgba(8, 8, 7, 0.98);
  border-left: 1px solid rgba(196, 162, 101, 0.08);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 44px); /* 44px = Hoehe sel-lightbox-footer */
}

.comment-panel[hidden] { display: none; }

.comment-panel__header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.5px solid var(--light-gray);
}

.comment-panel__title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-accent);
  opacity: 0.5;
}

.comment-panel__close {
  background: none;
  border: none;
  color: var(--warm-white);
  opacity: 0.4;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.comment-panel__close:hover { opacity: 0.8; }

.comment-panel__thread {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 162, 101, 0.08) transparent;
}

.comment-item {
  padding: 12px 16px;
  border-bottom: 0.5px solid rgba(196, 162, 101, 0.04);
}

.comment-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.comment-item__name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--warm-white);
  opacity: 0.6;
}

.comment-item__time {
  font-family: var(--font-body);
  font-size: 0.625rem;
  color: var(--mid-gray);
  opacity: 0.5;
}

.comment-item__text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--warm-white);
  opacity: 0.45;
  line-height: 1.6;
}

.comment-item__reply {
  margin-top: 8px;
  padding: 8px 12px;
  border-left: 2px solid var(--gold-accent);
}

.comment-item__reply-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-accent);
}

.comment-item__delete {
  background: none;
  border: none;
  color: var(--mid-gray);
  font-family: var(--font-body);
  font-size: 0.625rem;
  cursor: pointer;
  padding: 4px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.comment-item:hover .comment-item__delete { opacity: 0.6; }
.comment-item__delete:hover { opacity: 1; color: var(--status-red-muted); }

/* Ansicht-Toggle: Fotograf / Kunde */
.photographer-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  position: relative;
  z-index: 50;
}
.photographer-toggle__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.photographer-toggle__btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-family: var(--font-body);
  padding: 4px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.photographer-toggle__btn:hover { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.photographer-toggle__btn.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(196,162,101,0.08);
}

/* Fotografen-Kommentar */
.comment-item--photographer {
  border-left: 2px solid var(--gold-accent);
  background: rgba(196, 162, 101, 0.04);
}

.comment-item__photographer-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-accent);
}

/* Antworten-Button (nur fuer Fotograf, on-hover) */
.comment-item__reply-btn {
  background: none;
  border: none;
  color: var(--gold-accent);
  font-size: 0.6875rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  padding: 2px 0;
}

.comment-item:hover .comment-item__reply-btn { opacity: 0.6; }
.comment-item__reply-btn:hover { opacity: 1 !important; }

/* Inline-Reply-Formular */
.comment-item__reply-form {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.comment-item__reply-form-input {
  flex: 1;
  font-size: 0.8125rem;
  padding: 6px 8px;
  border: 1px solid rgba(196, 162, 101, 0.2);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--warm-white);
  resize: none;
}

.comment-item__reply-send {
  background: var(--gold-accent);
  color: var(--deep-charcoal);
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  cursor: pointer;
}

.comment-panel__input-wrap {
  padding: 12px 16px;
  border-top: 0.5px solid rgba(196, 162, 101, 0.06);
  display: flex;
  gap: 8px;
}

.comment-panel__input {
  flex: 1;
  background: rgba(196, 162, 101, 0.04);
  border: 0.5px solid rgba(196, 162, 101, 0.08);
  border-radius: 0;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--warm-white);
  resize: none;
}

.comment-panel__input:focus {
  border-color: rgba(196, 162, 101, 0.2);
  outline: none;
}

.comment-panel__input::placeholder {
  color: var(--mid-gray);
  opacity: 0.4;
}

.comment-panel__send {
  background: rgba(196, 162, 101, 0.15);
  border: 1px solid rgba(196, 162, 101, 0.2);
  color: var(--gold-accent);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.comment-panel__send:hover { background: rgba(196, 162, 101, 0.25); }

/* Loading + Empty States */
.sel-comment-loading,
.sel-comment-empty {
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--mid-gray);
  opacity: 0.4;
  text-align: center;
}

/* Toast-Benachrichtigungen */
.sel-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  font-family: var(--font-body);
  font-size: var(--text-small);
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sel-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sel-toast--success {
  background: var(--black);
  color: var(--warm-white);
}

.sel-toast--error {
  background: var(--error-toast);
  color: var(--white);
}

/* Responsive (Kundengalerie) */
@media (max-width: 600px) {
  .client-login-card { padding: 32px 24px; }
  .client-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
  .client-lightbox-prev,
  .client-lightbox-next { font-size: 1.5rem; padding: 12px; }

  /* Selection-System mobile */
  .sel-dots { opacity: 1; }
  .sel-dot { min-height: 36px; font-size: 0.55rem; }
  .sel-filter-bar { gap: 6px; }
  .sel-filter { padding: 6px 12px; font-size: var(--text-caption); }
  .sel-bar { flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
  .sel-modal { padding: 32px 24px; }
  .sel-lightbox-footer { bottom: 48px; }
}

/* Kommentar-Panel: Mobile als Overlay */
@media (max-width: 768px) {
  .client-lightbox {
    flex-direction: column;
  }
  .comment-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: 55vh;
    border-left: none;
    border-top: 1px solid rgba(196, 162, 101, 0.12);
    z-index: 100;
  }
}

/* -------------------------------------------------------------
   ACCESSIBILITY UTILITIES
   ------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   BRANCHEN PAGE
   ============================================================= */

.branchen-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
}
.branchen-intro-stat {
  padding: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branchen-intro-stat:last-child { border-right: none; }
.branchen-intro-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.branchen-intro-stat-num em {
  color: var(--gold);
  font-style: normal;
}
.branchen-intro-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.branchen-intro-stat-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.branche-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 480px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.branche-section:nth-child(even) { direction: rtl; }
.branche-section:nth-child(even) > * { direction: ltr; }

.branche-visual {
  background: var(--black);
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.branche-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  transition: filter 0.5s ease;
}
.branche-visual:hover .branche-visual-img {
  filter: brightness(0.85);
}
.branche-visual-num {
  position: absolute;
  bottom: 32px;
  left: 36px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  user-select: none;
}
.branche-visual-label {
  position: absolute;
  top: 36px;
  left: 36px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.branche-visual-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}
.branche-visual-name {
  position: absolute;
  bottom: 36px;
  right: 36px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1.1;
  text-align: right;
}

.branche-content {
  padding: clamp(48px, 6vw, 80px);
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.branche-section:nth-child(even) .branche-content {
  background: var(--cool-gray);
}

.branche-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.branche-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}
.branche-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 8px;
}
.branche-content h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--mid-gray);
}
.branche-sub-label {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-bottom: 24px;
  font-weight: 400;
}
.branche-body {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.branche-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
.branche-list h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
  opacity: 0.5;
}
.branche-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.branche-list ul li {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.branche-list ul li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  margin-top: 0.65em;
  flex-shrink: 0;
}
.branche-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  transition: gap var(--duration-base), color var(--duration-base);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 4px;
}
.branche-cta::after {
  content: '→';
  font-size: 1rem;
}
.branche-cta:hover {
  gap: 16px;
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Sticky Branchen-Nav */
.branchen-nav {
  background: var(--black);
  padding: 0 clamp(24px, 6vw, 80px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 72px;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.branchen-nav::-webkit-scrollbar { display: none; }
.branchen-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  padding: 16px 20px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-base), border-color var(--duration-base);
}
.branchen-nav a:hover,
.branchen-nav a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* Abschluss-CTA */
.branchen-cta-section {
  background: var(--warm-white);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.branchen-cta-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

@media (max-width: 900px) {
  .branche-section {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .branche-section:nth-child(even) { direction: ltr; }
  .branche-visual { min-height: 220px; }
  .branche-lists { grid-template-columns: 1fr; gap: 16px; }
  .branchen-nav { top: 72px; }
}
@media (max-width: 768px) {
  .branchen-intro { grid-template-columns: 1fr; }
  .branchen-intro-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .branchen-intro-stat:last-child { border-bottom: none; }
}

/* =============================================================
   ABLAUF PAGE
   ============================================================= */

/* Hero */
.ab-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 72vh;
  background: var(--black);
}
.ab-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 7vw, 96px);
}
.ab-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.ab-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.ab-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 32px;
}
.ab-hero-headline em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}
.ab-hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}
.ab-hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.ab-hero-step-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 40px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--duration-slow) ease;
}
.ab-hero-step-preview:last-child { border-bottom: none; }
.ab-hero-step-preview:hover { background: rgba(255, 255, 255, 0.02); }
.ab-hero-step-preview-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  width: 44px;
  text-align: right;
}
.ab-hero-step-preview-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}

/* Process Steps */
.ab-steps {
  background: var(--off-white);
}
.ab-step {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 480px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ab-step:nth-child(even) { direction: rtl; }
.ab-step:nth-child(even) > * { direction: ltr; }
.ab-step-visual {
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.ab-step-visual-num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 16vw, 14rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: -20px;
  right: 30px;
  line-height: 1;
  user-select: none;
}
.ab-step-visual-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.ab-step-visual-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.ab-step-visual-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  position: absolute;
  bottom: 40px;
  right: 40px;
}
.ab-step:nth-child(even) .ab-step-visual-name {
  right: auto;
  left: 40px;
}
.ab-step-content {
  padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.ab-step-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.ab-step-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
}
.ab-step-content h2 em {
  font-style: italic;
  color: var(--mid-gray);
}
.ab-step-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--mid-gray);
  font-weight: 300;
}
.ab-step-checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-step-checklist li {
  font-size: 0.88rem;
  color: var(--black);
  font-weight: 400;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.ab-step-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* Client Prep Section */
.ab-prep {
  background: var(--black);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 96px);
}
.ab-prep-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ab-prep-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(56px, 8vw, 96px);
  align-items: end;
}
.ab-prep-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.ab-prep-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.ab-prep-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}
.ab-prep-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}
.ab-prep-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  align-self: end;
}
.ab-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.ab-prep-card {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-right: -1px;
  margin-bottom: -1px;
}
.ab-prep-card-icon {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.7;
}
.ab-prep-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
}
.ab-prep-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

/* Location Section */
.ab-location {
  background: var(--off-white);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 96px);
}
.ab-location-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.ab-location-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.ab-location-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.ab-location h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 24px;
}
.ab-location h2 em {
  font-style: italic;
  color: var(--mid-gray);
}
.ab-location p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--mid-gray);
  font-weight: 300;
  margin-bottom: 16px;
}
.ab-location-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.ab-location-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ab-location-item-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  min-width: 100px;
  padding-top: 3px;
}
.ab-location-item-text {
  font-size: 0.92rem;
  color: var(--black);
  line-height: 1.6;
}

/* Timeline / Dauer */
.ab-timeline {
  background: var(--black);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ab-timeline-item {
  padding: clamp(36px, 5vw, 56px) clamp(24px, 3vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-timeline-item:last-child { border-right: none; }
.ab-timeline-phase {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.ab-timeline-duration {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.ab-timeline-duration em {
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
  font-size: 0.5em;
}
.ab-timeline-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* Responsive — Ablauf */
@media (max-width: 900px) {
  .ab-hero { grid-template-columns: 1fr; min-height: auto; }
  .ab-hero-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .ab-hero-step-preview { padding: 16px 32px; }
  .ab-step { grid-template-columns: 1fr; }
  .ab-step:nth-child(even) { direction: ltr; }
  .ab-step-visual { min-height: 200px; }
  .ab-step-visual-name { right: 40px; left: auto; }
  .ab-prep-header { grid-template-columns: 1fr; }
  .ab-prep-grid { grid-template-columns: 1fr; }
  .ab-location-inner { grid-template-columns: 1fr; }
  .ab-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ab-timeline { grid-template-columns: 1fr; }
  .ab-timeline-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .ab-timeline-item:last-child { border-bottom: none; }
}

/* =============================================================
   REFERENZEN PAGE
   ============================================================= */

#referenzen { background: var(--warm-white); }
.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
  margin-top: 50px;
}
.referenz-card {
  background: var(--white);
  overflow: hidden;
}
.referenz-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--referenz-bg-dark-1) 0%, var(--referenz-bg-dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.referenz-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.referenz-img::after {
  content: attr(data-cat);
  position: absolute;
  bottom: 14px;
  left: 20px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.referenz-body { padding: 32px; }
.referenz-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background-color: var(--dark-mid, #1a1917);
  border-radius: 4px;
  margin-bottom: 12px;
  min-width: 80px;
  min-height: 40px;
}
.referenz-logo-wrap img {
  max-width: 100px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.referenz-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.referenz-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.3;
}
.referenz-row { margin-bottom: 14px; }
.referenz-row-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 4px;
}
.referenz-row-text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-body-dark);
}
.referenz-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 109, 59, 0.3);
  padding-bottom: 2px;
  transition: border-color var(--duration-base), color var(--duration-base);
}
.referenz-link:hover,
.referenz-link:focus-visible {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* =============================================================
   FAQ PAGE
   ============================================================= */

#faq { background: var(--cool-gray); }
.faq-list {
  margin-top: 50px;
  max-width: 760px;
}
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  transition: color var(--duration-base);
}
.faq-question:hover { color: var(--gold); }
.faq-question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--mid-gray);
  transition: transform var(--duration-slow), border-color var(--duration-base);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
}
.faq-answer {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: none;
  padding-bottom: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
  .faq-icon { transition: none; }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE-HERO — Unterseiten-Einstieg (Leistungen, Kontakt, etc.)
   ═══════════════════════════════════════════════════════════════ */

.page-hero {
  background: var(--black);
  padding: 140px clamp(24px, 6vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(184, 149, 90, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.page-hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

.page-hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  max-width: 640px;
  line-height: 1.75;
  margin-top: 28px;
}


/* ═══════════════════════════════════════════════════════════════
   LEISTUNGEN — 6-Card-Grid
   ═══════════════════════════════════════════════════════════════ */

#leistungen {
  background: var(--warm-white);
  padding: clamp(56px, 8vw, 100px) clamp(24px, 6vw, 80px);
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
}

.leistung-card {
  background: var(--black);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: background var(--duration-base);
}

.leistung-card:hover {
  background: var(--dark-mid);
}

.leistung-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  margin-bottom: 20px;
}

.leistung-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--gold);
}

.leistung-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
}

.leistung-text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  flex: 1;
  margin-bottom: 20px;
}

.leistung-ideal {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 16px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.leistung-ideal strong {
  color: var(--gold);
  font-weight: 600;
}

.leistung-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap var(--duration-base), color var(--duration-base);
  margin-top: auto;
}

.leistung-link::after {
  content: '→';
}

.leistung-link:hover {
  gap: 14px;
  color: var(--gold-light);
}

.leistung-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  .leistung-card {
    padding: 36px 28px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   ÜBER MICH — Split-Screen Hero, Quote, Stats, Content
   ═══════════════════════════════════════════════════════════════ */

.um-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
}

.um-hero-left {
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.um-hero-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.um-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.um-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.um-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 36px;
}

.um-hero-headline em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.um-hero-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 460px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.um-hero-right {
  position: relative;
  overflow: hidden;
  background: var(--img-placeholder);
}

.um-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Quote-Section */

.um-quote {
  background: var(--black);
  padding: clamp(64px, 10vw, 120px) clamp(32px, 8vw, 120px);
  text-align: center;
}

.um-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto 24px;
}

.um-quote-text em {
  color: var(--gold);
  font-style: italic;
}

.um-quote-author {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* Stats-Bar */

.um-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
}

.um-stat {
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.um-stat:last-child {
  border-right: none;
}

.um-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.um-stat-num em {
  color: var(--gold);
  font-style: normal;
}

.um-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.um-stat-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

/* Content + Sidebar */

.um-content {
  background: var(--off-white);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 96px);
}

.um-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.um-sidebar {
  position: sticky;
  top: 120px;
}

.um-sidebar-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 6px;
}

.um-sidebar-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.um-sidebar-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.um-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.um-detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.um-detail-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
}

.um-detail-value a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.um-detail-value a:hover {
  color: var(--gold);
}

.um-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.um-body-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  margin-bottom: 16px;
}

.um-body-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mid-gray);
  font-weight: 300;
}

.um-body-block p + p {
  margin-top: 16px;
}

/* Responsive */

@media (max-width: 900px) {
  .um-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .um-hero-left {
    padding: 56px 32px 48px;
  }

  .um-hero-right {
    height: 56vw;
    min-height: 300px;
  }

  .um-content-inner {
    grid-template-columns: 1fr;
  }

  .um-sidebar {
    position: static;
  }

  .um-stats {
    grid-template-columns: 1fr;
  }

  .um-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .um-stat:last-child {
    border-bottom: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   KONTAKT — 2-Spalten-Layout mit Info-Block
   ═══════════════════════════════════════════════════════════════ */

.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 7vw, 96px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 80px);
}

.kontakt-info {
  color: var(--mid-gray);
}

.kontakt-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
}

.kontakt-info-lead {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid-gray);
  margin-bottom: 36px;
}

.kontakt-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.kontakt-detail-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(8, 8, 7, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.kontakt-detail-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--mid-gray);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kontakt-detail-text strong {
  font-weight: 500;
  color: var(--black);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.kontakt-detail-text a {
  color: inherit;
  text-decoration: none;
}

.kontakt-detail-text a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .kontakt-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   LEGAL-PAGES — Impressum, Datenschutz, AGB
   ═══════════════════════════════════════════════════════════════ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 64px);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  margin-top: 48px;
  padding-top: 32px;
  margin-bottom: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--black);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mid-gray);
  font-weight: 300;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 8px 0 16px 20px;
  padding: 0;
  list-style: disc;
}

.legal-content li {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--mid-gray);
  font-weight: 300;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--gold);
}

.legal-content strong {
  font-weight: 500;
  color: var(--black);
}


/* -------------------------------------------------------------
   CSP: Inline-Style-Migration (ehemals style= Attribute)
   ------------------------------------------------------------- */

/* 404-Seite */
.pg-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.pg-404__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pg-404__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--mid-gray);
  margin-bottom: 2rem;
}

/* Portfolio-Uebersicht: Leer-Hinweis */
.portfolio-empty-note {
  padding: 64px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  column-span: all;
}

/* Portfolio-Kategorie: Breadcrumb-Navigation */
.pk-breadcrumb {
  background: var(--black);
  padding: 20px var(--container-pad) 0;
}

.pk-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 400;
}

.pk-breadcrumb__link {
  color: rgba(250, 249, 246, 0.55);
  text-decoration: none;
}

.pk-breadcrumb__separator {
  color: rgba(250, 249, 246, 0.3);
}

.pk-breadcrumb__current {
  color: var(--gold);
}

/* Portfolio-Kategorie: Header-Sektion */
.pk-header {
  background: var(--black);
  padding: clamp(32px, 5vw, 64px) var(--container-pad) clamp(40px, 6vw, 72px);
}

.pk-header__inner {
  max-width: 860px;
}

.pk-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1.1;
  margin: 0.75rem 0 1.25rem;
}

.pk-header__desc {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.6);
  max-width: 620px;
  line-height: 1.8;
  margin: 0;
}

/* Portfolio-Kategorie: Filter */
.pk-filter {
  background: var(--black);
  padding: 0 var(--container-pad) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Portfolio-Kategorie: Foto-Grid */
.pk-grid-section {
  background: var(--black);
  padding: 0 var(--container-pad) clamp(64px, 8vw, 120px);
}

.pk-empty-note {
  font-family: var(--font-body);
  color: rgba(250, 249, 246, 0.5);
  text-align: center;
  padding: 80px 0;
}

.pk-masonry {
  columns: 3;
  column-gap: 12px;
}

.pk-foto {
  break-inside: avoid;
  margin: 0 0 12px 0;
  padding: 0;
  overflow: hidden;
  background: var(--light-gray);
}

.pk-foto__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Portfolio-Kategorie: CTA-Sektion */
.pk-cta {
  background: var(--warm-white);
  padding: clamp(64px, 8vw, 100px) var(--container-pad);
  text-align: center;
}

.pk-cta__btn--gap {
  margin-right: 16px;
}

/* Portfolio-Uebersicht: CTA-Sektion */
.pf-cta {
  background: var(--warm-white);
  padding: clamp(64px, 8vw, 100px) var(--container-pad);
  text-align: center;
}

.pf-cta__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pf-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 2rem;
}

/* Branchen: Abschluss-CTA Alignment */
.branchen-cta-label--centered {
  justify-content: center;
}

.branchen-cta-heading--constrained {
  max-width: 600px;
  margin: 0 auto 20px;
}

/* Header: Mobile-Nav-Liste */
.nav-mobile-list {
  list-style: none;
  text-align: center;
}

/* Kontakt: Honeypot-Feld */
.kontakt-honeypot {
  display: none;
}
