/* ============================================================
   GARTEN- & LANDSCHAFTSBAU TEICKE  |  Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --g-dark:    #182b1b;
  --g-forest:  #223626;
  --g-mid:     #2d4f31;
  --g-light:   #3d6b41;
  --g-accent:  #4e8c55;
  --cream:     #f4efe6;
  --cream-lt:  #faf8f4;
  --cream-dk:  #ece6d9;
  --gray-w:    #4a4a42;
  --gray-m:    #7a7a72;
  --gray-lt:   #e0dbd2;
  --sand:      #c4a882;
  --sand-lt:   #d4bc98;
  --water:     #5b8fa8;
  --white:     #ffffff;
  --text:      #1a1a18;

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --sh-sm: 0 2px 12px rgba(0,0,0,.08);
  --sh-md: 0 8px 32px rgba(0,0,0,.13);
  --sh-lg: 0 24px 64px rgba(0,0,0,.2);

  --r:   4px;
  --r-l: 10px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream-lt);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ── Type ───────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); font-weight: 600; }
h3 { font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 600; }

.label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g-accent);
  margin-bottom: 14px;
}
.label.light { color: var(--sand-lt); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  border-radius: var(--r);
  transition: all .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--g-mid);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--g-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(45,79,49,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Reveal animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section header ─────────────────────────────────────────── */
.sec-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}
.sec-header h2 { color: var(--g-dark); margin-bottom: 14px; }
.sec-header p  { color: var(--gray-w); font-size: .97rem; line-height: 1.85; }


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
#navbar.scrolled {
  background: var(--g-dark);
  padding: 13px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.nav-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}
.logo-sub {
  font-family: var(--ff-body);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.logo-name {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-link {
  font-size: .83rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  letter-spacing: .05em;
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.nav-cta {
  background: var(--g-mid);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--r);
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--g-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1416879223669-2bc2ea636e5e?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s var(--ease);
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,24,15,.6) 0%,
    rgba(12,24,15,.55) 45%,
    rgba(12,24,15,.78) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 840px;
  padding: 0 32px;
}
.hero-pretitle {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sand-lt);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp .8s .52s forwards;
}
.hero-name {
  display: block;
  color: var(--sand-lt);
  letter-spacing: .12em;
}
.hero-subtitle {
  font-family: var(--ff-head);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255,255,255,.82);
  margin: 18px 0 14px;
  opacity: 0;
  animation: fadeUp .8s .74s forwards;
}
.hero-text {
  font-size: .93rem;
  color: rgba(255,255,255,.66);
  line-height: 1.85;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s 1.06s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  animation: bounce 2.2s 1.5s infinite;
}
.hero-scroll:hover { color: var(--white); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(9px); }
}


/* ============================================================
   INTRO
   ============================================================ */
.intro {
  padding: 108px 0;
  background: var(--cream-lt);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-left .label { display: block; }
.intro-left h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.12;
  color: var(--g-dark);
}
.intro-right p {
  font-size: 1.04rem;
  color: var(--gray-w);
  line-height: 1.95;
  margin-bottom: 36px;
}
.intro-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-lt);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--g-mid);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-lbl {
  font-size: .72rem;
  color: var(--gray-m);
  letter-spacing: .1em;
  text-transform: uppercase;
}


/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistungen {
  padding: 108px 0;
  background: var(--cream-dk);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  height: 330px;
  border-radius: var(--r-l);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
}
.card:hover .card-overlay {
  background: rgba(8,20,10,.58);
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,20,10,.88) 0%, rgba(8,20,10,.22) 60%, transparent 100%);
  transition: background .35s;
}
.card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px;
  color: var(--white);
  transform: translateY(5px);
  transition: transform .35s var(--ease);
}
.card:hover .card-body { transform: translateY(0); }
.card-icon { font-size: 1.35rem; margin-bottom: 7px; display: block; }
.card-body h3 {
  font-size: 1.06rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.card-body p {
  font-size: .83rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}
.badge {
  display: inline-block;
  background: var(--sand);
  color: var(--g-dark);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 7px;
}
.card-soon { opacity: .88; }

.play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.play-circle {
  width: 62px;
  height: 62px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cc0000;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
  transition: transform .25s var(--ease), background .25s;
}
.play-circle svg { width: 26px; height: 26px; margin-left: 4px; }
.card:hover .play-circle { transform: scale(1.12); background: #fff; }


/* ============================================================
   NETZWERK
   ============================================================ */
.netzwerk {
  position: relative;
  padding: 128px 0;
  background-image: url('https://images.unsplash.com/photo-1448375240586-b06dcbed4b91?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.netzwerk-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,20,12,.8);
}
.netzwerk-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
}
.netzwerk-content h2 {
  color: var(--white);
  margin-bottom: 26px;
}
.netzwerk-content p {
  font-size: 1.02rem;
  color: rgba(255,255,255,.78);
  line-height: 1.9;
  margin-bottom: 14px;
}
.netzwerk-sub {
  font-size: .93rem !important;
  color: rgba(255,255,255,.55) !important;
}


/* ============================================================
   ÜBER LEONHARD
   ============================================================ */
.about {
  padding: 108px 0;
  background: var(--cream-lt);
}
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-col { position: relative; }
.about-img-wrap {
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--sh-lg);
  background: var(--g-forest);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  letter-spacing: .08em;
  text-align: center;
}
.img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: .4;
}
.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--g-mid);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--r);
  box-shadow: var(--sh-md);
}
.about-text .label { display: block; }
.about-text h2 { color: var(--g-dark); margin-bottom: 22px; }
.about-text p {
  font-size: 1rem;
  color: var(--gray-w);
  line-height: 1.92;
  margin-bottom: 18px;
}
.about-text .btn { margin-top: 10px; }


