@charset "UTF-8";

/* ============================================
   Holzbau Traub GmbH – Stylesheet
   ============================================ */

:root {
  /* --- Hauptfarben: modernes Anthrazit + warmer Cognac-Akzent --- */
  --akzent:         #c08b5c;   /* gedämpfter Cognac – Hauptakzent */
  --akzent-dunkel:  #a87648;   /* dunkles Cognac für Hover */
  --akzent-hell:    #f5ece1;   /* sehr helles Cremebeige für Highlight-Boxen */

  --dunkel:         #1f2226;   /* fast schwarz – Headlines */
  --mittel:         #2c3036;   /* Anthrazit – Header/Footer */
  --mittel-hell:    #3a3f47;   /* Anthrazit-Akzent */

  --text-dunkel:    #1f2226;   /* Headlines / starker Text */
  --text-mittel:    #4a5058;   /* Lauftext */
  --text-grau:      #7a8088;   /* Sekundärtext */

  --sand:           #f4f1ec;   /* sehr dezent warmer Hintergrund */
  --sand-hell:      #faf8f5;   /* Page-Background */
  --weiss:          #ffffff;
  --linie:          #e3ddd4;   /* dezente Trennlinie */

  /* Headlines + Akzente = Fraunces (moderne Serif mit Charakter)
     Body + UI         = Manrope (klare, freundliche Sans)
     Beide werden lokal aus fonts/ geladen (siehe fonts/README.md).
     Solide Fallbacks, falls die woff2-Dateien (noch) fehlen. */
  --schrift-headline: 'Fraunces', Georgia, 'Times New Roman', Times, serif;
  --schrift-body:     'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --schrift-ui:       'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius:    6px;
  --shadow:    0 2px 10px rgba(31, 34, 38, 0.08);
  --shadow-lg: 0 6px 28px rgba(31, 34, 38, 0.14);
  --max-breite: 1000px;
  --nav-hoehe:  64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--schrift-body);
  color: var(--text-dunkel);
  background: var(--sand-hell);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-dunkel); text-decoration: none; }
a:hover { color: var(--akzent); text-decoration: underline; }

/* ---- Lokale Fonts (kein Google-Server, DSGVO-konform) ----
   Bezugsquelle: https://gwfh.mranftl.com – siehe fonts/README.md   */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-v15-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-v15-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-v15-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fraunces-v38-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fraunces-v38-latin-600.woff2') format('woff2');
}

/* ---- SKIP-LINK (Tastatur-Bedienung / Screenreader) ---- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--akzent);
  color: var(--weiss);
  padding: 0.65rem 1.1rem;
  font-family: var(--schrift-ui);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  z-index: 1000;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  color: var(--weiss);
  text-decoration: none;
  outline: 2px solid var(--weiss);
  outline-offset: -4px;
}

/* ---- HEADER ---- */
header {
  background: var(--mittel);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-hoehe);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo: Bild + Text-Tagline kombiniert */
