/* ═══════════════════════════════════════════════════════════════
   GLOSSYCONCEPT — SHARED STYLES
   Dark Luxury Aesthetic · Gold Accents · Premium Auto Detailing
═══════════════════════════════════════════════════════════════ */

/* ───────── FONTS (lokal gehostet, kein Request an Google) ─────────
   Bebas Neue, Cormorant Garamond, Space Grotesk — SIL Open Font License.
   Cormorant Garamond und Space Grotesk sind Variable Fonts; die Gewichte
   sind wie zuvor bei Google Fonts deklariert (300/400/600 bzw. 300–700). */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────── CUSTOM PROPERTIES ───────── */
:root {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-mid: #1a1a1a;
  --grey-dark: #2a2a2a;
  --grey: #888888;
  --grey-light: #b0b0b0;
  --white: #f0ece4;
  --white-pure: #ffffff;
  --gold: #c9a84c;
  --gold-light: #e0c76a;
  --gold-dark: #a08030;
  --red-accent: #8b1a1a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Space Grotesk', sans-serif;

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

  --container: 1600px;
  --gutter: clamp(1.5rem, 4vw, 3rem);
}

/* ───────── LIGHT MODE ───────── */
html[data-theme="light"] {
  --black: #f8f5ef;
  --black-light: #f0ece4;
  --black-mid: #e8e4dc;
  --grey-dark: #d4d0c8;
  --grey: #666666;        /* 5,3 : 1 auf Papier (vorher #7a7a7a, 3,9 : 1) */
  --grey-light: #4a4a4a;
  --white: #1a1a1a;
  --white-pure: #0a0a0a;
  --gold: #7d6224;        /* 5,3 : 1 auf Papier, auch für kleine Schrift (vorher #a08030, 3,4 : 1) */
  --gold-light: #6d5520;
  --gold-dark: #5c471a;
  color-scheme: light;
  scrollbar-color: var(--gold) var(--black);
}

html[data-theme="light"] .hero-grain { opacity: 0.015; }
html[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(160,128,48,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(160,128,48,0.03) 0%, transparent 50%),
    linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

html[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(160,128,48,0.05) 0%, transparent 70%);
}

html[data-theme="light"] .nav.scrolled {
  background: rgba(248, 245, 239, 0.9);
}

html[data-theme="light"] .about-img { filter: grayscale(10%) contrast(1.05); }
html[data-theme="light"] .gallery-item img { filter: grayscale(10%); }
html[data-theme="light"] .gallery-item:hover img { filter: grayscale(0%); }

html[data-theme="light"] .loader { background: var(--black); }

html[data-theme="light"] .service-number { color: var(--grey-dark); }
html[data-theme="light"] .service-card:hover .service-number { color: rgba(160,128,48,0.25); }

html[data-theme="light"] .reviews-section { background: #f5f3ef; }
html[data-theme="light"] .cta-section::before {
  background: radial-gradient(ellipse at center, rgba(160,128,48,0.05) 0%, transparent 70%);
}

html[data-theme="light"] .hero-proof {
  background: rgba(0,0,0,0.03);
  border-color: rgba(160,128,48,0.2);
}

html[data-theme="light"] .pillar-card { background: var(--black-light); }
html[data-theme="light"] .pillar-card:hover { background: var(--black-mid); border-color: var(--grey-dark); }

html[data-theme="light"] .nav-dropdown-menu-inner {
  background: rgba(248, 245, 239, 0.97);
}

/* ───────── THEME TOGGLE ───────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
  position: relative;
}

.theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Smooth theme transition */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--black);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ───────── CONTAINER ───────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ───────── CURSOR GLOW ───────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* ───────── LOADING SCREEN ───────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  opacity: 0;
  animation: loaderFadeIn 1s var(--ease-out-expo) 0.2s both;
}

.loader-logo img {
  height: clamp(50px, 10vw, 80px);
  width: auto;
  display: block;
}

.loader-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-top: 1.5rem;
  animation: expandLine 1.5s var(--ease-out-expo) 0.8s both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 200px; }
}

/* ───────── NAVIGATION ───────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav.scrolled .nav-inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo picture {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-logo:hover img { opacity: 0.8; }

/* Dark mode: show white logo, hide black */
.nav-logo .logo-black,
.nav-logo picture:has(.logo-black) { display: none !important; }
.nav-logo .logo-white,
.nav-logo picture:has(.logo-white) { display: flex; }

/* Light mode: show black logo, hide white */
html[data-theme="light"] .nav-logo .logo-black,
html[data-theme="light"] .nav-logo picture:has(.logo-black) { display: flex !important; }
html[data-theme="light"] .nav-logo .logo-white,
html[data-theme="light"] .nav-logo picture:has(.logo-white) { display: none !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a:focus-visible { color: var(--gold); }

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
  cursor: pointer;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
}

.nav-dropdown-toggle svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle:focus-visible { color: var(--gold); }

.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  padding-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out-expo), visibility 0.3s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu-inner {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--grey-dark);
  padding: 0.75rem 0;
  min-width: 220px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.nav-dropdown-menu a::after { display: none; }

.nav-cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background 0.4s, color 0.4s;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Nav Actions (theme toggle + hamburger wrapper) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* On desktop, hide theme-toggle inside nav-actions (it was in nav-right before) */
/* Now it's always visible since it's outside nav-right */

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ───────── SHARED SECTION STYLES ───────── */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: var(--grey-light);
  max-width: 550px;
  line-height: 1.7;
}

/* ───────── REVEAL ANIMATION ───────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── HERO (SHARED BASE) ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,26,26,0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

/* Startseite: Hallenfoto als Hintergrund. Der Bereich bleibt in beiden Themes dunkel. */
.hero-has-photo,
html[data-theme="light"] .hero-has-photo {
  --black: #0a0a0a;
  --black-light: #111111;
  --grey: #888888;
  --grey-light: #cfcabf;
  --white: #f0ece4;
  --gold: #c9a84c;
  --gold-light: #e0c76a;
  background: #0a0a0a;
}

