/* Lynora Gartenbau – statische Website */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto.woff2") format("woff2"); }

:root {
  --beige: #d6c3aa;
  --beige-hell: #e9d5b5;
  --rot: #820000;
  --text: #3a3a3a;
  --schwarz: #000;
  --breite: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); }
h1, h2, h3, h4 { font-family: "Roboto", system-ui, sans-serif; font-weight: 600; color: var(--schwarz); line-height: 1.2; margin: 0 0 .6em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* ---------- Kopfzeile ---------- */
.kopf { background: var(--beige); position: sticky; top: 0; z-index: 50; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--schwarz); }
.marke img { width: 52px; height: 52px; }
.marke-name { font-size: 30px; font-weight: 600; letter-spacing: -.5px; }
.marke-zusatz { font-size: 13px; font-weight: 600; margin-top: 10px; }
.menu-schalter { display: none; }
.menu-knopf { display: none; cursor: pointer; padding: 8px; }
.menu-knopf span, .menu-knopf span::before, .menu-knopf span::after { display: block; width: 26px; height: 2px; background: #fff; position: relative; content: ""; }
.menu-knopf span::before { position: absolute; top: -8px; }
.menu-knopf span::after { position: absolute; top: 8px; }
.hauptmenu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.hauptmenu a { display: block; padding: 8px 10px; color: #fff; text-decoration: none; font-size: 15px; }
.hauptmenu a:hover, .hauptmenu a[aria-current="page"] { color: var(--schwarz); }

@media (max-width: 921px) {
  .menu-knopf { display: block; }
  .hauptmenu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--beige); border-top: 1px solid rgba(0,0,0,.08); }
  .menu-schalter:checked ~ .hauptmenu { display: block; }
  .hauptmenu ul { flex-direction: column; padding: 8px 20px 16px; }
  .hauptmenu a { padding: 10px 0; color: var(--schwarz); }
  .marke-name { font-size: 24px; }
}

/* ---------- Hero ---------- */
.hero { background: #333 url("../img/hero.webp") center / cover no-repeat; position: relative; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.hero-innen { position: relative; max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-start { min-height: calc(100vh - 72px); display: flex; align-items: center; }
.hero-start .hero-innen { width: 100%; }
.hero-start .zeile1 { font-size: clamp(24px, 3.5vw, 40px); text-align: right; letter-spacing: -1px; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: 15%; }
.hero-start .zeile2 { font-family: "Roboto", sans-serif; font-weight: 600; color: #fff; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.35); margin-top: 0; font-size: clamp(36px, 5.6vw, 72px); letter-spacing: -1.5px; max-width: 760px; margin-left: 10%; }
@media (max-width: 767px) {
  .hero-start .zeile1, .hero-start .zeile2 { margin-left: 0; margin-right: 0; text-align: left; }
  .hero-start .zeile1 { margin-bottom: 24px; }
}
.hero-seite { padding: 70px 0; text-align: center; }
.hero-seite h1 { font-size: clamp(32px, 4.5vw, 50px); margin: 0; letter-spacing: -1px; }

/* ---------- Bereiche ---------- */
.bereich { padding: 70px 20px; }
.bereich-beige { background: var(--beige); }
.bereich-hell { background: var(--beige-hell); }
.innen { max-width: var(--breite); margin: 0 auto; }
.schmal { max-width: 720px; margin: 0 auto; }
.titel { text-align: center; font-size: clamp(28px, 3.5vw, 40px); }
.titel-linie { border: 0; border-top: 1px solid #000; width: 100%; max-width: 720px; margin: 0 auto 50px; }

/* Startseite: Schwerpunkte */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 34px; max-width: 900px; margin: 0 auto; }
.karte { display: block; text-decoration: none; color: inherit; }
.karte img { transition: transform .25s, box-shadow .25s; }
.karte:hover img, .karte:focus-visible img { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.karte:hover h3, .karte:focus-visible h3 { color: var(--rot); }
.karte img { border-radius: 12px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.karte h3 { font-size: 16px; font-weight: 500; margin: 14px 0 6px; font-family: "Poppins", sans-serif; }
.karte p { font-size: 12.5px; color: #555; margin: 0; line-height: 1.6; }
@media (max-width: 767px) { .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; } }
@media (max-width: 420px) { .raster { grid-template-columns: 1fr; } }

/* Zitat */
.zitat { text-align: center; }
.zitat blockquote { margin: 0 auto 26px; max-width: 640px; font-family: "Roboto", sans-serif; font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: #000; line-height: 1.3; letter-spacing: -.5px; }
.zitat img { width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; }
.zitat .name { font-size: 12px; margin-top: 6px; }

/* Aufruf */
.aufruf { text-align: center; }
.aufruf h2 { font-size: clamp(36px, 4vw, 58px); }
.knopf { display: inline-block; background: var(--rot); color: #fff; padding: 10px 26px; text-decoration: none; font-size: 14px; border-radius: 2px; margin-top: 10px; }
.knopf:hover { background: #5c0000; }

/* Dienstleistungen */
.dienst { scroll-margin-top: 90px; padding: 30px 0 40px; border-bottom: 1px solid #ddd; }
.dienst:last-child { border-bottom: 0; }
.dienst h2 { font-size: 17px; font-family: "Poppins", sans-serif; }
.dienst p { font-size: 13.5px; text-align: justify; }
.dienst img { border-radius: 14px; margin-top: 24px; width: 100%; }

/* Kontaktblock */
.kontakt h2 { text-align: center; font-size: clamp(24px, 3vw, 34px); margin-bottom: 40px; }
.kontakt-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; max-width: 900px; margin: 0 auto; }
.kontakt-spalten strong { display: block; color: #000; margin-bottom: 8px; }
.kontakt-spalten a { color: #000; font-weight: 600; text-decoration: none; }
.kontakt-spalten a:hover { color: var(--rot); }
@media (max-width: 767px) { .kontakt-spalten { grid-template-columns: 1fr; } }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galerie a { display: block; overflow: hidden; border-radius: 6px; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.galerie a:hover img { transform: scale(1.04); }
.galerie figure { margin: 0; }
.galerie figcaption { font-size: 13px; text-align: center; padding-top: 6px; }
@media (max-width: 767px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lightbox (per JS) */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; z-index: 200; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; padding: 10px 18px; line-height: 1; }
.lb-zu { top: 10px; right: 10px; }
.lb-zurueck { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-vor { right: 10px; top: 50%; transform: translateY(-50%); }

/* Über uns */
.ueber { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: start; }
.ueber img { border-radius: 12px; }
.ueber p { text-align: justify; }
@media (max-width: 767px) { .ueber { grid-template-columns: 1fr; } }

/* Rechtstexte */
.recht { font-size: 14px; }
.recht h2 { font-size: 22px; margin-top: 1.4em; }
.recht h3 { font-size: 17px; margin-top: 1.2em; }

/* ---------- Fusszeile ---------- */
.fuss { background: #fff; border-top: 1px solid #eee; padding: 22px 20px; text-align: center; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.fuss a { color: var(--text); text-decoration: none; font-size: 14px; }
.fuss a:hover { color: var(--rot); }
.nach-oben { position: fixed; right: 18px; bottom: 18px; width: 34px; height: 34px; background: var(--rot); color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 3px; font-size: 16px; opacity: .85; }
.nach-oben:hover { opacity: 1; }
