/* ============================================================
   MP Baum&Garten — Premium Stylesheet 2025
   ============================================================ */

/* ----------------------------------------------------------
   1. Custom Properties
   ---------------------------------------------------------- */
:root {
  --green-dark:   #1b4412;
  --green-mid:    #245c18;
  --green-accent: #2e6e1e;
  --gold:         #c9a84c;
  --gold-light:   #dfc07a;
  --gold-dim:     rgba(201,168,76,0.15);
  --off-white:    #f7f3ee;
  --cream:        #f0ebe2;
  --warm-white:   #faf8f5;
  --text-dark:    #111111;
  --text-mid:     #444444;
  --text-muted:   #888888;
  --white:        #ffffff;
  --border:       rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.05);

  --font-body:    'Inter', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;

  --max-w:  1200px;
  --nav-h:  68px;
  --r:      6px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t:      0.3s;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; cursor: none; }
@media (pointer: coarse) { html { cursor: auto; } }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

/* ----------------------------------------------------------
   3. Utilities
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

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

.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 32px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease), gap var(--t) var(--ease);
}

.btn-primary:hover {
  background: var(--gold-light);
  gap: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), color var(--t);
  margin-top: 8px;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold);
}

/* ----------------------------------------------------------
   4. Scroll Animations
   ---------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ----------------------------------------------------------
   5. Navigation
   ---------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
}

#nav.scrolled {
  background: rgba(17, 26, 17, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--t);
}

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

.nav-cta {
  position: relative;
  padding: 8px 20px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background var(--t), border-color var(--t) !important;
}

.nav-cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), width var(--t);
}

.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(17,26,17,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.07);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.mobile-menu.open { max-height: 280px; }

.mobile-menu a {
  padding: 16px 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--t);
}

.mobile-menu a:hover { color: var(--gold); }

/* ----------------------------------------------------------
   6. Hero
   ---------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Bild wird per JS aus content.json gesetzt */
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,18,10,0.4) 0%,
    rgba(10,18,10,0.65) 50%,
    rgba(10,18,10,0.88) 100%
  );
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  padding: 0 48px;
  padding-top: var(--nav-h);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

#hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 52px;
}

.h1-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.04em;
  animation: fadeUp 1s var(--ease) 0.35s both;
}

.h1-italic {
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.06em;
  animation-delay: 0.5s;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: fadeUp 1s var(--ease) 0.65s both;
}

#hero-subline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 2;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.5;
  animation: bounce 2.5s ease-in-out infinite, fadeIn 1s var(--ease) 1.2s both;
  transition: opacity var(--t);
}

.scroll-indicator:hover { opacity: 0.9; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

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

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

/* ----------------------------------------------------------
   7. Marquee
   ---------------------------------------------------------- */
.marquee-wrap {
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 0 28px;
}

.marquee-sep {
  color: var(--gold) !important;
  padding: 0 4px !important;
  font-size: 0.55rem !important;
}

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

/* ----------------------------------------------------------
   8. Section Shared
   ---------------------------------------------------------- */
section { padding: 120px 0; }

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.05;
  letter-spacing: 0.05em;
}

.section-header h2 em { color: var(--green-mid); }

/* ----------------------------------------------------------
   9. Leistungen
   ---------------------------------------------------------- */
#leistungen { background: var(--off-white); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

.leistung-card {
  background: var(--warm-white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
  opacity: 0;
  transform: translateY(28px);
  position: relative;
  overflow: hidden;
}

.leistung-card.visible { opacity: 1; transform: none; }

.leistung-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.leistung-card:hover { background: var(--white); }
.leistung-card:hover::before { width: 100%; }

.leistung-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 28px;
}

.leistung-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.leistung-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.leistung-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Leistung card with image */
.leistung-card.has-image { padding: 0; }

.leistung-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.leistung-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.leistung-card:hover .leistung-img img { transform: scale(1.05); }

