/* MABUHAY 2027 · Lageplan (#lageplan), MJ 18.11.2026. Logik: assets/js/lageplan-2027.js
   Farben je Kategorie (Kontrastregeln aus main.css: kleine Schrift auf Orange, Gelb, Himmel immer --ink,
   Weiß nur auf Royal und Rot-kräftig). Erste Hilfe bewusst grün mit weißem Kreuz (Rettungszeichen), kein rotes Kreuz. */

@layer sections {
  .lageplan27 {
    --lp-food: var(--orange);
    --lp-getraenke: var(--red-strong);
    --lp-markt: var(--royal);
    --lp-business: var(--sky);
    --lp-kids: var(--yellow);
    --lp-hilfe: #1d7f46;
    --lp-grund: #ece8de;
  }
  .lp27 { display: grid; gap: .9rem; }

  /* ---------- Suche und Filter ---------- */
  .lp27-bar { display: grid; gap: .75rem; min-width: 0; }
  .lp27-such {
    display: flex; align-items: center; gap: .6rem; max-width: 32rem; min-height: 50px; padding: 0 .9rem;
    border: 2px solid var(--ink); background: var(--white); transition: box-shadow var(--dur-ui) var(--ease-out);
  }
  .lp27-such:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
  .lp27-such svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
  .lp27-such input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 1rem; outline: none; }
  .lp27-such input::-webkit-search-cancel-button { cursor: pointer; }
  .lp27-chips {
    display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px;
  }
  .lp27-chips::-webkit-scrollbar { display: none; }
  .lp27-chips .chip { flex: none; min-height: 42px; padding: .45rem .8rem; font-size: .9rem; border-width: 1.5px; }
  .lp27-chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
  @media (min-width: 960px) { .lp27-chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

  .lp27-sw { width: .8rem; height: .8rem; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px rgba(21,33,59,.18); }
  .lp27-mi {
    display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none; border-radius: 50%;
    background: var(--c); color: var(--white); font: 700 .6rem/1 var(--font-body); font-style: normal;
  }
  .lp27-mi.t-info { font: 700 .78rem/1 Georgia, serif; }
  .lp27-mi.t-erstehilfe::before { content: ""; width: .66rem; height: .66rem; background: var(--white); clip-path: polygon(34% 0, 66% 0, 66% 34%, 100% 34%, 100% 66%, 66% 66%, 66% 100%, 34% 100%, 34% 66%, 0 66%, 0 34%, 34% 34%); }
  .t-food { --c: var(--lp-food); } .t-getraenke { --c: var(--lp-getraenke); } .t-markt { --c: var(--lp-markt); }
  .t-business { --c: var(--lp-business); } .t-kids { --c: var(--lp-kids); } .t-wc { --c: var(--ink); }
  .t-erstehilfe { --c: var(--lp-hilfe); } .t-info { --c: var(--royal); } .t-eingang { --c: var(--red-strong); }
  .t-fotowand { --c: var(--salmon); } .t-huepfburg { --c: var(--yellow); } .t-buehne { --c: var(--ink); }
  .t-denkmal { --c: #b9b2a3; }
  @media (hover: hover) { .lp27-chips .chip:hover .lp27-sw { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); } }

  /* ---------- Karte ---------- */
  .lp27-main { display: grid; gap: 1rem; min-width: 0; }
  @media (min-width: 960px) { .lp27-main { grid-template-columns: minmax(0, 1fr) 21.5rem; gap: 1.25rem; } }
  .lp27-frame {
    position: relative; overflow: hidden; min-width: 0;
    width: 100%; aspect-ratio: 214 / 175; max-height: 74vh;
    background: var(--lp-grund); border: 2px solid var(--ink);
    touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  }
  @media (min-width: 960px) { .lp27-frame { aspect-ratio: auto; height: clamp(440px, calc(100vh - var(--header-h) - 120px), 700px); max-height: none; } }
  .lp27-frame.is-zoom { touch-action: none; }
  .lp27-frame.is-zeiger { cursor: pointer; }
  .lp27-frame.is-zoom:not(.is-zeiger) { cursor: grab; }
  .lp27-frame.is-zoom:active:not(.is-zeiger) { cursor: grabbing; }
  .lp27-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }

  .lp27-ohne, .lp27-fehler { position: absolute; inset: 0; display: grid; place-content: center; gap: .8rem; padding: 1.5rem; text-align: center; color: var(--ink-2); font-weight: 600; }
  .js .lp27-ohne { display: none; }
  .lp27-fehler { display: none; justify-items: center; }
  .lp27-frame.ist-fehler .lp27-fehler { display: grid; }
  .lp27-frame:not(.is-bereit) .lp27-ctrl, .lp27-frame:not(.is-bereit) .lp27-mass, .lp27-frame:not(.is-bereit) .lp27-nord { visibility: hidden; }
  .lp27-frame.is-laedt::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px;
    border: 3px solid rgba(21,33,59,.15); border-top-color: var(--ink); border-radius: 50%; animation: lp27-dreh .8s linear infinite;
  }
  @keyframes lp27-dreh { to { transform: rotate(360deg); } }

  /* Plan: leicht geneigt, mit Umgebung (MJ 21.11.2026). Umgebung ruhig und hell, damit die Zelte vorn bleiben. */
  .lp27-insel { fill: var(--lp-grund); stroke: #b9bcc4; stroke-width: 1; vector-effect: non-scaling-stroke; }
  .lp27-fahrbahn { fill: none; stroke: #ccced4; stroke-linecap: butt; stroke-linejoin: round; }
  .lp27-spur { fill: none; stroke: #f4f4f1; stroke-width: .16; stroke-dasharray: 2.6 2.4; }
  .lp27-gruen { fill: #e1e4cf; }
  .lp27-rasen { fill: #d3dfbd; stroke: #d3dfbd; stroke-width: 1.8; stroke-linejoin: round; }
  .lp27-platz { fill: #fbfaf6; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
  .lp27-pflaster { fill: url(#lp27-pflaster); stroke: none; opacity: 0; transition: opacity var(--dur-ui) var(--ease-out); }
  .lp27-svg.mit-fl .lp27-pflaster { opacity: 1; }
  .lp27-fuge { fill: none; stroke: #ebe6da; stroke-width: .04; }
  .lp27-schatten { fill: var(--ink); fill-opacity: .1; }
  .lp27-schatten--weit { fill-opacity: .05; }
  .lp27-geb.lp27-top { fill: #e4dfd3; } .lp27-geb.lp27-w1 { fill: #d6d0c2; } .lp27-geb.lp27-w2 { fill: #cac3b3; }
  .lp27-bank.lp27-top { fill: #f6f3ec; } .lp27-bank.lp27-w1 { fill: #ddd6c8; } .lp27-bank.lp27-w2 { fill: #d2cab9; }
  .lp27-krone { fill: #a3b98d; }
  .lp27-licht { fill: #b8cba3; }
  .lp27-str { font: 600 var(--k) var(--font-habi); letter-spacing: .05em; fill: #8a8f9c; pointer-events: none; }
  .lp27-orient { font: 600 var(--k) var(--font-habi); letter-spacing: .08em; fill: var(--ink-2); text-transform: uppercase; pointer-events: none;
    paint-order: stroke; stroke: rgba(247,246,242,.8); stroke-width: calc(var(--k) * .3); stroke-linejoin: round; }

  /* Zelte und Orte als Körper: Farbe der Kategorie (--c), Dachflächen und Wände abgestuft, Licht von Nordwest */
  .lp27-it { outline: none; transition: opacity var(--dur-ui) var(--ease-out); }
  .lp27-f { fill: var(--c); }
  .lp27-f.lp27-d1 { fill: color-mix(in srgb, var(--c) 80%, #fff); }
  .lp27-f.lp27-d3 { fill: color-mix(in srgb, var(--c) 86%, #15213b); }
  .lp27-f.lp27-w1 { fill: color-mix(in srgb, var(--c) 76%, #15213b); }
  .lp27-f.lp27-w2 { fill: color-mix(in srgb, var(--c) 62%, #15213b); }
  .lp27-form { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: stroke var(--dur-ui) var(--ease-out); }
  .lp27-form--leer { stroke: none; }
  .lp27-zt { font: 700 var(--zt) var(--font-habi); fill: var(--ink); pointer-events: none; opacity: 0; letter-spacing: .01em; }
  .lp27-svg.mit-nr .lp27-zt { opacity: 1; }
  .lp27-z.t-getraenke .lp27-zt, .lp27-z.t-markt .lp27-zt { fill: var(--white); }
  .lp27-svg .t-buehne { --c: var(--ink); }
  .lp27-o.t-buehne .lp27-w1 { fill: #2b3653; } .lp27-o.t-buehne .lp27-w2 { fill: #0c1426; }
  .lp27-o.t-buehne .lp27-rueck.lp27-top { fill: #3d4762; }
  .lp27-bt { font: 700 2px var(--font-habi); letter-spacing: .12em; fill: var(--white); pointer-events: none; }
  .lp27-svg .t-wc { --c: #d3d8e2; }
  .lp27-svg .t-huepfburg { --c: #f7d36b; }
  .lp27-pfosten { fill: none; stroke: var(--red-strong); stroke-width: .38; stroke-linecap: butt; }
  .lp27-ring { fill: #f0ece2; stroke: #8f93a0; stroke-width: 1.2; stroke-dasharray: 3 3; }
  .lp27-stein.lp27-top { fill: #ddd3bd; } .lp27-stein.lp27-w1 { fill: #c9bda3; } .lp27-stein.lp27-w2 { fill: #b5a88c; }
  .lp27-bronze.lp27-top { fill: #6d7d73; } .lp27-bronze.lp27-w1 { fill: #56655c; } .lp27-bronze.lp27-w2 { fill: #45524b; }
  .lp27-flt { font: 600 var(--fl) var(--font-habi); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-2); pointer-events: none; opacity: 0; transition: opacity var(--dur-ui) var(--ease-out); }
  .lp27-svg.mit-fl .lp27-flt { opacity: 1; }
  .lp27-mk { pointer-events: none; transition: opacity var(--dur-ui) var(--ease-out); }
  .lp27-mk-t { font-family: var(--font-body); }

  /* Zustände: der Umriss liegt in einer eigenen Ebene über allen Körpern (lp27-l-auswahl) */
  .lp27-umriss { fill: none; stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
  .lp27-umriss--fokus, .lp27-umriss--sel { stroke-width: 4; }
  .lp27-umriss--fokus { stroke: var(--royal); }
  .lp27-it.is-aus, .lp27-mk.is-aus, .lp27-flt.is-aus { opacity: .2; }
  .lp27-svg.ist-gefiltert .lp27-o.t-denkmal.is-aus { opacity: .45; }

  /* Gesperrt (data-gesperrt an der Section): gedämpfte Vorschau, ruhiger Hinweis, keine Bedienung */
  .lp27-bald { display: none; }
  .lp27-wenn-zu { display: none; }
  .lageplan27[data-gesperrt] .lp27-wenn-zu { display: inline; }
  .lageplan27[data-gesperrt] .lp27-wenn-auf,
  .lageplan27[data-gesperrt] .lp27-bar, .lageplan27[data-gesperrt] .lp27-side, .lageplan27[data-gesperrt] .lp27-ctrl,
  .lageplan27[data-gesperrt] .lp27-mass, .lageplan27[data-gesperrt] .lp27-hint, .lageplan27[data-gesperrt] .lp27-ohne { display: none; }
  .lageplan27[data-gesperrt] .lp27-main { grid-template-columns: minmax(0, 1fr); }
  .lageplan27[data-gesperrt] .lp27-frame { touch-action: auto; cursor: default; }
  @media (min-width: 960px) { .lageplan27[data-gesperrt] .lp27-frame { height: clamp(380px, 46vw, 600px); } }
  .lageplan27[data-gesperrt] .lp27-svg { opacity: .56; }
  .lageplan27[data-gesperrt] .lp27-bald {
    position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 1rem; margin: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(247,246,242,.7), rgba(247,246,242,0));
  }
  .lp27-bald__t {
    display: inline-flex; align-items: center; gap: .65rem; max-width: 22rem; padding: .85rem 1.15rem;
    background: var(--white); border: 2px solid var(--ink); box-shadow: 0 14px 34px -18px rgba(21,33,59,.45);
    font: 700 clamp(1rem, 2.4vw, 1.2rem)/1.3 var(--font-body); color: var(--ink); text-align: left;
  }
  .lp27-bald__t svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

  /* Bedienelemente auf der Karte */
  .lp27-ctrl { position: absolute; right: .5rem; top: .5rem; z-index: 2; display: flex; gap: 1px; background: var(--ink); border: 2px solid var(--ink); }
  @media (min-width: 960px) { .lp27-ctrl { flex-direction: column; top: .6rem; right: .6rem; } }
  .lp27-ctrl button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: var(--white); transition: background-color var(--dur-ui) var(--ease-out); }
  .lp27-ctrl button:active { background: var(--paper); }
  .lp27-ctrl svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  @media (hover: hover) { .lp27-ctrl button:hover { background: var(--yellow); } }
  .lp27-ctrl button:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
  .lp27-nord {
    position: absolute; left: .5rem; top: .5rem; z-index: 2; display: grid; justify-items: center; width: 34px; padding: .3rem 0 .25rem;
    background: var(--white); border: 2px solid var(--ink); font: 700 .7rem/1 var(--font-habi); pointer-events: none;
  }
  .lp27-nord svg { width: 16px; height: 16px; fill: var(--red-strong); }
  .lp27-mass {
    position: absolute; left: .5rem; bottom: .5rem; z-index: 2; display: grid; gap: .2rem; padding: .3rem .45rem .25rem;
    background: rgba(255,255,255,.88); font: 600 .7rem/1 var(--font-habi); letter-spacing: .04em; pointer-events: none;
  }
  .lp27-mass i { display: block; width: var(--w, 50px); height: 6px; border: 2px solid var(--ink); border-top: 0; }
  .lp27-hint {
    position: absolute; left: 50%; bottom: .8rem; z-index: 3; max-width: calc(100% - 2rem); transform: translate(-50%, 6px);
    padding: .5rem .85rem; background: var(--ink); color: var(--white); font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: center;
    opacity: 0; pointer-events: none; transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
  }
  .lp27-hint.is-an { opacity: 1; transform: translate(-50%, 0); }

  /* ---------- Seite: Status, Liste ---------- */
  .lp27-side { position: relative; display: grid; align-content: start; gap: .8rem; min-width: 0; }
  @media (min-width: 960px) { .lp27-side { height: clamp(440px, calc(100vh - var(--header-h) - 120px), 700px); grid-template-rows: auto minmax(0, 1fr); } }
  .lp27-status { font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
  .lp27-listebtn {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-height: 48px; padding: .6rem .9rem;
    border: 2px solid var(--ink); background: var(--white); font-weight: 700; text-align: left;
  }
  .lp27-listebtn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; transition: transform var(--dur-ui) var(--ease-out); }
  .lp27-listebtn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .lp27-liste { display: none; }
  .lp27-side.liste-auf .lp27-liste { display: grid; gap: 1.1rem; }
  @media (min-width: 960px) {
    .lp27-listebtn { display: none; }
    .lp27-liste, .lp27-side.liste-auf .lp27-liste { display: grid; align-content: start; gap: 1.1rem; overflow-y: auto; overscroll-behavior: contain; padding-right: .4rem; scrollbar-width: thin; }
  }
  .lp27-gr__t { font: 600 var(--step-label)/1.3 var(--font-habi); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .45rem; }
  .lp27-ids, .lp27-rows { list-style: none; margin: 0; padding: 0; }
  .lp27-ids { display: flex; flex-wrap: wrap; gap: 4px; }
  .lp27-id {
    min-width: 44px; height: 40px; padding: 0 .4rem; border: 0; background: var(--c); color: var(--ink);
    font: 700 .82rem/1 var(--font-habi); letter-spacing: .02em; transition: transform var(--dur-press) var(--ease-out);
  }
  .lp27-id.t-getraenke, .lp27-id.t-markt { color: var(--white); }
  .lp27-id:active { transform: scale(.95); }
  @media (hover: hover) { .lp27-id:hover { box-shadow: inset 0 0 0 2px var(--ink); } }
  .lp27-rows { display: grid; gap: 4px; }
  .lp27-rows + .lp27-ids { margin-top: 6px; }
  .lp27-li {
    display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 52px; padding: .45rem .6rem .45rem .45rem;
    border: 0; background: var(--paper); text-align: left; transition: background-color var(--dur-ui) var(--ease-out);
  }
  @media (hover: hover) { .lp27-li:hover { background: #efede6; } }
  .lp27-li__nr {
    display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .3rem; flex: none; background: var(--c); color: var(--ink);
    font: 700 .8rem/1 var(--font-habi);
  }
  .lp27-li.t-getraenke .lp27-li__nr, .lp27-li.t-markt .lp27-li__nr { color: var(--white); }
  .lp27-li__nr.ist-ort { min-width: 40px; width: 40px; padding: 0; }
  .lp27-li__nr.mit-icon { background: none; }
  .lp27-li__nr svg { width: 40px; height: 40px; }
  .lp27-li__txt { display: grid; min-width: 0; line-height: 1.25; }
  .lp27-li__txt b { font-weight: 700; overflow-wrap: anywhere; }
  .lp27-li__txt small { font-size: .82rem; color: var(--ink-2); }
  .lp27-leer { color: var(--ink-2); font-size: .95rem; }
  .lp27-note { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
  .lp27-note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

  /* ---------- Zelt-Dialog: Handy Sheet (modal), Desktop Karte in der Seitenspalte ---------- */
  .lp27-dlg { padding: 0; border: 0; color: var(--ink); background: var(--white); max-width: none; max-height: none; }
  .lp27-dlg[open]:not(.ist-sheet) { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; overflow-y: auto; border: 2px solid var(--ink); }
  .lp27-dlg.ist-sheet {
    position: fixed; inset: auto 0 0 0; width: 100%; max-height: min(78vh, 640px); margin: 0; overflow-y: auto; overscroll-behavior: contain;
    border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom);
  }
  .lp27-dlg::backdrop { background: rgba(21,33,59,.42); }
  .lp27-dlg { --c: var(--ink); }
  .lp27-dlg[data-typ="food"] { --c: var(--lp-food); } .lp27-dlg[data-typ="getraenke"] { --c: var(--lp-getraenke); }
  .lp27-dlg[data-typ="markt"] { --c: var(--lp-markt); } .lp27-dlg[data-typ="business"] { --c: var(--lp-business); }
  .lp27-dlg[data-typ="kids"] { --c: var(--lp-kids); } .lp27-dlg[data-typ="erstehilfe"] { --c: var(--lp-hilfe); }
  .lp27-dlg[data-typ="info"] { --c: var(--royal); } .lp27-dlg[data-typ="eingang"] { --c: var(--red-strong); }
  .lp27-dlg[data-typ="fotowand"] { --c: var(--salmon); } .lp27-dlg[data-typ="huepfburg"] { --c: var(--yellow); }
  .lp27-dlg[data-typ="denkmal"] { --c: #b9b2a3; }
  .lp27-dlg__kopf { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: .7rem; min-height: 60px; padding: .55rem .55rem .55rem 1.1rem; background: var(--c); color: var(--ink); }
  .lp27-dlg[data-typ="getraenke"] .lp27-dlg__kopf, .lp27-dlg[data-typ="markt"] .lp27-dlg__kopf, .lp27-dlg[data-typ="info"] .lp27-dlg__kopf,
  .lp27-dlg[data-typ="eingang"] .lp27-dlg__kopf, .lp27-dlg[data-typ="erstehilfe"] .lp27-dlg__kopf, .lp27-dlg[data-typ="buehne"] .lp27-dlg__kopf,
  .lp27-dlg[data-typ="wc"] .lp27-dlg__kopf { color: var(--white); }
  .lp27-dlg__nr { font: 700 1.6rem/1 var(--font-habi); letter-spacing: .02em; }
  .lp27-dlg__typ { flex: 1; min-width: 0; font: 600 var(--step-label)/1.2 var(--font-habi); letter-spacing: .14em; text-transform: uppercase; }
  .lp27-dlg__nav { display: flex; gap: 2px; }
  .lp27-dlg__pf, .lp27-dlg__zu { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: rgba(255,255,255,.92); color: var(--ink); }
  .lp27-dlg__zu { background: var(--ink); color: var(--white); margin-left: .2rem; }
  .lp27-dlg__pf svg, .lp27-dlg__zu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .lp27-dlg__pf:focus-visible, .lp27-dlg__zu:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .lp27-dlg__zu:focus-visible { outline-color: var(--yellow); }
  .lp27-dlg__inhalt { display: grid; gap: .85rem; padding: 1.1rem 1.1rem 1.3rem; }
  .lp27-dlg__titel { display: flex; align-items: center; gap: .85rem; }
  .lp27-dlg__titel h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); overflow-wrap: anywhere; outline: none; }
  .lp27-dlg__logo { width: 64px; height: 64px; flex: none; object-fit: contain; background: var(--white); border: 1px solid var(--line); }
  .lp27-dlg__text { color: var(--ink-2); line-height: 1.55; }
  .lp27-dlg__karte h4 { font: 600 var(--step-label)/1.3 var(--font-habi); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .35rem; }
  .lp27-dlg__karte ul { list-style: none; margin: 0; padding: 0; }
  .lp27-dlg__karte li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .lp27-preis { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
  .lp27-dlg__folgt { padding: .75rem .9rem; background: var(--paper); border-left: 4px solid var(--c); color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
  .lp27-dlg__meta { font: 600 .8rem/1.3 var(--font-habi); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .lp27-dlg__akt { margin: 0; }
  .lp27-dlg__link { padding: .55rem 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

  /* Motion: leise, rund 0,2 s */
  .lp27-dlg.ist-sheet { transform: translateY(18px); opacity: 0; transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out); }
  .lp27-dlg[open]:not(.ist-sheet) { opacity: 0; transform: translateX(10px); transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out); }
  .lp27-dlg.is-auf { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .lp27-dlg, .lp27-dlg.ist-sheet, .lp27-dlg[open]:not(.ist-sheet) { transition: none !important; transform: none !important; opacity: 1 !important; }
  .lp27-it, .lp27-mk, .lp27-flt, .lp27-hint, .lp27-listebtn svg, .lp27-pflaster, .lp27-form { transition: none !important; }
  .lp27-frame.is-laedt::after { animation-duration: 2.4s; }
}
