/* BAB GmbH – Gestaltung. Eine Akzentfarbe (Logo-Blau), eine Schriftfamilie. Keine externen Schriften, keine Cookies. */
:root {
  /* Farben: ein Akzent (Logo-Blau), sonst neutrale Grautoene */
  --ink: #161a2b;
  --text: #2f3442;
  --muted: #646a78;
  --line: #e3e5eb;
  --paper: #ffffff;
  --sand: #f4f5f8;
  --accent: #14148a;
  --accent-dark: #0c0c5c;
  --accent-soft: #ebecf7;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22, 26, 43, .05), 0 8px 24px rgba(22, 26, 43, .06);
  --wrap: 1180px;
  /* Eine Schrift fuer alles: moderne, serifenlose Systemschrift */
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", Roboto, Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; font-weight: 650; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Kopfbereich */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.brand img { width: 52px; height: 52px; }
.brand > span { display: flex; flex-direction: column; justify-content: space-between; height: 52px; }
.brand strong { display: block; font-family: var(--display); font-size: 2.05rem; line-height: .95; letter-spacing: -.02em; }
.brand small { display: block; font-size: .93rem; line-height: 1; color: var(--accent); letter-spacing: .01em; white-space: nowrap; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .97rem; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.nav .nav-cta a { background: var(--accent); color: var(--white); margin-left: 8px; }
.nav .nav-cta a:hover { background: var(--accent-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { display: block; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav a { border-radius: 8px; padding: 12px 14px; }
  .nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .brand small { font-size: .78rem; }
  .brand > span { height: 40px; }
  .brand strong { font-size: 1.55rem; }
  .brand img { width: 40px; height: 40px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; border: 2px solid var(--accent); transition: background .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--accent-dark); border-color: var(--white); }
.btn-light:hover { background: var(--sand); color: var(--accent-dark); border-color: var(--sand); }

/* Hero */
.hero { position: relative; color: var(--ink); background: #f4f5f8; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: brightness(1.12) saturate(1.08) contrast(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 34%, rgba(255, 255, 255, .25) 62%, rgba(255, 255, 255, 0) 80%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(80px, 14vw, 170px) 0 clamp(64px, 10vw, 120px); }
.hero h1 { color: var(--ink); max-width: 15em; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--text); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.hero .eyebrow { color: var(--accent); }
.hero .btn-light { background: var(--accent); color: var(--white); border-color: var(--accent); }
.hero .btn-light:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.hero .btn-ghost { background: rgba(255, 255, 255, .75); color: var(--accent); border-color: var(--accent); }
.hero .btn-ghost:hover { background: var(--white); color: var(--accent-dark); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .78) 70%, rgba(255, 255, 255, .55) 100%); } }

/* Abschnitte */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.lead { font-size: 1.15rem; color: var(--text); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--display); font-size: 1rem; color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 20px; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--accent-dark); line-height: 1.1; }
.facts span { font-size: .92rem; color: var(--muted); }
@media (max-width: 620px) { .facts div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Leistungen */
.service { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.service img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; }
.service h3 { font-size: 1.12rem; margin-bottom: .3em; }
.service p { font-size: .96rem; margin: 0; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
@media (max-width: 420px) { .service { grid-template-columns: 1fr; } .service img { width: 100%; height: 160px; } .service-list { grid-template-columns: 1fr; } }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); padding: 36px 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; }
.detail img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail .refs { font-size: .92rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } .detail figure { order: -1; } }

.leistungsliste { list-style: none; margin: 0; padding: 0; counter-reset: leistung; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); column-gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.leistungsliste li { counter-increment: leistung; display: grid; grid-template-columns: 44px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.leistungsliste li::before { content: counter(leistung, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: var(--accent); padding-top: 2px; }
.leistungsliste h2 { font-size: 1.2rem; margin: 0 0 4px; grid-column: 2; }
.leistungsliste p { margin: 0; color: var(--muted); font-size: .97rem; grid-column: 2; }
.leistungen-hinweis { margin-top: 36px; color: var(--muted); }
.leistungen-hinweis a { font-weight: 600; margin-left: 6px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 24px 22px 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; font-size: .96rem; color: var(--muted); }

/* Projektkarten */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(35, 39, 42, .08), 0 14px 32px rgba(35, 39, 42, .1); color: var(--text); }
.pcard .img { aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pcard h3 { font-size: 1.2rem; margin: 0; }
.pcard p { font-size: .95rem; margin: 0; color: var(--muted); }
.pcard .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent); font-size: .95rem; }

