/* ============================================
   NOJA Brandschutz — Design System
   Aesthetic: Warm Industrial / Refined Engineering
   ============================================ */

/* --- Font Face (Self-hosted, DSGVO-konform) --- */
@font-face {
  font-family: 'Lato';
  src: url('/fonts/Lato-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('/fonts/Lato-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('/fonts/Lato-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('/fonts/Lato-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('/fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --color-primary: #9A492C;
  --color-primary-light: #B8623F;
  --color-primary-dark: #7A3720;
  --color-primary-rgb: 154, 73, 44;

  /* Neutrals */
  --color-dark: #1A1A1A;
  --color-charcoal: #2D2D2D;
  --color-gray-dark: #4A4A4A;
  --color-gray-medium: #8A8A8A;
  --color-gray-light: #E8E4E0;
  --color-warm-white: #F7F5F3;
  --color-white: #FFFFFF;

  /* Functional */
  --color-overlay: rgba(26, 26, 26, 0.72);
  --color-overlay-strong: rgba(26, 26, 26, 0.85);
  --color-success: #2D6B4F;
  --color-error: #C0392B;

  /* Typography */
  --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;

  --fs-hero: clamp(2.8rem, 5.5vw, 4.2rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.2rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-xs: 0.8rem;
  --fs-nav: 0.8125rem;

  --lh-body: 1.75;
  --lh-heading: 1.15;
  --ls-wide: 0.18em;
  --ls-nav: 0.13em;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;

  /* Effects */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Navigation */
  --nav-height: 80px;
  --announcement-height: 38px;
}

@media (max-width: 720px) {
  :root {
    --announcement-height: 44px;
  }
}

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

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

body {
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--color-dark);
}

h1 { font-size: var(--fs-h1); margin-bottom: 0.75em; }
h2 { font-size: var(--fs-h2); margin-bottom: 0.75em; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.6em; }

p + p {
  margin-top: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--narrow h2 {
  font-size: var(--fs-h3);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--sm {
  padding: var(--space-xl) 0;
}

.section--warm {
  background-color: var(--color-warm-white);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-gray-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

/* Section Label — copper uppercase accent */
.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2.5rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.8rem;
  height: 1px;
  background: var(--color-primary);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-intro {
  max-width: 680px;
  color: var(--color-gray-medium);
  margin-bottom: var(--space-xl);
}

/* --- Navigation (shadcn-style) --- */
.nav {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo img {
  height: 64px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover img {
  opacity: 0.8;
}

/* Navigation List — shadcn pill-style items */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav__item {
  position: relative;
}

/* Base link/trigger style — Liquid Glass */
.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  color: var(--color-white);
  border-radius: 100px;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  outline: none;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease, transform 0.2s ease;
}

.nav.scrolled .nav__link {
  color: var(--color-gray-dark);
}

/* Hover — frosted glass pill */
.nav__link:hover,
.nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.06);
  color: var(--color-white);
}

.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03),
    0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--color-dark);
}

.nav__link:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.3);
}

/* Active page — subtle glass indicator */
.nav__link.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.nav.scrolled .nav__link.active {
  background: rgba(var(--color-primary-rgb), 0.06);
  border-color: rgba(var(--color-primary-rgb), 0.12);
  color: var(--color-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

/* Trigger with chevron */
.nav__trigger {
  gap: 2px;
}

.nav__trigger-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-left: 2px;
  opacity: 0.7;
}

.nav__item.open .nav__trigger-chevron {
  transform: rotate(180deg);
}

/* Dropdown Panel — shadcn popup style */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.92);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.25s;
}

.nav__item.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.nav__dropdown-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(32px) saturate(1.1);
  -webkit-backdrop-filter: blur(32px) saturate(1.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  padding: 0.5rem;
  min-width: 220px;
  position: relative;
}

/* Arrow pointing upward */
.nav__dropdown-arrow {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  overflow: hidden;
}

.nav__dropdown-arrow::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--color-white);
  box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.06);
  border-radius: 2px;
}

/* Dropdown links — Liquid Glass style */
.nav__dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--color-dark);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav__dropdown-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.nav__dropdown-title {
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  color: var(--color-dark);
  line-height: 1.3;
}

.nav__dropdown-desc {
  font-size: 0.8125rem;
  color: var(--color-gray-medium);
  line-height: 1.45;
  font-weight: var(--fw-regular);
}

/* Wide dropdown — for Leistungen with grid */
.nav__dropdown--wide {
  min-width: 480px;
}

.nav__dropdown--wide .nav__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Dropdown link icon */
.nav__dropdown-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  opacity: 0.8;
}

.nav__dropdown-link--icon {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

/* Featured item in dropdown (like the shadcn highlight card) */
.nav__dropdown-featured {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.06), rgba(var(--color-primary-rgb), 0.02));
  min-height: 140px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav__dropdown-featured:hover {
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-primary-rgb), 0.04));
}

.nav__dropdown-featured-title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 4px;
}

.nav__dropdown-featured-desc {
  font-size: 0.8125rem;
  color: var(--color-gray-medium);
  line-height: 1.45;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  z-index: 1001;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
  border: none;
  background: none;
}

.nav__hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav__hamburger:hover {
  background: var(--color-warm-white);
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-base);
  margin: 2.5px 0;
  border-radius: 1px;
}

.nav.scrolled .nav__hamburger span {
  background: var(--color-dark);
}

.nav__hamburger.open span {
  background: var(--color-white);
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(3.5px, 3.5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(3.5px, -3.5px);
}

/* Mobile Menu Overlay */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 1100;
  padding: var(--space-lg);
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(16px);
}

