/* Region-Themenseiten (baden-wasser.html … – erzeugt von tools/site/region.py): Sprungleiste, Zeilen „.rt“ (aufklappbar), klebende Mini-Karte.
   Ergänzt base.css / region.css / region-magazin.css (gleiche Tokens). Verhalten: region-themen.js. Themenfarbe: [data-c] → --pc (base.css). */
.rth{padding-block:clamp(1.4rem,4vw,3rem) clamp(.5rem,2vw,1.5rem)}
.rth__grid{display:grid;gap:clamp(1rem,2.6vw,1.6rem)}
.rth__grid > *{min-width:0}
@media (min-width:1000px){
.rth__grid{grid-template-columns:minmax(0,1fr) minmax(19rem,.8fr);grid-template-areas:"head map" "list map";column-gap:clamp(1.8rem,3.5vw,3rem);row-gap:1rem;align-items:start}
.rth__head{grid-area:head}
.rth__list{grid-area:list}
.rth__map{grid-area:map;position:sticky;top:calc(var(--head-h) + var(--sub-h,3.75rem) + 1rem)}
}

/* Sprungleiste zu den Abschnitten */
.rth-chips ul{display:flex;gap:.4rem;list-style:none;margin:0;padding:0}
.rth-chips a{display:inline-flex;align-items:center;gap:.45rem;min-height:40px;padding:.3rem .5rem .3rem .9rem;border-radius:999px;border:1px solid var(--c-line);background:var(--c-bg);color:var(--c-text);text-decoration:none;font-size:.88rem;font-weight:500;white-space:nowrap;transition:background-color .2s,border-color .2s}
.rth-chips a:hover{border-color:var(--pc);background:color-mix(in srgb,var(--pc) 8%,var(--c-bg))}
.rth-chips small{display:grid;place-items:center;min-width:1.6rem;height:1.6rem;padding:0 .35rem;border-radius:999px;background:var(--c-surface);color:var(--c-muted);font-size:.75rem;font-weight:600}
@media (max-width:999px){
.rth-chips{margin-inline:calc(-1 * var(--gutter))}
.rth-chips ul{overflow-x:auto;scrollbar-width:none;padding:.15rem var(--gutter);scroll-padding-inline:var(--gutter);overscroll-behavior-x:contain}
.rth-chips ul::-webkit-scrollbar{display:none}
.rth-chips li{flex:none}
}
@media (min-width:1000px){.rth-chips ul{flex-wrap:wrap}}

