/* ============================================================
   AZ Garten+Haus Service GmbH — Main Stylesheet
   ============================================================ */

:root {
  --primary:        #1a4731;
  --primary-dark:   #0d2b1d;
  --primary-light:  #2d6a4f;
  --accent:         #52b788;
  --accent-light:   #95d5b2;
  --accent-glow:    rgba(82,183,136,.25);
  --bg:             #f6f9f6;
  --bg-dark:        #0d1f15;
  --white:          #ffffff;
  --text:           #111827;
  --text-muted:     #6b7280;
  --border:         #e0ebe4;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.06);
  --shadow-md:      0 8px 30px rgba(0,0,0,.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.14);
  --radius:         14px;
  --radius-lg:      24px;
  --transition:     .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--banner-h, 0px);
}

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

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title { color: var(--primary-dark); margin-bottom: 1rem; }
.section-desc  { color: var(--text-muted); max-width: 580px; font-size: 1.05rem; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────── */
#navbar {
  position: fixed; top: var(--banner-h, 0px); left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  padding: 1.1rem 0;
}
#navbar.scrolled {
  background: rgba(13,27,21,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .7rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
}
.nav-logo img { height: 40px; width: auto; max-width: 200px; }
.nav-logo-text { color: var(--white); line-height: 1.1; }
.nav-logo-text strong { display: block; font-size: 1rem; }
.nav-logo-text span { font-size: .72rem; opacity: .7; letter-spacing: .04em; }

.nav-links {
  display: flex; align-items: center; gap: .2rem;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .88rem; font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: .55rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}
.btn-offerte {
  background: var(--primary) !important;
  color: #fff !important;
}
.btn-offerte:hover {
  background: var(--primary-dark) !important;
}
.nav-schaden {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
}
.nav-schaden:hover {
  background: rgba(255,255,255,.14) !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: .5rem;
  background: none; border: none;
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.nav-close { display: none; }

/* ── Dropdown menu ──────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: .3rem; cursor: pointer;
}
.dropdown-arrow { transition: transform var(--transition); flex-shrink: 0; }
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 1.1rem .5rem .5rem;
  min-width: 260px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 999;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute; inset: .6rem 0 0;
  background: rgba(10,24,16,.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(82,183,136,.18);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  z-index: -1;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .9rem;
  border-radius: 10px;
  color: rgba(255,255,255,.75) !important;
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
  background: transparent !important;
}
.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
  background: rgba(82,183,136,.12) !important;
  color: var(--white) !important;
}
.nav-dropdown-menu li a.active::after { display: none; }
/* separator line in services dropdown: group garden services, separate Facility Management */
.nav-dd-services li:nth-child(2) {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: .5rem; margin-bottom: .5rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  /* Solid navbar on mobile so the burger never sits on a transparent/light strip */
  #navbar {
    background: rgba(13,27,21,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0,0,0,.22);
    padding: .7rem 0;
  }
  #navbar.scrolled { padding: .7rem 0; }
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    height: 100vh; height: 100dvh;
    width: min(320px, 86vw);
    flex-direction: column; align-items: stretch; gap: .3rem;
    background: var(--primary-dark);
    padding: calc(var(--banner-h, 0px) + 3.75rem) 1.4rem 1.5rem;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { right: 0; }

  /* Close (X) button inside the mobile menu */
  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: calc(var(--banner-h, 0px) + .7rem); right: 1rem;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.08); border: none; border-radius: 10px;
    color: #fff; cursor: pointer; z-index: 3;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-close:active { background: rgba(255,255,255,.16); }
  .nav-links > li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center; width: 100%;
    font-size: 1rem; padding: .85rem 1rem; border-radius: 10px;
  }
  .nav-links > li > a:active { background: rgba(255,255,255,.06); }

  /* CTA buttons (Offerte / Kontakt) as full-width, clearly separated blocks */
  .nav-links .nav-cta {
    justify-content: center;
    padding: .85rem 1rem !important;
    border-radius: 10px !important;
    margin-top: .35rem;
  }
  .nav-links .nav-cta:hover { transform: none; }

  /* Mobile dropdown — items aligned exactly under "Dienstleistungen", no indent */
  .nav-dropdown-menu {
    position: static; transform: none;
    background: transparent;
    border: none; border-radius: 0;
    padding: 0;
    margin: 0 0 .2rem 0;
    opacity: 1; visibility: visible; pointer-events: none;
    box-shadow: none;
    min-width: 0; width: 100%;
    display: none;
  }
  .nav-dropdown-menu::before { display: none; }
  /* Override desktop .open rule (translateX(-50%)) that pushed the submenu off-panel to the left */
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: block; pointer-events: auto;
    transform: none; left: auto; right: auto;
  }
  .nav-dropdown-menu li a {
    display: block; width: 100%;
    padding: .6rem 1rem; font-size: .92rem; line-height: 1.3;
    white-space: normal;
    color: rgba(255,255,255,.7) !important;
    border-radius: 10px;
  }
  .nav-dropdown-menu li a.active { color: var(--white) !important; }
  .nav-dropdown-menu li:nth-child(3) { border-bottom: none; }

  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 998;
  }
  .nav-overlay.open { display: block; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/img/hero-bg.jpg');
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease, opacity 1.2s ease;
  opacity: 0;
}
.hero-bg.active { opacity: 1; }
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,21,.88) 0%,
    rgba(26,71,49,.70) 50%,
    rgba(13,27,21,.80) 100%
  );
}