.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-photo img {
  object-fit: cover;
  object-position: 50% 45%;
  animation: heroPhotoIn 1.6s var(--ease-out-expo) both;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 30%, rgba(10,10,10,0.2) 62%, rgba(10,10,10,0.5) 100%),
    linear-gradient(to right, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.15) 55%, transparent 100%);
}

.hero-has-photo .hero-bg { display: none; }

@keyframes heroPhotoIn {
  from { opacity: 0.35; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.1), transparent);
}

.hero-lines::before { left: 15%; top: 0; bottom: 0; width: 1px; }
.hero-lines::after { right: 20%; top: 0; bottom: 0; width: 1px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-bottom: 6rem;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.1s both;
}

.hero-badge::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 1s var(--ease-out-expo) both;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.35s; }

.hero-title .highlight { color: var(--gold); }

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--grey-light);
  max-width: 500px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

/* Hero Social Proof */
.hero-proof {
  display: flex;
  display: -webkit-inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.85s both;
}

.hero-proof .hero-proof-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.hero-proof .hero-proof-stars svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  max-width: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}

.hero-proof .hero-proof-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey-light);
  white-space: nowrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 1.1s both;
  z-index: 3;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───────── MARQUEE ───────── */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--grey-dark);
  border-bottom: 1px solid var(--grey-dark);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───────── PILLARS / 3 BUSINESS AREAS ───────── */
.pillars {
  padding: 10rem 0;
  background: var(--black);
  position: relative;
}

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pillars-header {
  text-align: center;
  margin-bottom: 5rem;
}

.pillars-header .section-label::before { display: none; }
.pillars-header .section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.pillars-header .section-desc {
  margin: 0 auto;
  max-width: 600px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  background: var(--black-light);
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  transition: background 0.6s var(--ease-out-expo);
  border: 1px solid transparent;
}

.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.pillar-card:hover {
  background: var(--black-mid);
  border-color: var(--grey-dark);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: border-color 0.4s, background 0.4s;
}

.pillar-card:hover .pillar-icon {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.pillar-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.pillar-desc {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

.pillar-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.pillar-services li {
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s;
}

.pillar-card:hover .pillar-services li { color: var(--grey-light); }

.pillar-services li::before {
  content: '';
  width: 10px;
  height: 1px;
  background: var(--gold-dark);
  flex-shrink: 0;
  transition: width 0.3s, background 0.3s;
}

.pillar-card:hover .pillar-services li::before {
  width: 16px;
  background: var(--gold);
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.8rem 0;
  border-top: 1px solid var(--grey-dark);
  transition: gap 0.3s;
  margin-top: auto;
}

.pillar-link:hover { gap: 1.2rem; }
.pillar-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.pillar-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ───────── SERVICE CARDS (SUBPAGES) ───────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-dark);
  border: 1px solid var(--grey-dark);
}

.service-card {
  background: var(--black);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease-out-expo);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-card:hover { background: var(--black-mid); }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--grey-dark);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.5s;
}

.service-card:hover .service-number { color: rgba(201,168,76,0.2); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.75rem;
  color: var(--grey-light);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ───────── ABOUT / PHILOSOPHY ───────── */
.about {
  background: var(--black-light);
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 600px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(30%) contrast(1.1);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.about-stat {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: var(--black);
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.3rem;
}

.philosophy-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

/* ───────── GALLERY ───────── */
.gallery { background: var(--black-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--black-mid);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; }
.gallery-item:nth-child(5) { grid-column: 5 / 9; }
.gallery-item:nth-child(6) { grid-column: 9 / 13; }

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.8s;
  filter: grayscale(20%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.8) 100%);
  pointer-events: none;
}

.gallery-item-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── REVIEWS MARQUEE ───────── */
.reviews-section {
  background: var(--black-light);
  padding: 6rem 0;
  overflow: hidden;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-badge-stars {
  display: flex;
  gap: 0.2rem;
}

.reviews-badge-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.reviews-badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-transform: uppercase;
}

/* Marquee */
.reviews-marquee {
  overflow: hidden;
  margin-bottom: 1.25rem;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviewsScroll 60s linear infinite;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.reviews-marquee-reverse .reviews-track {
  animation-direction: reverse;
}

@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Review Card */
.review-card {
  display: flex;
  flex-direction: column;
  width: 320px;
  min-width: 320px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--grey-dark);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.review-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

.review-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.review-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.review-author {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* Light mode */
html[data-theme="light"] .review-card {
  background: rgba(0,0,0,0.02);
}

html[data-theme="light"] .review-card:hover {
  background: rgba(201,168,76,0.06);
}

/* Mobile */
@media (max-width: 600px) {
  .review-card {
    width: 280px;
    min-width: 280px;
  }

  .reviews-section {
    padding: 4rem 0;
  }
}

/* ───────── CTA ───────── */
.cta-section {
  background: var(--black);
  padding: 10rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-desc {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--grey-light);
  max-width: 500px;
  margin: 0 auto 3rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1.2rem 3rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}

.cta-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.cta-btn:hover { color: var(--black); }
.cta-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

.cta-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
}

.cta-btn:hover svg { transform: translateX(4px); }

/* ───────── CONTACT ───────── */
.contact { background: var(--black-light); padding: 8rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-detail { margin-bottom: 2.5rem; }

.contact-detail-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-detail-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--grey-light);
}

.contact-detail-value a { transition: color 0.3s; }
.contact-detail-value a:hover,
.contact-detail-value a:focus-visible { color: var(--gold); }
.contact-detail-value a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 2px 0 0 var(--gold);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--black); color: var(--white); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-submit {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.4s, color 0.4s;
  margin-top: 1rem;
}

