/* ==========================================================================
   Bürger- und Gewerbeverein Stelle e.V. – Stylesheet
   ========================================================================== */

/* Schriften: siehe fonts.css */

/* ---------- Design-Tokens ---------- */
:root {
  /* Logo-Farben (aus Logo-Datei 2025 gemessen) */
  --rot:     #E65224;  /* Kachel oben links  – Ort      → Bürgerverein */
  --gelb:    #F3B90F;  /* Kachel oben rechts – Wappen  → Termine/Aktionen */
  --gruen:   #9BC55F;  /* Kachel unten links – Turm    → Mitglieder */
  --blau:    #6CAFE4;  /* Kachel unten rechts – Wasser → Gewerbeverein */
  --orange:  #F8AB1D;  /* Schriftzug „Stelle e.V." */
  --schwarz: #292526;  /* Schriftzug „Bürger- und Gewerbeverein" */

  /* Abgeleitete Töne (nur für Text/Flächen mit ausreichendem Kontrast) */
  --rot-dunkel:   #B83A14;
  --blau-dunkel:  #2B6E9E;
  --gruen-dunkel: #567A25;
  --gelb-dunkel:  #8A6500;
  --rot-hell:   #FCEDE8;
  --gelb-hell:  #FEF7E1;
  --gruen-hell: #F0F7E7;
  --blau-hell:  #EAF4FC;

  --text:      #2E2A2B;
  --text-leise:#615B5C;
  --linie:     #E6E1DF;
  --flaeche:   #F7F5F3;
  --weiss:     #FFFFFF;
  --footer:    #1B1B1B;   /* wie bestehende Seite */

  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-s: 8px;
  --max: 1180px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 1px 2px rgba(41,37,38,.06), 0 8px 24px rgba(41,37,38,.07);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--blau-dunkel); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--schwarz);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p  { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(100% - 2 * var(--gap), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--flaeche { background: var(--flaeche); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-leise); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--akzent, var(--rot)); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: 0; max-width: 48ch; color: var(--text-leise); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--weiss); padding: .5rem 1rem; }

/* Bereichsfarben */
.t-buerger  { --akzent: var(--rot);   --akzent-dunkel: var(--rot-dunkel);   --akzent-hell: var(--rot-hell); }
.t-gewerbe  { --akzent: var(--blau);  --akzent-dunkel: var(--blau-dunkel);  --akzent-hell: var(--blau-hell); }
.t-mitglied { --akzent: var(--gruen); --akzent-dunkel: var(--gruen-dunkel); --akzent-hell: var(--gruen-hell); }
.t-termine  { --akzent: var(--gelb);  --akzent-dunkel: var(--gelb-dunkel);  --akzent-hell: var(--gelb-hell); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--primaer { background: var(--schwarz); color: var(--weiss); }
.btn--primaer:hover { background: var(--rot-dunkel); color: var(--weiss); }
.btn--rahmen { border-color: var(--schwarz); color: var(--schwarz); background: transparent; }
.btn--rahmen:hover { background: var(--schwarz); color: var(--weiss); }
.btn--hell { background: var(--weiss); color: var(--schwarz); }
.btn--hell:hover { background: var(--gelb); color: var(--schwarz); }
.btn .pfeil { transition: transform .15s; }
.btn:hover .pfeil { transform: translateX(3px); }
.link-pfeil { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-pfeil::after { content: "→"; transition: transform .15s; }
.link-pfeil:hover::after { transform: translateX(3px); }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--schwarz); color: #E9E5E3; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gelb); }
.topbar__motto { font-family: var(--font-head); }
.topbar__links { display: flex; gap: 1.2rem; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--text);
  padding: .55rem .8rem; border-radius: 999px; position: relative;
}
.nav a:hover { background: var(--flaeche); color: var(--schwarz); }
.nav a[aria-current="page"] { background: var(--akzent-hell, var(--flaeche)); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px;
  margin-left: -3px; border-radius: 2px; background: var(--akzent, var(--rot));
}
.nav a.btn { margin-left: .75rem; padding: .6rem 1.1rem; color: var(--weiss); background: var(--schwarz); }
.nav a.btn:hover { background: var(--rot-dunkel); color: var(--weiss); }
.menu-mobil nav a.btn { color: var(--weiss); }

