/* ============================================================
   Vorteil Werbung – neue statische Website
   Design übernommen von der bestehenden WordPress-Seite (Enfold)
   Farben: Grün #9ac643 (einheitlich, 12.07.26) · Dunkel #333 · Text #444
   ============================================================ */

/* Open Sans lokal eingebunden (variabler Font, DSGVO-konform ohne Google-Server) */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --gruen: #9ac643;      /* vereinheitlicht auf Marker-Grün (Axel 12.07.) */
  --gruen-dunkel: #83a839; /* dunklere Stufe von #9ac643 für Hover */
  --dunkel: #333333; /* 80% Schwarz – Axel: dunkles Grau, kein Schwarz */
  --text: #444444;
  --h3-grau: #606060;
  --box-grau: #f5f5f5;
  --hellgruen: #f4f9e6;   /* CTA-Kästen, Seitenleisten-Fuß */
  --einfassung: #d5ea9d;  /* Seitenrand links/rechts */
  --markergruen: #9ac643; /* Überschriften-Marker (Stufe 2) */
}

* { box-sizing: border-box; }

html {
  background: var(--gruen);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

/* ---------- Seitenrahmen ---------- */
.seite {
  max-width: 1310px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,0.18);
}

/* ---------- Header ---------- */
.kopf {
  background: var(--dunkel);
  text-align: center;
  padding: 40px 20px 39px; /* Gesamt inkl. Nav ≈ 230px, Logogröße unverändert (Axel 12.07.) */
}
.kopf .logo {
  display: block;
  line-height: 0; /* keine Baseline-Lücke unterm Logo */
}
.kopf .logo img {
  width: 433px; /* SVG-viewBox auf Inhalt beschnitten (306.5:67.4) – sichtbare Logogröße wie bei 480px unbeschnitten, Höhe ≈ 95px */
  max-width: 90%;
  height: auto;
  display: inline-block;
}

/* ---------- Navigation ---------- */
.hauptnav {
  background: var(--dunkel);
  border-top: 1px solid #fff; /* weiße Linie wie alte Website (Axel 12.07.) */
  position: sticky;
  top: 0;
  z-index: 100;
}
.hauptnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 10px;
  max-width: 1270px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.hauptnav li { position: relative; }
.hauptnav li + li::before {
  content: "|";
  color: #666;
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 200;
}
.hauptnav a {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  padding: 14px 13px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.hauptnav a:hover { color: var(--gruen); }
.hauptnav li.aktiv a {
  color: var(--gruen);
  border-bottom-color: var(--gruen);
}
.nav-schalter, .nav-label { display: none; }

/* ---------- Breadcrumb: linksbündig mit dem Inhalt (Axel-Wunsch) ---------- */
.brotkrumen {
  text-align: left;
  font-size: 11px;
  color: var(--dunkel);
  padding: 10px 20px;
  padding-left: max(20px, calc((100% - 1020px) / 2 + 20px));
  border-bottom: 1px solid #ebebeb;
}
/* Seiten mit Seitenleiste: Inhalt beginnt weiter links (1150px-Raster, 100px Abstand zur Einfassung – Axel 12.07.) */
.brotkrumen:has(+ .layout-mit-leiste) {
  padding-left: max(20px, calc((100% - 1150px) / 2 + 20px));
}
.brotkrumen a { color: var(--dunkel); text-decoration: none; }
.brotkrumen a:hover { color: var(--gruen); }

/* ---------- Inhalt ---------- */
.inhalt {
  max-width: 1020px;
  margin: 0 auto;
  padding: 20px 20px 70px;
}

/* ---------- Überschriften mit Marker-Block (grün hinterlegt) ---------- */
h1 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.7;
  margin: 20px 0 4px;
}
h1 .marker, h2 .marker {
  background: var(--markergruen);
  color: #fff;
  padding: 3px 12px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Helle Seiten-Einfassung (links/rechts) statt kräftigem Grün – Ton von Axel gewählt */
body.rahmen-hell { background: var(--einfassung); }
body.rahmen-hell .seite { box-shadow: 0 0 25px rgba(0,0,0,0.10); }
.unterzeile {
  font-size: 20px;
  color: var(--dunkel);
  font-weight: 400;
  line-height: 1.4;
  margin: 6px 0 18px;
}
h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.7;
  margin: 32px 0 12px;
}
/* Kleinere H2-Varianten (Intro-, CTA- und FAQ-Überschriften) */
h2.fs23 { font-size: 21px; margin-top: 22px; }
h2.fs24 { font-size: 21px; }
h2.fs25 { font-size: 22px; }
h2.fs27 { font-size: 23px; margin-top: 22px; }
/* Kleine H2s: grüne Schrift statt grünem Block */
h2.fs23 .marker, h2.fs24 .marker, h2.fs25 .marker, h2.fs27 .marker {
  background: transparent;
  color: var(--gruen);
  padding: 0;
}
h3 {
  color: var(--dunkel);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  border-left: 4px solid var(--gruen);
  padding-left: 12px;
  margin: 26px 0 12px;
}
/* Enger Rhythmus: H3 direkt unter H2 rückt dicht heran */
h2 + h3 { margin-top: 6px; }
.banner + h2, .banner + h1 { margin-top: 20px; }
.seiteninhalt { margin: 25px 0; }
.cta { margin: 28px 0; }
h2 + p, h3 + p { margin-top: 0; }
p { margin: 0 0 14px; line-height: 1.75; }
/* Textlinks: dunkleres Grün für ausreichenden Kontrast (WCAG/BFSG) */
a { color: #55771c; }
a:hover { color: var(--gruen-dunkel); }
.inhalt p a, .inhalt li a { text-decoration: underline; text-underline-offset: 2px; }
/* Telefon- und E-Mail-Links im Inhalt: Marker-Grün (Axel 11.07.) */
.inhalt a[href^="tel:"], .inhalt a[href^="mailto:"] {
  color: var(--markergruen);
}
.inhalt a[href^="tel:"]:hover, .inhalt a[href^="mailto:"]:hover {
  color: var(--gruen-dunkel);
}

ul.liste, .inhalt section > ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--dunkel);
}
ul.liste li, .inhalt section > ul li { margin-bottom: 4px; }

