/* ============================================================
   FD Biondo – Garten- und Landschaftsbau
   styles.css – UI/UX Pro Max Redesign
   ============================================================
   Design System (Trust & Authority):
     --green-900   #0A3D12  – Tiefstes Dunkelgrün
     --green-700   #0F6B1F  – Primärgrün (Brand)
     --green-500   #1E9435  – Akzentgrün
     --green-100   #E8F5EB  – Helles Grün
     --gold        #C9A227  – Gold (Vertrauen / Qualität)
     --ink         #111A12  – Fast-Schwarz mit Grünton
     --stone       #4B5E4E  – Gedämpftes Grau-Grün
     --white       #FFFFFF
     --bg          #F7FAF7  – Sehr helles Grün-Weiß
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS-VARIABLEN & RESET
   ---------------------------------------------------------- */
:root {
  --green-900:    #0A3D12;
  --green-700:    #0F6B1F;
  --green-500:    #1E9435;
  --green-300:    #5CB87A;
  --green-100:    #E8F5EB;
  --gold:         #C9A227;
  --gold-light:   #F5E6A3;
  --ink:          #111A12;
  --stone:        #4B5E4E;
  --white:        #FFFFFF;
  --bg:           #F7FAF7;
  --border:       #D6E8D8;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 3px rgba(10,61,18,0.08), 0 1px 2px rgba(10,61,18,0.06);
  --shadow:       0 4px 16px rgba(10,61,18,0.10), 0 2px 6px rgba(10,61,18,0.06);
  --shadow-lg:    0 16px 48px rgba(10,61,18,0.14), 0 4px 12px rgba(10,61,18,0.08);

  --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
  --max-width:    1200px;
  --section-gap:  72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ----------------------------------------------------------
   2. UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding-block: var(--section-gap); }
.section-alt { background: var(--bg); }
.section-dark { background: var(--green-900); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green-300);
  border-radius: 1px;
}

.section-intro {
  color: var(--stone);
  font-size: 1.1rem;
  margin-top: 16px;
  line-height: 1.75;
}

.section-cta { text-align: center; margin-top: 52px; }

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}


/* ----------------------------------------------------------
   3. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 4px 14px rgba(15,107,31,0.30);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,107,31,0.35);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(201,162,39,0.30);
}
.btn-gold:hover {
  background: #b08c1e;
  border-color: #b08c1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-1px);
}


/* ----------------------------------------------------------
   4. HEADER & NAVIGATION
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,61,18,0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(10,61,18,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10,61,18,0.25);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.logo-text small {
  display: block;
  font-weight: 400;
  color: var(--stone);
  font-size: 0.72rem;
  font-family: var(--font-body);
}

/* Desktop Nav */
#nav-menu ul {
  display: flex;
  gap: 4px;
}

#nav-menu a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--stone);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

#nav-menu a:hover {
  color: var(--green-700);
  background: var(--green-100);
}

/* CTA in nav */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* ----------------------------------------------------------
   5. HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-900);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--green-900);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 40, 14, 0.88) 0%,
    rgba(10, 61, 18, 0.65) 45%,
    rgba(10, 61, 18, 0.15) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(72px + 60px);
  padding-bottom: 80px;
}

.hero-content {
  max-width: 600px;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(92,184,122,0.4);
  border-radius: 99px;
  background: rgba(92,184,122,0.1);
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--green-300);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero trust strip */
.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-trust-item strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-trust-item span {
  font-size: 0.78rem;
  color: var(--green-300);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: nudge 3s ease-in-out infinite;
}

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

.hero-scroll svg { opacity: 0.5; }


/* ----------------------------------------------------------
   6. TRUST BAR
   ---------------------------------------------------------- */
.trust-bar {
  background: var(--green-900);
  padding-block: 0;
  overflow: hidden;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,0.04); }

.trust-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(92,184,122,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.trust-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}