/* Mobiles Menü ohne JavaScript (details/summary) */
.menu-mobil { display: none; }
.menu-mobil summary {
  list-style: none; cursor: pointer; font-weight: 600; padding: .55rem 1rem;
  border: 2px solid var(--schwarz); border-radius: 999px;
}
.menu-mobil summary::-webkit-details-marker { display: none; }
.menu-mobil[open] summary { background: var(--schwarz); color: var(--weiss); }
.menu-mobil nav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss);
  border-bottom: 1px solid var(--linie); box-shadow: var(--shadow);
  padding: 1rem var(--gap) 1.5rem; display: grid; gap: .25rem;
}
.menu-mobil nav a { padding: .8rem .5rem; border-bottom: 1px solid var(--linie); text-decoration: none; font-weight: 500; }
.menu-mobil nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }

/* ---------- Hero Startseite ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 span { display: block; color: var(--orange); }
.hero .lead { margin-bottom: 2rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Kachel-Motiv aus dem Logo: 2×2 Raster mit Kennzahlen */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.5vw, 1rem); aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.kachel {
  border-radius: 22%; padding: clamp(1rem, 2.5vw, 1.6rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--schwarz); position: relative; overflow: hidden;
}
.kachel strong { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; font-weight: 700; }
.kachel span { font-size: .95rem; font-weight: 500; margin-top: .35rem; }
.kachel--rot   { background: var(--rot); border-top-left-radius: 22%; }
.kachel--gelb  { background: var(--gelb); }
.kachel--gruen { background: var(--gruen); }
.kachel--blau  { background: var(--blau); }

/* ---------- Seitenkopf Unterseiten ---------- */
.seitenkopf { background: var(--akzent-hell, var(--flaeche)); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.seitenkopf::after {
  content: ""; position: absolute; right: -60px; top: 50%; translate: 0 -50%;
  width: clamp(180px, 26vw, 340px); aspect-ratio: 1; border-radius: 22%;
  background: var(--akzent, var(--rot)); opacity: .9;
}
.seitenkopf .container { position: relative; z-index: 1; }
.seitenkopf h1 { max-width: 16ch; }
.seitenkopf .lead { color: var(--text); max-width: 52ch; }
.brotkrumen { font-size: .88rem; color: var(--text-leise); margin-bottom: 1.25rem; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }

/* ---------- Zwei Säulen ---------- */
.saeulen { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.saeule {
  border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--akzent-hell); border-top: 6px solid var(--akzent);
  display: flex; flex-direction: column;
}
.saeule h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.saeule__unter { font-weight: 600; color: var(--akzent-dunkel); margin-bottom: 1.25rem; }
.saeule ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .65rem; }
.saeule li { display: flex; gap: .75rem; align-items: baseline; }
.saeule li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 3px; background: var(--akzent); translate: 0 1px; }
.saeule .link-pfeil { margin-top: auto; color: var(--schwarz); }

/* ---------- Karten / Raster ---------- */
.raster { display: grid; gap: var(--gap); }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }
.raster--2 { grid-template-columns: repeat(2, 1fr); }

.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
a.karte { text-decoration: none; color: inherit; }
a.karte:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.karte__inhalt { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.karte__inhalt p { color: var(--text-leise); }
.karte__inhalt > :last-child { margin-bottom: 0; }
.karte__meta { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent-dunkel, var(--text-leise)); margin-bottom: .5rem; }
.karte h3 { margin-bottom: .5rem; }

/* Bildflächen */
.bild {
  aspect-ratio: 16 / 10; background: var(--akzent-hell, var(--flaeche));
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(41,37,38,.04) 14px 28px);
  position: relative;
}
.bild--hoch { aspect-ratio: 5 / 4; border-radius: var(--radius); }
.bild--breit { aspect-ratio: 21 / 9; }

/* ---------- Termine ---------- */
.termin { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--linie); }
.termin:first-child { border-top: 1px solid var(--linie); }
.termin__datum {
  width: 76px; aspect-ratio: 1; border-radius: 22%; background: var(--akzent);
  display: grid; place-content: center; text-align: center; color: var(--schwarz); line-height: 1.1;
}
.termin__datum strong { font-family: var(--font-head); font-size: 1.35rem; }
.termin__datum span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.termin h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.termin p { margin: 0; color: var(--text-leise); font-size: .95rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--akzent-hell); color: var(--akzent-dunkel); margin-right: .4rem; }

