/* ==========================================================================
   GREINER BAU — Design Tokens + Base
   ========================================================================== */

:root {
  /* Palette — dunkel-dominant, industriell */
  --bg: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #161616;
  --bg-3: #1d1d1d;
  --line: #262626;
  --line-strong: #333333;
  --fg: #f4f4f2;
  --fg-dim: #a8a8a4;
  --fg-mute: #6a6a66;

  /* Akzent — Bau-Gelb (klassisch industriell, hohe Sichtbarkeit) */
  --accent: #d99518;
  --accent-2: #f0a82a;
  --accent-ink: #0a0a0a;

  /* Typo */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(20px, 3vw, 56px);
  --section-y: clamp(80px, 10vw, 160px);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-bold: cubic-bezier(.7, 0, .2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ==========================================================================
   Type scale — bold, brutalistisch
   ========================================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 168px); line-height: .9; letter-spacing: -0.03em; text-transform: uppercase; }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 96px);  line-height: .95; letter-spacing: -0.025em; text-transform: uppercase; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 56px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.h4 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 28px);  line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--fg-dim);
  max-width: 64ch;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover { background: var(--accent-2); transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(6px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header / Mega-Menü
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--line);
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  transition: color .2s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .25s var(--ease);
}
.header-cta:hover { background: var(--accent-2); }

/* Mega menu panel */
.mega {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mega.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 0;
  max-width: var(--container);
  margin-inline: auto;
  padding: 56px var(--gutter);
}
.mega-feature {
  border-right: 1px solid var(--line);
  padding-right: 56px;
}
.mega-feature .eyebrow { margin-bottom: 16px; }
.mega-feature h3 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.mega-feature p { color: var(--fg-dim); margin: 0 0 28px; max-width: 38ch; }
.mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
  padding-left: 56px;
}
.mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color .2s var(--ease), padding .25s var(--ease);
}
.mega-item:hover { color: var(--accent); padding-left: 8px; }
.mega-item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding-block: 80px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand-mark { width: 64px; height: 64px; margin-bottom: 24px; }
.footer-brand .footer-tag {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 0 24px;
}
.footer-brand address {
  font-style: normal;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--fg-dim); font-size: 14px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a:hover { color: var(--accent); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  background: #000;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 50%);
}
.hero-media .hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1.05) translateY(0); }
  100% { transform: scale(1.15) translateY(-2%); }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 56px;
}
.hero-content h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 200px);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.86;
}
.hero-content h1 .accent { color: var(--accent); }
.hero-content h1 .outline {
  -webkit-text-stroke: 2px var(--fg);
  color: transparent;
}
.hero-meta {
  display: grid;
  gap: 24px;
  min-width: 280px;
  padding-bottom: 8px;
}
.hero-meta .lead { color: var(--fg); font-size: 18px; max-width: 30ch; }
.hero-marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.hero-marquee-track {
  display: flex;
  gap: 64px;
  padding: 16px 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero-marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.hero-marquee-track span::after {
  content: "■";
  color: var(--accent);
  font-size: 8px;
  margin-left: 64px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.scroll-hint {
  position: absolute;
  bottom: 80px;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0.2); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Section: Sparten / Geschäftsbereiche (Kachel-Grid)
   ========================================================================== */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 72px;
}
.section-head h2 { margin: 16px 0 0; }
.section-head .lead { margin: 0; }

.sparten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sparte {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-1);
  overflow: hidden;
  cursor: pointer;
}
.sparte-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.7);
  transition: filter .5s var(--ease), transform .8s var(--ease);
}
.sparte:hover .sparte-img {
  filter: grayscale(0) brightness(0.85);
  transform: scale(1.06);
}
.sparte::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.sparte-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.sparte-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.sparte-bottom { display: grid; gap: 12px; }
.sparte-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}
.sparte-desc {
  font-size: 14px;
  color: var(--fg-dim);
  max-width: 32ch;
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .35s var(--ease), max-height .35s var(--ease);
}
.sparte:hover .sparte-desc { opacity: 1; max-height: 100px; }
.sparte-arrow {
  position: absolute;
  top: 32px; right: 32px;
  z-index: 2;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
}
.sparte:hover .sparte-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Stats / Zahlen
   ========================================================================== */

.stats-section {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .unit {
  font-size: 0.4em;
  color: var(--accent);
  font-weight: 700;
}
.stat-label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.stat-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--fg-mute);
  max-width: 24ch;
}