.form-submit:hover { background: var(--gold); color: var(--black); }
.form-submit:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

/* ───────── FOOTER ───────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--grey-dark);
}

.footer-top {
  padding: 5rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-link picture {
  display: flex;
  align-items: center;
  line-height: 0;
}

.footer-logo-link img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo-link .logo-black,
.footer-logo-link picture:has(.logo-black) { display: none !important; }
.footer-logo-link .logo-white,
.footer-logo-link picture:has(.logo-white) { display: flex; }

html[data-theme="light"] .footer-logo-link .logo-black,
html[data-theme="light"] .footer-logo-link picture:has(.logo-black) { display: flex !important; }
html[data-theme="light"] .footer-logo-link .logo-white,
html[data-theme="light"] .footer-logo-link picture:has(.logo-white) { display: none !important; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--grey-dark);
  border-radius: 50%;
  color: var(--grey);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.footer-social a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 50%; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Footer Columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--gold); }

/* Footer Contact */
.footer-contact {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.8;
}

.footer-contact a {
  color: var(--grey);
  transition: color 0.3s;
}

.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--gold); }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--grey-dark);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--grey);
  letter-spacing: 0.1em;
}

/* ───────── LEGAL PAGES ───────── */
.hero.hero-sub-page.hero-legal {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 10rem;
  padding-bottom: 3rem;
  align-items: flex-start;
}

/* Kontakt page: extra compact hero */
.hero-kontakt {
  padding-top: 6rem !important;
  padding-bottom: 0.5rem !important;
}

.hero-kontakt .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  margin-bottom: 0;
}

.hero-legal .container {
  min-height: 0 !important;
  align-items: flex-start;
}

.hero-legal .hero-content {
  padding-bottom: 0;
}

.hero-legal .hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.legal-section { padding-top: 0; }

.legal-content {
  max-width: 800px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-light);
  line-height: 1.8;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--grey-dark);
}

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

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--gold);
  transition: opacity 0.3s;
}

.legal-content a:hover { opacity: 0.7; }

.legal-content ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-content ul li {
  padding-left: 1.2rem;
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Rechtstexte: Unterabschnitte, Code, Stand */
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 2rem 0 0.8rem;
}

.legal-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  color: var(--white);
  background: var(--black-mid);
  padding: 0.1em 0.4em;
}

.legal-content strong { color: var(--white); font-weight: 600; }

.legal-content [hidden] { display: none; }

.legal-content .legal-meta {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--grey-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* ───────── SUBPAGE HERO (SMALLER) ───────── */
.hero-sub-page {
  min-height: 60vh;
  align-items: center;
  padding-top: 8rem;
}

.hero-sub-page .hero-content {
  padding-bottom: 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-sub-page .hero-badge { justify-content: center; }
.hero-sub-page .hero-title { font-size: clamp(3rem, 8vw, 7rem); }
.hero-sub-page .hero-sub { margin: 0 auto; text-align: center; max-width: 600px; }
.hero-sub-page .hero-proof { margin: 2.5rem auto 0; }

.hero-sub-page .container {
  align-items: center;
  justify-content: center;
}

/* ───────── BREADCRUMB ───────── */
.breadcrumb {
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-dark);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.breadcrumb a {
  color: var(--grey);
  transition: color 0.3s;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--gold); }

.breadcrumb-sep { color: var(--grey-dark); }
.breadcrumb-current { color: var(--gold); }

/* ───────── PROCESS ───────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.process-step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  background: var(--black);
  position: relative;
  z-index: 2;
}

.process-step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  transform: rotate(-45deg);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ───────── FEATURE HIGHLIGHT (SUBPAGES) ───────── */
.feature-highlight {
  padding: 8rem 0;
  position: relative;
}

.feature-highlight:nth-child(even) { background: var(--black-light); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-grid.reversed { direction: rtl; }
.feature-grid.reversed > * { direction: ltr; }

.feature-visual {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}

.feature-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.feature-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10,10,10,0.8);
  padding: 0.4rem 0.8rem;
  backdrop-filter: blur(10px);
}

.feature-text .section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.feature-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.6;
}

.feature-list li .check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  margin-top: 2px;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1200px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillar-card { min-height: auto; padding: 2.5rem 2rem; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-item:nth-child(1) { grid-column: 1 / 4; }
  .gallery-item:nth-child(2) { grid-column: 4 / 7; }
  .gallery-item:nth-child(3) { grid-column: 1 / 4; }
  .gallery-item:nth-child(4) { grid-column: 4 / 7; }
  .gallery-item:nth-child(5) { grid-column: 1 / 4; }
  .gallery-item:nth-child(6) { grid-column: 4 / 7; }
  .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
  .feature-grid.reversed { direction: ltr; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .nav-right { display: none; }
  .nav-right.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background: rgba(10,10,10,1);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 1000;
  }

  .nav-right.open .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-right.open .nav-links a { font-size: 1.2rem; letter-spacing: 0.25em; }

  .nav-right.open .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-top: 0.5rem;
  }

  .nav-right.open .nav-dropdown-menu-inner {
    background: transparent;
    border: none;
    text-align: center;
  }

  .hamburger { display: flex; }

  .hero-scroll { display: none; }

  /* ── Mobile ATF: true vertical centering on all pages ── */
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-top: 84px;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .hero .container {
    min-height: 0;
    align-items: center;
    flex: 0 0 auto;
  }
  .hero-content {
    padding-bottom: 0;
  }
  .hero-badge {
    margin-bottom: 1rem;
  }
  .hero-title {
    margin-bottom: 1rem;
    font-size: clamp(2.8rem, 9vw, 5rem);
  }

  /* Subpages: full viewport centered */
  .hero.hero-sub-page {
    min-height: 100svh;
    padding-top: 84px !important;
    padding-bottom: 0 !important;
  }
  .hero-sub-page .hero-proof {
    margin-top: 1.5rem;
  }
  /* Faster animations on subpages */
  .hero-sub-page .hero-badge {
    animation-delay: 0.1s;
  }
  .hero-sub-page .hero-title .line span {
    animation-delay: 0.2s !important;
  }
  .hero-sub-page .hero-sub {
    animation-delay: 0.4s;
  }
  .hero-sub-page .hero-proof {
    animation-delay: 0.5s;
  }

  /* Legal pages: compact, no full viewport */
  .hero.hero-sub-page.hero-legal {
    min-height: 0;
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
  /* Kontakt: compact for form visibility */
  .hero-kontakt {
    min-height: 0 !important;
    padding-top: 5rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* ── Mobile: force 1-col grids (override inline styles) ── */
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .korrosion-gallery {
    grid-template-columns: 1fr !important;
  }
  .korrosion-gallery .gallery-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { height: 400px; }

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

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(n) { grid-column: 1; }
  .gallery-item img { height: 250px; }

  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; text-align: center; align-items: center; }
  .footer-col { align-items: center; text-align: center; }
  .footer-bottom .container { text-align: center; }

  .feature-visual { height: 300px; }

  .hero-sub-page { min-height: 50vh; }
}