.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--schrift-headline);
  font-weight: 600;
  font-size: 1.1rem;
  color: #f4ede1;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
}
.logo a:hover { color: var(--akzent); text-decoration: none; }
.logo img {
  height: 53px;
  width: auto;
  display: block;
}
.logo-text { display: flex; flex-direction: column; }
.logo span {
  display: block;
  font-family: var(--schrift-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: #c9bba6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

nav ul { list-style: none; display: flex; gap: 0.15rem; }
nav a {
  font-family: var(--schrift-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ebe3d4;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.aktiv {
  background: var(--akzent);
  color: var(--weiss);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.4rem;
  color: #ebe3d4;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ---- HERO (Startseite) ---- */
.hero-bild { position: relative; height: 480px; overflow: hidden; }

.hero-bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.hero-bild-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(31,34,38,0.30) 0%, rgba(31,34,38,0.62) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1.5rem;
}

.hero-bild-overlay h1 {
  font-family: var(--schrift-headline);
  font-size: 2.9rem; font-weight: 600;
  color: var(--weiss);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-bild-overlay p {
  font-family: var(--schrift-ui);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.hero-bild-overlay .hero-akzent {
  display: inline-block;
  font-family: var(--schrift-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(192, 139, 92, 0.6);
  border-radius: 999px;
  background: rgba(31, 34, 38, 0.35);
}

/* ---- HERO klein (alle anderen Seiten) ---- */
/* Etwas heller als der Header, damit er sich davon optisch absetzt */
.hero {
  background: linear-gradient(135deg, #373c43 0%, #454a53 100%);
  color: var(--weiss);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}
.hero h1 { font-family: var(--schrift-headline); font-size: 2.2rem; font-weight: 600; color: var(--weiss); letter-spacing: -0.01em; }
.hero p { font-family: var(--schrift-ui); color: rgba(255,255,255,0.82); margin-top: 0.6rem; font-size: 1rem; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--sand);
  border-bottom: 1px solid var(--linie);
  font-family: var(--schrift-ui);
  font-size: 0.82rem;
  color: var(--text-grau);
}
.breadcrumb-inner { max-width: var(--max-breite); margin: 0 auto; padding: 0.6rem 1.5rem; }
.breadcrumb a { color: var(--akzent-dunkel); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 0.4rem; color: var(--text-grau); }

/* ---- LAYOUT ---- */
.seiten-layout {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  flex: 1;
  align-items: start;
}
.inhalt { min-width: 0; }

/* ---- TYPOGRAFIE ---- */
h1, h2, h3, h4 { font-family: var(--schrift-headline); }
h1 { font-size: 2.1rem; font-weight: 600; color: var(--dunkel); line-height: 1.2;  margin-bottom: 1.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; font-weight: 600; color: var(--dunkel); margin-top: 2rem; margin-bottom: 0.75rem; letter-spacing: -0.005em; }
h3 { font-size: 1.08rem; font-weight: 600; color: var(--akzent-dunkel); margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-mittel); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-dunkel); font-weight: 600; }
hr { border: none; border-top: 1px solid var(--linie); margin: 2rem 0; }

/* ---- STARTSEITE ---- */
.start-intro { font-size: 1.05rem; line-height: 1.75; }

/* Bild links + Text rechts nebeneinander */
.foto-text {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  margin: 2rem 0;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.foto-text-bild {
  flex-shrink: 0;
  width: 280px;
  overflow: hidden;
}
.foto-text-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto-text-inhalt {
  padding: 1.75rem 1.75rem 1.75rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.foto-text-inhalt h2 { margin-top: 0; }
.foto-text-inhalt p {
  font-family: var(--schrift-ui);
  font-size: 0.95rem;
}
.foto-text-inhalt a {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--schrift-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--akzent-dunkel);
}

/* Highlight-Zitat */
.holz-highlight {
  background: var(--akzent-hell);
  border-left: 4px solid var(--akzent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  font-family: var(--schrift-headline);
  font-style: italic;
  color: var(--dunkel);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Imagefilm-Block */
.imagefilm { margin: 2.5rem 0 1rem; }
.imagefilm h2 { margin-top: 0; }
.video-rahmen {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-rahmen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Drei-Kachel-Block (Generationen, Werte usw.) */
.kachel-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.kachel {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kachel:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kachel .zahl {
  font-family: var(--schrift-headline);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--akzent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.kachel h3 {
  margin-top: 0;
  font-family: var(--schrift-ui);
  font-size: 0.95rem;
  color: var(--dunkel);
}
.kachel p {
  font-family: var(--schrift-ui);
  font-size: 0.85rem;
  color: var(--text-mittel);
  margin: 0;
}

/* ---- SIDEBAR ---- */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-box {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--shadow);
}

.sidebar-box h3 {
  font-family: var(--schrift-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--akzent-dunkel);
  margin-top: 0;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--linie);
}

.sidebar-box h3.lang {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--text-mittel);
  line-height: 1.45;
}

.sidebar-box p, .sidebar-box address {
  font-style: normal;
  font-family: var(--schrift-ui);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-mittel);
  margin-bottom: 0;
}
.sidebar-box a { font-family: var(--schrift-ui); font-size: 0.88rem; color: var(--akzent-dunkel); }
.sidebar-box .sidebar-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--schrift-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--akzent-dunkel);
  text-decoration: underline;
}

.mitglied-badge { display: block; text-align: center; }
.mitglied-badge img { width: calc(100% + 6px); height: auto; display: block; margin-top: 0.75rem; margin-left: -3px; }

/* Sidebar-Box als Video-Link mit Vorschaubild */
.sidebar-video { text-decoration: none; }
.sidebar-video:hover { text-decoration: none; }
.sidebar-video .video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  margin: 0.25rem 0 0.75rem;
}
.sidebar-video .video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  transition: transform 0.3s;
}
.sidebar-video .video-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(31, 34, 38, 0.78);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M8 5v14l11-7z'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(58% - 1px) center;
  background-size: 26px 26px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s, transform 0.2s;
}
.sidebar-video:hover .video-thumb img { transform: scale(1.04); }
.sidebar-video:hover .video-thumb::after {
  background-color: var(--akzent);
  transform: translate(-50%, -50%) scale(1.08);
}
.sidebar-video p {
  font-family: var(--schrift-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--akzent-dunkel);
  margin: 0;
}

/* ---- BUTTON ---- */
.btn {
  display: inline-block; background: var(--akzent); color: var(--weiss);
  font-family: var(--schrift-ui); font-size: 0.95rem; font-weight: 600;
  padding: 0.7rem 1.8rem; border: none; border-radius: var(--radius);
  cursor: pointer; transition: background 0.2s, transform 0.1s;
  margin-top: 1rem; letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover { background: var(--akzent-dunkel); transform: translateY(-1px); color: var(--weiss); text-decoration: none; }

/* ---- LEISTUNGS-BEREICH / PROJEKT-BLOCK ---- */
.leistung {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin: 1.75rem 0;
}
.leistung > h2:first-child { margin-top: 0; }
.leistung p:last-of-type { margin-bottom: 0; }

.leistung-galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.leistung-galerie a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.leistung-galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.leistung-galerie a:hover img { transform: scale(1.04); }

@media (max-width: 600px) {
  .leistung-galerie { grid-template-columns: repeat(2, 1fr); }
  .leistung { padding: 1.25rem; }
}

/* ---- LIGHTBOX (Galerie auf leistungen.html) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.93);
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  user-select: none;
  animation: lb-fade 0.18s ease-out;
}
.lightbox.offen { display: flex; }

@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-bild-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  cursor: default;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  display: block;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  background: #1a1d22;
}

.lightbox-schliessen,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--weiss);
  border-radius: 50%;
  font-family: var(--schrift-ui);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  z-index: 10000;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 2rem;
  padding-bottom: 4px;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--akzent);
  transform: translateY(-50%) scale(1.06);
  color: var(--weiss);
}

.lightbox-schliessen {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}
.lightbox-schliessen:hover {
  background: var(--akzent);
  transform: scale(1.08);
  color: var(--weiss);
}

.lightbox-zaehler {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--schrift-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  pointer-events: none;
}

body.lightbox-aktiv { overflow: hidden; }

@media (max-width: 600px) {
  .lightbox { padding: 0.5rem; }
  .lightbox-prev,
  .lightbox-next {
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-schliessen {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .lightbox-zaehler {
    bottom: 0.75rem;
    font-size: 0.78rem;
  }
}

/* ---- INFOBOX / ERFOLG / FEHLER ---- */
.infobox {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  border: 1px solid var(--linie);
}
.infobox.erfolg { background: #eaf3eb; border-color: #c7dec9; }
.infobox.fehler { background: #fbeaea; border-color: #e6c5c5; }
.infobox h2 { margin-top: 0; }
.infobox .symbol {
  font-family: var(--schrift-headline);
  font-size: 3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.infobox.erfolg .symbol { color: #4a7a4f; }
.infobox.fehler .symbol { color: #a44a4a; }

/* ---- KONTAKT-INFOS ---- */
.kontakt-infos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.kontakt-info-box {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.kontakt-info-box h3 { margin-top: 0; }
.kontakt-info-box p,
.kontakt-info-box address {
  font-style: normal;
  font-family: var(--schrift-ui);
  font-size: 0.92rem;
  color: var(--text-mittel);
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .kontakt-infos { grid-template-columns: 1fr; }
}

.karte-rahmen {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--sand);
}
.karte-rahmen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- RECHTSTEXT (Impressum / Datenschutz) ---- */
.rechtstext h2 { margin-top: 2.25rem; }
.rechtstext h3 { color: var(--dunkel); }
.rechtstext p,
.rechtstext li {
  font-family: var(--schrift-ui);
  font-size: 0.95rem;
}
.rechtstext ul {
  margin: 0.5rem 0 1rem 1.25rem;
  color: var(--text-mittel);
}
.rechtstext ul li { margin-bottom: 0.3rem; }

/* ---- KONTAKT-FORMULAR ---- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kontakt-grid .feld-voll { grid-column: 1 / -1; }
label { display: block; font-family: var(--schrift-ui); font-size: 0.82rem; font-weight: 600; color: var(--text-dunkel); margin-bottom: 0.3rem; }
input, textarea {
  width: 100%; padding: 0.6rem 0.85rem;
  border: 1px solid var(--linie); border-radius: var(--radius);
  background: var(--weiss); font-family: var(--schrift-ui);
  font-size: 0.95rem; color: var(--text-dunkel);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
input:focus, textarea:focus { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(192,139,92,0.18); }
textarea { min-height: 130px; resize: vertical; }
.pflicht-hinweis { font-family: var(--schrift-ui); font-size: 0.78rem; color: var(--text-grau); margin-top: 0.75rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---- FOOTER ---- */
footer { background: var(--mittel); color: #c9bba6; padding: 2.5rem 1.5rem 1.5rem; margin-top: auto; }
.footer-inner { max-width: var(--max-breite); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-spalte h4 { font-family: var(--schrift-ui); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--akzent); margin-bottom: 0.85rem; }
.footer-spalte p, .footer-spalte address { font-style: normal; font-family: var(--schrift-ui); font-size: 0.85rem; line-height: 1.7; color: #c9bba6; }
.footer-spalte a { color: #c9bba6; text-decoration: none; }
.footer-spalte a:hover { color: var(--akzent); }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.footer-nav a { font-family: var(--schrift-ui); font-size: 0.85rem; }

.footer-mitglied-logo { display: block; margin-top: 1rem; margin-left: 0; }
.footer-mitglied-logo img { width: 150px; height: auto; display: block; opacity: 0.75; filter: brightness(0) invert(1); }
.footer-mitglied-logo:hover img { opacity: 1; }

.footer-unten { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-unten p { font-family: var(--schrift-ui); font-size: 0.78rem; color: #8a7e6a; margin: 0; }
.footer-unten-links { display: flex; gap: 1.25rem; }
.footer-unten-links a { font-family: var(--schrift-ui); font-size: 0.78rem; color: #8a7e6a; }
.footer-unten-links a:hover { color: var(--akzent); text-decoration: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .seiten-layout { grid-template-columns: 1fr; padding: 2rem 1.25rem; gap: 2rem; }
  .sidebar { order: 2; }
  .hero-bild { height: 340px; }
  .hero-bild-overlay h1 { font-size: 1.9rem; }
  .hero-bild-overlay p { font-size: 1rem; }
  .hero h1 { font-size: 1.6rem; }
  nav { display: none; }
  nav.offen { display: block; }
  nav ul { flex-direction: column; padding: 0.75rem 0; gap: 0; }
  nav a { display: block; padding: 0.6rem 1rem; border-radius: 0; }
  .nav-toggle { display: flex; }
  header.nav-offen nav { display: block; position: absolute; top: var(--nav-hoehe); left: 0; right: 0; background: var(--mittel); box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 99; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-grid .feld-voll { grid-column: 1; }
  .foto-text { flex-direction: column; }
  .foto-text-bild { width: 100%; height: 240px; }
  .foto-text-inhalt { padding: 1.25rem; }
  .kachel-3 { grid-template-columns: 1fr; }
}
