/* Garten und Grünanlagen Dirk Frentzel · gartenbau-magdeburg.de
   Look B „erdig und warm“. Reines CSS, keine Abhängigkeiten, keine Webfonts.
   Aufbau: 1 Grundlagen · 2 Kopf · 3 Startseite · 4 Unterseiten · 5 Fuß und
   mobile Leiste · 6 Arbeitsstand (vor dem Go-live entfernen) */

/* 1 Grundlagen ------------------------------------------------------------ */
:root {
  --beige: #f6f1e7;
  --beige-2: #efe7d8;
  --green: #1f3b2a;
  --green-2: #2c5239;
  --terra: #c2653a;
  --terra-2: #a8522b;
  --gold: #e9c46a;
  --ink: #22312a;
  --muted: #5e6a62;
  --line: #e2d8c6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--beige); color: var(--ink); font-family: var(--sans); line-height: 1.55; font-size: 17px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(32px, 4.4vw, 46px); }
h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 10px; }
h3 { font-size: 22px; }
em { color: var(--terra); }
p { margin: 0 0 14px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
main [id] { scroll-margin-top: 100px; }
section { padding: 72px 0; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: 10px; }
.kicker .blatt { width: 13px; height: 13px; fill: currentColor; margin-right: 8px; vertical-align: -1px; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { left: 8px; }

/* Fotos: fester Rahmen, Bild füllt ihn aus */
.ph { position: relative; overflow: hidden; background: var(--beige-2); display: flex; align-items: flex-end; padding: 10px 12px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.oben img { object-position: center 30%; }

/* Knöpfe */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; }
.btn-green { background: var(--green); color: var(--beige); }
.btn-green:hover { background: var(--green-2); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-2); }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: rgba(31,59,42,.06); }
.btn + .btn { margin-left: 10px; }

/* 2 Kopf ------------------------------------------------------------------ */
header { position: sticky; top: 0; z-index: 10; background: rgba(246,241,231,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.brand { font-family: var(--serif); font-size: 21px; text-decoration: none; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.brand em { font-style: italic; }
nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; font-size: 15px; }
nav a { text-decoration: none; color: var(--ink); }
nav a:hover { color: var(--terra); }

/* 3 Startseite ------------------------------------------------------------ */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero h1 { margin-bottom: 16px; }
.hero .ph { height: 400px; border-radius: 22px 22px 22px 110px; justify-content: flex-end; }
.hero .actions { margin-top: 22px; }
.hero .sub { margin-top: 14px; font-size: 14px; color: var(--muted); }

.band { background: var(--green); color: var(--beige); padding: 26px 0; }
.band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.band div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px 20px; }
.band div + div { border-left: 1px solid rgba(255,255,255,.14); }
.band b { font-family: var(--serif); font-size: 27px; font-weight: 400; color: var(--gold); white-space: nowrap; line-height: 1.1; }
.band span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b8c6ba; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(31,59,42,.08); display: flex; flex-direction: column; }
.card .ph { height: 170px; }
.card .body { padding: 18px 20px 20px; }
.card h3 { margin-bottom: 6px; min-height: 2.25em; }
.card p { font-size: 15px; margin: 0 0 6px; }
.card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin: 2px 0; }