/* floating blobs */
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
  animation: blobFloat 10s ease-in-out infinite;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: var(--primary-light);
  bottom: -80px; left: -80px;
  animation-delay: -5s;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(.97); }
}

.hero-content {
  position: relative; z-index: 2;
  padding: 8rem 1.5rem 5rem;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(82,183,136,.15);
  border: 1px solid rgba(82,183,136,.3);
  border-radius: 50px;
  padding: .4rem 1rem;
  color: var(--accent-light);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-tag svg { width: 14px; height: 14px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.12rem; max-width: 560px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 3.5rem; max-width: 520px; }
.hero-actions .btn { flex: 1 1 0; justify-content: center; white-space: nowrap; }

.hero-stats {
  display: flex; gap: 1.25rem; flex-wrap: wrap; max-width: 520px;
}
.hero-stat {
  flex: 1 1 0;
  text-align: center;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-stat:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-3px);
}
.hero-stat-num {
  display: block;
  font-size: 2rem; font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-lbl {
  display: block;
  font-size: .78rem; color: rgba(255,255,255,.6);
  margin-top: .25rem; letter-spacing: .04em;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Services Section ────────────────────────────────────── */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: var(--white);
}
.service-card:hover .service-icon { background: rgba(255,255,255,.15); }
.service-icon {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  background: rgba(82,183,136,.12);
  color: var(--primary);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3, .service-card p, .service-link {
  position: relative; z-index: 1;
  transition: var(--transition);
}
.service-card h3 { color: var(--primary-dark); margin-bottom: .75rem; }
.service-card p  { color: var(--text-muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent); font-weight: 600; font-size: .9rem;
}
.service-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ── Why Us ──────────────────────────────────────────────── */
.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
}
.why-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-feature:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.why-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(82,183,136,.12);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.why-feature-icon svg { width: 22px; height: 22px; }
.why-feature h4 { font-size: 1rem; color: var(--primary-dark); margin-bottom: .25rem; }
.why-feature p  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.why-visual {
  position: relative;
}
.why-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--primary-light);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.why-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; bottom: 2rem; left: -2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .75rem;
}
.why-badge-icon {
  width: 48px; height: 48px;
  background: rgba(82,183,136,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.why-badge-icon svg { width: 24px; height: 24px; }
.why-badge strong { display: block; font-size: 1.4rem; color: var(--primary-dark); line-height: 1; }
.why-badge span   { font-size: .8rem; color: var(--text-muted); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative; overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.testimonials .section-title { color: var(--white); }
.testimonials .section-label { color: var(--accent-light); }

.testi-slider { position: relative; margin-top: 3rem; overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testi-slide {
  flex: 0 0 100%;
  padding: 0 .5rem;
}
.testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.testi-quote {
  font-size: 5rem; line-height: .7;
  color: var(--accent); opacity: .4;
  font-family: Georgia, serif;
  margin-bottom: .5rem;
}
.testi-text {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem; line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex; align-items: center; gap: 1rem;
}
.testi-avatar {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-info strong { display: block; color: var(--white); font-size: .95rem; }
.testi-info span   { color: var(--accent-light); font-size: .82rem; }

.testi-controls {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 2rem;
}
.testi-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.testi-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.testi-dots { display: flex; gap: .5rem; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer; transition: var(--transition);
}
.testi-dot.active {
  background: var(--accent); width: 24px; border-radius: 4px;
}

/* ── Team Preview ────────────────────────────────────────── */
.team { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
  group: true;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.team-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
}
.team-photo-placeholder svg { width: 60px; height: 60px; }
.team-info { padding: 1.25rem; }
.team-info h4 { font-size: 1rem; color: var(--primary-dark); margin-bottom: .25rem; }
.team-info .team-role { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.team-info .team-role span { display: block; }
.team-info .team-role .team-role-sub { color: var(--text-muted); font-weight: 500; font-size: .78rem; margin-top: .12rem; }
.team-info .team-contacts { display: flex; flex-direction: column; gap: .2rem; }
.team-info .team-contacts a { font-size: .8rem; color: var(--text-muted); transition: var(--transition); }
.team-info .team-contacts a:hover { color: var(--primary); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
  padding: 5rem 0;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; overflow: hidden;
}
.cta-box::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: var(--accent); opacity: .07;
  border-radius: 50%;
}
.cta-box h2 { color: var(--white); }
.cta-box p  { color: rgba(255,255,255,.7); margin-top: .75rem; font-size: 1.05rem; }
.cta-box .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  background: var(--accent); opacity: .06;
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 560px; }
.page-hero .breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Inner page content ─────────────────────────────────── */
.page-content { background: var(--white); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}
.content-text h2 { color: var(--primary-dark); margin-bottom: 1rem; }
.content-text p  { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }
.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--primary-light);
  aspect-ratio: 4/3;
}
.content-image img { width: 100%; height: 100%; object-fit: cover; }

.leistungen-list {
  display: flex; flex-direction: column; gap: .75rem;
  margin-top: 1.5rem;
}
.leistungen-list li {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  background: rgba(82,183,136,.07);
  border-radius: 10px;
  font-size: .92rem; color: var(--primary-dark);
  transition: var(--transition);
}
.leistungen-list li:hover {
  background: rgba(82,183,136,.14);
  transform: translateX(4px);
}
.leistungen-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2b1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
}

/* ── Team page ───────────────────────────────────────────── */
.team-full { background: var(--white); }
.team-category { margin-bottom: 3rem; }
.team-category-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 1rem; margin-bottom: 1.5rem;
}

