/* Lechgrün Garten & Landschaftsbau — Demo-Website GaLaBau 1
   Tannengrün #1E3A2B · Kalkweiß #F4F2ED · Terrakotta #B5643C · Anthrazit #232A26
   Systemschriften, keine externen Verbindungen. */

:root {
  --gruen: #1E3A2B;
  --gruen-dunkel: #16291F;
  --terra: #B5643C;
  --terra-dunkel: #96502F;
  --kalk: #F4F2ED;
  --linie: #E1DBD0;
  --text: #232A26;
  --text-leise: #55605A;
  --weiss: #FFFFFF;
  --hell-auf-gruen: #D8E0D9;
  --leise-auf-gruen: #A8B6AC;

  --breit: 1320px;
  --schmal: 800px;

  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
             Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gruen); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
label:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.22; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.springen {
  position: absolute; left: -9999px;
  background: var(--terra); color: #fff; padding: .8rem 1.2rem; z-index: 200;
}
.springen:focus { left: .5rem; top: .5rem; }

/* ---------------------------------------------------------------- Raster */

.innen { width: min(100% - 2.5rem, var(--breit)); margin-inline: auto; }
.innen.schmal { width: min(100% - 2.5rem, var(--schmal)); margin-inline: auto; }

.band { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.band-kalk { background: var(--kalk); }
.band-dunkel { background: var(--gruen); color: var(--hell-auf-gruen); }
.band-dunkel h2, .band-dunkel h3 { color: #fff; }

.gross { font-size: 1.2rem; }
.klein { font-size: .9rem; color: var(--text-leise); }

/* ------------------------------------------------------------ Demo-Hinweis */

.hinweis-schalter { position: absolute; opacity: 0; pointer-events: none; }

.demo-schicht {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(22, 41, 31, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; overflow-y: auto;
}
.hinweis-schalter:checked ~ .demo-schicht { display: none; }

.demo-kasten {
  background: #fff; max-width: 640px; width: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 6px solid var(--terra);
}
.demo-marke {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: var(--terra); margin-bottom: .5rem;
}
.demo-kasten h2 { margin-bottom: .7em; }
.demo-kasten p { font-size: 1rem; }
.demo-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.demo-band {
  background: var(--text); color: var(--hell-auf-gruen);
  font-size: .88rem; text-align: center;
  padding: .55rem 1rem;
  border-bottom: 3px solid var(--terra);
}
.demo-band p { margin: 0; }
.demo-band a { color: #fff; }

/* -------------------------------------------------------------- Kopfzeile */

.servicezeile {
  background: var(--gruen-dunkel); color: #BCC9BE;
  font-size: .88rem;
  display: flex; flex-wrap: wrap; gap: .25rem 1.5rem;
  justify-content: center; padding: .5rem 1.25rem;
}
.servicezeile p { margin: 0; }
.servicezeile a { color: #fff; font-weight: 700; text-decoration: none; }

.kopf {
  background: #fff;
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 100;
}
.kopf-innen {
  width: min(100% - 2.5rem, var(--breit)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; flex-wrap: wrap;
}

.logo { text-decoration: none; color: var(--gruen); display: block; }
.logo-wort { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: .01em; line-height: 1; }
.logo-balken { display: block; width: 2.6rem; height: 4px; background: var(--terra); margin: .35rem 0 .28rem; }
.logo-zusatz {
  display: block; font-size: .74rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--text-leise);
}

.kopf nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; flex-wrap: wrap; }
.kopf nav a {
  text-decoration: none; color: var(--text);
  text-transform: uppercase; letter-spacing: .07em;
  font-size: .82rem; font-weight: 700;
  padding: .35rem 0; display: block;
  border-bottom: 3px solid transparent;
}
.kopf nav a:hover { color: var(--terra); }
.kopf nav a[aria-current="page"] { border-bottom-color: var(--terra); }

.menue-schalter { position: absolute; opacity: 0; pointer-events: none; }
.menue-knopf { display: none; }

@media (max-width: 949px) {
  .menue-knopf {
    display: inline-flex; align-items: center; gap: .5rem;
    text-transform: uppercase; letter-spacing: .09em; font-size: .82rem; font-weight: 700;
    border: 2px solid var(--gruen); color: var(--gruen);
    padding: .5rem .8rem; cursor: pointer;
  }
  .menue-knopf span { width: 18px; height: 2px; background: var(--gruen); position: relative; display: block; }
  .menue-knopf span::before, .menue-knopf span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--gruen);
  }
  .menue-knopf span::before { top: -6px; }
  .menue-knopf span::after { top: 6px; }

  .kopf nav { display: none; width: 100%; }
  .menue-schalter:checked ~ nav { display: block; }
  .kopf nav ul { flex-direction: column; gap: 0; padding-top: .5rem; }
  .kopf nav li { border-top: 1px solid var(--linie); }
  .kopf nav a { padding: .8rem 0; border-bottom: none; }
  .kopf nav a[aria-current="page"] { color: var(--terra); }
}

/* ----------------------------------------------------------------- Bühne */

/* Mobil: Bild in voller Höhe, Text darunter. Nie ins Motiv hineinschneiden. */
.buehne-bild img { width: 100%; }
.buehne-text { background: var(--gruen); color: #fff; padding: clamp(1.75rem, 5vw, 2.5rem) 1.25rem; }
.buehne-innen { width: min(100%, var(--breit)); margin-inline: auto; }
.buehne h1 { color: #fff; margin-bottom: .4em; }
.buehne-text p { font-size: 1.15rem; color: var(--hell-auf-gruen); max-width: 34em; }

@media (min-width: 950px) {
  .buehne { position: relative; }
  .buehne-bild img { width: 100%; max-height: 70vh; object-fit: cover; object-position: center 50%; }
  .buehne-text {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
      rgba(22, 41, 31, .92) 0%, rgba(22, 41, 31, .66) 44%, rgba(22, 41, 31, 0) 86%);
    display: flex; align-items: center; padding-inline: 0;
  }
  .buehne-innen { width: min(100% - 2.5rem, var(--breit)); }
  .buehne-text p { max-width: 30em; }
}

.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.knopf {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .85rem;
  padding: .9rem 1.5rem; border: 2px solid transparent;
}
.knopf-terra { background: var(--terra); color: #fff; }
.knopf-terra:hover { background: var(--terra-dunkel); }
.knopf-hell { background: #fff; color: var(--gruen); }
.knopf-hell:hover { background: var(--kalk); }
.knopf-linie { border-color: var(--gruen); color: var(--gruen); background: transparent; }
.knopf-linie:hover { background: var(--gruen); color: #fff; }

/* Auf dunklem Grund läuft die Linienvariante weiß, sonst verschwindet sie. */
.abschluss .knopf-linie, .band-dunkel .knopf-linie, .buehne-text .knopf-linie {
  border-color: #fff; color: #fff;
}
.abschluss .knopf-linie:hover, .band-dunkel .knopf-linie:hover,
.buehne-text .knopf-linie:hover { background: #fff; color: var(--gruen); }

/* ------------------------------------------------------------- Seitenkopf */

.seitenkopf { background: var(--gruen); color: #fff; padding: clamp(2rem, 5vw, 3.25rem) 0; }
.seitenkopf h1 { color: #fff; }
.seitenkopf p { color: var(--hell-auf-gruen); font-size: 1.15rem; }

.seitenkopf.mit-bild { padding-top: 0; }
.seitenkopf.mit-bild .kopfbild { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.seitenkopf.mit-bild .kopfbild img { width: 100%; }
@media (min-width: 950px) {
  .seitenkopf.mit-bild .kopfbild img { max-height: 44vh; object-fit: cover; object-position: center 55%; }
}

/* ---------------------------------------------------------------- Kacheln */

.kacheln { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px)  { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kacheln { grid-template-columns: repeat(4, 1fr); } }

.kachel { background: #fff; border: 1px solid var(--linie); display: flex; flex-direction: column; }
.kachel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kachel-text { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.kachel-text h3 { color: var(--gruen); }
.kachel-text p { flex: 1; font-size: .97rem; }
.kachel-text a {
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem;
  color: var(--terra); text-decoration: none; margin-top: .8rem;
}
.kachel-text a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- Schritte */

.schritte { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritte li { border-top: 4px solid var(--linie); padding-top: 1.1rem; }
.schritt-zahl {
  display: inline-block; font-size: 2.2rem; font-weight: 800; color: var(--terra);
  line-height: 1; margin-bottom: .35rem;
}

/* ----------------------------------------------------------------- Gründe */

.gruende { display: grid; gap: 1.75rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 800px) { .gruende { grid-template-columns: repeat(3, 1fr); } }
.gruende h3 { border-left: 4px solid var(--terra); padding-left: .8rem; }
.gruende p { color: var(--hell-auf-gruen); }

/* --------------------------------------------------------------- Streifen */

.streifen { display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) { .streifen { grid-template-columns: repeat(3, 1fr); } }
.streifen img { width: 100%; }
@media (min-width: 700px) { .streifen img { aspect-ratio: 3 / 2; object-fit: cover; } }

/* ------------------------------------------------------------- Zweispalter */

.zweispalt { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 950px) {
  .zweispalt { grid-template-columns: 5fr 6fr; }
  .zweispalt.gedreht .spalt-bild { order: 2; }
  .zweispalt.gedreht .spalt-text { order: 1; }
}
.spalt-bild img { width: 100%; }
.zweispalt + .zweispalt { margin-top: clamp(2.5rem, 6vw, 4rem); }

.haken, .kreuze, .nummern { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.haken li, .kreuze li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .55rem; height: .55rem; background: var(--terra);
}
.kreuze li::before {
  content: "×"; position: absolute; left: 0; top: 0;
  color: var(--terra); font-weight: 700; font-size: 1.2rem; line-height: 1.5;
}
@media (min-width: 700px) {
  .haken.zweizeilig { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
}

.nummern { list-style: decimal; padding-left: 1.3rem; }
.nummern li { margin-bottom: .6rem; }

.weiter {
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: .82rem; color: var(--terra); text-decoration: none;
}
.weiter:hover { text-decoration: underline; }

.merksatz { background: #fff; border-left: 4px solid var(--terra); padding: 1rem 1.25rem; }
.band .merksatz { background: var(--kalk); }
.band-kalk .merksatz { background: #fff; }

/* ------------------------------------------------------- Vorher / Nachher */

.vn { margin-top: 2rem; }
.vn + .vn { margin-top: clamp(2.5rem, 6vw, 4rem); }
.vn-paar { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
@media (min-width: 700px) { .vn-paar { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.vn-bild { background: #fff; border: 1px solid var(--linie); }
.vn-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vn-marke {
  margin: 0; padding: .55rem .9rem;
  text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 700;
  color: var(--text-leise);
}
.vn-bild.nachher .vn-marke { color: #fff; background: var(--terra); }
.vn-kopf { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
.vn-kopf h3 { margin: 0; }
.vn-kopf .eckdaten { color: var(--text-leise); font-size: .92rem; }

/* --------------------------------------------------------------- Projekte */

.projekte { display: grid; gap: 1.75rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 750px)  { .projekte { grid-template-columns: repeat(2, 1fr); } }
.projekt { background: #fff; border: 1px solid var(--linie); display: flex; flex-direction: column; }
.projekt img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.projekt-text { padding: 1.4rem; }
.projekt-text h3 { color: var(--gruen); margin-bottom: .3em; }
.projekt-text .eckdaten {
  color: var(--text-leise); font-size: .88rem;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8em;
}

/* --------------------------------------------------------------- Tabellen */

.tabellenrahmen { overflow-x: auto; margin: 1.5rem 0 .5rem; }
table.preise { border-collapse: collapse; width: 100%; min-width: 420px; }
table.preise th, table.preise td {
  text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--linie);
}
table.preise thead th {
  background: var(--gruen); color: #fff;
  text-transform: uppercase; letter-spacing: .07em; font-size: .8rem;
}
table.preise td:last-child { font-weight: 700; white-space: nowrap; }

table.zeiten { border-collapse: collapse; margin-bottom: 1.1em; }
table.zeiten td { padding: .35rem 1.5rem .35rem 0; vertical-align: top; }

/* ---------------------------------------------------------------- Fragen */

.fragen { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 850px) { .fragen { grid-template-columns: repeat(2, 1fr); } }
.frage { background: #fff; padding: 1.25rem 1.4rem; border-top: 4px solid var(--gruen); }
.frage h3 { color: var(--gruen); font-size: 1.05rem; }
.frage p { font-size: .97rem; margin: 0; }

/* -------------------------------------------------------------- Abschluss */

.abschluss { background: var(--gruen-dunkel); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.abschluss h2 { color: #fff; }
.abschluss p { color: var(--hell-auf-gruen); }

.tel-gross { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: .3em; }
.tel-gross a { color: var(--gruen); text-decoration: none; }

/* --------------------------------------------------------------- Formular */

.formular { margin-top: 1.75rem; }
.feld { margin-bottom: 1.1rem; }
.feld label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.freiwillig { font-weight: 400; color: var(--text-leise); }
.feld input, .feld textarea {
  width: 100%; font: inherit; color: inherit;
  padding: .7rem .8rem; border: 2px solid var(--linie); background: #fff;
}
.feld input:focus, .feld textarea:focus { border-color: var(--gruen); }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular button { border: none; }
.formular .klein { margin-top: 1rem; }

/* ------------------------------------------------------------------ Fuß */

.fuss { background: var(--gruen); color: var(--leise-auf-gruen); padding-top: clamp(2.25rem, 5vw, 3.25rem); }
.fuss a { color: #fff; }
.fuss-innen {
  width: min(100% - 2.5rem, var(--breit)); margin-inline: auto;
  display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2.25rem;
}
@media (min-width: 750px) { .fuss-innen { grid-template-columns: repeat(3, 1fr); } }
.fuss-logo { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.fuss-logo span {
  display: block; font-size: .74rem; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 400; color: var(--leise-auf-gruen); margin-top: .25rem;
}
.fuss-titel {
  text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 700;
  color: #fff; margin-bottom: .6rem;
}
.fuss-liste { list-style: none; padding: 0; margin: 0; }
.fuss-liste li { margin-bottom: .35rem; }

.fuss-hinweis {
  background: var(--gruen-dunkel);
  border-top: 3px solid var(--terra);
  padding: 1.5rem 1.25rem;
}
.fuss-hinweis p {
  width: min(100%, var(--breit)); margin-inline: auto;
  font-size: .88rem; color: var(--leise-auf-gruen);
}
.fuss-hinweis strong { color: #fff; }
.fuss-links { margin-top: .9rem !important; }
.fuss-sichtvoll { margin-top: .5rem !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* --------------------------------------------------- Rechtstextseiten */

/* Der Generatortext bleibt am Stück und ohne style-Angaben.
   Die gesamte Gestaltung sitzt hier. */
.rechtstext h2 { margin-top: 2.6rem; }
.rechtstext h3 { margin-top: 2.2rem; }
.rechtstext h4 { margin-top: 1.6rem; font-size: 1.02rem; }
.rechtstext h2:first-child, .rechtstext h3:first-child { margin-top: 0; }
.rechtstext p { margin-bottom: 1.1em; }
.rechtstext ul, .rechtstext ol { margin: 0 0 1.1em; padding-left: 1.4rem; }
.rechtstext li { margin-bottom: .4rem; }
.rechtstext a { word-break: break-word; }
.rechtstext .quellenhinweis {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
  font-size: .9rem; color: var(--text-leise);
}

/* Der Demo-Hinweis steht als eigener Kasten daneben, nicht im Generatortext. */
.demo-kasten-text {
  background: var(--kalk); border-left: 4px solid var(--terra);
  padding: 1.25rem 1.4rem; margin-bottom: 2.5rem;
}
.demo-kasten-text p { font-size: .97rem; }