.refs { background: var(--beige-2); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.ref .ph { height: 230px; border-radius: 14px; }
.ref h3 { font-size: 20px; margin: 14px 0 4px; }
.ref p { color: var(--muted); font-size: 15px; margin: 0; }
.clients { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.clients h3 { font-size: 18px; margin-bottom: 10px; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.clients li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

.about .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: stretch; }
.about .ph { min-height: 380px; border-radius: 110px 22px 22px 22px; }
.about p { font-size: 17px; }
.about h3 { font-size: 19px; margin: 18px 0 6px; }
.about .gebiet { font-size: 15px; color: var(--muted); margin: 0; }

.jobs { padding: 0 0 72px; }
.jobs .box { background: #fff; border-left: 6px solid var(--terra); border-radius: 12px; padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; box-shadow: 0 8px 24px rgba(31,59,42,.06); }
.jobs h3 { margin-bottom: 6px; }
.jobs p { margin: 0; color: var(--muted); }

.contact { background: var(--green); color: var(--beige); }
.contact .kicker { color: var(--gold); }
.contact .lead { color: #cfd9cf; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact .block { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px 26px; }
.contact .block h3 { font-size: 18px; margin-bottom: 10px; color: var(--gold); }
.contact .block h3 + h3, .contact .block p + h3 { margin-top: 18px; }
.contact .big { font-family: var(--serif); font-size: 30px; text-decoration: none; display: block; margin: 6px 0 4px; }
.contact .block p { margin: 0 0 8px; }
.contact .block a { color: var(--beige); }
.contact .maplink { display: inline-block; margin-top: 8px; font-size: 15px; }
.zusagen { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.zusagen li { position: relative; padding-left: 32px; }
.zusagen li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.zusagen li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 10px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 4 Unterseiten (Impressum, Datenschutz, Fehlerseite) --------------------- */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { margin-bottom: 8px; }
.page .stand { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.page h2 { font-size: 26px; margin: 36px 0 10px; }
.page h3 { font-size: 19px; margin: 22px 0 6px; }
.page address { font-style: normal; margin-bottom: 14px; }
.page ul { padding-left: 20px; margin: 0 0 14px; }
.page li { margin: 4px 0; }
.page a { color: var(--terra-2); }
.page .btn-terra, .page .btn-terra:hover { color: #fff; }
.page .box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 0 0 14px; }
.notfound { text-align: center; padding: 96px 0 120px; }
.notfound p { color: var(--muted); }
.notfound .btn { margin-top: 10px; }

/* 5 Fuß und mobile Leiste ------------------------------------------------- */
footer { background: #162b1f; color: #9fb3a3; font-size: 14px; padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
footer a { color: #cfd9cf; text-decoration: none; }
footer a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 14px; line-height: 1.45; }
.foot-brand b { color: #e9dcc4; font-weight: 600; }
.foot-brand .blatt { width: 28px; height: 28px; fill: var(--gold); flex: none; }
.foot-links { display: flex; align-items: center; gap: 18px; }
.callbar { display: none; }

@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 64px; }
  section { padding: 52px 0; }
  .nav { flex-wrap: wrap; padding: 12px 0 10px; gap: 8px 20px; }
  nav { width: 100%; }
  nav ul { gap: 18px; font-size: 14px; }
  .nav .btn { display: none; }
  .card .ph { height: 215px; }
  .card h3 { min-height: 0; }
  .hero .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero .ph { height: 260px; border-radius: 18px 18px 18px 70px; order: -1; }
  .about .ph { min-height: 0; height: 260px; border-radius: 70px 18px 18px 18px; }
  .band .wrap { grid-template-columns: 1fr; gap: 14px; }
  .band div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
  .cards, .ref-grid { grid-template-columns: 1fr; }
  .jobs .box { grid-template-columns: 1fr; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
  .hero .actions .btn { display: inline-block; }
  .page { padding: 36px 0 60px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--green); border-top: 1px solid rgba(255,255,255,.15); }
  .callbar a { color: var(--beige); text-decoration: none; text-align: center; padding: 16px 10px; font-weight: 600; font-size: 15px; }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.15); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .cards, .ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media print {
  header, footer a, .callbar, .skip, .ph span { display: none; }
  body { background: #fff; color: #000; }
}

/* 6 Arbeitsstand ---------------------------------------------------------
   Gelbe Markierungen und Foto-Hinweise. Vor dem Go-live: diesen Block
   löschen und in den HTML-Dateien die <mark>…</mark> und die <span> in den
   Fotorahmen entfernen. (Der Banner oben ist seit 23.10. weg.) */
mark { background: #fff3a8; color: inherit; padding: 0 4px; border-radius: 3px; }
.ph span { position: relative; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(20,30,22,.55); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(3px); }