/* ---------- Mitglieder ---------- */
.suche { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.suche input, .suche select, .formular input, .formular select, .formular textarea {
  font: inherit; padding: .85rem 1.1rem; border: 2px solid var(--linie); border-radius: 999px;
  background: var(--weiss); color: var(--text); min-width: 0;
}
.suche input { flex: 1 1 280px; }
.suche input:focus, .formular :is(input, select, textarea):focus { outline: none; border-color: var(--gruen-dunkel); }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font-size: .9rem; font-weight: 500; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--weiss); text-decoration: none; }
.chip:hover { border-color: var(--gruen-dunkel); color: var(--schwarz); }
.chip[aria-pressed="true"] { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }

.mitglied-karte { text-decoration: none; }
.mitglied-karte__logo {
  height: 150px; overflow: hidden; background: var(--weiss); display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--linie); padding: 1rem;
}
.mitglied-karte__logo img { display: block; width: auto; height: auto; max-width: 78%; max-height: 104px; object-fit: contain; }
.mitglied-karte__logo img.rund { max-height: 124px; border-radius: 50%; }
.mitglied-karte__logo--dunkel { background: #0A1F3D; }
.mitglied-karte__logo--weiss { background: var(--weiss); }
.mitglied-karte__logo i { font-style: normal; width: 68px; height: 68px; border-radius: 22%; background: var(--weiss); border: 1px solid var(--linie); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--gruen-dunkel); }
.mitglied-karte .karte__inhalt { padding: 1.1rem 1.25rem 1.25rem; }
.mitglied-karte h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.mitglied-karte p { font-size: .92rem; margin-bottom: .75rem; }
.mitglied-karte .branche { font-size: .78rem; font-weight: 700; color: var(--gruen-dunkel); text-transform: uppercase; letter-spacing: .06em; }
.mitglied-karte--eigene-seite { border-color: var(--gruen); }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; background: var(--gruen-hell); color: var(--gruen-dunkel); padding: .2rem .55rem; border-radius: 999px; }

/* ---------- Zahlenleiste ---------- */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.zahl { border-left: 4px solid var(--akzent, var(--rot)); padding-left: 1.1rem; }
.zahl strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--schwarz); }
.zahl span { color: var(--text-leise); }

/* ---------- Text + Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--umgekehrt > :first-child { order: 2; }
.liste-haken { list-style: none; padding: 0; display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.liste-haken li { padding-left: 1.9rem; position: relative; }
.liste-haken li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--akzent, var(--rot)); color: var(--schwarz); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Call to Action ---------- */
.cta { background: var(--schwarz); color: #EDE9E7; border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: var(--weiss); margin-bottom: .4rem; }
.cta p { margin: 0; color: #CFC9C6; max-width: 52ch; }
.cta__deko { position: absolute; right: -30px; bottom: -30px; display: grid; grid-template-columns: repeat(2, 46px); gap: 8px; opacity: .9; pointer-events: none; }
.cta__deko i { width: 46px; height: 46px; border-radius: 22%; }
.cta .btn { position: relative; z-index: 1; }

/* ---------- Vorstand ---------- */
.person { display: flex; gap: 1.1rem; align-items: center; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem; }
.person__bild { flex: 0 0 72px; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--schwarz); }
.raster > .person:nth-child(1) .person__bild { background: var(--rot); color: var(--weiss); }
.raster > .person:nth-child(2) .person__bild { background: var(--gelb); }
.raster > .person:nth-child(3) .person__bild { background: var(--blau); }
.person h3 { margin-bottom: .1rem; font-size: 1.1rem; }
.person p { color: var(--text-leise); margin: 0; }

/* ---------- Formular ---------- */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.formular label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.formular input, .formular select { border-radius: var(--radius-s); }
.formular textarea { border-radius: var(--radius-s); min-height: 140px; resize: vertical; }
.formular .voll { grid-column: 1 / -1; }
.formular .check { display: flex; gap: .65rem; font-weight: 400; align-items: flex-start; }
.formular .check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex-shrink: 0; }
.wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wahl label { border: 2px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; cursor: pointer; font-weight: 400; display: block; }
.wahl label:has(input:checked) { border-color: var(--schwarz); background: var(--flaeche); }
.wahl strong { font-family: var(--font-head); font-size: 1.15rem; display: block; margin: .25rem 0; }