/* ───────── MULTISTEP FORM ───────── */
.mf-section {
  padding-top: 0;
  padding-bottom: 4rem;
}

/* Progress Bar */
.mf-progressbar {
  max-width: 700px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mf-progressbar-track {
  flex: 1;
  height: 3px;
  background: var(--grey-dark);
  border-radius: 3px;
  overflow: hidden;
}

.mf-progressbar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-progressbar-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}

.mf-progressbar-current {
  color: var(--gold);
  font-weight: 700;
}

/* Steps */
.mf-form {
  max-width: 700px;
  margin: 0 auto;
}

.mf-step {
  display: none;
  animation: mfFadeIn 0.4s ease both;
}

.mf-step.active {
  display: block;
}

@keyframes mfFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.mf-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.mf-subtext {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Category Cards (Step 1) */
.mf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.mf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--grey-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: var(--grey-light);
  font-family: var(--font-body);
}

.mf-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.03);
}

.mf-card.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  color: var(--white);
}

.mf-card-icon {
  width: 36px;
  height: 36px;
  stroke: var(--grey);
  transition: stroke 0.3s ease;
}

.mf-card.selected .mf-card-icon {
  stroke: var(--gold);
}

.mf-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: inherit;
}

.mf-card-desc {
  font-size: 0.75rem;
  color: var(--grey);
  line-height: 1.4;
}

.mf-card-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.mf-card.selected .mf-card-check {
  opacity: 1;
  transform: scale(1);
}

/* Chips (Step 3) */
.mf-detail-group {
  margin-bottom: 2rem;
}

.mf-detail-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.mf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mf-chip {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--grey-dark);
  border-radius: 100px;
  background: transparent;
  color: var(--grey-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mf-chip:hover {
  border-color: var(--gold);
  color: var(--white);
}

.mf-chip.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
  font-weight: 500;
}

/* Navigation */
.mf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mf-nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mf-btn-next,
.mf-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.mf-btn-next svg,
.mf-btn-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mf-btn-next:hover,
.mf-btn-submit:hover {
  background: var(--gold);
  color: var(--black);
}

.mf-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: var(--font-body);
  padding: 0.5rem 0;
}

.mf-btn-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mf-btn-back:hover {
  color: var(--white);
}

.mf-btn-skip {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--grey);
  background: none;
  border: 1px solid var(--grey-dark);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.mf-btn-skip:hover {
  border-color: var(--grey);
  color: var(--white);
}

