/* Klein Borstel – öffentliches Layout */
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-italic.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-medium.woff) format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-semibold.woff) format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #f5f7fa;
  --surface: #ffffff;
  --ink: #0d1b2a;
  --ink-2: #354356;
  --muted: #5a6778;
  --moss: #336799;
  --moss-dark: color-mix(in srgb, var(--moss) 78%, #000);
  --moss-tint: color-mix(in srgb, var(--moss) 13%, #fff);
  --signal: #f2c230;
  --signal-tint: color-mix(in srgb, var(--signal) 22%, #fff);
  --line: #d8dee7;
  --danger: #a3271b;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gap: clamp(16px, 3vw, 32px);
  --r-sm: 3px;
  --r-md: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; overflow-y: scroll; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--moss-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { font: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Buttons & Chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--moss); color: #fff; border: 2px solid var(--moss); border-radius: var(--r-sm); padding: .62em 1.15em; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--moss-dark); border-color: var(--moss-dark); color: #fff; }
.btn--small { padding: .45em .9em; font-size: .9375rem; }
.btn--ghost { background: transparent; color: var(--moss); }
.btn--ghost:hover { background: var(--moss); color: #fff; }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; line-height: 1; padding: .32em .55em; border-radius: 99px; background: var(--moss-tint); color: var(--moss-dark); vertical-align: .1em; }
.chip--new { background: var(--signal); color: var(--ink); }
.chip--now { background: var(--moss); color: #fff; }
.more { font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* Kopfbereich */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 44px; height: 44px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; }
.brand__tag { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__list > li:not(.nav__cta) > a, .nav__sub-toggle { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; background: none; border: 0; cursor: pointer; border-radius: var(--r-sm); }
.nav__list > li:not(.nav__cta) > a:hover, .nav__sub-toggle:hover { background: var(--moss-tint); }
.nav__list > li > a[aria-current], .nav__sub-toggle.is-current { box-shadow: inset 0 -3px 0 var(--signal); }
.nav__sub-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
.nav__group { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 12px 30px rgba(13, 27, 42, .12); display: none; }
.nav__group.is-open .nav__sub { display: block; }
.nav__sub a { display: block; padding: 9px 12px; text-decoration: none; color: var(--ink); border-radius: var(--r-sm); }
.nav__sub a:hover { background: var(--moss-tint); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { color: #fff; }
.nav__search input { width: 150px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font: inherit; font-size: .95rem; transition: width .2s; }
.nav__search input:focus { width: 210px; outline: 2px solid var(--moss); outline-offset: 0; }
.navtoggle { display: none; }

@media (max-width: 1000px) {
  .masthead__bar { min-height: 64px; }
  .brand__name { font-size: 1.4rem; }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
  .navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
  .navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle__bars::before { top: -6px; } .navtoggle__bars::after { top: 6px; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  /* Handymenü: klappt als Menü unter der Kopfzeile auf, die Seite bleibt sichtbar */
  .masthead__bar { position: relative; }
  .nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 50; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--moss); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: 0 14px 30px rgba(13, 27, 42, .18); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.is-open { display: flex; animation: navIn .18s ease-out; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li:not(.nav__cta) > a, .nav__sub-toggle { padding: 12px 4px; font-size: 1.05rem; width: 100%; text-align: left; }
  .nav__list > li > a[aria-current], .nav__sub-toggle.is-current { box-shadow: none; color: var(--moss); font-weight: 600; }
  .nav__sub-toggle::after { float: right; margin-top: 8px; }
  .nav__sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 14px; background: none; min-width: 0; }
  .nav__sub a { padding: 8px 4px; font-size: 1rem; }
  .nav__cta { margin: 12px 0 0; border: 0 !important; }
  .nav__cta .btn { width: 100%; padding: 11px; }
  .nav__search { order: -1; margin: 4px 0 6px; }
  .nav__search input, .nav__search input:focus { width: 100%; padding: 10px 14px; font-size: 1rem; }
}

/* Hinweisband (Baustellen, Sperrungen) */
.alert { color: var(--ink); padding-top: clamp(16px, 2.5vw, 28px); }
.alert__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 12px 18px; background: var(--signal); border-radius: var(--r-md); }
.alert__msg { display: flex; align-items: center; gap: 14px; flex: 1 1 320px; }
.alert + .hero .hero__frame { padding-top: 12px; }
.alert__icon { flex: none; width: 26px; height: 26px; background: repeating-linear-gradient(-45deg, var(--ink) 0 5px, var(--signal) 5px 10px); border-radius: 2px; }
.alert__text { margin: 0; font-weight: 600; flex: 1; }
.alert__text a { color: inherit; }
.alert__count { margin: 0; flex: none; font-variant-numeric: tabular-nums; font-weight: 600; background: var(--ink); color: var(--signal); padding: 4px 10px; border-radius: var(--r-sm); white-space: nowrap; }

@media (max-width: 700px) {
  .alert { padding-top: 12px; }
  .alert__inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
  .alert__icon { width: 18px; height: 18px; }
  .alert__text { font-size: .95rem; line-height: 1.4; }
}

/* Bühne: Bildwechsel + Aufmacher */
.hero { position: relative; margin-bottom: clamp(32px, 6vw, 72px); }
.hero__frame { padding-top: clamp(16px, 2.5vw, 28px); }
.slider { position: relative; height: clamp(300px, 40vw, 500px); overflow: hidden; background: var(--moss-dark); border-radius: var(--r-md); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,0) 50%, rgba(13,27,42,.55)); pointer-events: none; }
.slide__cap { position: absolute; z-index: 2; right: var(--gap); top: 20px; color: #fff; font-size: .9rem; background: rgba(13,27,42,.55); padding: 6px 12px; border-radius: var(--r-sm); max-width: 60%; }
.slide__cap a { color: #fff; }
.slide__cap span { display: block; opacity: .85; font-size: .82rem; }
.slider__controls { position: absolute; z-index: 3; right: var(--gap); bottom: 22px; display: flex; align-items: center; gap: 8px; }
.slider__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; }
.slider__btn:hover { background: #fff; }
.slider__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider__pause .i-play { display: none; fill: currentColor; stroke: none; }
.slider.is-paused .slider__pause .i-play { display: block; }
.slider.is-paused .slider__pause .i-pause { display: none; }
.slider__dots { display: flex; gap: 6px; padding: 0 6px; }
.slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.slider__dots button[aria-selected="true"] { background: #fff; width: 22px; border-radius: 5px; }
.hero__lead { position: relative; z-index: 5; margin-top: -110px; }
.lead { background: var(--surface); max-width: 720px; margin-left: clamp(16px, 3vw, 40px); padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-md); box-shadow: 0 20px 50px rgba(13,27,42,.16); border-top: 5px solid var(--signal); }
.lead__meta { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.lead__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); margin-bottom: .4em; }
.lead__title a { color: var(--ink); text-decoration: none; }
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lead__excerpt { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.lead__more { font-weight: 600; }
.hero:not(:has(.slider)) .hero__lead { margin-top: 40px; }
@media (max-width: 700px) {
  .hero__frame { padding-top: 12px; }
  .slider { height: 58vw; min-height: 210px; }
  .slider__controls { bottom: 12px; right: 12px; }
  .slider__btn { width: 34px; height: 34px; }
  .slide__cap { display: none; }
  .hero__lead { margin-top: 0; }
  .lead { margin-left: 0; border-radius: 0; box-shadow: none; border-top: 0; background: transparent; padding: 18px 0 4px; max-width: none; }
  .hero { margin-bottom: 24px; }
}

/* Startseite: Nachrichten + Seitenleiste */
.home { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.home__all { margin-top: 32px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .home { grid-template-columns: minmax(0, 1fr); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid, .grid--3 { grid-template-columns: 1fr; gap: 26px; } }

.card { display: flex; flex-direction: column; }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-md); background: var(--moss-tint); margin-bottom: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
.card__title { font-size: 1.28rem; line-height: 1.22; margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--signal), var(--signal)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s; }
.card__title a:hover { background-size: 100% 3px; }
.card__excerpt { color: var(--ink-2); font-size: .98rem; margin: 0; }
.card--noimg { border-top: 3px solid var(--moss); padding-top: 16px; }
@media (max-width: 640px) {
  .grid .card { display: grid; grid-template-columns: 112px 1fr; gap: 0 14px; align-items: start; }
  .grid .card__media { margin: 0; aspect-ratio: 1; grid-row: span 2; }
  .grid .card__excerpt { display: none; }
  .grid .card__title { font-size: 1.1rem; }
  .grid .card--noimg { grid-template-columns: 1fr; }
}

.home__side { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 1080px) { .home__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .home__side { grid-template-columns: minmax(0, 1fr); } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.box__head h2, .tips__head h2, .nlbox h2 { font-size: 1.3rem; margin: 0; }

/* Tipps aus dem Ort (zufällige Reihenfolge, wechseln automatisch) */
.tips { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); border-left: 6px solid var(--signal); padding: 22px 22px 20px; }
.tips__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tips__nav { display: flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tips__nav button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.tips__nav button:hover { background: var(--moss-tint); }
.tips__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tips__count { min-width: 4.2em; text-align: center; }
.tips__stage { min-height: 150px; }
.tip.is-active { animation: tipIn .45s ease; }
@keyframes tipIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.tip__kind { font-size: .82rem; font-weight: 600; color: var(--moss); margin: 0 0 4px; }
.tip__title { font-size: 1.4rem; margin-bottom: 6px; }
.tip__title a { color: var(--ink); }
.tip__text { color: var(--ink-2); margin-bottom: 10px; }
.tip__facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-size: .93rem; }
.tip__facts dt { color: var(--muted); }
.tip__facts dd { margin: 0; }

/* Newsletter */
.nlbox { background: var(--moss); color: #fff; border-radius: var(--r-md); padding: 24px; }
.nlbox h2 { color: #fff; margin-bottom: 6px; }
.nlbox p { color: rgba(255,255,255,.88); }
.nlbox a { color: #fff; }
.nlform__row { display: flex; gap: 8px; margin-bottom: 12px; }
.nlform input[type=email] { flex: 1; min-width: 0; padding: 11px 13px; border: 2px solid transparent; border-radius: var(--r-sm); font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.nlform input[type=email]:focus { outline: none; border-color: var(--signal); }
.nlbox .btn { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.nlbox .btn:hover { background: #ffd451; border-color: #ffd451; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--moss); }
.nlbox .check input { accent-color: var(--signal); }
.nlform__msg { margin: 10px 0 0; font-weight: 600; min-height: 0; }
.nlform__msg:empty { display: none; }
.nlform.is-done .nlform__row, .nlform.is-done .check { display: none; }
.nlbox--wide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); }
.nlbox--wide h2 { font-size: 1.6rem; }
.nlbox--page { margin-top: 8px; }
@media (max-width: 800px) { .nlbox--wide { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .nlform__row { flex-direction: column; } }

/* Termine & Telefon */
.dates, .phones { list-style: none; margin: 0; padding: 0; }
.dates li, .phones li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.dates li:last-child, .phones li:last-child { border-bottom: 0; }
.dates__range { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.phones a { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: none; }
.phones a:hover { text-decoration: underline; }
.phones small { display: block; color: var(--muted); font-size: .85rem; }

/* Instagram */
.insta { margin-top: clamp(48px, 7vw, 88px); }
.insta__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.insta__grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: var(--moss-tint); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; }
.insta__cap { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; font-size: .82rem; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(13,27,42,.8)); opacity: 0; transition: opacity .2s; }
.insta__grid a:hover .insta__cap, .insta__grid a:focus .insta__cap { opacity: 1; }
@media (max-width: 700px) { .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Über Klein Borstel + Höhenprofil */
.about { margin-top: clamp(48px, 7vw, 88px); padding-block: clamp(40px, 6vw, 72px); background: var(--surface); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.about__links-h { font-size: 1.15rem; margin-top: 30px; }
.quick { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); background: var(--paper); font-size: .95rem; }
.quick a:hover { border-color: var(--moss); color: var(--moss); }

.profile { margin: 0; position: relative; }
.profile svg { display: block; width: 100%; }
.profile--line { padding-top: 34px; padding-bottom: 30px; }
.profile--line svg { height: 150px; overflow: visible; }
.profile__area { fill: var(--moss-tint); }
.profile__line { fill: none; stroke: var(--moss); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.profile__water { fill: none; stroke: #4c86b5; stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.profile__dot { fill: var(--signal); stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.profile__labels { font-size: .88rem; color: var(--ink-2); }
.profile__label { position: absolute; white-space: nowrap; }
.profile__label strong { font-family: var(--display); font-size: 1.35rem; color: var(--ink); margin-right: 4px; }
.profile__label--start { left: 0; top: 0; }
.profile__label--end { right: 0; bottom: 0; text-align: right; }
.profile__label--mid { left: 50%; top: 52%; transform: translateX(-50%); color: var(--muted); font-style: italic; }
.profile--footer { line-height: 0; margin-top: clamp(56px, 8vw, 100px); }
.profile--footer svg { height: clamp(46px, 7vw, 90px); }
.profile--footer .profile__fill { fill: var(--ink); }
.profile--footer .profile__line { stroke: var(--signal); stroke-width: 2; }
.tpl-home .profile--footer { margin-top: 0; background: var(--surface); }

/* Seitenkopf & Artikel */
.pagehead { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(20px, 3vw, 36px); }
.pagehead__sub { font-size: 1.12rem; color: var(--ink-2); max-width: 64ch; }
.search { display: flex; gap: 8px; max-width: 560px; margin-top: 18px; }
.search input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #c3ccd7; border-radius: var(--r-sm); font: inherit; background: var(--surface); }
.search input:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: var(--moss); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filters a { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--surface); font-size: .93rem; }
.filters a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 48px 0 0; }
.pager__step { font-weight: 600; padding: 10px 18px; border: 2px solid var(--moss); border-radius: var(--r-sm); text-decoration: none; }
.pager__step:hover { background: var(--moss); color: #fff; }
.pager__pos { color: var(--muted); }
.empty { padding: 28px; background: var(--surface); border: 1px dashed #c3ccd7; border-radius: var(--r-md); }

.article__head { padding-top: clamp(28px, 4vw, 52px); max-width: 880px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.article__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.08; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--muted); font-size: .95rem; }
.article__image { margin-top: 24px; margin-bottom: 0; }
.article__image img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-md); }
.article__body { display: grid; grid-template-columns: minmax(0, 700px) 1fr; gap: 56px; padding-top: 36px; }
.article__intro { font-size: 1.22rem; color: var(--ink); font-weight: 500; }
.article__aside { position: relative; }
.share { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: .95rem; }
.share__h { font-weight: 600; margin: 0 0 4px; color: var(--muted); font-size: .85rem; }
.share a, .share button { background: none; border: 0; padding: 0; color: var(--moss); cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.article__nl { margin-top: 56px; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.prevnext a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.1rem; line-height: 1.3; }
.prevnext a:hover { border-color: var(--moss); }
.prevnext span { display: block; font-family: var(--text); font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.prevnext__next { text-align: right; }
.related { margin-top: 64px; }
.related h2 { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 26px; }
.notice { background: var(--signal-tint); border-left: 4px solid var(--signal); padding: 10px 14px; }
@media (max-width: 900px) {
  .article__body { grid-template-columns: 1fr; gap: 24px; }
  .share { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
  .share__h { margin: 0; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext__next { text-align: left; }
}

/* Fließtext */
.prose { font-size: 1.1rem; line-height: 1.7; max-width: 70ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.65rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.32rem; margin: 1.5em 0 .45em; }
.prose h4 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: .3em 0 .3em 1.2em; border-left: 4px solid var(--signal); font-family: var(--display); font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.prose img { border-radius: var(--r-md); margin: 1.4em 0; height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.prose table, .table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .98rem; background: var(--surface); }
.prose th, .prose td, .table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th, .table th { font-weight: 600; background: var(--moss-tint); }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r-md); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose--page { max-width: 76ch; }
.table { max-width: 760px; }
.table td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Telefonbuch */
.phonebook { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; align-items: start; }
.phonebook__grp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.phonebook__grp h2 { font-size: 1.3rem; }
.phonebook__grp--urgent { border-top: 5px solid var(--danger); }
.phonebook .phones a.tel--112, .phonebook .phones a.tel--110 { font-size: 1.35rem; }

/* Links & Galerie */
.linklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.linklist li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.linklist a { display: block; text-decoration: none; }
.linklist strong { display: block; font-size: 1.08rem; color: var(--ink); }
.linklist a:hover strong { color: var(--moss); text-decoration: underline; }
.linklist__host { font-size: .88rem; color: var(--muted); }
.linklist p { margin: 8px 0 0; font-size: .95rem; color: var(--ink-2); }
.gallery { list-style: none; padding: 0; margin: 0; columns: 3 280px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery img { border-radius: var(--r-md); width: 100%; }
.gallery span { display: block; font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Formulare */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__aside h2 { font-size: 1.15rem; margin-top: 0; }
.form { max-width: 720px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid #b8c2ce; border-radius: var(--r-sm); font: inherit; background: var(--surface); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: var(--moss); }
.field [aria-invalid="true"], .check [aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .92rem; margin: 6px 0 0; font-weight: 500; }
.form .check { font-size: .95rem; margin: 6px 0 18px; }
.success, .done { padding-block: clamp(40px, 8vw, 96px); }
.success { background: var(--surface); padding: 32px; border-radius: var(--r-md); border-left: 6px solid var(--moss); }
.flash { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 500; }
.flash--ok { background: var(--moss-tint); border-left: 5px solid var(--moss); }
.flash--err { background: #fbe9e6; border-left: 5px solid var(--danger); }

/* Fußbereich */
.footer { color: rgba(255,255,255,.82); }
.footer__inner { background: var(--ink); padding: 24px 0 36px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
.footer__name { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.footer__about p { max-width: 42ch; }
.footer__head { font-weight: 600; color: var(--signal); margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: .9rem; }
.footer__legal-links { display: flex; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead, .footer, .slider, .home__side, .share, .article__nl, .related, .prevnext, .alert { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } .prose td, .prose th { padding: 8px; } }
@media (max-width: 640px) { .table td:nth-child(2) { white-space: normal; } .table th, .table td { padding: 9px 6px; font-size: .95rem; } }

/* Ferientermine: Bezeichnung oben, Zeitraum darunter – passt in schmale Spalten */
.dates li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-items: start; }
.dates__label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 500; }
.dates .dates__range { color: var(--ink-2); font-weight: 400; font-size: .95rem; white-space: normal; }

/* ---------- Update 2 ---------- */

/* Kasten-Layout mit Hintergrundbild wie auf der bisherigen Seite (nur auf großen Bildschirmen) */
@media (min-width: 1100px) {
  /* Hintergrundbild steht fest, die Seite scrollt darüber (eigene Ebene statt background-attachment: fixed, das Safari nicht kann) */
  body { background-color: var(--page-bg); }
  body::before { content: ""; position: fixed; inset: 0; z-index: -1; background-color: var(--page-bg); background-image: var(--page-img, none); background-size: cover; background-position: center; background-repeat: no-repeat; pointer-events: none; }
  body.bg-tile::before { background-size: auto; background-repeat: repeat; }
  .site { position: relative; z-index: 0; }
  .site { max-width: 1280px; margin: 0 auto; background: var(--paper); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 10px 40px rgba(0,0,0,.18); min-height: 100vh; }
  .masthead { backdrop-filter: none; }
}

/* Kreis-Countdown */
.alert__inner--cd { padding: 16px 22px; }
.cd { flex: 0 0 auto; text-align: center; }
.cd__title { margin: 0 0 6px; font-weight: 600; font-size: .9rem; }
.cd__rings { display: flex; gap: 10px; justify-content: center; }
.cd__unit { position: relative; width: 86px; height: 86px; display: grid; place-items: center; }
.cd__unit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cd__track { fill: rgba(255,255,255,.55); stroke: #60686f; stroke-width: 7; }
.cd__bar { fill: none; stroke: var(--ring); stroke-width: 7; stroke-linecap: butt; transition: stroke-dashoffset .5s linear; }
.cd__num { position: relative; font-weight: 700; font-size: 1.55rem; line-height: 1; margin-top: -10px; font-variant-numeric: tabular-nums; color: #000; }
.cd__label { position: absolute; bottom: 20px; left: 0; right: 0; font-size: .68rem; color: #000; }
.cd__until { margin: 6px 0 0; font-size: .8rem; color: var(--ink-2); }
@media (max-width: 700px) {
  .alert__inner--cd { padding: 12px 14px; }
  .cd { width: 100%; }
  .cd__rings { gap: 6px; }
  .cd__unit { width: 72px; height: 72px; }
  .cd__num { font-size: 1.25rem; margin-top: -8px; }
  .cd__label { bottom: 15px; font-size: .6rem; }
}
@media (max-width: 340px) { .cd__unit { width: 62px; height: 62px; } .cd__label { display: none; } .cd__num { margin: 0; } }

/* Aufmacher mit eigenem Bild */
.lead--img { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 28px; max-width: 980px; align-items: start; }
.lead__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--moss-tint); }
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.lead--img .lead__title { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); }
@media (max-width: 800px) {
  .lead--img { grid-template-columns: 1fr; }
  .lead__media { margin-bottom: 16px; aspect-ratio: 16 / 9; }
}

/* Saubere Welle über dem Fuß */
.wave { line-height: 0; margin-top: clamp(56px, 8vw, 100px); }
.tpl-home .wave { margin-top: 0; background: var(--surface); }
.wave svg { display: block; width: 100%; height: clamp(36px, 5vw, 64px); }
.wave__fill { fill: var(--ink); }
.wave__line { fill: none; stroke: var(--signal); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Links unten auf der Startseite */
.about__more { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-weight: 600; font-size: .95rem; }

/* Formular „Deine Website eintragen“ */
.suggest { margin-top: 48px; max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--signal); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); }
.suggest h2 { font-size: 1.5rem; }

/* Galerie-Alben */
.album { margin-bottom: 40px; }
.album h2 small { font-family: var(--text); font-size: .9rem; color: var(--muted); font-weight: 400; }

/* Alte Tabellen (z. B. Geschichte) auf dem Handy untereinander statt nebeneinander */
@media (max-width: 640px) {
  .prose table { display: block; overflow: visible; background: none; }
  .prose thead, .prose tbody, .prose tr { display: block; width: 100%; }
  .prose tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .prose th, .prose td { display: block; width: auto !important; padding: 2px 0; border: 0; }
  .prose td:empty { display: none; }
  .prose td:first-child:not(:only-child) { font-weight: 700; }
  .prose img { max-width: 100% !important; height: auto !important; }
}

/* Bildwechsel-Steuerung auf dem Handy vollständig sichtbar */
@media (max-width: 700px) {
  .slider__controls { left: 10px; right: 10px; bottom: 10px; justify-content: center; gap: 6px; }
  .slider__btn { width: 32px; height: 32px; }
  .slider__btn svg { width: 16px; height: 16px; }
  .slider__pause { display: none; }
  .slider__dots button { width: 8px; height: 8px; }
}

/* Aufmacher unter dem Bildwechsel statt darübergelegt */
.hero__lead { margin-top: 20px; }
.lead { margin-left: 0; max-width: none; box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(13,27,42,.08); }
.lead--img { max-width: none; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 800px) { .lead--img { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .hero__lead { margin-top: 0; } .lead { box-shadow: none; } }

/* ---------- Update 6: Hinweisband und Balken in der Kernfarbe ---------- */
.alert__inner { background: var(--moss); color: #fff; }
.alert__text a, .alert__text { color: #fff; }
.alert__text a { text-decoration-color: rgba(255,255,255,.6); }
.alert__text a:hover { text-decoration-color: #fff; color: #fff; }
.alert__icon { background: repeating-linear-gradient(-45deg, #fff 0 5px, var(--moss) 5px 10px); border-radius: 3px; }
/* mit Countdown: Kreise mittig oben, Text darunter */
.alert__inner--cd { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 22px 24px 20px; }
.alert__inner--cd .cd { order: -1; }
.alert__inner--cd .alert__msg { flex: 0 1 auto; justify-content: center; max-width: 820px; }
.cd__title, .cd__until { color: rgba(255,255,255,.85); }
.cd__track { fill: #fff; stroke: rgba(255,255,255,.28); }
.cd__unit { width: 96px; height: 96px; }
.cd__rings { gap: 16px; }
@media (max-width: 700px) {
  .alert__inner--cd { padding: 16px 12px; }
  .cd__rings { gap: 6px; }
  .cd__unit { width: 72px; height: 72px; }
}
/* Balken in der Kernfarbe statt Gelb */
.lead { border-top-color: var(--moss); }
.tips { border-left-color: var(--moss); }
.suggest { border-top-color: var(--moss); }
.prose blockquote { border-left-color: var(--moss); }
.notice { border-left-color: var(--moss); }
.nav__list > li > a[aria-current], .nav__sub-toggle.is-current { box-shadow: inset 0 -3px 0 var(--moss); }
@media (max-width: 1000px) { .nav__list > li > a[aria-current], .nav__sub-toggle.is-current { box-shadow: none; } }
.card__title a { background-image: linear-gradient(var(--moss), var(--moss)); }
.chip--new { background: var(--moss); color: #fff; }
.alert__inner--cd .alert__icon { display: none; }
.alert__inner--cd .alert__text { font-size: 1.05rem; }

/* ---------- Update 8: Logo oben links, Menü bündig mit der Unterkante ---------- */
.brand--logo { align-self: stretch; display: flex; align-items: center; }
.brand__img { display: block; height: 92px; width: auto; max-width: 260px; object-fit: contain; }
@media (min-width: 1001px) {
  .masthead__bar { align-items: flex-end; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .nav { padding-bottom: 2px; }
}
@media (max-width: 1000px) {
  .masthead__bar { padding-top: 8px; padding-bottom: 8px; }
  .brand__img { height: 56px; }
}
/* Links in der rechten Spalte */
.linkbox ul { list-style: none; margin: 0; padding: 0; }
.linkbox li { border-bottom: 1px dashed var(--line); }
.linkbox li:last-child { border-bottom: 0; }
.linkbox li a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); }
.linkbox li a:hover { color: var(--moss); text-decoration: underline; }
.linkbox__suggest { margin: 12px 0 0; font-size: .92rem; font-weight: 600; }
.about__grid--single { grid-template-columns: minmax(0, 1fr); }
.about__grid--single .about__text { max-width: 76ch; }

/* ---------- Update 9: Reihenfolge der oberen Blöcke frei wählbar ---------- */
.top-stack { padding-top: clamp(16px, 2.5vw, 28px); }
.top-stack .tblock + .tblock { margin-top: 16px; }
.top-stack .alert { padding-top: 0; }
.top-stack .hero__frame { padding-top: 0; }
.top-stack .hero__lead { margin-top: 0; }
@media (max-width: 700px) {
  .top-stack { padding-top: 12px; }
  .top-stack .tblock + .tblock { margin-top: 12px; }
}

/* ---------- Update 10: Tipps in der Mitte mit mehreren Tipps ---------- */
.tips--multi { margin-bottom: 36px; }
.tips--multi .tips__stage { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px 26px; min-height: 0; }
.tips--multi .tip { padding-right: 4px; }
.tips--multi .tip + .tip { border-left: 1px solid var(--line); padding-left: 22px; }
.tips--multi .tip__title { font-size: 1.22rem; }
@media (max-width: 800px) {
  .tips--multi .tips__stage { grid-template-columns: minmax(0, 1fr); }
  .tips--multi .tip + .tip { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}

/* ---------- Update 13: Großansicht der Fotos mit Blättern ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 16, 26, .94); display: grid; place-items: center; padding: 56px 72px 24px; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto; border-radius: var(--r-sm); opacity: .3; transition: opacity .2s; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lightbox__img.is-loaded { opacity: 1; }
.lightbox figcaption { display: flex; gap: 18px; justify-content: center; align-items: baseline; color: #fff; margin-top: 12px; font-size: .95rem; text-align: center; }
.lightbox__count { color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.lightbox__btn:hover { background: #fff; }
.lightbox__btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 12px; right: 14px; width: 44px; height: 44px; }
.lightbox__close svg { width: 22px; height: 22px; }
@media (max-width: 700px) {
  .lightbox { padding: 60px 8px 90px; }
  .lightbox__img { max-height: calc(100vh - 190px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* ---------- Update 15: Nachrichten im Wechsel (großes Bild, Text darüber) ---------- */
.ns { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--ink); color: #fff; }
.ns__track { position: relative; height: clamp(320px, 40vw, 520px); }
.ns__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.ns__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ns__media, .ns__media img { display: block; width: 100%; height: 100%; }
.ns__media img { object-fit: cover; }
.ns__ov { position: absolute; inset: auto 0 0 0; padding: 120px 140px 34px 40px; background: linear-gradient(180deg, rgba(13,27,42,0) 0%, rgba(13,27,42,.55) 40%, rgba(13,27,42,.9) 100%); }
.ns__meta { display: flex; gap: 12px; align-items: center; margin: 0 0 8px; font-size: .95rem; opacity: .92; }
.ns__meta .chip--new { background: var(--moss); color: #fff; }
.ns__title { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); line-height: 1.12; margin: 0 0 10px; max-width: 26ch; color: #fff; }
.ns__title a { color: #fff; text-decoration: none; }
.ns__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.ns__ex { margin: 0 0 14px; max-width: 62ch; opacity: .92; font-size: 1.05rem; }
.ns__more { color: #fff; font-weight: 600; text-underline-offset: .2em; }
.ns__more:hover { color: #fff; }
.ns__bar { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 4px; background: rgba(255,255,255,.22); }
.ns__bar span { display: block; height: 100%; width: 0; background: var(--moss); }
.ns.is-running .ns__bar span { animation: nsBar var(--ns-dur, 7s) linear forwards; }
.ns.is-paused .ns__bar span { animation-play-state: paused; }
@keyframes nsBar { from { width: 0; } to { width: 100%; } }
.ns__dots { position: absolute; z-index: 3; left: 40px; top: 20px; display: flex; gap: 6px; }
.ns__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s; }
.ns__dots button[aria-selected="true"] { background: #fff; width: 26px; border-radius: 5px; }
.ns__nav { position: absolute; z-index: 3; right: 24px; bottom: 30px; display: flex; gap: 8px; }
.ns__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ns__btn:hover { background: #fff; }
.ns__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) {
  .ns__track { height: 440px; }
  .ns__ov { padding: 70px 18px 80px; }
  .ns__ex { display: none; }
  .ns__nav { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; }
  .ns__btn { width: 42px; height: 42px; }
  .ns__dots { left: 18px; top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ns__slide { transition: none; } }

/* ---------- Update 16: kompakter, schwebendes Nachrichtenfenster ---------- */
/* Höhen zurücknehmen */
.slider { height: clamp(260px, 32vw, 430px); }
.ns__track { height: clamp(280px, 30vw, 400px); }
.ns__title { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }

/* Schwebendes Nachrichtenfenster über dem unteren Rand des Bildwechsels */
.fnews { position: relative; z-index: 5; margin: -96px 0 0 clamp(16px, 3vw, 40px); max-width: 640px; background: var(--surface); border-top: 5px solid var(--moss); border-radius: var(--r-md); box-shadow: 0 18px 44px rgba(13, 27, 42, .18); padding: 24px 30px 20px; }
.fnews__item.is-active { animation: tipIn .45s ease; }
.fnews__meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .92rem; margin: 0 0 6px; }
.fnews__title { font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem); line-height: 1.15; margin: 0 0 8px; }
.fnews__title a { color: var(--ink); text-decoration: none; }
.fnews__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.fnews__ex { color: var(--ink-2); margin: 0 0 10px; font-size: 1.02rem; }
.fnews__more { font-weight: 600; }
.fnews__nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 6px; color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.fnews__nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.fnews__nav button:hover { background: var(--moss-tint); }
.fnews__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fnews__count { min-width: 3.4em; text-align: center; }
.fnews__bar { position: absolute; left: 0; right: 0; top: -5px; height: 5px; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; }
.fnews__bar span { display: block; height: 100%; width: 0; background: color-mix(in srgb, var(--moss) 55%, #fff); }
.fnews.is-running .fnews__bar span { animation: nsBar var(--fn-dur, 7s) linear forwards; }
.fnews.is-paused .fnews__bar span { animation-play-state: paused; }
.tblock--slider .slider__controls { bottom: auto; top: 16px; }
@media (max-width: 700px) {
  .fnews { margin: 0; max-width: none; border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: none; border-top-width: 4px; padding: 18px 16px 14px; }
  .fnews__ex { font-size: .98rem; }
}

/* Countdown kompakt */
.cd--compact .cd__rings { gap: 8px; }
.cd--compact .cd__unit { width: 64px; height: 64px; }
.cd--compact .cd__num { font-size: 1.15rem; margin-top: -8px; }
.cd--compact .cd__label { bottom: 13px; font-size: .56rem; }
.cd--compact .cd__track { stroke-width: 7; }
.cd--compact .cd__until { font-size: .78rem; margin-top: 4px; }

/* Hinweis in der rechten Spalte */
.alertbox { background: var(--moss); color: #fff; border-radius: var(--r-md); padding: 18px 16px 16px; text-align: center; }
.alertbox .cd__until, .alertbox .cd__title { color: rgba(255,255,255,.85); }
.alertbox__text { margin: 10px 0 0; font-weight: 600; line-height: 1.4; }
.alertbox__text a { color: #fff; text-decoration-color: rgba(255,255,255,.6); }
.alertbox .cd__unit { width: 66px; height: 66px; }
.alertbox .cd__num { font-size: 1.2rem; margin-top: -8px; }
.alertbox .cd__label { bottom: 13px; font-size: .58rem; }
.alertbox .cd__rings { gap: 8px; }

/* Hinweis als schmales Band oben */
.alertband { display: flex; align-items: center; gap: 14px 22px; background: var(--moss); color: #fff; border-radius: var(--r-md); padding: 12px 18px; }
.alertband__text { margin: 0; font-weight: 600; flex: 1; }
.alertband__text a { color: #fff; text-decoration-color: rgba(255,255,255,.6); }
.alertband .cd { flex: none; }
.alertband .cd__unit { width: 56px; height: 56px; }
.alertband .cd__num { font-size: 1.05rem; margin-top: -7px; }
.alertband .cd__label { bottom: 11px; font-size: .52rem; }
.alertband .cd__rings { gap: 6px; }
.alertband .cd__until { display: none; }
@media (max-width: 700px) { .alertband { flex-direction: column; text-align: center; } }

/* Instagram-Hinweis */
.instabox { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); text-decoration: none; color: #fff; background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%); box-shadow: 0 6px 18px rgba(129, 52, 175, .25); }
.instabox:hover { color: #fff; filter: brightness(1.05); }
.instabox__icon { width: 38px; height: 38px; flex: none; fill: none; stroke: #fff; stroke-width: 2; }
.instabox__icon .dot, .nav__insta .dot { fill: currentColor; stroke: none; }
.instabox__text { display: flex; flex-direction: column; line-height: 1.25; }
.instabox__text strong { font-size: 1.05rem; }
.instabox__text span { opacity: .92; font-size: .95rem; }
.nav__insta a { display: flex !important; align-items: center; gap: 8px; }
.nav__insta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; color: #c13584; }
.nav__insta .dot { fill: #c13584; }
@media (min-width: 1001px) { .nav__insta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Hinweis: breit in der rechten Spalte, schmal (Handy/Tablet) direkt unter dem oberen Bereich */
.only-narrow { display: none; }
@media (max-width: 1080px) {
  .only-wide { display: none; }
  .only-narrow { display: block; margin-top: -12px; margin-bottom: 28px; }
}

/* ---------- Update 18: Nachrichtenfenster mit fester Höhe und Bild im Hintergrund ---------- */
.fnews { --fn-h: 270px; height: var(--fn-h); padding: 0; overflow: hidden; background: var(--ink); color: #fff; border-top: 0; }
.fnews__item { position: absolute; inset: 0; display: flex; }
.fnews__item[hidden] { display: none; }
.fnews__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fnews__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.78) 55%, rgba(13,27,42,.45) 100%); }
.fnews__item:not(.fnews__item--img)::after { background: var(--moss); }
.fnews__body { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; padding: 22px 28px 58px; }
.fnews__meta { color: rgba(255,255,255,.85); flex: none; }
.fnews__meta .chip--new { background: #fff; color: var(--moss); }
.fnews__title { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); }
.fnews__title a { color: #fff; }
.fnews__ex { color: rgba(255,255,255,.9); margin: 0 0 6px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--ex-lines, 2); line-height: 1.5; font-size: .98rem; }
.fnews__ex.is-empty { display: none; }
.fnews__more { color: #fff; flex: none; margin-top: auto; text-underline-offset: .2em; }
.fnews__more:hover { color: #fff; }
.fnews__nav { position: absolute; z-index: 2; right: 18px; bottom: 14px; margin: 0; color: rgba(255,255,255,.85); }
.fnews__nav button { background: rgba(255,255,255,.95); border: 0; color: var(--ink); }
.fnews__nav button:hover { background: #fff; }
.fnews__bar { top: auto; bottom: 0; height: 4px; border-radius: 0; z-index: 2; background: rgba(255,255,255,.18); }
.fnews__bar span { background: #fff; }
@media (max-width: 700px) {
  .fnews { --fn-h: 290px; }
  .fnews__body { padding: 18px 16px 60px; }
  .fnews__item::after { background: linear-gradient(180deg, rgba(13,27,42,.6) 0%, rgba(13,27,42,.9) 60%); }
}

/* Update 19: Instagram-Fotos in der rechten Spalte */
.instagrid__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.instagrid__list a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--moss-tint); }
.instagrid__list img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.instagrid__list a:hover img, .instagrid__list a:focus-visible img { transform: scale(1.06); }
.instagrid__video { position: absolute; top: 6px; right: 6px; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.instagrid__handle { margin: 10px 0 0; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .instagrid__list img { transition: none; } }
/* Update 19: Menü mit „Startseite“ – kein Umbruch bei mittlerer Breite */
.nav__list > li > a, .nav__sub-toggle { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1240px) {
  .nav__list > li:not(.nav__cta) > a, .nav__sub-toggle { padding-left: 8px; padding-right: 8px; }
  .nav__search input { width: 120px; }
}
/* Update 20: schwebendes Nachrichtenfenster größer – so breit wie die Nachrichtenspalte */
@media (min-width: 1081px) {
  .fnews { --fn-h: 340px; max-width: none; width: calc(100% - 360px - clamp(28px, 4vw, 56px) - clamp(16px, 3vw, 40px)); margin-top: -120px; }
  .fnews__body { padding: 28px 36px 64px; }
  .fnews__title { font-size: clamp(1.5rem, 1rem + 1.1vw, 2.1rem); }
  .fnews__ex { font-size: 1.05rem; }
}
@media (min-width: 701px) and (max-width: 1080px) { .fnews { --fn-h: 310px; max-width: 720px; } }
/* Update 21: Nachrichtenfenster mittig über der Nachrichtenspalte, schmaler, weniger im Bild, weniger Abstand nach unten */
@media (min-width: 1081px) {
  .fnews { --main-w: calc(100% - 360px - clamp(28px, 4vw, 56px)); --fn-w: calc(var(--main-w) * .86); width: var(--fn-w); margin: -72px 0 0 calc((var(--main-w) - var(--fn-w)) / 2); --fn-h: 310px; }
  .fnews__title { font-size: clamp(1.4rem, 1rem + .9vw, 1.9rem); }
}
.hero.top-stack:has(.fnews) { margin-bottom: clamp(24px, 3vw, 36px); }
@media (min-width: 701px) and (max-width: 1080px) { .fnews { --fn-h: 270px; margin-left: auto; margin-right: auto; width: 86%; max-width: 760px; margin-top: -72px; } }

/* Update 22: Countdown schwebt neben dem Nachrichtenfenster */
@media (min-width: 1081px) {
  .fnrow { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: -72px; position: relative; z-index: 5; }
  .fnrow .fnews { width: 86%; margin: 0 auto; }
  .fnrow__side .alertbox { box-shadow: 0 18px 44px rgba(13, 27, 42, .18); }
}
/* Rufnummern: lange Bezeichnung und Nummer passen immer in den Kasten */
.phones li { flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
.phones li > span { flex: 1 1 9em; hyphens: auto; -webkit-hyphens: auto; }
.phones li > a { margin-left: auto; }
/* Update 23: Countdown nicht über dem Bild, sondern mittig in der freien Fläche rechts neben dem Nachrichtenfenster */
@media (min-width: 1081px) {
  .fnrow__side { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-top: calc(72px + clamp(24px, 3vw, 36px)); }
  .fnrow__side .alertbox { box-shadow: none; }
}
@media (min-width: 1001px) and (max-width: 1080px) { .fnrow__side { margin-top: 16px; } }
/* Update 26: Notrufnummern – 112 rot, 110 Polizeiblau, beide gleich groß */
.phones a.tel--112, .phones a.tel--110 { font-size: 1.25rem; }
.phones a.tel--112 { color: var(--danger); }
.phones a.tel--110 { color: #0b4ea2; }

/* Update 28 */
.form__note { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.tip__title, .tips--multi .tip__title { font-size: var(--tip-title, 1.4rem); }
.tips--multi .tip__title { font-size: var(--tip-title, 1.22rem); }
.tip__text { font-size: var(--tip-text, inherit); }

/* Werbung rechts: Spaltenbreite, halbe Höhe */
.adbox { position: relative; }
.adbox a, .adbox > img { display: block; }
.adbox img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }
.adbox a:hover img { filter: brightness(1.04); }
.adbox__label { position: absolute; top: 6px; right: 6px; z-index: 1; font-size: .7rem; letter-spacing: .02em; padding: 2px 6px; border-radius: 3px; background: rgba(255,255,255,.88); color: var(--muted); }

/* Rubriken */
.dirlist { list-style: none; margin: 0; padding: 0; max-width: 860px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.dirlist li { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 4px 20px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.dirlist li:last-child { border-bottom: 0; }
.dirlist__name { font-weight: 600; }
.dirlist__name small { display: block; font-weight: 400; color: var(--muted); }
.dirlist__links { display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.dirlist__links a { overflow-wrap: anywhere; }
@media (max-width: 560px) { .dirlist li { grid-template-columns: minmax(0, 1fr); } }
.dirtiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.dirtile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--moss); border-radius: var(--r-md); overflow: hidden; }
.dirtile--img { border-top-width: 1px; }
.dirtile__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dirtile__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dirtile__title { font-size: 1.2rem; margin: 0; }
.dirtile__title a { color: var(--ink); }
.dirtile__note { margin: 0; color: var(--ink-2); }
.dirtile__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: .95rem; }
.dirtile__facts dt { color: var(--muted); }
.dirtile__facts dd { margin: 0; overflow-wrap: anywhere; }
.dirtile__map, .dirtile__more { margin: auto 0 0; padding-top: 4px; }
.dirtile__more a { overflow-wrap: anywhere; }
.btn--small { padding: 6px 12px; font-size: .9rem; }

/* Archiv */
.archive__years, .archive__year { max-width: 900px; }
.archive__years { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.archive__years a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); text-decoration: none; font-weight: 600; }
.archive__years a:hover { background: var(--moss-tint); }
.archive__year { margin-bottom: 32px; scroll-margin-top: 90px; }
.archive__year h2 { font-size: 1.5rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 4px; }
.archive__year h2 small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.archive__list { list-style: none; margin: 0; padding: 0; }
.archive__list li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.archive__list time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .95rem; }
.archive__list a { text-decoration: none; color: var(--ink); }
.archive__list a:hover { color: var(--moss); text-decoration: underline; }

/* Newsletter abbestellen */
.nlunsub { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.nlunsub h2 { font-size: 1.3rem; }
.nlunsub__form { display: flex; flex-wrap: wrap; gap: 8px; }
.nlunsub__form input[type=email] { flex: 1 1 240px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm, 4px); font: inherit; }

/* Ferien */
.ferien-now { display: flex; align-items: center; gap: 18px; background: var(--moss); color: #fff; border-radius: var(--r-md); padding: 18px 24px; margin-bottom: 22px; max-width: 760px; }
.ferien-now p { margin: 0; }
.ferien-now__num { font-size: 3rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ferien-now__big { font-size: 1.6rem; font-weight: 700; }
.ferien-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ferien-card { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--signal); border-radius: var(--r-md); padding: 14px 16px; }
.ferien-card.is-now { border-left-color: var(--moss); background: var(--moss-tint); }
.ferien-card p { margin: 0; }
.ferien-card__label { font-weight: 700; font-size: 1.08rem; }
.ferien-card__range { font-variant-numeric: tabular-nums; margin-top: 2px !important; }
.ferien-card__meta { color: var(--muted); font-size: .9rem; margin-top: 4px !important; }
.cal .section-head { flex-wrap: wrap; gap: 8px 20px; }
.cal__legend { margin: 0; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.cal__key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.cal__key--ferien { background: color-mix(in srgb, var(--signal) 55%, #fff); }
.cal__key--feiertag { background: #c0392b; }
.cal__key--today { border: 2px solid var(--ink); }
.cal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cal__month { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.cal__month h3 { font-size: 1.05rem; margin: 0 0 8px; }
.cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-size: .86rem; font-variant-numeric: tabular-nums; }
.cal__wd { color: var(--muted); font-size: .74rem; padding-bottom: 2px; }
.cal__d { padding: 4px 0; border-radius: 4px; }
.cal__d.is-we { color: var(--muted); }
.cal__d.is-ferien { background: color-mix(in srgb, var(--signal) 55%, #fff); color: var(--ink); }
.cal__d.is-feiertag { background: #c0392b; color: #fff; font-weight: 600; }
.cal__d.is-today { outline: 2px solid var(--ink); outline-offset: -2px; font-weight: 700; }
.cal__notes { list-style: none; margin: 8px 0 0; padding: 0; font-size: .8rem; color: var(--muted); }

/* Zoom-Ansicht für große Bilder (Ortsplan) */
.zoomlink { position: relative; display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
.zoomlink img { display: block; max-width: 100%; height: auto; }
.zoomlink::after { content: "Vergrößern"; position: absolute; right: 10px; bottom: 10px; padding: 6px 12px 6px 30px; border-radius: 99px; background: rgba(13,27,42,.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") 9px 50% / 15px no-repeat; color: #fff; font-size: .85rem; font-weight: 600; pointer-events: none; }
body.has-zoom { overflow: hidden; }
.zoomview { position: fixed; inset: 0; z-index: 1000; background: rgba(13,27,42,.96); overflow: hidden; touch-action: none; cursor: grab; user-select: none; }
.zoomview.is-zoomed:active { cursor: grabbing; }
.zoomview__img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; }
.zoomview__bar { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; z-index: 2; }
.zoomview__bar button { height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 99px; background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-weight: 600; padding: 0 12px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.zoomview__bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zoomview__close { background: var(--moss) !important; color: #fff !important; }
.zoomview__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 99px; background: rgba(0,0,0,.5); color: #fff; font-size: .85rem; white-space: nowrap; pointer-events: none; }
@media (max-width: 600px) { .zoomview__hint { white-space: normal; text-align: center; width: 90%; } .zoomview__close span { display: none; } }

/* Update 29: Kacheln attraktiver, Text begrenzt */
.dirtiles { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; align-items: start; }
.dirtile { border: 0; border-radius: 10px; background: var(--surface); box-shadow: 0 1px 2px rgba(13,27,42,.06), 0 6px 20px rgba(13,27,42,.07); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.dirtile:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(13,27,42,.08), 0 12px 28px rgba(13,27,42,.12); }
.dirtile__img { aspect-ratio: 16 / 9; }
.dirtile__band { height: 84px; background: linear-gradient(135deg, var(--moss) 0%, color-mix(in srgb, var(--moss) 65%, #0d1b2a) 100%); position: relative; overflow: hidden; }
.dirtile__band::before { content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.08); }
.dirtile__band span { position: absolute; left: 20px; bottom: -14px; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: var(--moss); display: grid; place-items: center; font-family: var(--display, Georgia, serif); font-size: 1.6rem; font-weight: 700; box-shadow: 0 4px 12px rgba(13,27,42,.18); }
.dirtile__body { padding: 26px 20px 18px; gap: 10px; }
.dirtile__img + .dirtile__body { padding-top: 16px; }
.dirtile__title { font-size: 1.25rem; line-height: 1.25; }
.dirtile__note { position: relative; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.dirtile__note p { margin: 0; }
.dirtile__note.is-long { max-height: calc(1.55em * 5); overflow: hidden; }
.dirtile__note.is-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(rgba(255,255,255,0), var(--surface)); }
.dirtile__note.is-long.is-open { max-height: none; }
.dirtile__note.is-long.is-open::after { display: none; }
.dirtile__toggle { align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none; color: var(--moss); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.dirtile__foot { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.dirtile__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--moss); overflow-wrap: anywhere; }
.dirtile__go:hover { text-decoration: underline; }
.dirtile__go svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
p.dirtile__map, p.dirtile__more { display: none; }
.adminbar { margin: 0 0 18px; padding: 8px 14px; background: #fff7d6; border: 1px solid #f0d980; border-radius: var(--r-md); font-size: .92rem; }
.adminedit { font-size: .85rem; color: #8a6d00; margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .dirtile, .dirtile:hover { transition: none; transform: none; } }
/* Ganze Kachel klickbar (führt zur Website bzw. Karte) */
.dirtile { position: relative; }
.dirtile--link { cursor: pointer; }
.dirtile__main::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 10px; }
.dirtile__toggle, .dirtile__facts a, .dirtile .adminedit, .dirtile__foot a:not(.dirtile__main) { position: relative; z-index: 2; }
.dirtile--link:hover .dirtile__title { color: var(--moss); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.dirtile__main:focus-visible { outline: none; }
.dirtile:has(.dirtile__main:focus-visible) { outline: 3px solid var(--moss); outline-offset: 3px; }
/* Update 36: Kacheln einer Reihe gleich hoch, Fußzeile immer unten */
.dirtiles { align-items: stretch; }
.dirtile { display: flex; flex-direction: column; }
.dirtile__body { flex: 1; display: flex; flex-direction: column; }
.dirtile__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dirtile__note.is-long { max-height: calc(1.55em * 4); }
.dirtile__facts dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dirtile__foot { margin-top: auto; flex-wrap: nowrap; min-width: 0; }
.dirtile__foot .dirtile__go { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dirtile__foot .dirtile__main { flex: 0 1 auto; }
.dirtile__map { flex: none; }
.dirtile__map svg { width: 16px; height: 16px; }
.dirtile__foot .adminedit { flex: none; margin-left: auto; }
.dirtile__body > .dirtile__facts + .dirtile__foot, .dirtile__body > .dirtile__toggle + .dirtile__foot, .dirtile__body > .dirtile__note + .dirtile__foot { margin-top: auto; }
@media (min-width: 700px) { .dirtiles { grid-auto-rows: 1fr; } }
.dirtile__note.is-long::after { display: none; }
.dirtile__note.is-cut::after { display: block; }
.dirtile__note.is-long.is-open::after { display: none; }

/* Update 39: Bildgrößen aus dem Editor */

.prose .img--s { width: 33%; } .prose .img--m { width: 50%; } .prose .img--l { width: 75%; } .prose .img--full { width: 100%; }
.prose a.zoomlink[class*="img--"] { max-width: none; }
.prose a.zoomlink[class*="img--"] img { width: 100%; margin: 0; }
.prose .img--left { float: left; margin: .3em 1.4em 1em 0; }
.prose .img--right { float: right; margin: .3em 0 1em 1.4em; }
.prose .img--center { display: block; margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: block; clear: both; }
@media (max-width: 600px) {
  .prose .img--s { width: 50%; }
  .prose .img--m, .prose .img--l { width: 100%; }
  .prose .img--m.img--left, .prose .img--m.img--right, .prose .img--l.img--left, .prose .img--l.img--right { float: none; margin: 1em 0; }
}
.footer__ver { margin-left: 14px; opacity: .6; font-size: .85em; }
.nlform__cap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 4px; font-size: .95rem; }
.nlform__cap input { width: 4.2em; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; font: inherit; text-align: center; color: var(--ink); background: #fff; }

.nlform__cap strong { white-space: nowrap; }
/* freie Werbefläche */
.adfree { display: flex; flex-direction: column; justify-content: center; gap: 4px; aspect-ratio: 2 / 1; padding: 18px 22px; border: 2px dashed color-mix(in srgb, var(--moss) 45%, transparent); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); }
.adfree:hover { border-color: var(--moss); background: var(--moss-tint); }
.adfree__t { font-family: var(--font-display, Georgia, serif); font-size: 1.35rem; font-weight: 700; color: var(--moss); }
.adfree__s { font-size: .92rem; color: var(--ink-2); }