/* ── Referenzen page ─────────────────────────────────────── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.ref-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.ref-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-4px);
}
.ref-card .ref-quote {
  font-size: 2.5rem; line-height: .7;
  color: var(--accent); opacity: .35;
  font-family: Georgia, serif;
  margin-bottom: .75rem;
}
.ref-card p { color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.ref-card strong { color: var(--primary-dark); font-size: .9rem; }
.ref-card .ref-ort { color: var(--text-muted); font-size: .82rem; }

/* ── Kontakt ─────────────────────────────────────────────── */
.kontakt { background: var(--white); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 2rem;
}
.kontakt-info { display: flex; flex-direction: column; gap: 1.5rem; }
.kontakt-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.kontakt-item:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}
.kontakt-item-icon {
  width: 48px; height: 48px;
  background: rgba(82,183,136,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.kontakt-item-icon svg { width: 22px; height: 22px; }
.kontakt-item h4 { font-size: .88rem; font-weight: 700; color: var(--primary-dark); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .06em; }
.kontakt-item p, .kontakt-item a { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
.kontakt-item a:hover { color: var(--primary); }

/* Contact Form */
.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-form h3 { color: var(--primary-dark); margin-bottom: 1.75rem; }
.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .84rem; font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit; font-size: .95rem; color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-captcha {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .85rem 1rem;
}
.captcha-question { font-size: .9rem; font-weight: 600; color: var(--primary-dark); white-space: nowrap; }
.captcha-input {
  width: 80px !important;
  text-align: center;
  font-weight: 700;
  padding: .4rem .5rem !important;
}
.hp-field { display: none !important; }
.form-submit { margin-top: 1.5rem; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }
.form-msg {
  margin-top: 1rem; padding: 1rem 1.25rem;
  border-radius: 10px; font-size: .9rem; font-weight: 500;
  display: none;
}
.form-msg.success { background: rgba(82,183,136,.15); color: var(--primary); display: block; }
.form-msg.error   { background: rgba(220,38,38,.1); color: #dc2626; display: block; }

/* ── Geschichte ─────────────────────────────────────────── */
.timeline { position: relative; margin-top: 3rem; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem; position: relative;
}
.timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
.timeline-item:nth-child(odd)  .timeline-content { grid-column: 1; text-align: right; }
.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.timeline-year {
  display: inline-block;
  background: var(--accent); color: var(--primary-dark);
  font-size: .85rem; font-weight: 700;
  padding: .25rem .75rem; border-radius: 50px;
  margin-bottom: .75rem;
}
.timeline-content h3 { color: var(--primary-dark); margin-bottom: .5rem; font-size: 1.05rem; }
.timeline-content p  { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.timeline-dot {
  position: absolute; left: 50%; top: 1.75rem;
  width: 14px; height: 14px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, 0);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 40px; width: auto; max-width: 200px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--accent); color: var(--primary-dark);
  border-color: var(--accent);
}
.social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: var(--white); font-size: .85rem;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.footer-col a, .footer-col p {
  display: block; font-size: .88rem; color: rgba(255,255,255,.55);
  margin-bottom: .6rem; transition: var(--transition); line-height: 1.5;
}
.footer-col a:hover { color: var(--accent); }
.footer-col .contact-item {
  display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem;
}
.footer-col .contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 1.5rem; }

/* ── Cookie Banner ───────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(13,31,21,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(82,183,136,.2);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: .88rem; color: rgba(255,255,255,.75); flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--accent-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btns .btn { padding: .6rem 1.25rem; font-size: .85rem; }

/* ── Datenschutz / Impressum ────────────────────────────── */
.legal-content {
  max-width: 780px; margin: 0 auto;
  padding: 3rem 0;
  background: var(--white);
}
.legal-content h2 { color: var(--primary-dark); margin: 2rem 0 .75rem; font-size: 1.3rem; }
.legal-content p, .legal-content li {
  color: var(--text-muted); font-size: .95rem; line-height: 1.8; margin-bottom: .75rem;
}
.legal-content ul { padding-left: 1.5rem; }
.legal-content ul li { list-style: disc; }
.legal-content a { color: var(--primary); }

/* ── Animations ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  /* Reveal-Animationen nur vertikal (verhindert horizontales Scrollen auf Mobile) */
  .reveal.from-left, .reveal.from-right { transform: translateY(30px); }
  .why-grid, .content-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-badge { left: 1rem; }
  .cta-box { flex-direction: column; padding: 2.5rem 1.5rem; text-align: center; }
  .cta-box .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 1rem; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd)  .timeline-content { grid-column: 1; text-align: left; padding-left: 3rem; }
  .timeline-dot { left: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .hero-stat { padding: .75rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Hamburger → X ───────────────────────────────────────── */
.nav-hamburger span { transition: transform .3s ease, opacity .3s ease; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile – 768px ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .hero-content { padding: 7rem 1.5rem 4rem; }
  .hero-desc { font-size: 1rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-stat { flex: 1 1 calc(33% - .5rem); min-width: 90px; }

  /* Services */
  .service-card { padding: 2rem 1.5rem; }

  /* Testimonials */
  .testi-card { padding: 1.75rem 1.25rem; }
  .testi-text { font-size: .95rem; }

  /* Contact form */
  .contact-form { padding: 1.75rem 1.25rem; }

  /* CTA */
  .cta-box { padding: 2rem 1.5rem; }

  /* Page hero */
  .page-hero { padding: 6.5rem 0 2.5rem; }

  /* Why visual – move after features on mobile */
  .why-grid > div:last-child { order: -1; }
  .why-img-wrap { aspect-ratio: 16/9; }
  .why-badge { bottom: -1rem; left: 1rem; }
}

/* ── Mobile – 480px ──────────────────────────────────────── */
@media (max-width: 480px) {
  section { padding: 2.75rem 0; }

  /* Hero */
  .hero-content { padding: 5.5rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-stat { flex: 1 1 calc(50% - .5rem); }
  .hero-stat-num { font-size: 1.6rem; }

  /* Services */
  .service-card { padding: 1.5rem 1.25rem; }
  .service-card h3 { font-size: 1.1rem; }

  /* Testimonials */
  .testi-card { padding: 1.5rem 1rem; }

  /* CTA */
  .cta-box { padding: 1.75rem 1rem; }
  .cta-box h2 { font-size: 1.4rem; }
  .cta-box .cta-actions { flex-direction: column; }
  .cta-box .cta-actions .btn { justify-content: center; }

  /* Contact */
  .contact-form { padding: 1.5rem 1rem; }

  /* Page hero */
  .page-hero { padding: 6rem 0 2rem; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Footer */
  footer { padding: 2.5rem 0 1.5rem; }
  .footer-grid { gap: 1.5rem; }

  /* Sticky bar */
  .sticky-bar-actions .btn { padding: .55rem 1rem; font-size: .82rem; }

  /* Kontakt */
  .kontakt-item { padding: 1.1rem; }
  .kontakt-item-icon { width: 40px; height: 40px; }

  /* Process */
  .process-step { padding: .5rem; }

  /* Gallery filters */
  .gallery-filter { font-size: .78rem; padding: .38rem .75rem; }

  /* Why */
  .why-badge { position: static; margin-top: 1rem; box-shadow: var(--shadow-sm); }
}

/* ── Loading Screen ─────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#page-loader img { height: 74px; width: auto; animation: loaderPulse 1.2s ease-in-out infinite; }
.loader-bar {
  width: 160px; height: 3px;
  background: rgba(0,0,0,.08);
  border-radius: 3px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0;
  background: var(--accent);
  border-radius: 3px;
  animation: loaderFill 1s ease forwards;
}
@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes loaderFill  { to { width: 100%; } }

/* ── Seasonal Banner ─────────────────────────────────────── */
#seasonal-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: .6rem 0;
  text-align: center;
  font-size: .85rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
}
#seasonal-banner a { color: var(--accent-light); font-weight: 600; text-decoration: underline; margin-left: .5rem; }
#seasonal-banner .banner-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 1.1rem; cursor: pointer; line-height: 1; padding: .2rem .4rem;
}
#seasonal-banner .banner-close:hover { color: #fff; }

/* ── Sticky Contact Bar ──────────────────────────────────── */
#sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--primary-dark);
  border-top: 1px solid rgba(82,183,136,.2);
  padding: .75rem 0;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
#sticky-bar.visible { transform: translateY(0); }
.sticky-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.sticky-bar-text { color: rgba(255,255,255,.75); font-size: .88rem; }
.sticky-bar-text strong { color: #fff; display: block; font-size: .95rem; }
.sticky-bar-actions { display: flex; gap: .75rem; align-items: center; }
.sticky-bar-actions .btn { padding: .55rem 1.25rem; font-size: .88rem; }
.sticky-close {
  background: none; border: none; color: rgba(255,255,255,.4);
  cursor: pointer; font-size: 1.2rem; padding: .25rem; line-height: 1;
  flex-shrink: 0;
}
.sticky-close:hover { color: #fff; }
@media (max-width: 600px) {
  .sticky-bar-text { display: none; }
  .sticky-bar-inner { flex-wrap: nowrap; justify-content: space-between; gap: .5rem; }
  .sticky-bar-actions { flex: 1; gap: .5rem; min-width: 0; }
  .sticky-bar-actions .btn { flex: 1; justify-content: center; padding: .6rem .4rem; font-size: .8rem; white-space: nowrap; }
  .sticky-close { align-self: center; }
}

/* ── Process Section ─────────────────────────────────────── */
.process { background: var(--bg); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute; top: 2rem; left: calc(12.5% + 1rem); right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  z-index: 0;
}
.process-step {
  text-align: center; position: relative; z-index: 1;
}
.process-num {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: var(--white);
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--primary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.process-step:hover .process-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.process-step h4 { font-size: .98rem; color: var(--primary-dark); margin-bottom: .4rem; }
.process-step p  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ── Gallery ─────────────────────────────────────────────── */
.gallery-section { background: var(--white); }
.gallery-filters {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin: 2rem 0 2rem;
}
.gallery-filter {
  padding: .45rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: .84rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; background: var(--white);
  transition: var(--transition);
}
.gallery-filter:hover  { border-color: var(--accent); color: var(--primary); }
.gallery-filter.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.gallery-grid {
  columns: 3; gap: 1rem;
}
@media (max-width: 900px)  { .gallery-grid { columns: 2; } }
@media (max-width: 480px)  { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--primary-light);
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
/* Modern caption: dark gradient at the bottom, title always readable */
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem 1rem 1rem;
  background: linear-gradient(to top, rgba(13,43,29,.85) 0%, rgba(13,43,29,.25) 38%, rgba(13,43,29,0) 68%);
  transition: background .35s ease;
}
.gallery-overlay span {
  color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  transform: translateY(4px); transition: transform .35s ease;
}
.gallery-overlay svg {
  position: absolute; top: .85rem; right: .85rem;
  width: 34px; height: 34px; color: #fff;
  background: rgba(255,255,255,.2); border-radius: 50%; padding: 6px;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s ease, transform .3s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.gallery-item:hover .gallery-overlay { background: linear-gradient(to top, rgba(13,43,29,.92) 0%, rgba(13,43,29,.4) 50%, rgba(13,43,29,.08) 100%); }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 1rem;
}
#lightbox.open { opacity: 1; visibility: visible; }
.lb-img-wrap {
  position: relative; max-width: 90vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
#lb-img {
  max-width: 90vw; max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transition: opacity .25s ease;
  object-fit: contain;
}
#lb-img.loading { opacity: 0; }
#lb-caption {
  position: absolute; bottom: -2.5rem; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.65); font-size: .88rem;
}
.lb-close {
  position: fixed; top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,.2); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-nav svg { width: 22px; height: 22px; }

/* ── Über Uns ─────────────────────────────────────────────── */
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ueber-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem;
}
.ueber-value {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.ueber-value:hover { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.ueber-value-icon {
  width: 48px; height: 48px; margin: 0 auto .75rem;
  background: rgba(82,183,136,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.ueber-value h4 { font-size: .9rem; color: var(--primary-dark); margin-bottom: .3rem; }
.ueber-value p  { font-size: .82rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-values { grid-template-columns: 1fr 1fr; }
}

/* ── Jobs / Stellen ──────────────────────────────────────── */
.job-list-wrap { display: flex; flex-direction: column; gap: 1.5rem; max-width: 860px; margin: 0 auto; }
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}
.job-card-head { border-bottom: 1px solid var(--border); padding-bottom: 1.1rem; margin-bottom: 1.25rem; }
.job-card-head h2 { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: .75rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.job-tag {
  display: inline-flex; align-items: center;
  background: var(--primary); color: #fff;
  font-size: .8rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 50px;
}
.job-tag-light { background: rgba(82,183,136,.14); color: var(--primary); }
.job-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.job-block { margin-bottom: 1.25rem; }
.job-block h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: .6rem; }
.job-list { display: flex; flex-direction: column; gap: .45rem; }
.job-list li {
  position: relative; padding-left: 1.5rem;
  color: var(--text-muted); line-height: 1.55;
}
.job-list li::before {
  content: ''; position: absolute; left: .25rem; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.job-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.job-empty {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 3.5rem 2rem; box-shadow: var(--shadow);
}
.job-empty h2 { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: .75rem; }
.job-empty p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1.75rem; }
@media (max-width: 600px) {
  .job-card { padding: 1.5rem 1.25rem; }
  .job-card-head h2 { font-size: 1.25rem; }
  .job-actions { flex-direction: column; }
  .job-actions .btn { width: 100%; justify-content: center; }
}