/* Errors */
.mf-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.mf-field-error {
  color: #e74c3c;
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

.mf-optional {
  color: var(--grey);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.6rem;
}

/* Success */
.mf-success {
  text-align: center;
  padding: 4rem 2rem;
}

.mf-success-icon {
  width: 64px;
  height: 64px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.mf-success .mf-heading {
  margin-bottom: 1rem;
}

.mf-success-social {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey);
}

.mf-success-social a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Light mode overrides */
html[data-theme="light"] .mf-progress-circle {
  background: var(--white);
}

html[data-theme="light"] .mf-card {
  background: rgba(0,0,0,0.02);
}

html[data-theme="light"] .mf-card.selected {
  background: rgba(201,168,76,0.08);
}

html[data-theme="light"] .mf-chip.selected {
  color: var(--white);
}

/* Responsive */
@media (max-width: 600px) {
  .mf-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .mf-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .mf-card-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .mf-card-desc {
    display: none;
  }

  .mf-card-check {
    top: 50%;
    transform: translateY(-50%);
    right: 0.75rem;
  }

  .mf-heading {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
  }

  .mf-subtext {
    margin-bottom: 1rem;
    font-size: 0.8rem;
  }

  .mf-progressbar {
    margin-bottom: 1.25rem;
  }

  .mf-nav {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

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

/* ───────── REDUCED MOTION ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .hero-title .line span, .hero-badge, .hero-sub, .hero-scroll {
    opacity: 1;
    transform: none;
  }
  .loader { display: none; }
}

/* Startseite im hellen Theme: Navigation liegt oben auf dem dunklen Hallenfoto */
html[data-theme="light"] .has-photo-hero .nav:not(.scrolled) {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-mid: #1a1a1a;
  --grey-dark: #2a2a2a;
  --grey: #888888;
  --grey-light: #b0b0b0;
  --white: #f0ece4;
  --white-pure: #ffffff;
  --gold: #c9a84c;
  --gold-light: #e0c76a;
}
html[data-theme="light"] .has-photo-hero .nav:not(.scrolled) .nav-logo .logo-black,
html[data-theme="light"] .has-photo-hero .nav:not(.scrolled) .nav-logo picture:has(.logo-black) { display: none !important; }
html[data-theme="light"] .has-photo-hero .nav:not(.scrolled) .nav-logo .logo-white,
html[data-theme="light"] .has-photo-hero .nav:not(.scrolled) .nav-logo picture:has(.logo-white) { display: flex !important; }

/* Bewertungs-Leiste auf Seiten mit dunklem Foto: Farben unabhängig vom Theme */
.hero-proof--on-dark {
  background: rgba(10,10,10,0.45);
  border-color: rgba(201,168,76,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-proof--on-dark .hero-proof-stars svg { fill: #c9a84c; }
.hero-proof--on-dark .hero-proof-text { color: #d8d3c8; }
.hero-kontakt .hero-proof { margin-top: 1.25rem; animation-delay: 0.6s; }

/* Unterseiten mit Foto: Text steht mittig, deshalb gleichmäßig abdunkeln */
.hero-sub-page .hero-photo::after {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0.38) 70%),
    linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.25) 45%, rgba(10,10,10,0.55) 100%);
}
.hero-sub-page.hero-has-photo .hero-proof { background: rgba(10,10,10,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Startseite: zweite Kartenreihe mit den Spezialgebieten */
.pillars-more-label { margin: clamp(3rem, 6vw, 5rem) 0 1.5rem; }

/* Korrosionsschutz: Abschnitt Laserentrostung */
.laser-section { scroll-margin-top: 5rem; }
.laser-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.laser-link { margin-top: 2.5rem; display: inline-flex; }
.laser-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.laser-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  padding: 2rem 2rem 2.1rem; background: var(--black-light);
  border-left: 2px solid var(--gold);
}
.laser-no { font-family: var(--font-display); font-size: 2.4rem; line-height: 0.9; color: var(--gold); min-width: 2.6rem; }
.laser-steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--white); margin: 0 0 0.6rem; line-height: 1; }
.laser-steps p { font-size: 0.92rem; line-height: 1.7; color: var(--grey-light); margin: 0; }
#programm { scroll-margin-top: 5rem; }
@media (max-width: 900px) {
  .laser-grid { grid-template-columns: 1fr; }
  .laser-steps li { padding: 1.5rem 1.25rem; gap: 1rem; }
  .laser-no { font-size: 2rem; min-width: 2.1rem; }
}

/* Vorher/Nachher-Paar unter einer Galerie */
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.pair-grid .gallery-item:nth-child(n) { grid-column: auto; }
.pair-grid .gallery-item img { height: clamp(320px, 42vw, 560px); }
.pair-grid .feature-tag { position: absolute; top: 1.25rem; left: 1.25rem; }
@media (max-width: 768px) { .pair-grid { gap: 0.75rem; } .pair-grid .gallery-item img { height: 62vw; } }

/* Startseite: Leistungs-Karten kompakt (Icon, Titel, ein Satz, Link) */
.pillar-card { min-height: 0; padding: 2.5rem 2.25rem 2.25rem; }
.pillar-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; }
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-name { margin-bottom: 0.8rem; }
.pillar-desc { margin-bottom: 1.75rem; }
.pillar-link { margin-top: auto; }
.pillars-header { margin-bottom: 3.5rem; }

/* Classics: Hero mit Text oben links, die drei Wagen bleiben frei */
.hero-classics { min-height: 92vh; align-items: flex-start; }
.hero-classics .container { align-items: flex-start; justify-content: flex-start; min-height: 0; }
.hero-classics .hero-content { text-align: left; margin: 0; max-width: 34rem; padding-top: clamp(1rem, 4vh, 3rem); }
.hero-classics .hero-badge { justify-content: flex-start; }
.hero-classics .hero-title { font-size: clamp(3.5rem, 9vw, 8rem); margin-bottom: 1.25rem; }
.hero-classics .hero-sub { margin: 0; text-align: left; max-width: 26rem; color: #e4dfd4; }
.hero-classics .hero-proof { margin: 2rem 0 0; }
.hero-classics .hero-photo img { object-position: 50% 60%; }
.hero-classics .hero-photo::after {
  background:
    radial-gradient(ellipse 70% 75% at 0% 0%, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.6) 45%, rgba(10,10,10,0) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 70%, rgba(10,10,10,0.75) 100%);
}
.hero-caption {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 1.75rem; margin: 0;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,236,228,0.8); text-shadow: 0 1px 10px rgba(0,0,0,0.8);
  padding-left: 3rem;
}
.hero-caption::before { content: ''; position: absolute; left: 0; top: 50%; width: 2.2rem; height: 1px; background: var(--gold); }
@media (max-width: 768px) {
  .hero.hero-sub-page.hero-classics { min-height: 100svh; }
  .hero-classics .hero-content { padding-top: 1rem; }
  .hero-classics .hero-photo img { object-position: 50% 100%; }
  .hero-classics .hero-photo::after {
    background: linear-gradient(to bottom, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 38%, rgba(10,10,10,0) 62%, rgba(10,10,10,0.6) 100%);
  }
  .hero-caption { left: var(--gutter); right: var(--gutter); bottom: 1.25rem; font-size: 0.56rem; }
}