/* Mini-Karte + Unterzeile */
.rth__map .mm{max-width:none}
.rth__cap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.1rem 1rem;margin:.55rem .2rem 0;font-size:.8rem;line-height:1.4;color:var(--c-muted)}
.rth__cap a{display:inline-flex;align-items:center;gap:.3rem;min-height:40px;font-weight:600;text-decoration:none}
.rth__cap a:hover{text-decoration:underline}
.rth__cap .ico{width:1.05em;height:1.05em}
@media (min-width:1000px){.rth__map .mm{max-height:calc(100svh - var(--head-h) - var(--sub-h,3.75rem) - 5rem);aspect-ratio:1;margin-inline:auto}}
.mm--theme .mm-pin--dot{cursor:pointer}
.mm-pin.is-on{transform:scale(1.4);z-index:5;box-shadow:0 0 0 2.5px #fff,0 0 0 7px color-mix(in srgb,var(--pc) 32%,transparent),0 2px 8px rgb(20 30 60 / .45)}
.mm-pin--dot.is-on .mm-l{opacity:1}
.mm--theme .mm-l{max-width:14rem;overflow:hidden;text-overflow:ellipsis}
/* Punkte nahe am Rand (tools/site/minimap.py): Beschriftung zur Kartenmitte hin statt mittig darüber */
.mm-pin--fl .mm-l{left:auto;right:-6px;transform:none}
.mm-pin--fr .mm-l{left:-6px;transform:none}
.mm-edge{text-decoration:none}
.mm-edge small{font-size:inherit;opacity:.72;font-weight:600}
.mm-edge:hover,.mm-edge.is-hl,.mm-edge.is-on{background:var(--pc,var(--c-accent));z-index:4}
/* Fernansicht (Slowenien, Italien, Adria): grobe Umrisse, Entfernungsringe */
.mm-svg path.mm-sea{fill:#cfe2f2;stroke:#9cc0e0;stroke-width:1}
.mm-svg path.mm-bd--x{stroke:#8f7d95;stroke-width:1.5;stroke-dasharray:6 3 1.5 3;opacity:1}
.mm-svg circle.mm-ring{fill:none;stroke:#8d93a3;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke;opacity:.7}
.mm-t.mm-rl{transform:translate(-50%,-50%);padding:1px 6px;border-radius:999px;background:rgb(255 255 255 / .85);font:600 10px/1.3 var(--f);color:#5d6478;white-space:nowrap}
.mm-t--c{font:600 10.5px/1 var(--f);letter-spacing:.18em;color:#8a8fa0;text-shadow:0 0 2px var(--mm-land),0 0 3px var(--mm-land)}
.mm--fern .mm-t--w{color:#3d78ad}

/* Kästen in der Liste (E-Bike, Gästekarten) */
.rth-box{margin:0 0 1.2rem}
.rth-cards{margin:0 0 1.4rem;border-radius:16px;background:var(--c-surface);font-size:.86rem;line-height:1.5}
.rth-cards > summary{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;min-height:44px;padding:.55rem 2.4rem .55rem .9rem;list-style:none;cursor:pointer;position:relative;border-radius:16px}
.rth-cards > summary::-webkit-details-marker{display:none}
.rth-cards > summary > span:last-child{font-weight:600;color:var(--c-primary)}
.rth-cards > summary::after{content:"";position:absolute;right:1.1rem;top:50%;width:.5rem;height:.5rem;margin-top:-.35rem;border:solid var(--c-muted);border-width:0 2px 2px 0;rotate:45deg;transition:rotate .25s var(--ease)}
.rth-cards[open] > summary::after{rotate:225deg;margin-top:-.1rem}
.rth-cards > p{margin:0;padding:0 1rem .8rem}
.rth-cards > p:first-of-type{padding-top:.1rem}

/* Abschnitte */
.rt-sec{padding-top:clamp(1.3rem,3vw,2rem)}
.rt-sec:first-of-type{padding-top:0}
.rt-sec h2{display:flex;align-items:center;gap:.6rem;margin:0 0 .35rem;font-size:clamp(1.25rem,1.05rem + .8vw,1.6rem);letter-spacing:-.015em}
.rt-sec h2::before{content:"";flex:none;width:.6rem;height:.6rem;border-radius:50%;background:var(--pc)}
.rt-sec h2 small{font-size:.8rem;font-weight:600;color:var(--c-muted);letter-spacing:0}
/* Englisch: längere Abschnittstitel brechen auf dem Handy um – als Fließtext mit hängendem Punkt, damit die Anzahl
   direkt hinter dem Titel bleibt (im Flex-Layout rutscht sie sonst an den rechten Rand). Einzeilig sieht es gleich aus. */
html[lang="en"] .rt-sec h2{display:block;padding-left:1.2rem;text-indent:-1.2rem}
html[lang="en"] .rt-sec h2::before{display:inline-block;vertical-align:middle;margin:-.15em .6rem 0 0}
html[lang="en"] .rt-sec h2 small{margin-left:.25rem;text-indent:0;white-space:nowrap}

/* Zeile: <div class="rt-w"><details class="rt"> Vorschaubild + Text … </details><span class="ml-slot"> (Herz, merkliste.js)</span></div>
   Das Herz liegt NEBEN der <summary> (kein Knopf im Knopf für Screenreader) und wird über die freie dritte Spalte gelegt. */
.rt-w{position:relative;border-bottom:1px solid var(--c-line)}
.rt-sum{display:grid;grid-template-columns:88px minmax(0,1fr) 40px 1.1rem;gap:.85rem;align-items:start;padding:.8rem .2rem;list-style:none;cursor:pointer;border-radius:14px;-webkit-tap-highlight-color:transparent;transition:background-color .2s}
.rt-sum::-webkit-details-marker{display:none}
.rt-sum::after{grid-column:4;grid-row:1;content:"";align-self:center;width:.55rem;height:.55rem;margin:0 .25rem 0 0;border:solid var(--c-muted);border-width:0 2px 2px 0;rotate:45deg;translate:0 -25%;transition:rotate .25s var(--ease),translate .25s var(--ease)}
.rt[open] > .rt-sum::after{rotate:225deg;translate:0 25%}
@media (hover:hover){.rt-sum:hover{background:var(--c-surface)}}
.rt-sum:focus-visible{outline-offset:-2px;border-radius:14px}
.rt-ph{width:88px;height:88px;border-radius:14px;overflow:hidden;background:var(--c-surface-2)}
.rt-ph picture{width:100%;height:100%}
.rt-ph--none{display:grid;place-items:center;background:color-mix(in srgb,var(--pc) 13%,var(--c-bg));color:var(--pc)}
.rt-ph--none svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rt-tx{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:.12rem;min-width:0;padding-top:.05rem}
.rt-badges :is(.b-ac,.b-kc,.b-st){white-space:normal;max-width:100%}   /* schmale Spalte: Abzeichen umbrechen statt unters Herz */
.rt-name{font-size:1.02rem;font-weight:600;line-height:1.28;letter-spacing:-.01em}
.rt-dist{font-size:.8rem;line-height:1.35;font-weight:500;color:var(--c-primary)}
.rt-short{font-size:.86rem;line-height:1.42;color:var(--c-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rt[open] .rt-short{-webkit-line-clamp:unset;display:block}
.rt-badges{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.3rem}
.rt-w > .ml-slot{position:absolute;z-index:1;top:.8rem;right:calc(.2rem + 1.1rem + .85rem);display:flex}
.rt-w > .ml-slot:empty{display:none}
.rt-w:has(> .ml-slot:empty) .rt-sum{grid-template-columns:88px minmax(0,1fr) 1.1rem}
.rt-w:has(> .ml-slot:empty) .rt-sum::after{grid-column:3}
/* Termin in der Zeile (Feste, Programme: region.json when_de) */
.rt-wh{display:flex;align-items:center;gap:.35rem;font-size:.8rem;line-height:1.35;font-weight:600;color:color-mix(in srgb,var(--pc) 78%,var(--c-text))}
.rt-wh .ico{flex:none;width:1em;height:1em}
.rt-when small{display:block;margin-top:.15rem;font-size:.82rem;color:var(--c-muted)}
/* Abzeichen: Aktiv Card (kostenlose Gästekarte), Kärnten Card (kostenpflichtig), Status */
:is(.b-ac,.b-kc,.b-st){display:inline-flex;align-items:center;gap:.3rem;padding:.16rem .55rem;border-radius:999px;font-size:.72rem;font-weight:600;line-height:1.35;white-space:nowrap}
:is(.b-ac,.b-kc,.b-st)::before{content:"";width:.42rem;height:.42rem;border-radius:50%;background:currentColor}
.b-ac{background:#e3f1e7;color:#1d6538}
.b-ac--ermaessigt{background:#edf3e2;color:#4a6418}
.b-kc{background:#fbeee0;color:#8a4a10}
.b-kc--ermaessigt,.b-kc--bonus{background:#f8f0e6;color:#7a5326}
.b-st{background:#f6e4e4;color:#8b2525}
.rt--zu > .rt-sum :is(.rt-ph,.rt-name,.rt-dist,.rt-short){opacity:.6}
.rt-sum :is(.rt-name,.rt-dist,.rt-short){overflow-wrap:anywhere}   /* nur Wörter, die breiter als die Spalte sind, werden getrennt */
.rt--zu .rt-name{text-decoration:line-through;text-decoration-thickness:1px}

/* Aufgeklappt */
.rt-body{display:grid;gap:.4rem 1.4rem;padding:.2rem .2rem 1.4rem;font-size:.95rem;line-height:1.6}
@media (min-width:700px){.rt-body{grid-template-columns:minmax(0,1fr) 15rem;padding-left:calc(88px + .85rem + .2rem)}
.rt-body:not(:has(.rt-fig)){grid-template-columns:minmax(0,1fr)}
.rt-fig{order:2}
}
@media (min-width:1000px){.rt-body{grid-template-columns:minmax(0,1fr) 14rem;padding-left:.2rem}}
/* aufgeklappt ab 700 px: das Foto nur einmal – das Vorschaubild weicht dem großen Foto im Eintrag */
@media (min-width:700px){
.rt[open]:has(.rt-fig) > .rt-sum{grid-template-columns:minmax(0,1fr) 40px 1.1rem}
.rt[open]:has(.rt-fig) > .rt-sum .rt-ph{display:none}
.rt[open]:has(.rt-fig) > .rt-sum::after{grid-column:3}
.rt-w:has(> .ml-slot:empty) .rt[open]:has(.rt-fig) > .rt-sum{grid-template-columns:minmax(0,1fr) 1.1rem}
.rt-w:has(> .ml-slot:empty) .rt[open]:has(.rt-fig) > .rt-sum::after{grid-column:2}
.rt[open]:has(.rt-fig) > .rt-body{padding-left:.2rem}
}
.rt-fig{margin:0}
.rt-fig picture{border-radius:14px;overflow:hidden;aspect-ratio:4 / 3}
.rt-fig figcaption{margin-top:.35rem}
@media (max-width:699px){.rt-fig picture{aspect-ratio:3 / 2}}
.rt-txt > :last-child{margin-bottom:0}
.rt-txt p{margin:0 0 .8em}
.rt-body .box{margin:.9rem 0;background:var(--c-surface)}
.rt-body .box--tip{background:color-mix(in srgb,var(--pc) 9%,var(--c-bg))}
.rt-body .box--tip h4{color:color-mix(in srgb,var(--pc) 80%,var(--c-text))}
.rt-body .box p{margin:0}
.rt-when{display:flex;gap:.5rem;align-items:flex-start;font-size:.88rem;color:var(--c-muted)}
.rt-when .ico{width:1.1em;height:1.1em;margin-top:.2em}
.rt-note{padding:.6rem .85rem;border-radius:12px;background:#fbf3df;font-size:.88rem}
.rt-note--zu{background:#f6e4e4}
.rt-kc{font-size:.88rem}
.rt-links{display:flex;flex-wrap:wrap;gap:.45rem;margin:1rem 0 .4rem !important}
.rt-links a{display:inline-flex;align-items:center;gap:.35rem;min-height:40px;padding:.3rem .95rem;border-radius:999px;border:1px solid var(--c-line);background:var(--c-bg);font-size:.86rem;font-weight:600;text-decoration:none;transition:border-color .2s,background-color .2s}
.rt-links a:hover{border-color:var(--c-primary);background:var(--c-surface)}
.rt-links .ico{width:1em;height:1em}
.rt-ext{font-size:.95em;line-height:1}
.rt-meta{font-size:.78rem;color:var(--c-muted)}
.rt:target > .rt-sum,.rt.is-hit > .rt-sum{background:color-mix(in srgb,var(--pc) 9%,transparent)}
@media (prefers-reduced-motion:no-preference){.rt[open] > .rt-body{animation:rt-in .35s var(--ease)}}
@keyframes rt-in{from{opacity:0;translate:0 -4px}}
@media print{.rth__map,.rth-chips{display:none}}
.mm--theme .mm-pin.mm-pin--dot{width:12px;height:12px;margin:-6px 0 0 -6px}
@media (max-width:520px){.mm--theme .mm-pin.mm-pin--dot{width:11px;height:11px;margin:-5.5px 0 0 -5.5px}}
.rt[open] .rt-short{display:none}
/* Städte in der Fernansicht: Punkt + Name daneben */
.mm-city{z-index:4;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#5d6478;box-shadow:0 0 0 1.5px var(--mm-land)}
.mm-city b{position:absolute;top:50%;left:calc(100% + 3px);transform:translateY(-50%);font:500 11px/1 var(--f);color:#4c5367;white-space:nowrap;text-shadow:0 0 2px var(--mm-land),0 0 2px var(--mm-land),0 0 4px var(--mm-land)}
.mm-city--l b{left:auto;right:calc(100% + 3px)}
.mm-city--big b{font-weight:650;color:#3f475c;font-size:11.5px}
@media (max-width:520px){.mm-city:not(.mm-city--big){display:none}}
@media (max-width:520px){.rt-dist{font-size:.76rem}.rt-name{font-size:.98rem}}

/* Seeseiten (turnersee.html, klopeiner-see.html – tools/site/region.py lake_*): Einleitung mit „Auf einen Blick“ daneben, Wohnen, Fragen */
.lake-intro{padding-block:clamp(2.5rem,6vw,4.5rem) clamp(1.5rem,4vw,3rem)}
.lake-intro__grid{display:grid;gap:clamp(1.5rem,4vw,3.5rem)}
.lake-intro__grid > *{min-width:0}
@media (min-width:1000px){.lake-intro__grid{grid-template-columns:minmax(0,1.25fr) minmax(19rem,.8fr);align-items:start}
.lake-intro__aside{position:sticky;top:calc(var(--head-h) + var(--sub-h,3.75rem) + 1rem)}}
.lake-intro__tx p{max-width:42rem}
.lake-intro__tx .rt-links{margin-top:1.2rem}
.lake-intro__aside .box + .box{margin-top:1rem}
.lake-stay__cta{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
.lake-h{margin:0 0 1rem}
.lake-faq{padding-block:clamp(2.5rem,6vw,4.5rem) clamp(1.5rem,4vw,2.5rem)}
.lake-faq .faq{max-width:46rem}
