/* Badiu Gartenbau — shared styles */
:root {
  --primary: #2a7d2e;
  --primary-hover: #236927;
  --primary-dark: #2a7d2e;
  --primary-soft: #e8f4e9;
  --primary-muted: #5a7a5c;
  --surface: #ffffff;
  --surface-subtle: #f6faf6;
  --surface-warm: #f0f5f0;
  --text: #152018;
  --text-muted: #5a6560;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 32, 24, 0.06);
  --shadow-md: 0 8px 30px rgba(21, 32, 24, 0.08);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --nav-h: 72px;
  --top-bar-h: 40px;
  --header-offset: calc(var(--top-bar-h) + var(--nav-h));
  /* Top bar + footer: lighter modern greens */
  --top-bar-bg: #2a7d2e;
  --top-bar-fg: rgba(255, 255, 255, 0.92);
  --top-bar-fg-muted: rgba(255, 255, 255, 0.75);
  --footer-bg: #2a7d2e;
  --footer-border: rgba(255, 255, 255, 0.14);
  --footer-text: rgba(255, 255, 255, 0.92);
  --footer-muted: rgba(255, 255, 255, 0.72);
  --footer-accent: #b8e8c8;
  --footer-accent-soft: rgba(184, 232, 200, 0.35);
  /* Centered content column on wide viewports */
  --layout-max: 1180px;
  --layout-gutter: clamp(1.25rem, 4vw, 3rem);
  --layout-inline: max(var(--layout-gutter), calc((100% - min(100%, var(--layout-max))) / 2));
}

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

html {
  scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--surface-subtle);
  color: var(--text);
  overflow-x: hidden;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

/* Icons: single-color outlines */
.icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.icon-sm {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-invert {
  color: rgba(255, 255, 255, 0.92);
}

/* Top contact bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 102;
  min-height: var(--top-bar-h);
  display: flex;
  align-items: center;
  padding: 0.35rem var(--layout-inline);
  background: var(--top-bar-bg);
  color: var(--top-bar-fg);
  font-size: 0.8125rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

body.top-bar-hidden .top-bar {
  transform: translateY(-100%);
  border-bottom-color: transparent;
  pointer-events: none;
}

/* Nav + content offset when top bar is slid away (see site.js) */
body.top-bar-hidden {
  --header-offset: var(--nav-h);
}

body.top-bar-hidden nav {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .top-bar {
    transition-duration: 0.15s;
  }
}

.top-bar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--top-bar-fg);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.top-bar-link:hover {
  opacity: 0.88;
  color: #fff;
}

.top-bar-address {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--top-bar-fg-muted);
  font-weight: 500;
}

.top-bar-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.top-bar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.top-bar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--top-bar-fg);
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.top-bar-social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.top-bar-social-link svg {
  display: block;
}

@media (max-width: 640px) {
  .top-bar-address-text {
    display: none;
  }

  .top-bar-sep {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-contact {
    justify-content: center;
  }
}

/* NAV */
nav {
  position: fixed;
  top: var(--top-bar-h);
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--nav-h);
  padding: 0.65rem var(--layout-inline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 125, 46, 0.1);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.page-home nav {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.page-home nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(42, 125, 46, 0.12);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: min(220px, 38vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  align-items: center;
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

.page-home nav:not(.scrolled) .nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.88);
}

.page-home nav:not(.scrolled) .nav-links a:not(.nav-cta):hover {
  color: #fff;
}

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

.nav-links a.active:not(.nav-cta) {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-hover);
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  display: block;
  transition: background 0.25s;
}

.page-home nav:not(.scrolled) .nav-hamburger span {
  background: #fff;
}

.page-home nav.scrolled .nav-hamburger span {
  background: var(--text);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  /* Above fixed nav (100) and cookie banner (200) when open */
  z-index: 250;
  background: var(--primary-dark);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  padding-top: max(1.5rem, env(safe-area-inset-top));
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mobile-menu a:hover {
  color: #b8e6bb;
}

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.85;
}

/* Typography */
.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.03em;
}

.section-title em {
  font-style: normal;
  color: var(--primary);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-block;
  transition: background 0.25s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.25s, opacity 0.25s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.btn-ghost:hover {
  gap: 0.75rem;
  opacity: 0.95;
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-block;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary-light {
  background: #fff;
  color: var(--primary-dark) !important;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.25s;
}

.btn-primary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-block;
  transition: border-color 0.25s, background 0.25s;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* HOME: HERO — full viewport; bg image path is relative to this CSS file (works in MAMP subfolders; /assets/… alone would 404 on localhost/Badiu-Gartenbau/) */
.hero {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  padding-top: var(--header-offset);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(160deg, rgba(22, 48, 26, 0.55) 0%, rgba(15, 35, 18, 0.78) 100%),
    url('../assets/leistungen/planung-privatgarten-klassisch.jpg') center / cover no-repeat;
  animation: slowzoom 22s ease-in-out infinite alternate;
}

@keyframes slowzoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.09);
  }
}