/* Classics-Projekte (Entwurfsseite) */
.proj-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.proj--flip .proj-head > :first-child { order: 2; }
.proj-hero { position: relative; overflow: hidden; }
.proj-hero img { width: 100%; height: clamp(320px, 38vw, 540px); object-fit: cover; object-position: 50% 62%; display: block; }
.proj-note { margin-top: 1.5rem; padding: 0.9rem 1.1rem; border-left: 2px solid var(--gold); background: rgba(201,168,76,0.07); font-size: 0.82rem; line-height: 1.55; color: var(--grey-light); }
.proj-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.proj-step { margin: 0; background: var(--black-mid); }
.proj-step img { width: 100%; height: 260px; object-fit: cover; display: block; }
.proj-step figcaption { padding: 1.1rem 1.2rem 1.3rem; font-size: 0.84rem; line-height: 1.55; color: var(--grey-light); }
.proj-step figcaption span { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--gold); margin-bottom: 0.4rem; }
.proj-step figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); margin-bottom: 0.35rem; }
@media (max-width: 900px) {
  .proj-head { grid-template-columns: 1fr; }
  .proj--flip .proj-head > :first-child { order: 0; }
  .proj-steps { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .proj-step img { height: 42vw; }
}

/* Seiten mit Scroll-Bühne: Menü bleibt über der dunklen Bühne dunkel, auch im hellen Theme */
html[data-theme="light"] .stage-active .nav {
  --black: #0a0a0a; --black-light: #111111; --black-mid: #1a1a1a; --grey-dark: #2a2a2a;
  --grey: #888888; --grey-light: #b0b0b0; --white: #f0ece4; --white-pure: #ffffff;
  --gold: #c9a84c; --gold-light: #e0c76a;
}
html[data-theme="light"] .stage-active .nav.scrolled { background: rgba(10,10,10,0.88); }
html[data-theme="light"] .stage-active .nav .nav-logo .logo-black,
html[data-theme="light"] .stage-active .nav .nav-logo picture:has(.logo-black) { display: none !important; }
html[data-theme="light"] .stage-active .nav .nav-logo .logo-white,
html[data-theme="light"] .stage-active .nav .nav-logo picture:has(.logo-white) { display: flex !important; }
/* Über der Bühne hat das Menü immer einen dunklen Grund, damit es auf hellen Bildstellen lesbar bleibt */
.stage-active .nav,
html[data-theme="light"] .stage-active .nav { background: rgba(10,10,10,0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* ===== Projekte aus der Halle (Referenzkarten, Basis fuer spaetere Projektseiten) ===== */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card { background: var(--black); border: 1px solid var(--grey-dark); padding: 2.25rem 2rem 2rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; transition: background 0.5s var(--ease-out-expo); }
.ref-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out-expo); }
.ref-card:hover { background: var(--black-mid); }
.ref-card:hover::before { transform: scaleX(1); }
.ref-meta { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.ref-title { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1.05; color: var(--white); margin: 0; }
.ref-text { font-size: 0.9rem; line-height: 1.7; color: var(--grey-light); margin: 0; }
.ref-tags { list-style: none; margin: auto 0 0; padding: 0.9rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; border-top: 1px solid var(--grey-dark); }
.ref-tags li { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--grey-light); border: 1px solid var(--grey-dark); padding: 0.3rem 0.6rem; }

/* Versiegelungsarten */
.seal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1px; background: var(--grey-dark); border: 1px solid var(--grey-dark); }
.seal-card { background: var(--black); padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.seal-card.is-main { background: var(--black-mid); box-shadow: inset 0 2px 0 var(--gold); }
.seal-badge { align-self: flex-start; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 0.3rem 0.6rem; }
.seal-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; letter-spacing: 0.05em; line-height: 1; color: var(--white); margin: 0; }
.seal-card p { font-size: 0.9rem; line-height: 1.7; color: var(--grey-light); margin: 0; }
.seal-card .service-features { margin-top: auto; padding-top: 0.6rem; }
.surface-row { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.8rem; }
.surface-row strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; letter-spacing: 0.08em; color: var(--white); margin-right: 0.6rem; }
.surface-row span { font-size: 0.78rem; color: var(--grey-light); border: 1px solid var(--grey-dark); padding: 0.4rem 0.8rem; }

/* Ablauf / Timeline */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1px; background: var(--grey-dark); border: 1px solid var(--grey-dark); }
.steps-list li { background: var(--black); padding: 2.25rem 2rem; }
.steps-no { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.steps-list h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--white); margin: 0 0 0.6rem; line-height: 1.05; }
.steps-list p { font-size: 0.9rem; line-height: 1.7; color: var(--grey-light); margin: 0; }

.material-list { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1px; background: var(--grey-dark); border: 1px solid var(--grey-dark); }
.material-list div { background: var(--black-light); padding: 1.4rem 1.5rem; }
.material-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.05em; color: var(--white); }
.material-list span { display: block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--grey-light); line-height: 1.5; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--grey-dark); }
.timeline li { position: relative; padding: 0 0 2.5rem 2.25rem; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 0.35rem; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }
.timeline-year { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.12em; color: var(--gold); }
.timeline h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0.04em; color: var(--white); margin: 0.2rem 0 0.5rem; line-height: 1.05; }
.timeline p { font-size: 0.92rem; line-height: 1.7; color: var(--grey-light); margin: 0; max-width: 38rem; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }
.section-head { margin-bottom: 3.5rem; max-width: 46rem; }
.section-head .section-desc { margin-top: 1.25rem; }

/* Sehr schmale Handys (bis 360px): nichts darf breiter als der Bildschirm werden */
@media (max-width: 360px) {
  .footer-grid { gap: 2rem 1rem; }
  .footer-links a { overflow-wrap: anywhere; hyphens: auto; }
  .hero-proof { flex-wrap: wrap; gap: 0.5rem 0.8rem; }
  .hero-proof-text { white-space: normal; }
}