.leistung-body { padding: 36px 40px; }

/* ----------------------------------------------------------
   10. Stats Strip
   ---------------------------------------------------------- */
.stats-strip {
  background: var(--green-dark);
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.stat-num sup {
  font-size: 0.45em;
  color: var(--gold);
  vertical-align: super;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   11. Über uns
   ---------------------------------------------------------- */
#ueber-uns {
  background: var(--green-mid);
  overflow: hidden;
}

#ueber-uns .label { color: var(--gold); }
#ueber-uns .section-header h2 em { color: var(--gold); }

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ueber-image { position: relative; }

.ueber-img-inner {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
}

.ueber-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.ueber-image:hover .ueber-img-inner img { transform: scale(1.04); }

.ueber-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ueber-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.ueber-text h2 em { color: var(--gold); font-style: normal; }

#ueber-uns-text {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 36px;
}

/* ----------------------------------------------------------
   12. Galerie
   ---------------------------------------------------------- */
#galerie { background: var(--cream); }
#galerie .section-header h2 em { color: var(--green-mid); }

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}

.galerie-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--green-accent);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.galerie-item--tall  { grid-row: span 2; }
.galerie-item--wide  { grid-column: span 2; }
.galerie-item--normal { grid-row: span 1; grid-column: span 1; }

.galerie-item.visible { opacity: 1; transform: none; }

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.galerie-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transition: background var(--t);
}

/* Zoom-Icon (wenn kein Caption) */
.galerie-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  color: white;
  font-size: 2rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
}

/* Caption-Label */
.galerie-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px 14px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(to top, rgba(10,18,10,0.82) 0%, transparent 100%);
  transform: translateY(4px);
  transition: transform var(--t), color var(--t);
}

.galerie-item:hover img { transform: scale(1.08); }
.galerie-item:hover .galerie-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.galerie-item:hover .galerie-caption { transform: translateY(0); color: white; }
.galerie-item:hover .galerie-caption { background: linear-gradient(to top, rgba(10,18,10,0.92) 0%, transparent 100%); }

/* ----------------------------------------------------------
   13. Kontakt
   ---------------------------------------------------------- */
#kontakt { background: var(--off-white); }
#kontakt .section-header h2 em { color: var(--green-mid); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.kontakt-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.05;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.kontakt-info h2 em { font-style: normal; color: var(--green-mid); }

.kontakt-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 44px;
}

.kontakt-details { display: flex; flex-direction: column; gap: 24px; }

.kontakt-item { display: flex; gap: 16px; align-items: flex-start; }

.kontakt-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.kontakt-item div {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  padding-top: 8px;
}

.kontakt-item a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--t);
}

.kontakt-item a:hover { color: var(--gold); }

/* Form */
.kontakt-form {
  background: var(--green-dark);
  padding: 52px 44px;
  border-radius: 4px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.kontakt-form .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.kontakt-form .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Form status messages */
.form-status {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 0;
  transition: all var(--t);
}

.form-status--success { color: #6fcf97; }
.form-status--error   { color: #eb5757; }

/* Clickable address links */
.address-link {
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--t);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--t), text-decoration-color var(--t);
}

.address-link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ----------------------------------------------------------
   14. Standorte
   ---------------------------------------------------------- */
#standorte {
  background: var(--green-dark);
}

#standorte .section-header .label { color: var(--gold); }

#standorte .section-header h2 {
  color: var(--white);
}

#standorte .section-header h2 em { color: var(--gold); }

.standorte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
}

.standort-card {
  background: var(--green-dark);
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
  transition: background var(--t);
}

.standort-card:hover {
  background: var(--green-mid);
}

.standort-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}

.standort-card:hover::after { width: 100%; }

.standort-nummer {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 32px;
  right: 40px;
  letter-spacing: 0.1em;
  user-select: none;
}

.standort-body {
  position: relative;
  z-index: 1;
}