/* ============================================================
   IDEALE KUNDEN
   ============================================================ */
.kunden {
  padding: 108px 0;
  background: var(--g-dark);
}
.kunden .sec-header .label { color: var(--sand-lt); }
.kunden .sec-header h2 { color: var(--white); }
.kunden .sec-header p  { color: rgba(255,255,255,.58); }
.kunden-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kunden-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-l);
  padding: 34px 26px;
  color: var(--white);
  transition: all .35s var(--ease);
}
.kunden-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.2);
}
.kunden-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--sand-lt);
}
.kunden-icon svg { width: 100%; height: 100%; }
.kunden-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.kunden-card p  { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.7; }


/* ============================================================
   WERTE
   ============================================================ */
.werte {
  padding: 108px 0;
  background: var(--cream-lt);
}
.werte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 60px;
}
.wert-icon {
  width: 38px;
  height: 38px;
  color: var(--g-mid);
  margin-bottom: 16px;
}
.wert-icon svg { width: 100%; height: 100%; }
.wert h3 {
  font-size: .98rem;
  color: var(--g-dark);
  margin-bottom: 9px;
}
.wert p {
  font-size: .88rem;
  color: var(--gray-w);
  line-height: 1.72;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 108px 0;
  background: var(--cream-dk);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.testi {
  background: var(--cream-lt);
  border-radius: var(--r-l);
  padding: 34px 26px;
  box-shadow: var(--sh-sm);
}
.testi-quote {
  font-family: var(--ff-head);
  font-size: 3.6rem;
  line-height: .9;
  color: var(--g-light);
  opacity: .22;
  margin-bottom: 6px;
}
.testi p {
  font-family: var(--ff-head);
  font-style: italic;
  font-size: 1.04rem;
  color: var(--gray-w);
  line-height: 1.62;
}


/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  padding: 108px 0;
  background: var(--g-dark);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.kontakt-info .label { display: block; }
.kontakt-info h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}
.kontakt-info > p {
  font-size: .97rem;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
  margin-bottom: 38px;
}
.kontakt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kontakt-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
}
.kontakt-list svg {
  width: 19px; height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--sand);
}
.kontakt-list a { transition: color .2s; }
.kontakt-list a:hover { color: var(--sand-lt); }

/* Form */
.kontakt-form-wrap {
  background: var(--cream-lt);
  border-radius: var(--r-l);
  padding: 44px;
  box-shadow: var(--sh-lg);
}
#contactForm { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 18px; }
.form-row.two-col { flex-direction: row; gap: 14px; }
.form-row.two-col .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--g-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-lt);
  border-radius: var(--r);
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--g-mid);
  box-shadow: 0 0 0 3px rgba(45,79,49,.13);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #c0392b; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Custom select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4a42' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-note {
  font-size: .76rem;
  color: var(--gray-m);
  text-align: center;
  margin-top: 2px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #101910;
  padding: 68px 0 0;
  color: rgba(255,255,255,.52);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p {
  font-size: .86rem;
  line-height: 1.85;
  color: rgba(255,255,255,.42);
  margin-top: 4px;
}
.footer-nav h4,
.footer-contact h4 {
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  font-size: .86rem;
  color: rgba(255,255,255,.48);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact address,
.footer-contact p {
  font-size: .86rem;
  line-height: 1.8;
  margin-bottom: 10px;
}
.footer-contact a { color: rgba(255,255,255,.48); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}
.footer-legal { display: flex; gap: 22px; }
.legal-btn {
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  font-family: var(--ff-body);
  transition: color .2s;
}
.legal-btn:hover { color: var(--white); }


/* ============================================================
   MODALS
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--cream-lt);
  border-radius: var(--r-l);
  padding: 48px 52px;
  max-width: 680px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: var(--sh-lg);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.7rem;
  color: var(--gray-m);
  line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--text); }
.modal-box h2 { color: var(--g-dark); font-size: 1.8rem; margin-bottom: 24px; }
.modal-box h3 { font-size: .95rem; color: var(--g-dark); margin: 22px 0 8px; }
.modal-box p, .modal-box address {
  font-size: .9rem;
  color: var(--gray-w);
  line-height: 1.75;
  margin-bottom: 6px;
}
.modal-box a { color: var(--g-light); text-decoration: underline; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .kunden-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid  { grid-template-columns: repeat(2, 1fr); }
  .werte-grid  { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--g-dark);
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 1050;
    animation: fadeUp .3s var(--ease);
  }
  .nav-links.open .nav-link { font-size: 1.25rem; }
  .nav-links.open .nav-link.nav-cta { font-size: 1.25rem; padding: 12px 30px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .intro-grid   { grid-template-columns: 1fr; gap: 40px; }
  .about-grid   { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 240px; margin: 0 auto; }
  .about-badge  { right: 0; bottom: -12px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 52px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .netzwerk { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .intro { padding: 72px 0; }
  .leistungen, .netzwerk, .about,
  .kunden, .werte, .testimonials, .kontakt { padding: 72px 0; }
  .sec-header { margin-bottom: 44px; }

  .cards-grid   { grid-template-columns: 1fr; }
  .kunden-grid  { grid-template-columns: 1fr; }
  .testi-grid   { grid-template-columns: 1fr; }
  .werte-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 36px; }
  .form-row.two-col { flex-direction: column; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .intro-stats  { gap: 18px; justify-content: center; flex-wrap: wrap; }
  .card         { height: 290px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .modal-box { padding: 32px 24px; }
  .kontakt-form-wrap { padding: 28px 22px; }
}