/* ---------- Fußbereich ---------- */
.footer { background: var(--footer); color: #BDB6B3; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; }
.footer a { color: #E9E5E3; text-decoration: none; }
.footer a:hover { color: var(--gelb); }
.footer__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); padding-bottom: 3rem; }
.footer h4 { color: var(--weiss); font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer__marke { display: grid; gap: 1rem; align-content: start; }
.footer__marke .logo-flaeche { background: var(--weiss); border-radius: var(--radius-s); padding: .6rem .8rem; width: fit-content; }
.footer__marke .logo-flaeche img { height: 54px; width: auto; }
.footer__motto { font-family: var(--font-head); color: var(--weiss); font-size: 1.15rem; }
.footer__unten { border-top: 1px solid #333; padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer__unten nav { display: flex; gap: 1.25rem; }
.footer__streifen { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.footer__streifen i:nth-child(1) { background: var(--rot); }
.footer__streifen i:nth-child(2) { background: var(--gelb); }
.footer__streifen i:nth-child(3) { background: var(--gruen); }
.footer__streifen i:nth-child(4) { background: var(--blau); }


/* ==========================================================================
   Mitgliederseite – Rahmen vom Verein, Inhalt vom Mitglied gestaltbar
   Gestaltbar über Variablen am <main class="mitgliedsseite" style="…">:
   --m-farbe, --m-farbe-hell, --m-text-auf-farbe, --m-schrift
   ========================================================================== */
.mitgliedsseite {
  --m-farbe: #1F5E5B; --m-farbe-hell: #E8F1F0; --m-text-auf-farbe: #FFFFFF;
  --m-schrift: var(--font-head);
}
.mitgliedsseite h1, .mitgliedsseite h2, .mitgliedsseite h3 { font-family: var(--m-schrift); }
.vereinsleiste { background: var(--gruen-hell); border-bottom: 1px solid #DCEAC9; font-size: .9rem; }
.vereinsleiste .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-block: .7rem; }
.vereinsleiste a { font-weight: 600; }

.m-hero { position: relative; color: var(--m-text-auf-farbe); background: var(--m-farbe); overflow: hidden; }
.m-hero .bild { position: absolute; inset: 0; aspect-ratio: auto; background-color: rgba(0,0,0,.18); background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.04) 22px 44px); }
.m-hero .container { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 8rem) clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: end; }
.m-logo { width: clamp(96px, 12vw, 140px); aspect-ratio: 1; border-radius: var(--radius); background: var(--weiss); color: var(--m-farbe); display: grid; place-items: center; font-family: var(--m-schrift); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; box-shadow: var(--shadow); }
.m-hero h1 { color: inherit; margin-bottom: .3rem; }
.m-hero p { margin: 0; font-size: 1.15rem; opacity: .92; }
.m-hero .tag { background: rgba(255,255,255,.18); color: inherit; }

.m-schnell { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.m-schnell .container { display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1rem; align-items: center; }
.m-schnell a { text-decoration: none; font-weight: 500; }
.m-schnell .btn { margin-left: auto; }
.m-btn { background: var(--m-farbe); color: var(--m-text-auf-farbe); }
.m-btn:hover { background: var(--schwarz); color: var(--weiss); }

.m-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.m-block + .m-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.m-leistungen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.m-leistung { background: var(--m-farbe-hell); border-radius: var(--radius); padding: 1.35rem; }
.m-leistung h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.m-leistung p { margin: 0; color: var(--text-leise); font-size: .95rem; }
.m-galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 160px; gap: .75rem; }
.m-galerie .bild { aspect-ratio: auto; border-radius: var(--radius-s); background-color: var(--m-farbe-hell); }
.m-galerie .bild:nth-child(2), .m-galerie .bild:nth-child(5) { background-color: var(--m-farbe); opacity: .85; }
.m-galerie .bild:first-child { grid-row: span 2; }

