/* =========================================================
   "Jede kann sich wehren" Bodensee
   Layout nah am Original: Banner + einzeilige Navigation
   + linke Unternavigation + Inhalt + rechte Teaser-Spalte
   ========================================================= */

:root {
  --lila:        #9b1c2e;   /* Hauptfarbe Kopf & Navigation (Rot) */
  --lila-dunkel: #6e1220;
  --lila-hell:   #c0392f;
  --lila-blass:  #fbeaea;
  --lila-zart:   #fdf6f5;
  --pink:        #d94436;   /* Akzentfarbe */
  --pink-dunkel: #b3352a;
  --text:        #2f2727;
  --text-leise:  #615252;
  --linie:       #ecd6d4;
  --bg:          #ffffff;
  --breite:      1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f0dedb;
  font-family: var(--font);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.65;
}

/* Der weiße Seitenkörper wie beim Original */
.site {
  max-width: var(--breite);
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 30px rgba(90, 20, 25, .18);
}

a { color: var(--lila); }
a:hover { color: var(--pink); }

h1, h2, h3 { color: var(--lila-dunkel); line-height: 1.3; font-weight: 700; }
h1 { font-size: 1.85rem; margin: 0 0 .6em; }
h2 { font-size: 1.35rem; margin: 1.7em 0 .5em; padding-bottom: .3em; border-bottom: 2px solid var(--lila-blass); }
h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--lila); color: #fff; padding: 10px 16px; z-index: 999; }