.standort-city {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.standort-adresse {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  margin-bottom: 36px;
}

.standort-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 4px;
  transition: gap var(--t), border-color var(--t);
}

.standort-link:hover {
  gap: 16px;
  border-color: var(--gold);
}

/* ----------------------------------------------------------
   15. Footer
   ---------------------------------------------------------- */
/* ----------------------------------------------------------
   Custom Cursor
   ---------------------------------------------------------- */
.cursor {
  position: fixed;
  top: -10px;
  left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
  will-change: transform;
}

.cursor--hover {
  width: 40px;
  height: 40px;
  background: var(--gold-light);
}

.cursor--hidden { opacity: 0; }

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
footer {
  background: var(--green-dark);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: normal;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--t);
  letter-spacing: 0.04em;
}

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

/* ----------------------------------------------------------
   15. Lightbox
   ---------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,10,5,0.95);
  cursor: pointer;
}

.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  max-height: 85vh;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.7);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), border-color var(--t);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201,168,76,0.2);
  border-color: rgba(201,168,76,0.5);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* ----------------------------------------------------------
   Videos
   ---------------------------------------------------------- */
#videos { background: var(--off-white); }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--green-dark);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--r);
}

.video-titel {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .videos-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   Warum wir
   ---------------------------------------------------------- */
#warum-wir {
  background: var(--green-dark);
  padding: 100px 0;
}

#warum-wir .section-header h2 { color: var(--white); }
#warum-wir .section-header h2 em { color: var(--gold); }

.warum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}

.warum-card {
  position: relative;
  padding: 40px 36px;
  background: var(--green-dark);
  transition: background var(--t) var(--ease);
  overflow: hidden;
}

.warum-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.warum-card:hover { background: var(--green-mid); }
.warum-card:hover::before { width: 100%; }

.warum-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.08em;
  color: rgba(201,168,76,0.18);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--t);
}

.warum-card:hover .warum-num { color: rgba(201,168,76,0.35); }

.warum-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.warum-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   Ablauf
   ---------------------------------------------------------- */
#ablauf {
  background: var(--cream);
  padding: 100px 0;
}

.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.ablauf-step {
  padding: 0 32px 0 0;
  position: relative;
}

.ablauf-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.ablauf-line {
  position: absolute;
  top: 26px;
  left: 52px;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,0.2));
}

.ablauf-line--last { display: none; }

.ablauf-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.ablauf-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   Standorte Map
   ---------------------------------------------------------- */
#standorte-map {
  width: 100%;
  height: 380px;
  border-radius: var(--r);
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.map-marker {
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--green-dark);
  box-shadow: 0 0 0 3px var(--gold);
}

