/* Haubruck – Ersatz-Website (statisch, ohne externe Dienste) */
:root {
  --grau: #3a3939;
  --grau-hell: #6b6a6a;
  --gruen: #95c11f;
  --gruen-dunkel: #6f9214;
  --gelb: #fbb900;
  --flaeche: #f5f5f3;
  --linie: #e3e3e0;
  --weiss: #ffffff;
  --radius: 10px;
  --breite: 1120px;
}

* { 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(--grau);
  background: var(--weiss);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--gruen-dunkel); }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }

/* Kopf */
header.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(6px);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.kopf .logo img { height: 52px; width: auto; }
.kopf nav { display: flex; gap: 22px; align-items: center; }
.kopf nav a { color: var(--grau); text-decoration: none; font-weight: 500; }
.kopf nav a:hover { color: var(--gruen-dunkel); }
.knopf {
  display: inline-block; background: var(--gruen); color: var(--weiss) !important;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.knopf:hover { background: var(--gruen-dunkel); }
.knopf.hell { background: var(--weiss); color: var(--grau) !important; }
.knopf.hell:hover { background: var(--gelb); }

/* Bühne */
.buehne {
  position: relative; color: var(--weiss);
  background: var(--grau) url("bilder/hero.jpg") center / cover no-repeat;
}
.buehne::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 30, 30, 0.82) 0%, rgba(30, 30, 30, 0.55) 55%, rgba(30, 30, 30, 0.15) 100%);
}
.buehne .wrap { position: relative; padding-top: 96px; padding-bottom: 96px; }
.buehne .unterzeile { color: var(--gelb); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; margin: 0 0 10px; }
.buehne h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; margin: 0 0 18px; max-width: 16ch; }
.buehne p { font-size: 19px; max-width: 46ch; margin: 0 0 28px; }
.buehne .aktionen { display: flex; gap: 12px; flex-wrap: wrap; }

/* Abschnitte */
section { padding: 72px 0; }
section.grau { background: var(--flaeche); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; }
.einleitung { max-width: 62ch; color: var(--grau-hell); margin: 0 0 36px; }
.akzent { display: block; width: 48px; height: 4px; background: var(--gruen); border-radius: 2px; margin-bottom: 18px; }

/* Leistungen */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.karte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.karte .flaeche-pv {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gelb), var(--gruen));
  color: var(--weiss); font-weight: 700; font-size: 26px; letter-spacing: 0.02em;
}
.karte .inhalt { padding: 20px 22px 24px; }
.karte h3 { margin: 0 0 8px; font-size: 21px; }
.karte p { margin: 0 0 10px; color: var(--grau-hell); }
.karte ul { margin: 0; padding-left: 18px; color: var(--grau-hell); }

/* Über uns */
.zweispaltig { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.merkmale { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.merkmale li { background: var(--weiss); border-left: 4px solid var(--gruen); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Kontakt */
.kontakt { background: var(--grau); color: var(--weiss); }
.kontakt h2 { color: var(--weiss); }
.kontakt .einleitung { color: #d6d6d4; }
.kontakt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.kontakt-box { background: rgba(255, 255, 255, 0.07); border-radius: var(--radius); padding: 22px; }
.kontakt-box h3 { margin: 0 0 8px; color: var(--gelb); font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; }
.kontakt-box p { margin: 0; font-size: 18px; }
.kontakt a { color: var(--weiss); }

/* Fuß */
footer { background: #2b2a2a; color: #bdbdbb; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
footer a { color: #e6e6e4; margin-left: 18px; }

/* Rechtstexte */
.rechtstext { max-width: 760px; }
.rechtstext h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 24px; }
.rechtstext h2 { font-size: 22px; margin: 32px 0 8px; }
.rechtstext p, .rechtstext li { color: var(--grau); }

@media (max-width: 820px) {
  .kopf nav a:not(.knopf) { display: none; }
  .kopf .logo img { height: 42px; }
  .zweispaltig { grid-template-columns: 1fr; gap: 28px; }
  .buehne .wrap { padding-top: 64px; padding-bottom: 64px; }
  section { padding: 52px 0; }
  footer a { margin: 0 18px 0 0; }
}
