/* GaLaBau-MT – Garten- & Landschaftsbau, Kassel
   Colors sampled exactly from the three customer designs (PIL):
   button green #34923c (D2 hero CTA), header button #2d6d19 (D2),
   service panel #19392a (D2), phone pill #16421f (D1),
   accent #7cbc04 (D1 "Garten."), ink #000000, body #494846,
   light bg #f5f5f5, trust bar #ebebeb, areas bar #f4f4f4,
   footer #121617, dark bar #161e21 (D3 trust bar),
   WhatsApp #1c914b, stars #fbbc05, header #ffffff. */
:root {
  --green-btn: #34923c;
  --green-btn-dark: #2d6d19;
  --green-panel: #19392a;
  --green-pill: #16421f;
  --green-accent: #7cbc04;
  --ink: #000000;
  --body: #494846;
  --bg-light: #f5f5f5;
  --bg-trust: #ebebeb;
  --bg-areas: #f4f4f4;
  --footer: #121617;
  --nav-dark: #161e21;
  --wa: #1c914b;
  --stars: #fbbc05;
  --radius: 4px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: #ffffff;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--green-btn-dark); }
.container { width: min(1480px, 94%); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-panel); color: #fff; padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header (Design 2: white bar) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #ffffff;
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.14); }
.header-inner {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 64px; padding-top: .35rem; padding-bottom: .35rem;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; } /* 2026-11-10: new GaLaBau logo has a subline, needs more height */
.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 600;
  letter-spacing: .06em; padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--green-btn); color: var(--green-btn-dark); }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 30px; height: 30px; color: var(--green-btn); flex: none; }
.header-phone span { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone strong { font-size: 1rem; }
.header-phone small { font-size: .72rem; color: var(--body); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: .5rem;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 999px; text-align: center;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green-btn); color: #fff; }
.btn-green:hover { background: var(--green-btn-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; background: rgba(0,0,0,.15); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #157a3e; }
.btn-big { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn-square { border-radius: var(--radius); }
.btn-header {
  background: var(--green-btn-dark); color: #fff; border-radius: var(--radius);
  padding: .6rem 1.1rem; font-size: .85rem; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
}
.btn-header:hover { background: var(--green-btn); }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--nav-dark); }
.slides { position: relative; height: clamp(480px, 62vh, 620px); }
/* No opacity/visibility transition here: the load-time fade left a stale
   ghost copy of slide 1's text painted in the browser (faded, enlarged,
   shifted). Slides switch instantly instead. */
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; pointer-events: auto; }
.slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 15, 8, .72) 0%, rgba(5, 15, 8, .38) 55%, rgba(5, 15, 8, .12) 100%);
}
/* Slide 1: NO gradient overlay at all — even a light one greys the white
   van. The photo is the cleaned van photo (hero1-van.jpg) — its baked-in
   text was removed, so the page text above is the only text (no doubling).
   The text sits over the dark excavator, so white text stays readable
   without any darkening. The icons get a dark-green disc so they stay
   readable over the light driveway on the right. */
.slide--clear .slide-overlay { display: none; }
.slide--clear .hero-icons svg { background: var(--green-panel); border-color: var(--green-panel); }
/* Slide 1 headline must stay left of the van (van starts ~37% of the frame):
   smaller than the other slides so "Mehr als nur" never reaches the cab or the "G". */
.slide--clear h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
/* Slide 1 text sits RIGHT of the van, over the excavator (dark, so white
   text stays readable). The cleaned photo puts the van on the left, so a
   left text column would cover its "GaLaBau-MT" lettering. The 33vw left
   margin scales with the viewport (the van always ends at ~31% of the
   width), so the text clears the van at any width. */