.map-popup .leaflet-popup-content-wrapper {
  background: var(--green-dark);
  color: var(--off-white);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.map-popup .leaflet-popup-tip { background: var(--green-dark); }

/* ----------------------------------------------------------
   Modal (Impressum / Datenschutz)
   ---------------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal--open { display: flex; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: var(--warm-white);
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  z-index: 1;
}

.modal-box h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-bottom: 28px;
}

.modal-box h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 24px 0 8px;
}

.modal-box p, .modal-box li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-mid);
}

.modal-box ul { padding-left: 20px; list-style: disc; }
.modal-box a { color: var(--green-mid); text-decoration: underline; }

.modal-hint {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(201,168,76,0.1);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  font-size: 0.82rem !important;
  color: var(--text-mid) !important;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--t);
}

.modal-close:hover { color: var(--text-dark); }

/* ----------------------------------------------------------
   17. Responsive — Tablet (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .ueber-grid    { gap: 56px; }
  .kontakt-grid  { gap: 56px; }
  .maps-grid     { gap: 20px; }
}

/* ----------------------------------------------------------
   18. Responsive — Phablet (≤ 900px)
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .ueber-grid      { grid-template-columns: 1fr; gap: 40px; }
  .ueber-image     { order: -1; }
  .ueber-img-inner { aspect-ratio: 16/9; }
  .ueber-img-badge { bottom: -12px; right: 12px; }
  .kontakt-grid    { grid-template-columns: 1fr; gap: 40px; }
  .maps-grid       { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   19. Responsive — Mobile (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  section  { padding: 72px 0; }
  .container { padding: 0 18px; }
  .section-header { margin-bottom: 36px; }

  /* ── Nav ── */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .mobile-menu {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 99;
  }
  #nav { background: rgba(17,26,17,0.97); }

  /* ── Hero ── */
  .hero-content  { padding: 0 24px; padding-top: var(--nav-h); }
  .hero-bottom   { align-items: center; gap: 24px; }
  .hero-bg       { background-attachment: scroll; background-position: center center; background-size: cover; }
  .hero-eyebrow  { font-size: 0.65rem; gap: 10px; flex-wrap: wrap; }
  .h1-line       { font-size: clamp(2.6rem, 10vw, 4rem); }
  #hero-subline  { font-size: 0.95rem; }
  .scroll-indicator { bottom: 24px; }

  /* ── Leistungen ── */
  .leistungen-grid   { grid-template-columns: 1fr; gap: 1px; }
  .leistung-card     { padding: 32px 24px; }
  .leistung-body     { padding: 28px 24px; }
  .leistung-card h3  { font-size: 1.25rem; }

  /* ── Stats ── */
  .stats-strip    { padding: 48px 0; }
  .stats-grid     { flex-wrap: wrap; row-gap: 36px; }
  .stat           { flex: 0 0 50%; padding: 0 20px; }
  .stat-divider   { display: none; }

  /* ── Über uns ── */
  .ueber-img-badge { font-size: 0.65rem; padding: 10px 14px; }
  .ueber-text h2   { font-size: clamp(1.8rem, 6vw, 2.5rem); }

  /* ── Warum wir ── */
  .warum-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Ablauf ── */
  .ablauf-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .ablauf-line { display: none; }

  /* ── Galerie ── */
  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 6px; }
  .galerie-item--wide { grid-column: span 2; }
  .galerie-item--tall { grid-row: span 2; }

  /* ── Standorte ── */
  .standorte-grid  { grid-template-columns: 1fr; }
  .standort-card   { padding: 40px 28px; }
  .standort-nummer { font-size: 4rem; top: 20px; right: 24px; }

  /* ── Kontakt ── */
  .kontakt-info h2   { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .kontakt-intro     { margin-bottom: 28px; }
  .kontakt-form      { padding: 28px 20px; }

  /* ── Footer ── */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* ── Lightbox ── */
  .lightbox-prev { left: 8px; width: 40px; height: 40px; }
  .lightbox-next { right: 8px; width: 40px; height: 40px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ----------------------------------------------------------
   20. Responsive — Small Mobile (≤ 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }

  .h1-line { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero-eyebrow { display: none; } /* zu eng auf kleinsten Geräten */

  .leistungen-grid { background: none; gap: 12px; }
  .leistung-card   { border-radius: 4px; border: 1px solid var(--border); }

  .stats-grid { row-gap: 28px; }
  .stat       { flex: 0 0 50%; }

  /* ── Warum wir ── */
  .warum-grid { grid-template-columns: 1fr; }
  .warum-card { padding: 28px 20px; }

  /* ── Ablauf ── */
  .ablauf-grid { grid-template-columns: 1fr; gap: 28px; }

  .galerie-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 6px; }
  .galerie-item--wide, .galerie-item--tall { grid-column: span 1; grid-row: span 1; }

  .standort-card   { padding: 32px 20px; }

  .kontakt-icon-wrap { width: 36px; height: 36px; }
  .kontakt-form      { padding: 24px 16px; border-radius: 4px; }

  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .footer-links { flex-direction: column; gap: 10px; }
}