/* Presse und Publikationen */
.jahresfilter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; position: sticky; top: 77px; z-index: 5; background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); }
.jahresfilter .chip { padding: 4px 12px; font-size: .88rem; }
.tile[hidden] { display: none; }
@media (max-width: 980px) { .jahresfilter { position: static; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(22, 26, 43, .08), 0 14px 32px rgba(22, 26, 43, .1); color: var(--text); }
.tile .img { background: var(--sand); overflow: hidden; border-bottom: 1px solid var(--line); }
.tiles-presse .img { aspect-ratio: 4 / 3; }
.tiles-presse .img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tiles-pub .img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 14px; }
.tiles-pub .img img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 2px 8px rgba(22, 26, 43, .15); }
.tile .img.leer { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.tile .img.leer span { font-weight: 700; letter-spacing: .1em; color: var(--accent); border: 2px solid var(--accent); border-radius: 6px; padding: 10px 14px; }
.tile .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile .meta { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.tile h3 { font-size: 1.02rem; margin: 0; line-height: 1.3; }
.tile p { font-size: .88rem; margin: 0; color: var(--muted); line-height: 1.45; }
.tile .ort { color: var(--text); }
.tile .more { margin-top: auto; padding-top: 8px; font-size: .88rem; font-weight: 600; color: var(--accent); }
.pdfv { position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 30, .8); display: none; align-items: center; justify-content: center; padding: 24px; }
.pdfv.open { display: flex; }
.pdfv-box { background: var(--white); border-radius: var(--radius); width: min(1100px, 100%); height: 100%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.pdfv-bar { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.pdfv-bar strong { flex: 1; font-size: .98rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdfv-bar a { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pdfv-x { border: 0; background: var(--sand); width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.pdfv-x:hover { background: var(--accent-soft); }
.pdfv iframe { flex: 1; width: 100%; border: 0; background: #525659; }

.filters { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-bottom: 28px; }
.filters .group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters .label { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.search { flex: 1 1 220px; max-width: 320px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .95rem; background: var(--white); }
.empty { display: none; color: var(--muted); padding: 24px 0; }

/* Projektseite */
.phead { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); background: var(--sand); }
.phead .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.phead figure { margin: 0; }
.phead img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.phead figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.phead .sub { font-size: 1.12rem; color: var(--text); }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: .85rem; color: var(--accent-dark); }
@media (max-width: 800px) { .phead .wrap { grid-template-columns: 1fr; } }

.pbody { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 64px) 0; }
.pbody aside { order: 2; }
.facts-box { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: .93rem; }
.facts-box h2 { font-size: 1.1rem; margin-bottom: 12px; }
.facts-box dl { margin: 0; }
.facts-box dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 12px; }
.facts-box dd { margin: 2px 0 0; color: var(--ink); }
.toc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 900px) { .pbody { grid-template-columns: 1fr; } .pbody aside { order: -1; } .facts-box { position: static; } }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose h4 { margin-top: 1.3em; font-weight: 650; font-size: 1.05rem; }
.prose ul { padding-left: 1.3em; }

.figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 1.4em 0 1.8em; max-width: none; }
.figs.single { grid-template-columns: minmax(0, 520px); }
.figs figure { margin: 0; }
.figs a { display: block; border-radius: 8px; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.figs:not(.single) a { aspect-ratio: 4 / 3; }
.figs:not(.single) img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.figs a:hover img { transform: scale(1.03); }
.figs figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.note { margin-top: 48px; padding: 20px 22px; border-left: 4px solid var(--accent); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; color: var(--muted); }
/* Publikationen zum Projekt */
.ppubs { margin-top: 40px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); scroll-margin-top: 100px; }
.prose .ppubs h2 { margin: 0 0 12px; padding: 0; font-size: 1.25rem; }
.ppubs ul { list-style: none; margin: 0; padding: 0; }
.ppubs li { padding: 10px 0; border-top: 1px solid var(--line); }
.ppubs li:first-child { border-top: 0; padding-top: 0; }
.ppubs li a { text-decoration: none; }
.ppubs li a:hover strong { text-decoration: underline; }
.ppubs .meta { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); }
.ppubs .alle { margin: 12px 0 0; font-size: .95rem; }
.ppubs + .ppubs { margin-top: 20px; }
.pnav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.pnav a { text-decoration: none; font-weight: 600; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 18, .94); display: none; align-items: center; justify-content: center; padding: 44px 60px 16px; }
.lb.open { display: flex; cursor: zoom-out; }
/* Bilder nur anzeigen: kein Markieren, Ziehen oder Lang-Druck-Menue (iOS) */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.lb figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lb img { width: 100%; height: calc(100vh - 110px); object-fit: contain; }
.lb figcaption { color: #eee; margin-top: 12px; text-align: center; font-size: .95rem; max-width: 60ch; }
.lb button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; cursor: pointer; line-height: 1; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb .x { top: 14px; right: 14px; }
.lb .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb { padding: 56px 8px; } .lb .prev, .lb .next { top: auto; bottom: 10px; transform: none; } }