/* Startseiten-Hero: Nutzen statt Schlagwort */
.hero-title-home { font-size: clamp(2.6rem, 9vw, 8rem); margin-bottom: 1.5rem; }
.hero-lead {
  max-width: 560px;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--grey-light);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.7s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
}
.hero-actions .cta-btn { padding: 1.05rem 2rem; z-index: 0; }
/* Startseite: Sub und Lead auf eine Satzbreite, Bewertung neben dem Button statt eigener Box */
.hero-title-home ~ .hero-sub,
.hero-title-home ~ .hero-lead { max-width: 560px; }
.hero-actions .hero-proof {
  margin: 0;
  padding: 0 0 0 1.5rem;
  background: none;
  border: 0;
  border-left: 1px solid var(--grey-dark);
  align-self: stretch;
  opacity: 1;
  transform: none;
  animation: none;
}
@media (max-width: 480px) {
  .hero-actions .cta-btn { width: 100%; justify-content: center; padding: 1rem 1.25rem; letter-spacing: 0.15em; }
  .hero-actions .hero-proof { padding-left: 0; border-left: 0; }
}
.trust-quote { margin: 2.5rem 0 0; padding: 1.5rem 0 0 1.5rem; border-left: 2px solid var(--gold); max-width: 46rem; }
.trust-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; color: var(--white); margin: 0; }
.trust-quote cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.hero-sub-page .hero-title-long { font-size: clamp(2.4rem, 7vw, 6rem); hyphens: manual; }
@media (max-width: 420px) {
  .hero-proof .hero-proof-text { white-space: normal; line-height: 1.5; }
  .hero-content { min-width: 0; max-width: 100%; }
}

/* Kundensicht: Claim in Versiegelungskarten, FAQ */
.seal-card .seal-claim { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--gold); line-height: 1.4; }
.faq-list { max-width: 52rem; border-top: 1px solid var(--grey-dark); }
.faq-item { border-bottom: 1px solid var(--grey-dark); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-size: 1.05rem; font-weight: 500; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: var(--gold); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq-item p { margin: 0 0 1.5rem; max-width: 46rem; font-size: 0.95rem; line-height: 1.75; color: var(--grey-light); }

/* Startseite, invertierte H-Struktur: Das Etikett ist die echte Ueberschrift (h1/h2),
   die grosse Zeile ein <p>. Sie behaelt das Schriftgewicht, das sie als h1/h2 hatte. */
p.hero-title, p.section-title, p.cta-title { font-weight: 700; }
/* Kleine Keyword-Ueberschrift im hellen Theme: Kontrast nach WCAG AA (vorher 3,4:1). */
html[data-theme="light"] h2.section-label { color: var(--gold-dark); }

/* UNTERSEITEN kontakt: Adresszeile unter der H1 "Kontakt und Anfahrt". Die H1 nennt die Anfahrt,
   die Adresse stand bisher nur im Footer. Klein gehalten, damit das Formular oben bleibt. */
.hero-kontakt .hero-anfahrt { margin-top: 0.6rem; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--grey-light); }
.hero-kontakt .hero-anfahrt a { color: inherit; }

/* Versiegelungs-Karten: Empfehlungs-Badge sitzt auf der Goldkante, damit alle Karten auf gleicher Höhe beginnen */
.seal-card { position: relative; }
.seal-card .seal-badge { position: absolute; top: 0; left: 2rem; transform: translateY(-50%); }
/* Überschrift, Claim, Text und Liste stehen in allen Karten einer Reihe auf gleicher Höhe,
   auch wenn eine Überschrift zweizeilig umbricht */
@supports (grid-template-rows: subgrid) {
  .seal-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0.8rem; align-content: start; }
  .seal-card .service-features { margin-top: 0; }
}

/* ───────── Referenz-Karten mit Titelbild ───────── */
.ref-card--media { padding: 0; gap: 0; overflow: hidden; }
.ref-card--media .ref-body { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.75rem 2rem 1.75rem; flex: 1; }
.ref-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--black-mid); padding: 0; border: 0; cursor: pointer; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out-expo), filter 0.6s; filter: saturate(0.92); }
.ref-card:hover .ref-media img { transform: scale(1.04); filter: saturate(1); }
.ref-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.55) 100%); pointer-events: none; }
.ref-media:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.ref-media-badge { position: absolute; z-index: 1; right: 0.9rem; bottom: 0.8rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); background: rgba(10,10,10,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(240,236,228,0.18); padding: 0.35rem 0.6rem; }
.ref-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); display: grid; place-items: center; border: 1px solid rgba(240,236,228,0.6); border-radius: 50%; background: rgba(10,10,10,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: border-color 0.3s, background 0.3s; }
.ref-play svg { width: 18px; height: 18px; fill: var(--white); margin-left: 3px; }
.ref-card:hover .ref-play { border-color: var(--gold); background: rgba(10,10,10,0.65); }
.ref-card--media .ref-tags { margin-top: auto; }
.ref-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.2rem; padding: 0.35rem 0; background: none; border: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); cursor: pointer; transition: gap 0.3s var(--ease-out-expo), color 0.3s; }
.ref-more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ref-more:hover, .ref-more:focus-visible { color: var(--gold-light); gap: 0.9rem; }
.ref-more:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 640px) { .ref-card--media .ref-body { padding: 1.5rem 1.25rem; } }

/* ───────── Galerie-Popup ───────── */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,6,6,0.96); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(6,6,6,0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lbIn 0.35s var(--ease-out-expo); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--gutter); }
.lightbox-title { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.6rem); letter-spacing: 0.04em; line-height: 1; margin: 0; }
.lightbox-count { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--grey-light); margin-left: 1rem; font-variant-numeric: tabular-nums; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(0.5rem, 6vw, 5.5rem); touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity 0.25s; }
.lightbox-stage img.is-loading { opacity: 0; }
.lightbox-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--grey-dark); background: rgba(10,10,10,0.6); color: var(--white); cursor: pointer; transition: border-color 0.3s, color 0.3s; }
.lightbox-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.lightbox-btn:hover, .lightbox-btn:focus-visible { border-color: var(--gold); color: var(--gold); }
.lightbox-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lightbox-prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox-next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 1.1rem var(--gutter) 1.4rem; }
.lightbox-dots button { width: 26px; height: 2px; padding: 0; border: 0; background: var(--grey-dark); cursor: pointer; transition: background 0.3s; }
.lightbox-dots button[aria-current="true"] { background: var(--gold); }
.lightbox-dots button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-dots { display: none; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; top: auto; bottom: -0.25rem; transform: none; }
  .lightbox-stage { padding: 0 0.5rem 3.25rem; }
}
html.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } .ref-media img { transition: none; } }