.slide--clear .slide-content {
  margin-left: clamp(280px, 33vw, 640px);
  padding-left: 0;
  max-width: min(620px, 60vw);
}
.slide-content {
  position: relative; z-index: 2; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; padding-top: 84px; padding-bottom: 64px;
  max-width: 780px;
}
.eyebrow {
  margin: 0 0 .7rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: #ffffff;
}
.eyebrow.dark { color: var(--green-btn-dark); }
.hero h1, .hero-title {
  margin: 0 0 .9rem; font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  line-height: 1.04; font-weight: 800; letter-spacing: -.01em;
}
.hero h1 { text-transform: none; }
.hero-title { text-transform: uppercase; }
.accent { color: var(--green-accent); }
.hero-sub { margin: 0 0 1rem; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.4; }
.hero-sub.strong { font-weight: 800; letter-spacing: .03em; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-text { margin: 0 0 1.5rem; font-size: 1rem; max-width: 560px; color: #f2f5f0; }
.hero-place { margin: 1.1rem 0 0; font-size: .95rem; font-weight: 600; display: flex; align-items: center; gap: .35rem; }
.hero-place svg { width: 18px; height: 18px; }
.hero-icons {
  list-style: none; margin: 0 0 1.4rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1.6rem;
}
.hero-icons li { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; font-size: .82rem; line-height: 1.25; max-width: 92px; }
.hero-icons svg { width: 44px; height: 44px; color: #fff; border: 1.5px solid rgba(255,255,255,.85); border-radius: 50%; padding: 9px; }
.google-badge { margin: 1.4rem 0 0; font-size: 1rem; }
.google-word { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; margin-right: .4rem; }
.google-word .g1 { color: #4285F4; } .google-word .g2 { color: #EA4335; }
.google-word .g3 { color: #FBBC05; } .google-word .g4 { color: #4285F4; }
.google-word .g5 { color: #34A853; } .google-word .g6 { color: #EA4335; }
.stars { color: var(--stars); letter-spacing: .1em; }
.badge-sub { display: block; font-size: .9rem; color: #d7e5d2; margin-top: .2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.25); color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--green-btn); border-color: var(--green-btn); }
.slider-arrow.prev { left: 14px; } .slider-arrow.next { right: 14px; }
.slider-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: .6rem;
}
.slider-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0;
}
.slider-dots button.is-active { background: var(--green-accent); border-color: var(--green-accent); }
.slider-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


/* ---------- Slide 1 redesign: split hero ----------
   The design photo has its text baked in, and it cannot be cleaned out
   of the full-bleed photo without leaving flat patches or a smeared ghost.
   So slide 1 is redesigned as a split: the text sits on a clean white
   panel (left), and the van photo — its baked-in text fragments cleaned
   out (images/hero1-van.jpg) — sits on the right. No text over the photo,
   so no doubled text. No green panel over the photo. The van and its
   "GaLaBau-MT" lettering stay fully visible. Slides 2 and 3 keep the
   full-bleed layout from the design. */
.slide--split {
  display: grid;
  grid-template-columns: minmax(430px, 44%) 1fr;
  background: #fff;
}
.slide--split .split-photo { grid-column: 2; grid-row: 1; min-width: 0; overflow: hidden; }
.slide--split .split-photo img {
  position: static; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.slide--split .split-content {
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem clamp(20px, 4vw, 64px);
  color: var(--ink); background: #fff;
}
.slide--split h1 { color: #000; font-size: clamp(1.9rem, 3vw, 2.9rem); }
.slide--split .hero-sub { color: #494846; }
.slide--split .hero-icons li { color: #494846; }
.slide--split .hero-icons svg { background: var(--green-panel); border-color: var(--green-panel); color: #fff; }
.slide--split .btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.slide--split .btn-outline:hover { background: #f0f0f0; }
.slide--split .badge-sub { color: #494846; }
.slide--split .google-badge strong { color: #000; }


/* Visually hidden (kept for screen readers / SEO, not shown on screen). */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Slide 1 is photo-only: the design photo itself carries the headline,
   sub, icons, buttons and Google badge, so no page text is drawn over it
   and nothing is doubled. No overlay, no panel — fully transparent,
   exactly like the reference image. */
.slide--photo img { object-position: center; }

/* ---------- Trust strip (Design 2: light) ---------- */
.trust { background: var(--bg-trust); color: var(--ink); padding: 1.2rem 0; }
.trust-inner {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: start;
}
.trust-item { display: flex; flex-direction: column; gap: .1rem; font-size: .86rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--green-panel); margin-bottom: .3rem; }
.trust-item strong { font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; }
.trust-item span:last-child { color: var(--body); font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding: 3.6rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: 2rem;
}
.section-head h2 { margin-bottom: 0; }
.section-head h1 { margin-bottom: 0; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; font-weight: 800; color: var(--ink); }
.section-sub { margin: .5rem 0 0; color: var(--body); font-size: 1rem; }
.section h2 {
  margin: 0 0 1rem; font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.12; font-weight: 800; color: var(--ink);
}
.section-intro { max-width: 560px; color: var(--body); margin: 0; font-size: .98rem; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center; }
.card-body { background: var(--green-panel); color: #fff; padding: 1.1rem 1.2rem 3.2rem; flex: 1; position: relative; }
.card-text { margin: 0 0 .6rem; font-size: .92rem; color: #e8f0e6; }
.card-body h3 {
  margin: 0 0 .6rem; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em;
}
.card-body ul { margin: 0; padding: 0; list-style: none; }
.card-body li { padding-left: 1.35rem; position: relative; margin: .32rem 0; font-size: .92rem; }
.card-body li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green-accent); font-weight: 800;
}
.card-arrow {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.6);
  color: #fff; text-decoration: none; font-size: 1.1rem;
}
.card-arrow:hover { background: var(--green-btn); border-color: var(--green-btn); }

/* ---------- Projects ---------- */
.projects { background: var(--bg-light); }
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start;
}
.project {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.project img, .project video { display: block; width: 100%; height: 240px; object-fit: cover; object-position: center; }
.project-body { padding: .8rem .9rem 1rem; }
.project-body h3 { margin: 0 0 .15rem; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.project-body p { margin: 0; color: var(--body); font-size: .86rem; }

/* ---------- About ---------- */
.about { background: #ffffff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; margin-bottom: 1.6rem;
}
.stat { border-left: 3px solid var(--green-btn); padding-left: 1rem; }
.stat svg { width: 26px; height: 26px; color: var(--green-panel); margin-bottom: .3rem; }
.stat strong { display: block; font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.stat span { color: var(--body); font-size: .92rem; }
.motto { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 0; }
.motto em { color: var(--green-btn-dark); }

/* ---------- Areas ---------- */
.areas { background: var(--bg-areas); text-align: center; }
.areas h2 { color: var(--ink); }
.area-list {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center;
}
.area-list li {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.area-list li svg { width: 16px; height: 16px; color: var(--green-panel); }
.area-list li:last-child { color: var(--body); font-weight: 500; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-light); text-align: center; }
.contact-inner { max-width: 720px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 1.6rem 0 1.8rem; }
.contact-address { font-style: normal; font-size: 1.02rem; color: var(--ink); line-height: 1.7; }

/* ---------- Footer (Design 1: dark bar) ---------- */
.site-footer { background: var(--footer); color: #e8e8e8; }
.footer-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding: 1.6rem 0; font-size: .95rem;
}
.footer-item { display: flex; align-items: center; gap: .55rem; }
.footer-item svg { width: 24px; height: 24px; color: #fff; flex: none; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding: 1.8rem 0; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-brand strong { font-size: 1.2rem; color: #fff; }
.footer-brand p { margin: .5rem 0 0; font-size: .92rem; color: #c9c9c9; }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a { color: #c9c9c9; text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact { font-size: .92rem; line-height: 1.9; color: #c9c9c9; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 1rem 0;
  font-size: .85rem; color: #9a9a9a;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  font-size: .92rem; padding: .7rem 1.1rem; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.whatsapp-float svg { width: 26px; height: 26px; flex: none; }
.whatsapp-float:hover { background: #157a3e; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-summary { text-align: left; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
  /* Tablet header: full nav + phone + button do not fit side by side
     (they overflowed and cut off the button). Show the hamburger menu
     from 1100px down, like on phones. */
  .main-nav {
    display: none; position: absolute; top: 64px; right: 0; left: 0;
    flex-direction: column; gap: 0; background: #ffffff;
    padding: .6rem 4%; margin: 0; box-shadow: 0 12px 24px rgba(0,0,0,.16);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; border-bottom: 1px solid #ebebeb; }
  .nav-toggle { display: block; }
  .header-phone, .btn-header { display: none; }
  .trust-inner { grid-template-columns: repeat(3, 1fr); }
  /* Tablet hero slide 1: the desktop left margin (33vw) squeezes the
     text column too much at this width. Smaller margin, wider column. */
  .slide--clear .slide-content {
    margin-left: clamp(180px, 26vw, 400px);
    max-width: min(560px, 64vw);
  }
  .hero-icons { gap: 1.1rem; }
}
@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute; top: 64px; right: 0; left: 0;
    flex-direction: column; gap: 0; background: #ffffff;
    padding: .6rem 4%; margin: 0; box-shadow: 0 12px 24px rgba(0,0,0,.16);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; border-bottom: 1px solid #ebebeb; }
  .nav-toggle { display: block; }
  .header-phone, .btn-header { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner, .footer-bar { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 700px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project img, .project video { height: 190px; }
}
@media (max-width: 560px) {
  /* Mobile hero: photo band ABOVE the text (stacked), so the vehicle is
     never hidden behind text — full-bleed text always covered it on phones.
     Grid-stack the slides so the slider grows to the tallest slide. */
  .slides { height: auto; display: grid; }
  /* Phones: only the active slide is in the layout at all. Inactive
     slides are display:none, so their text can never paint as a ghost
     copy over the active slide (seen in his phone screenshots). */
  .slide { position: relative; grid-area: 1 / 1; display: none; flex-direction: column; background: var(--nav-dark); }
  .slide.is-active { display: flex; }
  .slide img { position: relative; inset: auto; width: 100%; height: 300px; flex: none; object-fit: cover; }
  .slide-overlay { display: none; }
  .slide-content { min-height: 0; padding-top: 1.8rem; padding-bottom: 76px; justify-content: flex-start; }
  /* Slide 1 on phones: text sits below the photo (stacked), so the
     desktop left margin that clears the van must not push it off-screen. */
  .slide--clear .slide-content { margin-left: 0; padding-left: 0; max-width: none; }
  /* Slide 1 photo-only on phones: the photo fills the whole hero height
     (no stacked text below it), so the hero does not jump in height. */
  .slide--photo img { height: 100%; }

  /* Slide 1 split on phones: photo band on top, text below on white. */
  .slide--split { background: #fff; }
  .slide--split .split-photo img { height: 300px; }
  .slide--split .split-content { padding-top: 1.8rem; padding-bottom: 76px; }

  .eyebrow { font-size: .72rem; letter-spacing: .18em; }
  /* Phone hero icons: 3-column grid so the long labels
     (Pflasterarbeiten, Terrassenbau) fit inside their cell.
     As a flex row the first/last labels overflowed the screen
     edge and Media's phone showed "lasterarbeiten". */
  .hero-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem .6rem; }
  .hero-icons li { max-width: none; min-width: 0; font-size: .74rem; overflow-wrap: break-word; }
  .hero-cta .btn { width: 100%; }
  .slider-arrow { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .card img { height: 170px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project img, .project video { height: 170px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .trust-item { font-size: .8rem; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: .8rem; border-radius: 50%; }
  .section { padding: 2.6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}

.ref-category { margin-top: 2.4rem; }
.ref-category:first-of-type { margin-top: 1.4rem; }
.ref-category > h3 { font-size: 1.3rem; margin: 0 0 1rem; color: var(--ink); }

.project a { display: block; color: inherit; text-decoration: none; }

/* ---------- Lightbox (Referenzen photos, tap to enlarge) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox-caption { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: #fff; font-size: .95rem; padding: 0 60px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox-close { top: 14px; right: 16px; width: 46px; height: 46px; font-size: 1.7rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.9rem; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
body.lightbox-open { overflow: hidden; }

/* ---------- Reviews (real Google reviews) ---------- */
.reviews { background: #ffffff; }
.reviews-summary { text-align: right; }
.reviews-score { display: block; font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.reviews-summary .stars { color: var(--stars); font-size: 1.2rem; letter-spacing: .1em; }
.reviews-summary p { margin: .2rem 0 0; font-size: .9rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.6rem; }
.review { background: var(--bg-light); border-radius: var(--radius); padding: 1.2rem 1.2rem 1rem; box-shadow: var(--shadow); }
.review .stars { color: var(--stars); margin: 0 0 .6rem; letter-spacing: .1em; }
.review blockquote { margin: 0 0 .8rem; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.review-name { margin: 0; font-weight: 700; color: var(--ink); }
.review-meta { margin: 0; font-size: .82rem; }
.reviews-more { margin-top: 1.6rem; }

/* ---------- Legal pages (Impressum) ---------- */
.legal { background: #ffffff; }
.legal h1 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; color: var(--ink); }
.legal .legal-sub { color: var(--body); margin: 0 0 1.6rem; }
.legal h2 { margin: 1.8rem 0 .5rem; font-size: 1.25rem; color: var(--ink); }
.legal p, .legal address { line-height: 1.65; }
.legal address { font-style: normal; }
.legal a { color: var(--green-btn-dark); }

/* ---------- About text (SEO) ---------- */
.about-text { max-width: 760px; margin: 0 0 1.6rem; line-height: 1.65; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: .9rem; max-width: 640px; margin: 1.6rem 0 0; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .7rem .8rem; border: 1.5px solid #c9d4c6; border-radius: 8px; font: inherit; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green-panel); }
.contact-form .form-success { background: #e6f4ea; border: 1.5px solid #4c9a5b; color: #1d5c2a; padding: .8rem 1rem; border-radius: 8px; font-weight: 600; margin: 0; }
.contact-form .form-note { font-size: .85rem; color: #5a6b57; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-list details { border: 1px solid #e3e6e3; border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: .7rem; background: #fff; }
.faq-list summary { font-weight: 700; color: var(--ink); cursor: pointer; }
.faq-list details p { margin: .6rem 0 0; color: var(--body); line-height: 1.6; }