.m-seitenleiste { position: sticky; top: 104px; display: grid; gap: 1rem; }
.m-kasten { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; background: var(--weiss); }
.m-kasten h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.m-kasten dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .95rem; }
.m-kasten dt { color: var(--text-leise); }
.m-kasten dd { margin: 0; }
.m-kasten--verein { background: var(--gruen-hell); border-color: #DCEAC9; }
.m-kasten--verein p { font-size: .92rem; margin-bottom: .75rem; }
.m-karte { aspect-ratio: 4 / 3; border-radius: var(--radius-s); }

.m-job { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--linie); border-radius: var(--radius); margin-bottom: .75rem; }
.m-job h3 { font-size: 1.05rem; margin: 0; }
.m-job p { margin: 0; font-size: .9rem; color: var(--text-leise); }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-mobil { display: block; }
  .raster--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__raster { grid-template-columns: 1fr 1fr; }
  .m-layout { grid-template-columns: 1fr; }
  .m-seitenleiste { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 820px) {
  .hero .container, .saeulen, .split, .raster--3, .raster--2, .cta { grid-template-columns: 1fr; }
  .split--umgekehrt > :first-child { order: 0; }
  .kacheln { justify-self: start; max-width: 380px; }
  .zahlen { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .topbar__motto { display: none; }
  .seitenkopf::after { width: 140px; right: -50px; top: auto; bottom: -40px; translate: none; opacity: .5; }
  .m-hero .container { grid-template-columns: 1fr; }
  .m-schnell .btn { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .raster--4, .footer__raster, .formular, .wahl, .m-leistungen { grid-template-columns: 1fr; }
  .logo img { height: 46px; }
  .header .container { min-height: 70px; }
  .termin { grid-template-columns: auto 1fr; }
  .termin .link-pfeil { grid-column: 2; }
  .m-galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .m-galerie .bild:first-child { grid-column: span 2; grid-row: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Mitgliedsseiten – Erweiterungen (Bilder, Varianten)
   ========================================================================== */
.mitgliedsseite { --m-akzent: var(--m-farbe); }
div.mitglied-karte { cursor: default; }

/* Hero mit Foto */
.m-hero__bild { position: absolute; inset: 0; }
.m-hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.m-hero__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%); }
.m-hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.m-hero .btn--hell:hover { background: var(--m-akzent); color: var(--m-text-auf-farbe); }
.m-logo img { width: 82%; height: 82%; object-fit: contain; }
.m-logo--rund { border-radius: 50%; overflow: hidden; background: #000; }
.m-logo--rund img { width: 100%; height: 100%; object-fit: cover; }

/* Hero-Variante: Farbfläche + Foto daneben (für kleinere Bilder) */
.m-hero--split .container { grid-template-columns: auto 1fr minmax(260px, 420px); align-items: center; padding-block: clamp(3rem, 7vw, 5rem); }
.m-hero--split .m-hero__foto { border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.m-hero--split .m-hero__foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.m-hero__kicker { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--m-akzent); margin-bottom: .5rem; }

/* Inhaltsbausteine */
.m-block h2 { color: var(--m-farbe); }
.m-block .m-unter { font-size: 1.15rem; color: var(--text-leise); margin-top: -.3rem; }
.m-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.m-split img, .m-foto { width: 100%; border-radius: var(--radius); object-fit: cover; }
.m-foto--breit { aspect-ratio: 16 / 7; margin-bottom: 1.25rem; }
.m-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.m-karte-bild { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; text-align: center; }
.m-karte-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.m-karte-bild h3 { margin: 1rem 1rem .35rem; color: var(--m-farbe); }
.m-karte-bild p { margin: 0 1rem 1.25rem; font-size: .93rem; color: var(--text-leise); }
.m-hervor { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.m-hervor > div { border-left: 4px solid var(--m-akzent); background: var(--m-farbe-hell); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 1.1rem 1.25rem; }
.m-hervor h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.m-hervor p { margin: 0; font-size: .95rem; color: var(--text-leise); }
.m-events { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.m-event { display: grid; grid-template-columns: 2.4rem 1fr; gap: .25rem .75rem; padding: 1rem 1.1rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.m-event span { font-size: 1.5rem; line-height: 1.2; grid-row: span 2; }
.m-event h3 { font-size: 1.02rem; margin: 0; }
.m-event p { margin: 0; font-size: .92rem; color: var(--text-leise); }
.m-schluss { font-family: var(--m-schrift); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--m-akzent); margin-top: 1.5rem; }
.m-kasten a { text-decoration-color: var(--m-akzent); }
.m-kasten ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .95rem; }
.m-impressum { font-size: .82rem; color: var(--text-leise); margin: 0; }
.m-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--m-akzent); color: var(--m-text-auf-farbe); padding: .3rem .75rem; border-radius: 999px; }

@media (max-width: 1080px) {
  .m-hero--split .container { grid-template-columns: auto 1fr; }
  .m-hero--split .m-hero__foto { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 820px) {
  .m-split, .m-hervor, .m-events { grid-template-columns: 1fr; }
  .m-hero--split .container { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .m-karten { grid-template-columns: 1fr 1fr; }
  .m-karten > :last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
}

/* Ergänzungen Verzeichnis */
.wortmarke { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; color: #FFFFFF; }
.raster--schmal { max-width: 760px; }

/* Ergänzungen Mitgliedsseite */
.m-hero--schlicht { background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--m-akzent) 35%, transparent) 0%, transparent 55%), var(--m-farbe); }
.m-hero--schlicht .container { padding-block: clamp(3.5rem, 8vw, 6rem); }
.m-hero .container.ohne-logo { grid-template-columns: 1fr; }
.m-hero h1 { max-width: 20ch; }
.m-hero p { max-width: 52ch; }
.m-hero .btn--hell:hover { background: var(--weiss); color: var(--schwarz); filter: brightness(.9); }
.m-logo { overflow: hidden; }
.m-nr { font-family: var(--m-schrift); font-weight: 700; font-size: 1.25rem !important; color: var(--m-akzent); }
.m-pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.m-paket { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; background: var(--weiss); }
.m-paket--hervor { border: 2px solid var(--m-akzent); box-shadow: var(--shadow); }
.m-paket h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.m-paket p { font-size: .93rem; color: var(--text-leise); margin: 0; }
.m-paket .m-preis { font-family: var(--m-schrift); font-size: 1.6rem; font-weight: 700; color: var(--m-farbe); margin: 0 0 .75rem; }
.m-preis span { font-size: .9rem; font-weight: 500; color: var(--text-leise); }
.m-person { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); }
@media (max-width: 820px) { .m-pakete { grid-template-columns: 1fr; } }
.m-hero__kicker { color: color-mix(in srgb, var(--m-akzent) 55%, #FFFFFF); }
.m-events--3 { grid-template-columns: repeat(3, 1fr); }
.m-events--3 .m-event { grid-template-columns: 1fr; }
.m-events--3 .m-event span { grid-row: auto; }
@media (max-width: 820px) { .m-events--3 { grid-template-columns: 1fr; } }
.btn--rahmen-hell { border-color: rgba(255,255,255,.75); color: #FFFFFF; background: transparent; }
.btn--rahmen-hell:hover { background: #FFFFFF; color: var(--schwarz); }
.m-karten--quer { grid-template-columns: repeat(3, 1fr); }
.m-karte-bild--quer img { aspect-ratio: 640 / 258; object-position: center; }
.m-tags { font-size: .9rem; color: var(--text-leise); margin-top: 1.25rem; line-height: 1.8; }
.m-titelkopf { width: 100%; max-width: 560px; border-radius: var(--radius-s); border: 1px solid var(--linie); margin-bottom: 1rem; }
@media (max-width: 820px) { .m-karten--quer { grid-template-columns: 1fr; } }
.m-karten--quer > :last-child { grid-column: auto; max-width: none; }

/* Termine aus der DeichApp (eingebetteter Kalender) */
.deichapp { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gap); align-items: start; }
.deichapp h3 { margin-bottom: .5rem; }
.deichapp p { color: var(--text-leise); }
.deichapp__rahmen { border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--weiss); box-shadow: var(--shadow); }
.deichapp__rahmen iframe { display: block; width: 100%; height: 340px; border: 0; }

/* Digitaler Dorfplatz */
.dorfplatz { background: var(--blau-hell); position: relative; overflow: hidden; }
.dorfplatz .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dorfplatz__funktionen { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dorfplatz__funktion { background: var(--weiss); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: 0 1px 2px rgba(41,37,38,.05); }
.dorfplatz__funktion strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .2rem; color: var(--schwarz); }
.dorfplatz__funktion span { font-size: .92rem; color: var(--text-leise); }
.dorfplatz__funktion i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 22%; margin-bottom: .6rem; font-size: 1.05rem; }
.dorfplatz__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.dorfplatz__hinweis { font-size: .88rem; color: var(--text-leise); margin-top: 1rem; }
@media (max-width: 820px) {
  .deichapp, .dorfplatz .container { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .dorfplatz__funktionen { grid-template-columns: 1fr; } }

/* Ausgabenarchiv (Unser Stelle) */
.m-jahre { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.m-jahr { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: start; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.m-jahr h3 { font-size: 1.35rem; margin: .35rem 0 0; color: var(--m-farbe); }
.m-ausgaben { display: flex; flex-wrap: wrap; gap: .5rem; }
.m-ausgabe { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--weiss); text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .15s, border-color .15s, color .15s; }
.m-ausgabe:hover { background: var(--m-farbe-hell); border-color: var(--m-akzent); color: var(--m-farbe); }
.m-ausgabe--aktuell { background: var(--m-farbe); border-color: var(--m-farbe); color: var(--m-text-auf-farbe); }
.m-ausgabe--aktuell:hover { background: var(--m-akzent); color: var(--m-text-auf-farbe); }
.m-ausgabe em { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.2); padding: .1rem .45rem; border-radius: 999px; }
@media (max-width: 560px) { .m-jahr { grid-template-columns: 1fr; gap: .5rem; } }

/* ==========================================================================
   Praktikums- und Jobbörse
   ========================================================================== */
.jb-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.jb-filter { position: sticky; top: 104px; display: grid; gap: 1.25rem; background: var(--flaeche); border-radius: var(--radius); padding: 1.4rem; }
.jb-feld { display: grid; gap: .45rem; }
.jb-feld > span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); }
.jb-feld input, .jb-feld select { font: inherit; padding: .7rem .9rem; border: 2px solid var(--linie); border-radius: var(--radius-s); background: var(--weiss); color: var(--text); width: 100%; }
.jb-feld input:focus, .jb-feld select:focus { outline: none; border-color: var(--blau-dunkel); }
.jb-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.jb-chip { font: inherit; font-size: .88rem; font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--weiss); color: var(--text); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.jb-chip:hover { border-color: var(--blau-dunkel); }
.jb-chip[aria-pressed="true"] { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }
.jb-chip__n { font-size: .72rem; font-weight: 700; min-width: 1.4rem; text-align: center; padding: .05rem .35rem; border-radius: 999px; background: var(--flaeche); color: var(--text-leise); }
.jb-chip[aria-pressed="true"] .jb-chip__n { background: rgba(255,255,255,.18); color: var(--weiss); }
.jb-merkliste { font: inherit; font-weight: 600; display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-radius: var(--radius-s); border: 2px solid var(--linie); background: var(--weiss); cursor: pointer; color: var(--text); }
.jb-merkliste svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.jb-merkliste[aria-pressed="true"] { border-color: var(--schwarz); background: var(--schwarz); color: var(--weiss); }
.jb-merkliste[aria-pressed="true"] svg { fill: var(--gelb); stroke: var(--gelb); }
.jb-merkliste[aria-pressed="true"] .jb-chip__n { background: rgba(255,255,255,.18); color: var(--weiss); }
.jb-reset { font: inherit; font-size: .9rem; background: none; border: 0; padding: 0; text-align: left; color: var(--rot-dunkel); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.jb-ergebnis__kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.jb-anzahl { margin: 0; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--schwarz); }
.jb-liste { display: grid; gap: 1rem; }
.jb-leer { border: 2px dashed var(--linie); border-radius: var(--radius); padding: 2.5rem; text-align: center; color: var(--text-leise); }
.jb-leer h3 { color: var(--schwarz); }

.jb-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.35rem 1.5rem; transition: box-shadow .2s, border-color .2s; scroll-margin-top: 110px; }
.jb-karte:hover { box-shadow: var(--shadow); }
.jb-karte--ziel { border-color: var(--blau); box-shadow: 0 0 0 3px var(--blau-hell), var(--shadow); }
.jb-kopf { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: start; }
.jb-logo { width: 64px; height: 64px; border-radius: 22%; border: 1px solid var(--linie); display: grid; place-items: center; overflow: hidden; background: var(--weiss); font-family: var(--font-head); font-weight: 700; }
.jb-logo--dunkel { background: #0A1F3D; border-color: #0A1F3D; color: #fff; }
.jb-logo img { max-width: 82%; max-height: 70%; object-fit: contain; }
.jb-logo img.rund { max-width: 92%; max-height: 92%; border-radius: 50%; }
.jb-wortmarke { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; font-size: .62rem; color: #fff; letter-spacing: -.01em; }
.jb-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .35rem; }
.jb-art, .jb-neu { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--blau-hell); color: var(--blau-dunkel); }
.jb-art--praktikum { background: var(--gelb-hell); color: var(--gelb-dunkel); }
.jb-art--ausbildung { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.jb-art--minijob, .jb-art--freie-mitarbeit { background: var(--rot-hell); color: var(--rot-dunkel); }
.jb-neu { background: var(--schwarz); color: var(--weiss); }
.jb-titel h3 { font-size: 1.2rem; margin: 0 0 .15rem; }
.jb-betrieb { margin: 0; font-weight: 500; color: var(--text-leise); }
.jb-betrieb a { text-decoration-color: var(--blau); }
.jb-merken { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linie); background: var(--weiss); display: grid; place-items: center; cursor: pointer; color: var(--text-leise); transition: background .15s, color .15s; }
.jb-merken svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.jb-merken:hover { color: var(--schwarz); border-color: var(--schwarz); }
.jb-merken[aria-pressed="true"] { background: var(--gelb-hell); border-color: var(--gelb); color: var(--gelb-dunkel); }
.jb-merken[aria-pressed="true"] svg { fill: var(--gelb); stroke: var(--gelb-dunkel); }
.jb-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: .9rem 0 0; font-size: .92rem; color: var(--text-leise); }
.jb-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.jb-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blau); }
.jb-kurz { margin: .75rem 0 0; }
.jb-details { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--linie); }
.jb-details__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.jb-details h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 .5rem; }
.jb-details ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; display: grid; gap: .3rem; }
.jb-fuss { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.jb-fuss__rechts { display: inline-flex; align-items: center; gap: 1rem; margin-left: auto; }
.jb-mehr { font: inherit; font-weight: 600; background: none; border: 0; padding: .4rem 0; cursor: pointer; color: var(--schwarz); display: inline-flex; align-items: center; gap: .4rem; }
.jb-mehr::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.jb-mehr[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.jb-datum { font-size: .85rem; color: var(--text-leise); }
.jb-bewerben { padding: .65rem 1.15rem; }

.jb-einreichen { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.jb-einreichen .formular { background: var(--weiss); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.jb-einreichen .formular small { font-weight: 400; color: var(--text-leise); }
.jb-vorschau { position: sticky; top: 104px; }
.jb-vorschau__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); margin-bottom: .6rem; }
.jb-vorschau .jb-karte { box-shadow: var(--shadow); }
.jb-vorschau .jb-details__raster { grid-template-columns: 1fr; }
.jb-status { background: var(--gruen-hell); color: var(--gruen-dunkel); border-radius: var(--radius-s); padding: .8rem 1rem; margin: 0; font-weight: 500; }

/* Jobs auf Mitgliedsseiten */
a.m-job { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.m-job:hover { border-color: var(--m-akzent); box-shadow: var(--shadow); color: inherit; }
.m-job__art { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--m-akzent); margin-bottom: .2rem; }

@media (max-width: 1080px) {
  .jb-layout { grid-template-columns: 1fr; }
  .jb-filter { position: static; grid-template-columns: repeat(2, 1fr); }
  .jb-filter .jb-feld:nth-child(2) { grid-column: 1 / -1; }
  .jb-einreichen { grid-template-columns: 1fr; }
  .jb-vorschau { position: static; }
}
@media (max-width: 820px) { .jb-details__raster { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .jb-filter { grid-template-columns: 1fr; }
  .jb-kopf { grid-template-columns: 48px 1fr auto; gap: .75rem; }
  .jb-logo { width: 48px; height: 48px; }
  .jb-fuss__rechts { width: 100%; justify-content: space-between; }
}

/* Logo-Motive in den Hero-Kacheln: dunklere Abstufung des Kacheltons */
.kachel { isolation: isolate; }
.kachel__icon { position: absolute; z-index: -1; bottom: 0; right: 0; width: 66%; height: 66%; fill: rgba(0, 0, 0, .15); pointer-events: none; }
.kachel strong, .kachel span { position: relative; }
.kachel { justify-content: flex-start; }