/* ---------- Querbanner-Bilder ---------- */
.banner {
  margin: 30px 0 5px;
}
.banner img {
  width: 100%;
  height: auto;
  display: block;
}
.banner.oben { margin-top: 10px; }

/* ---------- Buttons ---------- */
.knopf {
  display: inline-block;
  background: var(--gruen);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  padding: 15px 26px;
  margin: 8px 0 20px;
  transition: background 0.2s ease;
}
.knopf:hover { background: var(--gruen-dunkel); color: #fff; }

/* ---------- Graue Info-Boxen (Einsatzbereiche / Vorteile) ---------- */
.boxen {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 10px 0 25px;
}
.box {
  flex: 1;
  min-width: 250px;
  background: var(--box-grau);
  padding: 20px;
  border-radius: 6px;
}
.box h3 {
  color: var(--gruen-dunkel);
  font-size: 19px;
  font-weight: 600;
  border-left: none;
  padding-left: 0;
  margin: 0 0 10px;
}
.box ul { margin: 0; padding-left: 20px; }
.box li { margin-bottom: 4px; }

/* ---------- Zitat ---------- */
.zitat {
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  padding: 22px 10px;
  margin: 35px 0;
  text-align: center;
  font-size: 18px;
  color: var(--h3-grau);
}

/* ---------- CTA-Block (grün getönter Kasten) ---------- */
.cta {
  margin: 35px 0;
  background: var(--hellgruen);
  border-left: 5px solid var(--gruen);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
}
.cta h2 { margin-top: 0; }
.cta h2 .marker { background: transparent; color: var(--gruen-dunkel); padding: 0; }
.cta .kontaktzeile {
  font-size: 17px;
  margin-bottom: 6px;
}
.cta a { font-weight: 700; text-decoration: none; }
.cta p:last-child { margin-bottom: 0; }

/* ---------- Seiteninhalt-Kasten (statt „Direkt zu"-Zeile) ---------- */
.seiteninhalt {
  background: var(--box-grau);
  border-radius: 6px;
  padding: 22px 28px 16px;
  margin: 35px 0;
}
.seiteninhalt .si-titel {
  font-weight: 600;
  color: var(--dunkel);
  font-size: 17px;
  margin: 0 0 12px;
}
.seiteninhalt ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 260px;
  column-gap: 40px;
  counter-reset: si;
}
.seiteninhalt li {
  counter-increment: si;
  margin-bottom: 10px;
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.seiteninhalt li::before {
  content: counter(si);
  flex: 0 0 auto;
  background: var(--gruen);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(3px);
}
.inhalt .seiteninhalt li a {
  color: var(--dunkel);
  text-decoration: none;
}
.seiteninhalt a:hover { color: var(--gruen-dunkel); }

/* ---------- FAQ (Akkordeon) ---------- */
.faq p { margin-bottom: 20px; }
.faq strong { color: var(--dunkel); }
.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fafafa;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--dunkel);
  list-style: none;
  position: relative;
  padding-right: 42px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gruen);
  font-size: 22px;
  font-weight: 600;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 14px; margin: 0; }