/* Team / Kontakt */
.person { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.person img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 680px) { .person { grid-template-columns: 1fr; } .person img { max-width: 300px; } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline b { display: block; color: var(--ink); font-family: var(--display); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.contact-list svg { color: var(--accent); margin-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

.cta { background: var(--accent-dark); color: var(--white); border-radius: 16px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { color: var(--white); margin: 0 0 .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; }

.legal { max-width: 78ch; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Fuss: eine einheitliche Schrift (Groesse, Staerke, Farbe, Zeilenabstand) */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.site-footer, .site-footer h3, .site-footer p, .site-footer li, .site-footer a, .site-footer .bottom {
  font-family: var(--sans); font-size: .95rem; font-weight: 400; line-height: 1.7; letter-spacing: 0; color: var(--muted);
}
.site-footer h3, .site-footer p, .site-footer li { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.site-footer .fuss-kontakt { display: flex; flex-wrap: wrap; align-items: center; }
.site-footer .fuss-kontakt li { display: flex; align-items: center; }
.site-footer .fuss-kontakt li + li::before { content: "·"; margin: 0 10px; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .lb, .nav-toggle, .filters { display: none !important; } body { background: #fff; } .pbody { display: block; } }

/* Ortsregister */
.ortsregister { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 16px; }
.ortsregister summary { cursor: pointer; padding: 14px 18px; font-weight: 650; color: var(--ink); list-style: none; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ortsregister summary::-webkit-details-marker { display: none; }
.ortsregister summary::before { content: "+"; color: var(--accent); font-weight: 700; width: 14px; }
.ortsregister[open] summary::before { content: "–"; }
.ortsregister summary span { font-weight: 400; font-size: .88rem; color: var(--muted); }
.orte { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; padding: 4px 18px 18px; }
.orte .ort { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-align: left; background: none; border: 0; border-bottom: 1px dotted var(--line); padding: 6px 4px; font: inherit; font-size: .95rem; color: var(--text); cursor: pointer; border-radius: 4px; }
.orte .ort span { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.orte .ort:hover { background: var(--accent-soft); color: var(--accent-dark); }
.orte .ort.leer { color: #a0a5b1; }
.orte .ort.leer span { color: #b8bcc6; }
.orte .ort[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.orte .ort[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.ort-info { margin: 0 0 20px; padding: 12px 16px; background: var(--accent-soft); border-radius: var(--radius); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.ort-info[hidden] { display: none; }
.ort-info .ort-name { font-weight: 650; color: var(--ink); }
.ort-info a { font-weight: 600; }
.ort-reset { margin-left: auto; background: none; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.ort-reset:hover { background: var(--accent); color: var(--white); }
.empty { display: none; color: var(--muted); padding: 24px 0; }
.note p:last-child { margin-bottom: 0; }

/* Handynummer nur als Bild: nicht markier-, kopier- oder durchsuchbar */
.nummer { display: inline-block; vertical-align: middle; user-select: none; -webkit-user-select: none; pointer-events: none; -webkit-touch-callout: none; }

/* Jubilaeum in der Kopfzeile */
.kopf-links { display: flex; align-items: center; gap: 18px; min-width: 0; }
.jubilaeum { display: flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid var(--line); }
.jubilaeum img { width: 54px; height: 54px; flex: none; }
.jubilaeum span { font-size: .64rem; line-height: 1.3; font-weight: 650; letter-spacing: .03em; text-transform: uppercase; color: #a5740f; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 981px) { .brand small { display: none; } .brand > span { justify-content: center; } }
@media (max-width: 640px) {
  .kopf-links { gap: 10px; }
  .jubilaeum { padding-left: 10px; }
  .jubilaeum span { display: none; }
  .jubilaeum img { width: 44px; height: 44px; }
  .brand small { display: none; }
  .brand > span { height: auto; }
}