/* ---------- Notausstieg ---------- */
.escape {
  position: fixed; top: 0; right: 0; z-index: 900;
  background: var(--pink); color: #fff; font-weight: 700; font-size: .85rem;
  padding: 8px 16px; border-bottom-left-radius: 10px; text-decoration: none;
}
.escape:hover { background: var(--pink-dunkel); color: #fff; }

/* ---------- Kopfbereich ---------- */
.kopf { background: var(--lila); color: #fff; }
.kopf-inner { display: flex; align-items: center; gap: 24px; padding: 18px 26px; flex-wrap: wrap; }
.kopf .titel { font-size: 1.7rem; font-weight: 800; letter-spacing: .3px; margin: 0; color: #fff; }
.kopf .untertitel { margin: 2px 0 0; font-size: .95rem; color: #f6d9d6; letter-spacing: .5px; }
.kopf-kontakt { margin-left: auto; text-align: right; font-size: .9rem; color: #f8e2df; line-height: 1.5; }
.kopf-kontakt a { color: #fff; text-decoration: none; font-weight: 600; }
.kopf-kontakt a:hover { text-decoration: underline; color: #fff; }

.banner { display: block; width: 100%; }

/* ---------- Navigation: EINE Zeile ---------- */
.hauptnav { background: var(--lila-dunkel); }
.hauptnav ul {
  display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0;
  max-width: var(--breite); overflow-x: auto;
}
.hauptnav li { flex: 0 0 auto; }
.hauptnav a {
  display: block; padding: 12px 15px; color: #fae4e1; text-decoration: none;
  font-size: .93rem; font-weight: 600; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hauptnav a:hover { background: var(--lila-hell); color: #fff; }
.hauptnav a.aktiv { background: #fff; color: var(--lila-dunkel); }

.nav-toggle { display: none; width: 100%; background: var(--lila-dunkel); color: #fff;
  border: none; padding: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; text-align: left; }

/* ---------- Grundraster ---------- */
.raster {
  display: grid;
  grid-template-columns: 205px 1fr 285px;
  gap: 0;
  align-items: start;
}
.raster.ohne-links { grid-template-columns: 1fr 285px; }

.spalte-links { border-right: 1px solid var(--linie); padding: 26px 18px; background: var(--lila-zart); }
.inhalt { padding: 28px 30px 50px; min-width: 0; }
.spalte-rechts { border-left: 1px solid var(--linie); padding: 26px 18px; background: var(--lila-zart); }

/* ---------- Unternavigation links ---------- */
.subnav-titel { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--text-leise); font-weight: 700; margin: 0 0 10px; }
.subnav { list-style: none; margin: 0 0 26px; padding: 0; }
.subnav li { border-bottom: 1px solid var(--linie); }
.subnav a { display: block; padding: 8px 4px; text-decoration: none; font-size: .92rem;
  font-weight: 600; color: var(--lila-dunkel); }
.subnav a:hover { color: var(--pink); padding-left: 8px; transition: padding .15s; }
.subnav a.aktiv { color: var(--pink); }

/* ---------- Inhalte ---------- */
.lead { font-size: 1.1rem; color: var(--text-leise); }
.abschnitt { margin-bottom: 26px; }

.merkbox {
  background: var(--lila-blass); border-left: 5px solid var(--lila);
  padding: 16px 20px; margin: 22px 0; border-radius: 0 8px 8px 0;
}
.merkbox p:last-child { margin-bottom: 0; }

.rechtebox {
  background: var(--lila); color: #fff; padding: 22px 24px; border-radius: 8px;
  text-align: center; margin: 26px 0;
}
.rechtebox h2 { color: #fff; border: none; margin: 0 0 .5em; padding: 0; }
.rechtebox p { margin: .25em 0; font-weight: 600; font-size: 1.05rem; }

ul.liste { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
ul.liste li { position: relative; padding-left: 24px; margin-bottom: 9px; }
ul.liste li::before { content: "▸"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; margin: 20px 0; }
.kachel { border: 1px solid var(--linie); border-top: 3px solid var(--lila); border-radius: 7px;
  padding: 16px 18px; background: #fff; }
.kachel h3 { margin: 0 0 .35em; font-size: 1.02rem; }
.kachel p { margin: 0; font-size: .93rem; color: var(--text-leise); }

/* ---------- Bildergalerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 9px; margin: 18px 0 26px; }
.galerie a { display: block; overflow: hidden; border-radius: 6px; border: 1px solid var(--linie); }
.galerie img { width: 100%; height: 108px; object-fit: cover; display: block; transition: transform .3s; }
.galerie a:hover img { transform: scale(1.08); }

/* ---------- Gedenken / Erinnerung ---------- */
.gedenken {
  background: var(--lila-zart);
  border: 1px solid var(--linie);
  border-top: 4px solid var(--lila);
  border-radius: 8px;
  padding: 26px 30px 22px;
  margin: 34px 0 26px;
}
.gedenken-auge {
  margin: 0 0 2px; text-align: center;
  font-size: .78rem; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 700; color: var(--pink);
}
.gedenken h2 {
  text-align: center; border: none; padding: 0;
  margin: 0 0 .25em; font-size: 1.5rem; letter-spacing: .5px;
}
.gedenken-unter {
  text-align: center; font-style: italic; color: var(--text-leise);
  margin: 0 0 1.4em; font-size: .95rem;
}
.gedenken p { margin: 0 0 1em; }
.gedenken-schluss {
  text-align: center; font-weight: 600; color: var(--lila-dunkel);
  border-top: 1px solid var(--linie); padding-top: 16px; margin: 18px 0 0;
}
@media (max-width: 600px) { .gedenken { padding: 22px 18px 18px; } }

.bild-links { float: left; margin: 4px 20px 12px 0; max-width: 230px; border-radius: 7px;
  border: 1px solid var(--linie); }
.clear { clear: both; }

/* ---------- Lightbox (Popup statt neue Seite) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(40, 10, 12, .92);
  display: none; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox.offen { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,.6);
  animation: lb-auf .22s ease;
}
@keyframes lb-auf { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

.lb-schliessen, .lb-vor, .lb-zurueck {
  position: absolute; background: rgba(255,255,255,.14); color: #fff;
  border: none; cursor: pointer; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s;
}
.lb-schliessen:hover, .lb-vor:hover, .lb-zurueck:hover { background: var(--pink); }
.lb-schliessen { top: 16px; right: 20px; }
.lb-zurueck { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-vor { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-zaehler {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: #f5dcd9; font-size: .9rem; background: rgba(0,0,0,.4);
  padding: 5px 14px; border-radius: 20px;
}
@media (max-width: 600px) {
  .lb-zurueck { left: 8px; } .lb-vor { right: 8px; }
  .lb-schliessen { top: 8px; right: 10px; }
}

/* ---------- Rechte Teaser-Spalte ---------- */
.teaser { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--linie); font-size: .9rem; }
.teaser:last-child { border-bottom: none; }
.teaser img { display: block; border-radius: 6px; margin-bottom: 10px; }
.teaser h3 { margin: 0 0 .4em; font-size: 1rem; color: var(--lila-dunkel); }
.teaser p { margin: 0 0 .6em; color: var(--text-leise); line-height: 1.55; }
.teaser .klein { font-size: .82rem; }
.teaser-recht { background: var(--lila-blass); border-radius: 7px; padding: 14px 16px; text-align: center; }
.teaser-recht strong { display: block; color: var(--lila-dunkel); font-size: 1.05rem; margin-bottom: 6px; }
.teaser-recht span { display: block; font-size: .87rem; margin: 3px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 10px 20px; border-radius: 4px; font-weight: 700;
  font-size: .95rem; text-decoration: none; border: 2px solid transparent; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dunkel); color: #fff; }
.btn-lila { background: var(--lila); color: #fff; }
.btn-lila:hover { background: var(--lila-dunkel); color: #fff; }
.btn-rand { background: #fff; color: var(--lila); border-color: var(--lila); }
.btn-rand:hover { background: var(--lila-blass); color: var(--lila-dunkel); }

/* ---------- Downloads ---------- */
.downloads { list-style: none; margin: 0; padding: 0; }
.downloads li { border-bottom: 1px solid var(--linie); }
.downloads a { display: flex; gap: 12px; align-items: center; padding: 12px 6px;
  text-decoration: none; color: var(--text); }
.downloads a:hover { background: var(--lila-zart); }
.pdf { flex: 0 0 auto; width: 30px; height: 30px; background: var(--pink); color: #fff;
  border-radius: 5px; display: grid; place-items: center; font-size: .62rem; font-weight: 800; }
.downloads .titel { font-weight: 600; display: block; }
.downloads .meta { font-size: .8rem; color: var(--text-leise); }

/* ---------- Formular ---------- */
.feld { display: block; margin-bottom: 14px; }
.feld label { display: block; font-weight: 600; margin-bottom: 5px; font-size: .93rem; }
.feld input, .feld textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--linie);
  border-radius: 5px; font: inherit; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--lila-hell); border-color: var(--lila-hell); }
.pflicht { color: var(--pink); }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--lila-dunkel); color: #f2dad7; padding: 32px 30px 18px; }
.fuss a { color: #fae6e3; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.fuss-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 6px; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.18); margin-top: 24px; padding-top: 14px;
  font-size: .82rem; color: #dcb8b4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .raster, .raster.ohne-links { grid-template-columns: 1fr; }
  .spalte-links, .spalte-rechts { border: none; border-top: 1px solid var(--linie); }
  .spalte-links { order: 3; }
  .spalte-rechts { order: 4; }
  .inhalt { order: 2; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .hauptnav ul { display: none; flex-direction: column; }
  .hauptnav ul.offen { display: flex; }
  .hauptnav a { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .kopf-kontakt { margin-left: 0; text-align: left; }
  .zweispaltig, .fuss-raster { grid-template-columns: 1fr; }
  .bild-links { float: none; margin: 0 0 16px; max-width: 100%; }
}