/* ───────── Galerie-Karussell (zweireihig) ───────── */
.gallery-header--carousel { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.gc-nav { display: flex; gap: 0.6rem; flex-shrink: 0; margin-bottom: 0.4rem; }
.gc-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--grey-dark); background: transparent; color: var(--white); cursor: pointer; transition: border-color 0.3s, color 0.3s, opacity 0.3s; }
.gc-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.gc-btn:hover, .gc-btn:focus-visible { border-color: var(--gold); color: var(--gold); }
.gc-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.gc-btn[disabled] { opacity: 0.3; cursor: default; border-color: var(--grey-dark); color: var(--white); }
.gc-carousel { position: relative; margin-top: 2.5rem; }
.gc-track {
  display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column;
  grid-auto-columns: clamp(150px, 17vw, 250px); gap: 0.75rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.gc-track::-webkit-scrollbar { display: none; }
.gc-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gc-track:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.gc-item { position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; border: 0; overflow: hidden; background: var(--black-mid); scroll-snap-align: start; cursor: zoom-in; }
.gc-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out-expo), filter 0.6s; filter: saturate(0.9); -webkit-user-drag: none; user-select: none; }
.gc-item:hover img, .gc-item:focus-visible img { transform: scale(1.05); filter: saturate(1); }
.gc-item::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color 0.4s; pointer-events: none; }
.gc-item:hover::after, .gc-item:focus-visible::after { border-color: var(--gold); }
.gc-item:focus-visible { outline: none; }
.gc-progress { height: 2px; background: var(--grey-dark); margin-top: 1.5rem; }
.gc-progress span { display: block; height: 100%; width: 20%; background: var(--gold); transform-origin: left; transition: width 0.2s linear, margin-left 0.2s linear; }
@media (max-width: 640px) {
  .gallery-header--carousel { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .gc-nav { display: none; }
  .gc-track { grid-auto-columns: 46vw; gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .gc-item img { transition: none; } }
/* Referenz-Karte ohne Standbild: Bildfläche im Markenstil mit Glossy-G */
.ref-media--brand { background: radial-gradient(ellipse at 50% 40%, rgba(201,168,76,0.14) 0%, transparent 65%), url('icon-512.png') center 42% / 34% no-repeat, var(--black); }
.ref-media--brand::after { background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.6) 100%); }
.ref-media--brand .ref-play { top: auto; bottom: 1.1rem; left: 1.1rem; transform: none; width: 44px; height: 44px; }

/* Heller Modus: Cormorant Light ist auf hellem Grund zu dünn -> Medium und mehr Kontrast */
html[data-theme="light"] .section-desc,
html[data-theme="light"] .hero-sub,
html[data-theme="light"] .pillar-desc,
html[data-theme="light"] .cta-desc,
html[data-theme="light"] .contact-detail-value,
html[data-theme="light"] .philosophy-quote,
html[data-theme="light"] .trust-quote p {
  font-weight: 500;
  /* aus den Variablen gemischt: auf hellem Grund dunkler, in dunklen Foto-Heroes heller */
  color: color-mix(in srgb, var(--grey-light) 60%, var(--white) 40%);
}
html[data-theme="light"] .seal-card .seal-claim { font-weight: 500; }
html[data-theme="light"] .p-lead { font-weight: 500; }

/* Bild-Badges liegen immer auf einem Foto: Schrift unabhängig vom Theme hell */
.ref-media-badge { color: #f0ece4; }
/* Scroll-Bühne (Fahrzeugaufbereitung) bleibt auch im hellen Modus dunkel */
html[data-theme="light"] .stage {
  --black: #0a0a0a; --black-light: #111111; --black-mid: #1a1a1a; --grey-dark: #2a2a2a;
  --grey: #888888; --grey-light: #b0b0b0; --white: #f0ece4; --white-pure: #ffffff;
  --gold: #c9a84c; --gold-light: #e0c76a; --gold-dark: #a08030;
}
/* Bild-Etiketten liegen auf dunklem Grund: festes Gold */
.feature-tag { color: #c9a84c; }

/* ───────── Responsive-Feinschliff (Headless-Prüfung 320–1440 px) ───────── */
/* Lange Wörter (Handles, Domains) im Rechtstext umbrechen statt überstehen */
.legal-content { overflow-wrap: anywhere; }

/* Mindestgröße für sehr kleine Texte: nie unter 11,2 px */
.hero-caption, .st-rating-text, .st-skip, .feature-tag, .seal-badge, .ref-media-badge,
.contact-detail-label, .contact-form label, .mf-progressbar-label, .mf-progressbar-current,
.p-frame figcaption { font-size: 0.7rem; }

@media (max-width: 767px) {
  /* Touch-Ziele: mindestens 40–44 px hoch */
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .footer-links a, .footer-contact a, .footer-bottom a { display: inline-block; padding: 0.55rem 0; }
  .footer-links li { margin-bottom: 0; }
  .contact-detail-value a { display: inline-block; padding: 0.5rem 0; }
  .ref-more { padding: 0.75rem 0; }
  .legal-content li a, .legal-content p > a:only-child { display: inline-block; padding: 0.4rem 0; }
  .legal-content a[data-gcc-open] { display: inline-block; padding: 0.4rem 0; }
  .st-rating { padding: 0.75rem 0; }
}
.ref-meta, .ref-tags li { font-size: 0.72rem; }
.gallery-item-label { font-size: 0.7rem; }