.nav__mobile-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.nav__mobile.open .nav__mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile.open .nav__mobile-link:nth-child(1) { transition-delay: 0.08s; }
.nav__mobile.open .nav__mobile-link:nth-child(2) { transition-delay: 0.12s; }
.nav__mobile.open .nav__mobile-link:nth-child(3) { transition-delay: 0.16s; }
.nav__mobile.open .nav__mobile-link:nth-child(4) { transition-delay: 0.2s; }
.nav__mobile.open .nav__mobile-link:nth-child(5) { transition-delay: 0.24s; }
.nav__mobile.open .nav__mobile-link:nth-child(6) { transition-delay: 0.28s; }

/* Mobile sub-items */
.nav__mobile-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav__mobile.open .nav__mobile-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.nav__mobile-sublink {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.3rem 1rem;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav__mobile-sublink:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--page {
  min-height: 44vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__overlay--gradient {
  background: linear-gradient(
    105deg,
    rgba(26, 26, 26, 0.92) 0%,
    rgba(26, 26, 26, 0.75) 40%,
    rgba(26, 26, 26, 0.35) 70%,
    rgba(26, 26, 26, 0.15) 100%
  );
}

.hero__overlay--dark {
  background: var(--color-overlay);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: calc(var(--nav-height) + var(--announcement-height));
}

.hero--page .hero__content {
  padding-top: calc(var(--nav-height) + var(--announcement-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.hero__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hero__icon {
  width: auto;
  /* 2 Zeilen × font-size × line-height */
  height: calc(var(--fs-hero) * 2 * 1.1);
  opacity: 0.9;
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-light);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

/* Nur der Haupttitel auf der Startseite in Lato Thin */
h1.hero__title-thin {
  font-weight: 100;
}

/* Leistungsseiten: dickere Schrift */
.hero--page .hero__title {
  font-weight: 700;
}

.hero__subtitle {
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a:hover {
  color: var(--color-primary-light);
}

.breadcrumb span {
  margin: 0 0.4em;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: var(--color-gray-light);
  padding: var(--space-3xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer__brand-logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-md);
  opacity: 0.85;
}

.footer__tagline {
  font-size: var(--fs-small);
  color: var(--color-gray-medium);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--color-gray-medium);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

.footer__contact-item a:hover {
  color: var(--color-primary-light);
}

.footer__nav-link {
  display: block;
  font-size: var(--fs-small);
  color: var(--color-gray-medium);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--color-primary-light);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--color-gray-medium);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a:hover {
  color: var(--color-primary-light);
}

/* --- Beams Background Hero --- */
.hero--beams {
  background: #0f0a08;
  min-height: 100vh;
  position: relative;
}

.hero__beams-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: blur(15px);
}

.hero__beams-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(15, 10, 8, 0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  animation: beamsOverlayPulse 10s ease-in-out infinite;
}

@keyframes beamsOverlayPulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

.hero__content--beams {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: calc(var(--nav-height) + var(--announcement-height) + var(--space-xl));
}

.hero__icon--beams {
  width: 72px;
  height: auto;
  margin-bottom: var(--space-lg);
  opacity: 0.85;
  animation: beamsFadeUp 0.8s ease-out both;
}

.hero__title--beams {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: var(--fw-light);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: var(--space-md);
  animation: beamsFadeUp 0.8s ease-out 0.1s both;
}

.hero__subtitle--beams {
  text-align: center;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  animation: beamsFadeUp 0.8s ease-out 0.2s both;
}

.hero__content--beams .hero__actions {
  justify-content: center;
  animation: beamsFadeUp 0.8s ease-out 0.3s both;
}

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

/* --- Image Band (4-column photo strip) --- */
.image-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
  overflow: hidden;
}

.image-band__item {
  overflow: hidden;
  position: relative;
}

.image-band__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-band__item:hover img {
  transform: scale(1.08);
}

/* Warm overlay for golden-toned images */
.hero__overlay--warm {
  background: linear-gradient(
    105deg,
    rgba(26, 22, 18, 0.88) 0%,
    rgba(26, 22, 18, 0.65) 45%,
    rgba(26, 22, 18, 0.25) 75%,
    rgba(26, 22, 18, 0.1) 100%
  );
}

/* Langer, sanfter Farb-Übergang über Hero und nachfolgende Leistungen-Sektion hinweg.
   Der warme Bildton (Feuerlöscher-Wand) setzt sich durch die Hero-Unterkante in die
   Leistungen-Sektion fort und löst sich dort über die volle Sektionshöhe ganz langsam
   in das warm-white der restlichen Seite auf. */
#hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(
    to bottom,
    rgba(200, 165, 100, 0) 0%,
    rgba(200, 165, 100, 0.12) 30%,
    rgba(200, 165, 100, 0.40) 65%,
    rgba(200, 165, 100, 0.78) 90%,
    rgb(200, 165, 100) 100%
  );
  pointer-events: none;
  z-index: 2;
}

#hero .hero__scroll {
  z-index: 3;
}

/* Leistungen-Sektion nimmt den warmen Ton auf und fadet ihn über die volle Höhe sanft in warm-white aus */
#services-preview.section--warm {
  background: linear-gradient(
    to bottom,
    rgb(200, 165, 100) 0%,
    rgb(218, 192, 138) 12%,
    rgb(232, 218, 186) 30%,
    rgb(242, 235, 217) 55%,
    rgb(246, 242, 232) 80%,
    var(--color-warm-white) 100%
  );
}

/* Content image with caption */
.content-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

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

.content-image__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