/* ---------- Galerie „Aktuelle Produktionen" ---------- */
.galerie {
  columns: 3 260px;
  column-gap: 20px;
  margin: 10px 0 25px;
}
.galerie a {
  display: block;
  margin-bottom: 20px;
  break-inside: avoid;
}
.galerie img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  transition: opacity 0.2s ease;
}
.galerie a:hover img { opacity: 0.85; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
  padding: 30px;
}
.lightbox.offen { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.lightbox .schliessen {
  position: absolute;
  top: 14px;
  right: 22px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------- Sprungnavigation ---------- */
.sprungnav {
  font-size: 15px;
  margin: 0 0 10px;
  color: #888;
}
.sprungnav a {
  color: var(--h3-grau);
  text-decoration: none;
  border-bottom: 1px dotted #aaa;
}
.sprungnav a:hover { color: var(--gruen-dunkel); border-bottom-color: var(--gruen-dunkel); }
section[id], .cta[id] { scroll-margin-top: 70px; }

/* ---------- Kontaktseite: Karte ---------- */
.karte {
  margin: 20px 0 10px;
}
.karte iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 6px;
  display: block;
}
.karten-hinweis {
  font-size: 13px;
  color: #888;
}
.karten-hinweis a { color: #55771c; }
/* Zwei-Klick-Lösung Google Maps (wie Direktdruck, Axel 12.07.) */
.karte-consent {
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px;
  background: var(--box-grau);
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  cursor: pointer;
}
.karte-consent:hover { background: #efefef; }
.karte-consent strong { font-size: 17px; color: var(--dunkel); }
.karte-consent p { margin: 0; max-width: 420px; color: var(--text); }
.karte-consent a { color: #55771c; }
.karten-aktionen { margin: 14px 0 6px; }

/* ---------- Großer Footer (4 Spalten, Stil wie Bilder Manufaktur / Dynamik Druck) ---------- */
.fussbereich {
  background: var(--dunkel);
  color: #c7c7c7;
  padding: 50px 30px 40px;
  font-size: 14px;
  line-height: 1.7;
}
.fuss-spalten {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 60px;
}
.fuss-claim { color: #999; margin: 0 0 16px; }
.fuss-titel {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}
.fuss-titel.klein { font-size: 14px; margin: 18px 0 4px; }
.fussbereich ul { list-style: none; margin: 0; padding: 0; }
.fussbereich li { margin-bottom: 8px; }
.fussbereich p { margin: 0 0 12px; }
.fussbereich a { color: #c7c7c7; text-decoration: none; }
.fussbereich a:hover { color: var(--gruen); }
.fuss-hinweis { color: #999; font-size: 13px; }
.fuss-sozial { display: inline-flex; gap: 14px; }
.fuss-sozial a { display: inline-flex; }
.fuss-sozial svg {
  width: 22px;
  height: 22px;
  fill: #888;
  transition: fill 0.2s ease;
}
.fuss-sozial a:hover svg { fill: var(--gruen); }
@media (max-width: 900px) {
  .fuss-spalten { gap: 30px; }
}

/* ---------- Footer / Socket ---------- */
.socket {
  background: var(--dunkel);
  color: #fff;
  font-size: 11px;
  padding: 14px 30px;
  border-top: 1px solid #3d3d3d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.socket a { color: #fff; text-decoration: none; }
.socket a:hover { color: var(--gruen); }
.socket .rechts { display: flex; align-items: center; gap: 14px; }
.socket .sozial a { display: inline-flex; }
.socket .sozial svg {
  width: 17px;
  height: 17px;
  fill: #888;
  transition: fill 0.2s ease;
}
.socket .sozial a:hover svg { fill: var(--gruen); }
/* Socket-Variante: nur Copyright, mittig (unter dem großen Footer) */
.socket-mittig { justify-content: center; text-align: center; }

/* ---------- Layout mit Seitenleiste (Variante Leistungsseiten) ---------- */
.layout-mit-leiste {
  max-width: 1150px; /* 100px Abstand Inhalt→Einfassung pro Seite (Axel 12.07.) */
  margin: 0 auto;
  padding: 20px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 45px;
}
.seitenleiste { align-self: stretch; }
.layout-mit-leiste .inhalt {
  max-width: none;
  margin: 0;
  padding: 0;
}
.leiste-box {
  position: sticky;
  top: 68px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* Passt die Box nicht komplett auf den Bildschirm, scrollt sie normal mit
   (setzt leiste.js per Klasse – verhindert Abschneiden + Scroll-Ruckeln, 12.07.) */
.leiste-box.leiste-statisch { position: static; }
.leiste-titel {
  margin: 0;
  padding: 14px 18px;
  background: var(--dunkel);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.leiste-box ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lb;
}
.leiste-box li { border-bottom: 1px solid #ececec; }
.leiste-box li:last-child { border-bottom: none; }
.leiste-box li a {
  counter-increment: lb;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  color: var(--dunkel);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.leiste-box li a::before {
  content: counter(lb);
  flex: 0 0 auto;
  background: var(--gruen);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.leiste-box li a:hover { background: var(--hellgruen); }
.leiste-box li.aktuell a {
  background: var(--gruen);
  color: #fff;
  font-weight: 600;
}
.leiste-box li.aktuell a::before {
  background: #fff;
  color: var(--gruen-dunkel);
}
.leiste-extra {
  background: var(--hellgruen);
  border-top: 1px solid #e2e2e2;
  padding: 12px 16px;
}
.leiste-extra a {
  display: block;
  color: var(--dunkel);
  font-size: 14px;
  text-decoration: none;
  padding: 4px 0;
}
.leiste-extra a:hover { color: var(--gruen-dunkel); }

/* ---------- Startseiten-Leiste: Fuß mit Direkt anfragen + Ratgeber ---------- */
.leiste-extra .la-titel {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dunkel);
}
.leiste-extra .la-knopf {
  display: block;
  text-align: center;
  background: var(--gruen);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.leiste-extra .la-knopf:hover { background: var(--gruen-dunkel); color: #fff; }
.leiste-extra .la-tel {
  display: block;
  text-align: center;
  margin-top: 4px;
  color: var(--dunkel);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.leiste-extra .la-tel:hover { color: var(--gruen-dunkel); }
.leiste-extra .le-ratgeber {
  border-top: 1px solid #e2e2e2;
  margin-top: 10px;
  padding-top: 10px;
}

/* ---------- Startseiten-Leiste: Beliebte Referenzen ---------- */
.leiste-referenzen {
  border-top: 1px solid #ececec;
  padding: 10px 16px 4px;
}
.leiste-referenzen .lr-titel {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dunkel);
}
.leiste-referenzen a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.leiste-referenzen img {
  flex: 0 0 auto;
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
}
.leiste-referenzen a:hover { color: var(--gruen-dunkel); }

/* ---------- Startseiten-Leiste: Öffnungszeiten im Fuß ---------- */
.le-zeiten {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
/* Inline-Inhaltskasten ausblenden, wenn die Seitenleiste ihn ersetzt */
.layout-mit-leiste .seiteninhalt { display: none; }
@media (max-width: 1080px) {
  .layout-mit-leiste { display: block; }
  .seitenleiste { display: none; }
  .layout-mit-leiste .seiteninhalt { display: block; }
}

/* ---------- Referenz-Übersicht (Aktuelles) ---------- */
.referenz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 20px 0 30px;
}
.referenz-karte {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--dunkel);
  transition: box-shadow 0.15s ease;
}
.referenz-karte:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.referenz-karte img {
  width: 100%;
  height: auto; /* überschreibt das height-Attribut – sonst Riesen-Vorschauen (Bug 12.07.) */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.referenz-karte .rk-titel {
  display: block;
  padding: 12px 16px 2px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
}
.referenz-karte:hover .rk-titel { color: var(--gruen-dunkel); }
.referenz-karte .rk-kat {
  display: block;
  padding: 0 16px 14px;
  font-size: 13px;
  color: #888;
}
.referenz-kat {
  font-size: 14px;
  color: #888;
  margin: 0 0 18px;
}
.referenz-kat a { color: #55771c; text-decoration: none; }
.referenz-kat a:hover { color: var(--gruen-dunkel); }

/* ---------- Historie mit Fotos + Zeitstrahl (Über uns) ---------- */
.historie {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 45px;
  margin: 30px 0 10px;
  align-items: start;
}
.historie-fotos figure { margin: 0 0 28px; }
.historie-fotos figcaption {
  font-size: 15px;
  color: var(--dunkel);
  margin-bottom: 8px;
}
.historie-fotos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}
.historie-zeitstrahl ul {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--dunkel);
}
.historie-zeitstrahl li { margin-bottom: 6px; }
@media (max-width: 900px) {
  .historie { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Profil-Karten (Buchstaben-Seite) ---------- */
.profil-karten {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
  margin: 15px 0 25px;
}
.profil-karte {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.profil-karte img {
  width: 100%;
  height: auto;
  display: block;
}
.profil-karte .profil-text { padding: 14px 18px 16px; }
.profil-karte h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--gruen-dunkel);
}
.profil-karte ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text);
}
.profil-karte li { margin-bottom: 3px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .nav-label {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    padding: 13px 20px;
    cursor: pointer;
    user-select: none;
  }
  .nav-label::before { content: "☰  "; color: var(--gruen); }
  .hauptnav ul {
    display: none;
    flex-direction: column;
    padding: 0;
  }
  .hauptnav li + li::before { content: none; }
  .hauptnav a {
    border-bottom: 1px solid #3d3d3d;
    padding: 13px 20px;
  }
  .nav-schalter:checked ~ ul { display: flex; }
  h1 { font-size: 26px; }
  .unterzeile { font-size: 17px; }
  .socket { justify-content: center; text-align: center; }
}