/* ----------------------------------------------------------
   7. LEISTUNGEN
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-100);
}

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

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-icon { background: var(--green-500); }
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.service-card p {
  font-size: 0.91rem;
  color: var(--stone);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  transition: gap var(--transition), color var(--transition);
}

.service-card:hover .service-link { gap: 8px; color: var(--green-500); }


/* ----------------------------------------------------------
   8. ÜBER UNS
   ---------------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* Floating stat card */
.about-stat-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 160px;
}

.about-stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}

.about-stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 4px;
}

.about-text .section-label { justify-content: flex-start; }
.about-text .section-label::before { display: none; }

.about-text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--stone);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-values {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.5;
}

.value-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ----------------------------------------------------------
   9. STATS SECTION
   ---------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.stat-item:hover { background: rgba(255,255,255,0.07); }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--green-300);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
}


/* ----------------------------------------------------------
   10. REFERENZEN / GALERIE
   ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  position: relative;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,40,14,0.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay figcaption {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay figcaption { transform: translateY(0); }

/* kein Featured-Item mehr – alle gleich groß */
.gallery-item--large {
  grid-column: span 1;
}


/* ----------------------------------------------------------
   11. KONTAKT
   ---------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--green-900);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  color: var(--white);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info-card .sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(92,184,122,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-item a,
.contact-item span {
  font-size: 0.97rem;
  color: var(--white);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-item a:hover { color: var(--green-300); }

/* Formular */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-form-wrap .sub {
  font-size: 0.88rem;
  color: var(--stone);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,148,53,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #A8B8A9; }

.form-hint { font-size: 0.78rem; color: var(--stone); margin-top: -6px; }

.form-success {
  font-size: 0.92rem;
  color: var(--green-500);
  font-weight: 600;
  min-height: 1.2em;
}


/* ----------------------------------------------------------
   12. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  padding-block: 0;
}

.footer-top {
  padding-block: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-mark {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--green-300); }

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

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

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

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


/* ----------------------------------------------------------
   13. LEGAL PAGES (Impressum / Datenschutz)
   ---------------------------------------------------------- */
.legal-page { padding-block: 128px 80px; }
.legal-page h1 { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; margin-bottom: 32px; }
.legal-page h2 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin: 32px 0 10px; color: var(--green-700); }
.legal-page p  { color: var(--stone); margin-bottom: 12px; font-size: 0.95rem; line-height: 1.75; }
.legal-note    { background: var(--green-100); border-left: 4px solid var(--green-500); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 32px; font-size: 0.88rem; color: var(--green-700); font-weight: 600; }
.back-link     { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 32px; color: var(--green-700); font-weight: 600; font-size: 0.9rem; transition: gap var(--transition); }
.back-link:hover { gap: 10px; }


/* ----------------------------------------------------------
   14. SCROLL REVEAL
   Standardmäßig sichtbar – JS fügt Animation hinzu
   ---------------------------------------------------------- */
.will-reveal {
  opacity: 1;
  transform: none;
}

.js-reveal-ready .will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal-ready .will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------
   15. RESPONSIVE – TABLET (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-gap: 56px; }

  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); border-right: none; }

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

  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 560px; margin-inline: auto; }
  .about-stat-card { right: 0; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item--large { grid-column: span 1; }

  .contact-layout { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}


/* ----------------------------------------------------------
   16. RESPONSIVE – MOBIL (≤ 640px)
   ---------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --section-gap: 60px; }

  .nav-toggle { display: flex; }
  .nav-cta .nav-phone { display: none; }

  #nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 28px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: var(--shadow);
  }

  #nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #nav-menu ul { flex-direction: column; gap: 2px; }

  #nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
  }

  #nav-menu a:last-child { border-bottom: none; }

  .hero-content h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { gap: 20px; }

  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

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

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item--large { grid-column: span 1; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }

  .about-stat-card { right: 0; bottom: -16px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 32px 16px; }
}

@media (max-width: 400px) {
  .hero-trust { flex-direction: column; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr; }
}