/* ==========================================================================
   Über uns - 50/50 Split
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-2);
}
.split-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-media .badge {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.split-content h2 { margin: 16px 0 32px; }
.split-content p { color: var(--fg-dim); margin: 0 0 24px; max-width: 52ch; line-height: 1.7; }
.split-content .signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.split-content .signature-name { font-weight: 700; font-size: 15px; }
.split-content .signature-role { font-size: 13px; color: var(--fg-dim); }

/* ==========================================================================
   Referenzen / Projekte
   ========================================================================== */

.projects-list {
  border-top: 1px solid var(--line);
}
.project-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 1fr 80px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .35s var(--ease), background .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.project-row:hover {
  padding-inline: 24px;
  background: linear-gradient(90deg, transparent, rgba(217, 149, 24, 0.05));
}
.project-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
}
.project-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0;
  transition: color .25s var(--ease);
}
.project-row:hover .project-name { color: var(--accent); }
.project-meta {
  font-size: 14px;
  color: var(--fg-dim);
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  display: inline-block;
  width: fit-content;
}
.project-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  justify-self: end;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.project-row:hover .project-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-45deg);
}
.project-preview {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translateY(-50%) scale(.8);
  width: 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  border: 1px solid rgba(255,255,255,.2);
}
.project-row:hover .project-preview {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ==========================================================================
   News
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color .25s var(--ease), transform .35s var(--ease);
}
.news-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.news-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.news-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5));
}
.news-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.news-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.news-meta .cat { color: var(--accent); }
.news-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  transition: color .25s var(--ease);
}
.news-card:hover .news-title { color: var(--accent); }
.news-excerpt { font-size: 14px; color: var(--fg-dim); margin: 0; flex: 1; }
.news-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Sustainability — full bleed feature block
   ========================================================================== */

.feature-block {
  position: relative;
  padding: 120px var(--gutter);
  overflow: hidden;
  background: #0e1a14;
  isolation: isolate;
}
.feature-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(74, 167, 110, 0.18), transparent 60%),
    radial-gradient(600px 600px at 0% 100%, rgba(217, 149, 24, 0.06), transparent 60%);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: var(--container);
  margin-inline: auto;
  align-items: center;
}
.feature-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
}
.feature-stats .stat {
  background: rgba(0,0,0,.3);
  padding: 32px;
  border: 0;
}
.feature-stats .stat-num { font-size: 56px; }
.feature-stats .stat-num .unit { color: #4aa76e; }

/* ==========================================================================
   Standorte / Karte
   ========================================================================== */

.locations {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.locations-list {
  padding: 56px;
  display: flex;
  flex-direction: column;
}
.locations-list h2 { margin: 16px 0 40px; }
.locations-items { list-style: none; padding: 0; margin: 0; flex: 1; }
.location {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding .25s var(--ease);
}
.location:hover { padding-left: 12px; }
.location.is-active { padding-left: 12px; }
.location.is-active .loc-name { color: var(--accent); }
.location.is-active .loc-dot { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 0 6px rgba(217,149,24,.22); }
.loc-dot {
  width: 8px; height: 8px;
  background: var(--fg-mute);
  border-radius: 50%;
  margin-left: 12px;
  transition: all .25s var(--ease);
}
.loc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: color .25s var(--ease);
}
.loc-meta { font-size: 13px; color: var(--fg-dim); margin-top: 4px; }
.loc-type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
}
.locations-map {
  position: relative;
  background: #0d0d0d;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  min-height: 600px;
  overflow: hidden;
}

/* ==========================================================================
   CTA Final
   ========================================================================== */

.cta-final {
  padding: 160px var(--gutter);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cta-final h2 {
  font-size: clamp(64px, 10vw, 180px);
  margin: 0 0 56px;
  max-width: 14ch;
}
.cta-final h2 .accent { color: var(--accent); }
.cta-final-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-final::before {
  content: "GREINER BAU GREINER BAU GREINER BAU";
  position: absolute;
  bottom: -20px;
  left: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16vw;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Page Hero (Subpages)
   ========================================================================== */

.page-hero {
  padding: 200px var(--gutter) 100px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 32px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--fg-mute); }
.breadcrumb .current { color: var(--fg); }

/* ==========================================================================
   Reveal Animation Hooks
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .sparten-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:nth-child(2) { border-right: 0; }
  .stats-grid .stat:nth-child(1), .stats-grid .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .feature-grid, .locations { grid-template-columns: 1fr; gap: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .hero-content { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 60px 1fr 60px; }
  .project-row .project-meta, .project-row .project-tag { display: none; }
}
@media (max-width: 720px) {
  .site-header nav { display: none; }
  .sparten-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