/* Full width of hero; padding aligns with site column. Do not set max-width here — with border-box,
   max-width + large --layout-inline padding would shrink the text column to almost nothing. */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 0 var(--layout-inline) clamp(4rem, 12vh, 7rem);
  box-sizing: border-box;
}

.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-actions {
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.75s 0.15s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--primary-soft);
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title em {
  font-style: normal;
  color: #b8e6bb;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.58s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--layout-inline);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  animation: lineGrow 1.2s 1.2s ease-out both;
  transform-origin: top;
}

@keyframes lineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Stats */
.stats-bar {
  background: var(--primary-dark);
  padding: 2.5rem var(--layout-inline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(42, 125, 46, 0.25);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

/* Homepage SEO copy (visible, crawlable body text) */
.seo-section {
  padding: clamp(3.25rem, 7vw, 5rem) var(--layout-inline);
  background: var(--surface);
  border-top: 1px solid rgba(42, 125, 46, 0.08);
}

.seo-section p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.seo-section p:last-of-type {
  margin-bottom: 0;
}

.seo-subhead {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.seo-section-cta {
  margin-top: 1.75rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-intro-seo {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.page-intro-seo p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-intro-seo--after-hero {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--layout-gutter) clamp(0.5rem, 2vw, 1rem);
  background: var(--surface-subtle);
}

/* Services preview */
.services-preview {
  padding: clamp(4rem, 10vw, 7rem) var(--layout-inline);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-desc {
  max-width: 380px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(42, 125, 46, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-card {
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card:hover {
  background: var(--surface-warm);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon-wrap {
  margin-bottom: 1.25rem;
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  color: rgba(42, 125, 46, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.services-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* About teaser */
.about-teaser {
  background: var(--surface-warm);
  padding: clamp(4rem, 10vw, 7rem) var(--layout-inline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 78%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--surface-warm);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  bottom: 12%;
  left: -1.5rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 1.25rem 1.65rem;
  border-radius: var(--radius-sm);
  text-align: center;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.about-badge .big {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-badge .small {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
}

.about-text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-text blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary-dark);
  line-height: 1.6;
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  letter-spacing: -0.02em;
}

.signature {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}

.signature span {
  font-size: 0.78rem;
  font-weight: 500;
  display: block;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: none;
}

/* Projects teaser */
.projects-teaser {
  padding: clamp(4rem, 10vw, 7rem) var(--layout-inline);
}

.projects-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 32, 24, 0.82) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.65rem;
  opacity: 0;
  transition: opacity 0.35s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-location {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8e6bb;
  margin-bottom: 0.25rem;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.projects-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* CTA band */
.cta-band {
  background: var(--primary-dark);
  padding: clamp(4rem, 9vw, 6.5rem) var(--layout-inline);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta-band h2 em {
  font-style: normal;
  color: #b8e6bb;
}

.cta-band p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band--light {
  background: var(--surface);
  border-top: 1px solid rgba(42, 125, 46, 0.1);
}

.cta-band--light h2 {
  color: var(--text);
}

.cta-band--light h2 em {
  color: var(--primary);
}

.cta-band--light p {
  color: var(--text-muted);
}

/* Footer */
footer.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  color: var(--footer-text);
}

.footer-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.25rem) var(--layout-gutter) 2rem;
  display: grid;
  grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--footer-muted);
  font-weight: 400;
  max-width: 22rem;
}

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

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--footer-text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--footer-border);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--footer-accent-soft);
  color: var(--footer-accent);
  transform: translateY(-2px);
}

.footer-social-link svg {
  display: block;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-accent);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover {
  color: #fff;
  border-bottom-color: var(--footer-accent-soft);
}

.footer-text {
  color: var(--footer-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.footer-address {
  margin-top: 0.35rem;
}

.footer-area {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--footer-border);
  font-size: 0.8125rem;
}

.footer-list--nav a {
  font-weight: 500;
  border-bottom: none;
}

.footer-list--nav a:hover {
  border-bottom: none;
  color: var(--footer-accent);
}

.footer-bottom {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 1.25rem var(--layout-gutter) 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--footer-border);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.footer-legal a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--footer-accent);
}

.footer-dot {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    max-width: 32rem;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-col {
    grid-column: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--primary-dark);
  border-top: 1px solid rgba(42, 125, 46, 0.3);
  padding: 1rem var(--layout-inline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  animation: slideUpCookie 0.45s 1.8s forwards;
}

@keyframes slideUpCookie {
  to {
    transform: translateY(0);
  }
}

.cookie-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.55;
}

.cookie-text a {
  color: #b8e6bb;
}

.cookie-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s;
}

.cookie-btn:hover {
  background: var(--primary-hover);
}

/* Page hero (inner pages) */
.page-hero {
  height: 52vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--header-offset) var(--layout-inline) clamp(3rem, 8vw, 4.5rem);
  overflow: hidden;
}

.page-hero--short {
  height: 42vh;
  min-height: 320px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  --hero-photo: var(--page-hero-image, url('/assets/leistungen/planung-privatgarten-klassisch.jpg'));
  isolation: isolate;
  pointer-events: none;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(22, 48, 26, 0.55) 0%, rgba(15, 35, 18, 0.82) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.page-hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero h1 em {
  font-style: normal;
  color: #b8e6bb;
}

body.page-leistungen {
  --page-hero-image: url('/assets/leistungen/landschaftsbau-pflaster-anlage.jpg');
}

body.page-ueber-uns {
  --page-hero-image: url('/assets/leistungen/planung-privatgarten-klassisch.jpg');
}

body.page-projekte {
  --page-hero-image: url('/assets/images/projects/rollrasen-aichwald.jpg');
}

body.page-kontakt {
  --page-hero-image: url('/assets/leistungen/gartenpflege-werkzeug-pflanzen.jpg');
}

body.page-impressum,
body.page-datenschutz {
  background: var(--surface);
}

body.page-impressum .page-hero-bg::before,
body.page-datenschutz .page-hero-bg::before {
  display: none;
}

body.page-impressum .page-hero-bg::after,
body.page-datenschutz .page-hero-bg::after {
  background: linear-gradient(165deg, rgba(30, 61, 33, 0.94) 0%, rgba(15, 24, 18, 0.98) 100%);
}

.legal-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem var(--layout-gutter) 4rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal-content > h2:first-of-type {
  margin-top: 1.75rem;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--primary-hover);
}

.legal-lead {
  font-size: 1rem !important;
  color: var(--text) !important;
  line-height: 1.7 !important;
}

.legal-meta {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(42, 125, 46, 0.12);
}

.legal-content .legal-meta:first-of-type {
  margin-top: 0.5rem !important;
  padding-top: 0;
  border-top: none;
}

.legal-note {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  line-height: 1.65 !important;
  margin-top: 1.75rem !important;
  padding: 1rem 1.15rem;
  background: var(--surface-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(42, 125, 46, 0.1);
}

/* Leistungen */
.services-full {
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid rgba(42, 125, 46, 0.1);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.service-tag .icon,
.service-tag .icon-sm {
  color: var(--primary);
}

.service-tag .icon-deco,
.featured-tag .icon-deco {
  display: inline-flex;
  width: 1.125rem;
  height: 1.125rem;
  vertical-align: middle;
  margin-right: 0.15rem;
}

.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.service-content h2 em {
  font-style: normal;
  color: var(--primary);
}

.service-content p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.process-section {
  background: var(--primary-dark);
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.process-section .section-label {
  color: #b8e6bb;
}

.process-section .section-title {
  color: #fff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.15rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: rgba(42, 125, 46, 0.35);
}

.step-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(42, 125, 46, 0.25);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.04em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.guarantee-section {
  background: var(--surface-warm);
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.guarantee-item {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.guarantee-item:hover {
  box-shadow: var(--shadow-md);
}

.g-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.g-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.g-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Über uns */
.intro-section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.intro-sticky {
  position: sticky;
  top: calc(var(--header-offset) + 1.5rem);
}

.intro-body p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

blockquote.pullquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--primary-dark);
  line-height: 1.55;
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  letter-spacing: -0.02em;
}

.values-section {
  background: var(--surface-warm);
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem 1.65rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(42, 125, 46, 0.08);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  border-color: rgba(42, 125, 46, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon-wrap {
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.team-section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-info {
  padding: 1.25rem 1.5rem;
  background: var(--surface-warm);
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.team-info span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.timeline-section {
  background: var(--primary-dark);
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.timeline-section .section-label {
  color: #b8e6bb;
}

.timeline-section .section-title {
  color: #fff;
}

.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(42, 125, 46, 0.35);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(42, 125, 46, 0.15);
}

.timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-outline {
  margin-left: 0.75rem;
}

/* Projekte */
.projects-section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1.15rem;
  border: 1.5px solid rgba(42, 125, 46, 0.2);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.filter-bar--wrap {
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.projects-incoming-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 52rem;
  line-height: 1.5;
}

.projects-masonry {
  columns: 3;
  gap: 1.25rem;
}

.project-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.project-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.project-item:hover img {
  transform: scale(1.04);
}

.project-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(21, 32, 24, 0.88) 0%, transparent 100%);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s;
}

.project-item:hover .project-caption {
  transform: translateY(0);
  opacity: 1;
}

.project-cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8e6bb;
  margin-bottom: 0.2rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.project-loc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.15rem;
}

.project-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.projects-load-more-wrap {
  text-align: center;
  margin-top: 2rem;
}

.btn-load-more {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-load-more:hover {
  background: var(--primary);
  color: #fff;
}

/* Lightbox (Referenzbilder) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 14, 0.92);
  cursor: pointer;
}

.lightbox__stage {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 1400px);
  max-height: 90vh;
}

.lightbox__img {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__prev {
  left: clamp(0.5rem, 2vw, 1.25rem);
}

.lightbox__next {
  right: clamp(0.5rem, 2vw, 1.25rem);
}

body.lightbox-open {
  overflow: hidden;
}

.project-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.featured-section {
  background: var(--surface-warm);
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
}

.featured-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.featured-imgs {
  position: relative;
  height: 480px;
}

.featured-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 84%;
  height: 78%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.featured-img-detail {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 52%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--surface-warm);
  box-shadow: var(--shadow-md);
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.featured-content h2 em {
  font-style: normal;
  color: var(--primary);
}

.featured-content p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.featured-meta {
  display: flex;
  gap: 2rem;
  margin: 1.75rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(42, 125, 46, 0.12);
  border-bottom: 1px solid rgba(42, 125, 46, 0.12);
  flex-wrap: wrap;
}

.meta-item .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.meta-item .value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* Kontakt */
.contact-main {
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}

.contact-seo-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(42, 125, 46, 0.1);
}

.contact-item:first-child {
  border-top: 1px solid rgba(42, 125, 46, 0.1);
}

.ci-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon-wrap .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.ci-icon-wrap svg {
  color: var(--primary);
}

.ci-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.ci-value {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.ci-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

.ci-value a:hover {
  color: var(--primary);
}

.ci-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.social-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 2rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(42, 125, 46, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  color: var(--primary);
  background: var(--surface);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  color: inherit;
}

.contact-form-wrap .form-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group-label-like {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(42, 125, 46, 0.15);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 125, 46, 0.12);
}

.form-group textarea {
  height: 128px;
  resize: vertical;
}

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

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.chip {
  padding: 0.4rem 0.95rem;
  border: 1.5px solid rgba(42, 125, 46, 0.18);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.25s;
}

.chip.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-submit {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.25s, transform 0.2s;
  width: 100%;
  margin-top: 0.35rem;
}

.btn-submit:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
  line-height: 1.55;
}

.form-note a {
  color: var(--primary);
}

.map-section {
  width: 100%;
  max-width: none;
  margin: 0;
  height: min(88vh, 900px);
  min-height: 360px;
  background: var(--surface-warm);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--footer-bg);
  color: #fff;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.map-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.map-overlay p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.faq-section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--layout-inline);
  background: var(--surface-warm);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(42, 125, 46, 0.08);
  transition: border-color 0.25s;
}

.faq-item:hover {
  border-color: rgba(42, 125, 46, 0.22);
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.faq-a {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.success-msg {
  display: none;
  background: var(--primary-soft);
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-error-msg {
  background: #fef2f2;
  border: 1.5px solid #dc2626;
  color: #7f1d1d;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-teaser {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    height: 400px;
    max-width: 560px;
    margin: 0 auto;
  }

  .projects-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-sticky {
    position: static;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-masonry {
    columns: 2;
  }

  .featured-inner {
    grid-template-columns: 1fr;
  }

  .featured-imgs {
    height: 360px;
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }
}

/* Logo + 5 links + CTA need room; switch to hamburger earlier than phone-only */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(42, 125, 46, 0.2);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .services-grid,
  .projects-grid-home,
  .values-grid,
  .team-grid,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .process-steps::before {
    display: none;
  }

  .projects-masonry {
    columns: 1;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .hero-scroll {
    display: none;
  }

  .cta-band .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
    display: inline-block;
  }
}
