/* GetDogWalkers — Kundenportal im Website-Look (docs/kundenportal.md).
   Grammatik wie die freigegebene Vorschau: eine Tinte (Waldgrün), Creme als Grund, Be Vietnam Pro + Old Standard TT kursiv,
   flache Flächen mit Haarlinie, Pillen, Zustände als Punkt + Kapsel; Salbei für Walks, Himmelblau für Pension/Marktplatz,
   Sand für Rechnungen und Dokumente. Hell ist Standard, Dunkel folgt dem System oder der Wahl (html[data-theme], theme.js). */

@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/BeVietnamPro-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/BeVietnamPro-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/BeVietnamPro-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/BeVietnamPro-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/BeVietnamPro-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/BeVietnamPro-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Old Standard TT';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/OldStandardTT-400i-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Old Standard TT';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/OldStandardTT-400i-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ——— Tokens: hell (Standard) ——— */
:root {
  --ink: #233421;
  --ink-2: #15210f;
  --ink-72: rgba(35, 52, 33, .78);
  --ink-55: rgba(35, 52, 33, .62);
  --line: rgba(35, 52, 33, .13);
  --line-2: rgba(35, 52, 33, .26);
  --bg: #f6f1e4;
  --surface: #fffdf8;
  --surface-2: #fbf8f0;
  --paper: #fff;
  --on-ink: #fff;
  --forest: #233421;
  --forest-2: #2d4029;
  --forest-ink: #fff;
  --forest-muted: rgba(255, 255, 255, .76);
  --forest-line: rgba(255, 255, 255, .24);
  --sage: #e4ebdc;
  --sage-2: #d5dfc9;
  --sky: #d5e1fc;
  --sky-2: #c2d2f4;
  --sand: #f7efdf;
  --sand-2: #eee2c8;
  --ok: #4c7a42;
  --warn: #8a5e14;
  --rose: #a94848;
  --star: #b8893e;
  --err-bg: rgba(178, 85, 85, .1);
  --err-line: rgba(178, 85, 85, .4);
  --shadow: 0 24px 60px -30px rgba(21, 33, 15, .35);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23233421' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --sans: "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Old Standard TT", "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-card: 22px;
  --r-tile: 26px;
  --r-field: 14px;
  /* Namen der früheren Fassung (Login, Aufnahmebogen, Paket, Live, Registrierung) */
  --ink-80: var(--ink-72);
  --ink-68: var(--ink-55);
  --tint: var(--surface-2);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #efe7d6; --ink-2: #fff8ea;
    --ink-72: rgba(239, 231, 214, .8); --ink-55: rgba(239, 231, 214, .66);
    --line: rgba(239, 231, 214, .13); --line-2: rgba(239, 231, 214, .28);
    --bg: #111810; --surface: #1a2418; --surface-2: #1f2a1d; --paper: #fff; --on-ink: #15210f;
    --forest: #1c2819; --forest-2: #253424; --forest-ink: #fff; --forest-muted: rgba(255, 255, 255, .74); --forest-line: rgba(255, 255, 255, .22);
    --sage: #253424; --sage-2: #2f4230; --sky: #1f2b3f; --sky-2: #27354d; --sand: #2a251a; --sand-2: #362f20;
    --ok: #8fbf84; --warn: #d6a85c; --rose: #e39393; --star: #d6a85c;
    --err-bg: rgba(227, 147, 147, .12); --err-line: rgba(227, 147, 147, .42);
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23efe7d6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #efe7d6; --ink-2: #fff8ea;
  --ink-72: rgba(239, 231, 214, .8); --ink-55: rgba(239, 231, 214, .66);
  --line: rgba(239, 231, 214, .13); --line-2: rgba(239, 231, 214, .28);
  --bg: #111810; --surface: #1a2418; --surface-2: #1f2a1d; --paper: #fff; --on-ink: #15210f;
  --forest: #1c2819; --forest-2: #253424; --forest-ink: #fff; --forest-muted: rgba(255, 255, 255, .74); --forest-line: rgba(255, 255, 255, .22);
  --sage: #253424; --sage-2: #2f4230; --sky: #1f2b3f; --sky-2: #27354d; --sand: #2a251a; --sand-2: #362f20;
  --ok: #8fbf84; --warn: #d6a85c; --rose: #e39393; --star: #d6a85c;
  --err-bg: rgba(227, 147, 147, .12); --err-line: rgba(227, 147, 147, .42);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23efe7d6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ——— Grundlage ——— */
.dw-web, .dw-web *, .dw-web *::before, .dw-web *::after { box-sizing: border-box; }
html:has(> .dw-web) { background: var(--bg); -webkit-text-size-adjust: 100%; }
.dw-web {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent; overflow-x: clip;
  caret-color: var(--ink); accent-color: var(--ink);
}
.dw-web p { margin: 0 0 .8em; }
.dw-web p:last-child { margin-bottom: 0; }
.dw-web a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.dw-web ::selection { background: var(--ink); color: var(--bg); }
.dw-web :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.dw-web strong { font-weight: 500; }
.dw-web h1, .dw-web h2, .dw-web h3, .dw-web h4 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.dw-web em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.06em; }
.dw-web button { font: inherit; color: inherit; }
.dw-web img, .dw-web svg { display: block; max-width: 100%; }
.dw-web .ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dw-web .paw { display: none; }
.dw-web .num { font-variant-numeric: tabular-nums; }
.dw-web .muted { color: var(--ink-72); }
.dw-web .small { font-size: 13.5px; line-height: 1.5; }
.dw-web .push { margin-left: auto; }
.dw-web .right { text-align: right; }
.dw-web [hidden] { display: none !important; }
.pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Kopfzeile des Betriebs (schlichte Seiten) + Marke ——— */
.tb { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; padding: 18px 16px 6px; }
.wrap > .tb { padding-inline: 0; }
.tb-logo { flex: none; height: 40px; width: auto; max-width: 132px; object-fit: contain; border-radius: 10px; }
.tb-mono {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  background: var(--forest); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .02em;
}
.tb-mono svg { width: 20px; height: 20px; }
.tb-name { font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; min-width: 0; overflow-wrap: anywhere; }

/* ——— Seitengerüst (portalPage) ——— */
.dw-web .wrap { max-width: 560px; margin: 0 auto; padding: 0 16px calc(32px + env(safe-area-inset-bottom)); }
.dw-web .hero { margin: 26px 0 24px; }
.dw-web h1 { margin: 0 0 10px; font-weight: 400; font-size: clamp(34px, 9.4vw, 46px); line-height: 1.04; letter-spacing: -.045em; }
.dw-web h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.dw-web .sub { margin: 0; font-size: 16px; color: var(--ink-72); max-width: 44ch; }
.dw-web .foot { margin-top: 20px; font-size: 14px; }

.dw-web .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px; margin: 0 0 12px;
}
.dw-web .card.sand { background: var(--sand); border-color: transparent; }
.dw-web .card.sage { background: var(--sage); border-color: transparent; }
.dw-web .card.sky { background: var(--sky); border-color: transparent; }
.dw-web .card h3 { font-size: 19px; letter-spacing: -.025em; }
.dw-web .card .ch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dw-web .card > .row:first-of-type { border-top: 1px solid var(--line); }
.dw-web h2 + .row { margin-top: 4px; }

/* Zeile (klassische Karten und Branchen-Blöcke) */
.dw-web .row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.dw-web .row:last-child { border-bottom: 0; padding-bottom: 0; }
.dw-web .row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.dw-web .row .muted { font-size: 14px; }

/* Zustand = Punkt + Text (ältere Blöcke) */
.dw-web .badge {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 0; background: none; border-radius: 0; color: var(--ink);
  font-size: 13.5px; font-weight: 500; line-height: 1.3; vertical-align: baseline;
}
.dw-web .badge::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.dw-web .badge.warn::before { background: var(--warn); }
.dw-web .badge.err::before { background: var(--rose); }
.dw-web .row .badge { margin-left: 10px; }

/* Zustand = Punkt + Text in leichter Kapsel (Vorschau) */
.dw-web .state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.dw-web .state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.dw-web .state.warn::before { background: var(--warn); }
.dw-web .state.err::before { background: var(--rose); }
.dw-web .state.neutral::before { background: var(--ink-55); }
.dw-web .state:empty { display: none; }

/* Buttons: Pille, Haarlinie, Tinte */
.dw-web .btn, .dw-web button.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 24px; border-radius: 999px;
  font: 500 15px/1.1 var(--sans); letter-spacing: -.005em; text-decoration: none; text-align: center;
  background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease);
}
.dw-web .btn:active, .dw-web button.cta:active { transform: scale(.97); }
@media (hover: hover) {
  .dw-web .btn:hover, .dw-web button.cta:hover { background: var(--ink-2); border-color: var(--ink-2); }
  .dw-web .btn-outline:hover { background: var(--surface-2); border-color: var(--ink); }
}
.dw-web .btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.dw-web button.cta { width: 100%; min-height: 54px; margin-top: 18px; font-size: 16px; }
.dw-web button.cta:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.dw-web .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease);
}
.dw-web .pill:active { transform: scale(.97); }
.dw-web .pill .ico { width: 16px; height: 16px; }
.dw-web .pill.fill { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.dw-web .pill.white { background: var(--surface); border-color: var(--surface); }
.dw-web .pill.onforest { color: #fff; border-color: rgba(255, 255, 255, .5); }
.dw-web .pill.onforest.fill { background: #fff; color: var(--forest); border-color: #fff; }
.dw-web .pill.sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; }
.dw-web .pill.lg { min-height: 50px; padding: 13px 24px; font-size: 15px; }
.dw-web .pill.wide { width: 100%; margin-top: 10px; }
@media (hover: hover) {
  .dw-web .pill:hover { border-color: var(--ink); background: var(--surface-2); }
  .dw-web .pill.fill:hover { background: var(--ink-2); border-color: var(--ink-2); }
  .dw-web .pill.white:hover { background: var(--surface); border-color: var(--ink); }
  .dw-web .pill.onforest:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
  .dw-web .pill.onforest.fill:hover { background: #fff; }
}
:root[data-theme="dark"] .dw-web .pill.onforest.fill, :root[data-theme-effective="dark"] .dw-web .pill.onforest.fill { color: #15210f; }
.dw-web .chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; border: 0; min-width: 0; }
.dw-web .chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.dw-web .chip[aria-pressed="true"], .dw-web .chip[aria-selected="true"], .dw-web .chip[aria-current], .dw-web .chip:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.dw-web .chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dw-web .chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.dw-web .chips legend.lbl { padding: 0; margin: 0 0 8px; width: 100%; }
@media (hover: hover) { .dw-web .chip:not([aria-current]):hover { border-color: var(--ink); } }

/* Felder */
.dw-web input[type=email], .dw-web input[type=password], .dw-web input[type=text], .dw-web input[type=tel], .dw-web input[type=date],
.dw-web input[type=time], .dw-web input[type=number], .dw-web select, .dw-web textarea, .dw-web .field {
  width: 100%; min-height: 48px; padding: 11px 14px; margin: 0;
  font: 400 15.5px/1.4 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-field);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.dw-web input::placeholder, .dw-web textarea::placeholder { color: var(--ink-55); }
.dw-web input:focus, .dw-web select:focus, .dw-web textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--line); }
.dw-web input:disabled, .dw-web input[readonly] { background: var(--surface-2); color: var(--ink-72); }
.dw-web textarea { min-height: 92px; resize: vertical; }
.dw-web select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: var(--chev); background-repeat: no-repeat; background-position: right 18px center; }
.dw-web .lbl, .dw-web label.lbl { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-72); }
.dw-web .fg { display: grid; gap: 14px; }
.dw-web .fg.two { grid-template-columns: 1fr 1fr; }
.dw-web .fg .lbl { margin-top: 0; }
@media (max-width: 560px) { .dw-web .fg.two { grid-template-columns: 1fr; } }
.dw-web .form-foot { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 16px; }
.dw-web .form-card { border-radius: var(--r-card); padding: 22px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.dw-web .form-card.sage { background: var(--sage); border-color: transparent; }
.dw-web .form-card.sky { background: var(--sky); border-color: transparent; }
.dw-web .form-card.sand { background: var(--sand); border-color: transparent; }
.dw-web .form-card h3 { font-size: 19px; margin-bottom: 4px; }
.dw-web .form-card .hint, .dw-web .card .hint { font-size: 14px; color: var(--ink-72); margin-bottom: 14px; }
.dw-web .form-card .field, .dw-web .card.sand .field, .dw-web .card.sky .field, .dw-web .card.sage .field { background: var(--surface); }
.dw-web .form-card .lbl:first-child { margin-top: 0; }
.dw-web .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .dw-web .two-col { grid-template-columns: 1fr; } }

/* Unterschrift: Papier bleibt weiß, auch im Dark Mode */
.dw-web canvas { display: block; width: 100%; height: 220px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; touch-action: none; }

/* Sterne (Formular mit Knöpfen oder Anzeige) */
.dw-web .stars { display: inline-flex; gap: 4px; margin: 0; padding: 0; border: 0; }
.dw-web .stars .ico { width: 26px; height: 26px; stroke: var(--star); }
.dw-web .stars .on .ico { fill: var(--star); }
.dw-web .stars.sm .ico { width: 16px; height: 16px; }
.dw-web .stars button { border: 0; background: none; padding: 2px; min-width: 30px; min-height: 30px; display: grid; place-items: center; cursor: pointer; border-radius: 8px; }
.dw-web .stars.sm button { min-width: 22px; min-height: 22px; }
@media (hover: hover) {
  .dw-web .stars.pick:has(button:hover) .ico { fill: var(--star); }
  .dw-web .stars.pick button:hover ~ button .ico { fill: none; }
}
.dw-web .stars.pick:has(button:focus-visible) .ico { fill: var(--star); }
.dw-web .stars.pick button:focus-visible ~ button .ico { fill: none; }
.dw-web .rate button { color: var(--ink); }

/* ——— Fußzeile mit Sprachwahl ——— */
.pb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-72); }
.pb a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 32px; }
.pb a:hover { text-decoration: underline; }
.pb svg { width: 14px; height: 14px; flex: none; }
.pb-links { display: inline-flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.pb-lang { display: inline-flex; align-items: center; gap: 4px; }
.pb-lang a, .pb-lang span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; text-decoration: none; }
.pb-lang span[aria-current] { background: var(--surface-2); color: var(--ink); font-weight: 500; }
@media (hover: hover) { .pb-lang a:hover { background: var(--surface-2); text-decoration: none; } }

/* ——— Aufnahmebogen & Paketbuchung ——— */
.dw-web header.top { max-width: 720px; margin: 0 auto; padding: 22px 16px 6px; }
.dw-web header.top h1 { margin-bottom: 6px; }
.dw-web header.top p { margin: 0; color: var(--ink-72); font-size: 16px; }
.pg-aufnahme .tb { max-width: 720px; }
.pg-aufnahme main { max-width: 720px; margin: 0 auto; padding: 16px 16px 48px; }
.pg-paket .wrap { max-width: 760px; padding-top: 0; }
.pg-aufnahme .card, .pg-paket .card { padding: 22px 20px; }
.pg-aufnahme h2 { display: flex; align-items: baseline; gap: 10px; font-size: 20px; }
.pg-paket h2 { font-size: 20px; margin-bottom: 14px; }
.pg-paket .card:first-child h1, .pg-paket form > .card:first-child h1 { font-size: clamp(30px, 7.6vw, 44px); }
.dw-web h2 .num {
  flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums;
  position: relative; top: -2px;
}
.dw-web .lead { color: var(--ink-72); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.pg-paket p.lead { margin-bottom: 4px; }
.dw-web .small.hint { color: var(--ink-72); }
.pg-aufnahme .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.pg-aufnahme .grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .pg-aufnahme .grid { grid-template-columns: 1fr; } }
.dw-web .req { color: var(--rose); }

.pg-aufnahme .tb, .pg-aufnahme header.top, .pg-aufnahme main.ab-layout { max-width: 1040px; }
.pg-aufnahme header.top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: end; padding: 18px 16px 8px; }
.pg-aufnahme header.top h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.045em; margin: 0 0 10px; }
.pg-aufnahme .ab-photo { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 20px; background: var(--surface-2); }
.pg-aufnahme main.ab-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; padding: 24px 16px 48px; }
.pg-aufnahme .ab-main { min-width: 0; max-width: 720px; }
.pg-aufnahme .ab-hello { background: var(--sage); border-color: transparent; }
.pg-aufnahme .ab-hello .lead { margin: 0; }
.pg-aufnahme .ab-sec { scroll-margin-top: 84px; }
.pg-aufnahme .done { text-align: center; padding: 56px 24px; }
.pg-aufnahme .done h2 { justify-content: center; font-size: clamp(28px, 6vw, 38px); font-weight: 400; letter-spacing: -.04em; }
.pg-aufnahme .done:focus { outline: none; }

.ab-nav { position: sticky; top: 20px; }
.ab-nav ol { list-style: none; margin: 0 0 18px; padding: 0; border-left: 1px solid var(--line); }
.ab-nav a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0 6px 16px; margin-left: -1px;
  border-left: 1px solid transparent; color: var(--ink-72); font-size: 14.5px; text-decoration: none;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.ab-nav a .num {
  flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.ab-nav a[aria-current=step] { color: var(--ink); font-weight: 500; border-left-color: var(--ink); }
.ab-nav a[aria-current=step] .num, .ab-nav a.done .num { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (hover: hover) { .ab-nav a:hover { color: var(--ink); } }
.ab-nav .small { margin: 0; }

.ab-progress { display: none; }
@media (max-width: 860px) {
  .pg-aufnahme header.top { grid-template-columns: 1fr; gap: 16px; padding-top: 8px; }
  .pg-aufnahme .ab-photo { aspect-ratio: 16 / 9; order: -1; border-radius: 16px; }
  .pg-aufnahme main.ab-layout { display: block; padding-top: 12px; }
  .ab-nav { display: none; }
  .ab-progress {
    display: block; position: sticky; top: 0; z-index: 5; padding: 10px 16px 0; padding-top: calc(10px + env(safe-area-inset-top));
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .ab-progress-label { max-width: 720px; margin: 0 auto 8px; font-size: 13.5px; color: var(--ink-72); font-variant-numeric: tabular-nums; }
  .ab-progress-label strong { color: var(--ink); }
  .ab-bar { height: 2px; margin: 0 -16px; background: transparent; overflow: hidden; }
  .ab-bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(.1667); transition: transform 320ms var(--ease); }
}

.pg-aufnahme fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pg-aufnahme .fld-label { display: block; margin: 0 0 7px; padding: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.pg-aufnahme .fld-hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-72); }
.pg-aufnahme .fld-err { margin: 7px 0 0; font-size: 13.5px; font-weight: 500; color: var(--rose); }
.pg-aufnahme .fld-err::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--rose); vertical-align: 1px; }
.pg-aufnahme [aria-invalid=true]:not(canvas):not([type=checkbox]) { border-color: var(--rose); box-shadow: 0 0 0 3px var(--err-bg); }
.pg-aufnahme .check:has(input[aria-invalid=true]) { border-color: var(--err-line); background: var(--err-bg); }
.pg-aufnahme .sig-wrap.invalid { border-color: var(--rose); box-shadow: 0 0 0 3px var(--err-bg); }
.pg-aufnahme .ab-check-inline { margin-top: 0; }
.pg-aufnahme .ab-sig-label { margin-top: 22px; }
.pg-aufnahme .ab-sig-hint { font-weight: 400; color: var(--ink-72); margin-left: 6px; }
.pg-aufnahme #formMsg:empty { display: none; }
.pg-aufnahme .pb { max-width: 720px; }

.pg-paket label { display: block; margin: 16px 0 6px; font-size: 13.5px; font-weight: 500; }
.pg-paket .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; border: 0; font-size: inherit; }
.pg-paket .row > span:last-child { text-align: left; }
@media (max-width: 520px) { .pg-paket .row { grid-template-columns: 1fr; } }

/* Auswahl-Pillen (Radio) */
.dw-web .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dw-web .pills label {
  flex: 1; min-width: 80px; min-height: 46px; display: grid; place-items: center; margin: 0;
  padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: center;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.dw-web .pills input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dw-web .pills label:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.dw-web .pills label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Checkboxen */
.dw-web .check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; line-height: 1.5; }
.dw-web .check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.pg-aufnahme .check { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.pg-aufnahme .check:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.pg-paket .check { margin: 10px 0; }

/* Unterschriftsfeld (Aufnahme, Paket) */
.dw-web .sig-wrap { border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); padding: 6px; }
.dw-web #sigCanvas { height: 170px; border: 0; border-radius: 9px; cursor: crosshair; }
.dw-web .sig-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--ink-72); }
.dw-web .sig-clear {
  min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  color: var(--ink); font: 500 13.5px/1 var(--sans); cursor: pointer; text-decoration: none;
}
.dw-web .msg { padding: 14px 16px; border-radius: 14px; font-size: 14.5px; margin: 14px 0; }
.dw-web .msg.error { background: var(--err-bg); border: 1px solid var(--err-line); color: var(--ink); }

/* Paket-Karten, Wochentage, Summe */
.dw-web .pkg-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 6px; }
.dw-web .pkg {
  cursor: pointer; padding: 18px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
@media (hover: hover) { .dw-web .pkg:hover { border-color: var(--ink-55); } }
.dw-web .pkg.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface-2); }
.dw-web .pkg .name { font-weight: 500; font-size: 16px; letter-spacing: -.01em; margin-bottom: 4px; }
.dw-web .pkg .desc { font-size: 13.5px; color: var(--ink-72); line-height: 1.45; margin-bottom: 10px; min-height: 38px; }
.dw-web .pkg .price { font-size: 26px; font-weight: 400; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.dw-web .pkg .price .per { font-size: 13.5px; letter-spacing: 0; color: var(--ink-72); font-weight: 400; }
.pg-paket .days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dw-web .day-chip {
  display: inline-grid; place-items: center; min-width: 48px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.dw-web .day-chip.active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.dw-web .summary { background: var(--bg); border-radius: 14px; padding: 16px 18px; margin: 4px 0 16px; font-size: 15px; }
.dw-web .summary .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.dw-web .summary .total .amount { font-size: 30px; font-weight: 400; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.dw-web .summary span[style*="font-weight:600"] { font-weight: 500 !important; text-align: right; }
.dw-web #summaryLines > div { gap: 16px; }
.dw-web #summaryLines > div > span:first-child { flex: none; color: var(--ink-72); }

/* ——— Live-Walk ——— */
.pg-live { display: flex; flex-direction: column; }
.pg-live .tb { max-width: none; width: 100%; margin: 0; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pg-live .tb-logo, .pg-live .tb-mono { height: 34px; }
.pg-live .tb-mono { width: 34px; font-size: 13px; }
.pg-live .tb-name { font-size: 16px; }
.pg-live .header { display: flex; align-items: center; gap: 12px; padding: 18px 16px 14px; }
.pg-live .header h1 { margin: 0 0 2px; font-size: clamp(24px, 6.4vw, 30px); letter-spacing: -.035em; line-height: 1.12; }
.pg-live .header small { color: var(--ink-72); font-size: 14px; }
.pg-live .status-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 16px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14px; font-variant-numeric: tabular-nums;
}
.pg-live .status-bar.ended { background: var(--surface-2); }
.pg-live .status-bar > span:last-child { color: var(--ink-72); }
.pg-live .live-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ok);
  vertical-align: 1px; animation: dwPulse 1.8s var(--ease) infinite;
}
.pg-live .status-bar.ended .live-dot { animation: none; background: var(--ink-55); }
@keyframes dwPulse { 0% { box-shadow: 0 0 0 0 rgba(76, 122, 66, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(76, 122, 66, 0); } }
.pg-live .marker-bar { display: none; padding: 9px 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 14px; }
.pg-live #map { flex: 1; min-height: 340px; }
.pg-live .empty-state { flex: 1; display: grid; place-items: center; padding: 48px 20px; text-align: center; }
.pg-live .empty-state h2 { font-size: 22px; letter-spacing: -.03em; }
.pg-live .empty-state p { color: var(--ink-72); max-width: 42ch; margin: 0 auto; }
.pg-live .footer-info { padding: 12px 16px 0; text-align: center; font-size: 13px; color: var(--ink-72); }
.pg-live .pb { margin: 8px 0 0; padding: 4px 16px calc(14px + env(safe-area-inset-bottom)); border: 0; text-align: center; }
.pg-live .leaflet-container { font-family: var(--sans); background: var(--surface-2); }
.pg-live .wrap { max-width: none; padding: 0 0 calc(16px + env(safe-area-inset-bottom)); }
.pg-live .wrap > .tb { padding-inline: 16px; }
.pg-live main { display: flex; flex-direction: column; min-height: 60vh; }
.pg-live .marker-bar[hidden], .pg-live .lv-map[hidden], .pg-live .empty-state[hidden] { display: none; }
.pg-live .marker-bar { display: block; }
.pg-live .lv-map { position: relative; flex: 1; min-height: min(62vh, 560px); overflow: hidden; background: var(--surface-2); touch-action: none; cursor: grab; user-select: none; }
.pg-live .lv-map:active { cursor: grabbing; }
.pg-live .lv-tiles { position: absolute; inset: 0; }
.pg-live .lv-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.pg-live .lv-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pg-live .lv-path { fill: none; stroke: #233421; stroke-width: 4; stroke-opacity: .8; stroke-linecap: round; stroke-linejoin: round; }
.pg-live .lv-pos { fill: #233421; stroke: #fff; stroke-width: 3; }
.pg-live .lv-pos-ico { font-size: 16px; }
.pg-live .lv-event circle { fill: #fffdf7; stroke: #233421; stroke-width: 2; }
.pg-live .lv-event text { font-size: 13px; }
.pg-live .lv-ctl { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.pg-live .lv-ctl button { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 20px/1 var(--sans); cursor: pointer; }
.pg-live .lv-attrib { position: absolute; right: 8px; bottom: 6px; padding: 2px 8px; border-radius: 8px; background: rgba(255, 253, 248, .85); color: #233421; font-size: 13px; text-decoration: none; }
.pg-live .footer-info { padding: 12px 16px 0; }
.pg-live .pb { margin: 8px 16px 0; padding-top: 12px; }
@media (max-width: 640px) { .pg-live .lv-map { min-height: 56vh; } }

/* ——— Kundenportal (portal.php) ——— */
.pg-portal .wrap { max-width: 1180px; padding: 0 24px calc(32px + env(safe-area-inset-bottom)); }
.pg-portal .wrap > .tb { max-width: none; margin: 0; }
.pg-portal .card h2 { margin-bottom: 10px; }
.pg-portal .pt-sub { display: block; margin-top: 2px; }
.pg-portal .row > span:first-child { min-width: 0; }
.pg-portal .pt-label, .pg-portal .label { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-72); }
.pg-portal .pt-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px;
  font-size: 14.5px; font-weight: 500; text-decoration: none;
}
.pg-portal .pt-link::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) { .pg-portal .pt-link:hover { text-decoration: underline; } }
.pg-portal .pt-group { margin: 12px 0 0; }
.pg-portal .pt-field { margin: 6px 0 0; font-size: 14.5px; }
.pg-portal .pt-hint { margin: 6px 0 0; font-size: 13px; }
.pg-portal .pt-msg { margin: 12px 0; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; border: 1px solid var(--line-2); background: var(--surface-2); }
.pg-portal .pt-msg.err { background: var(--err-bg); border-color: var(--err-line); }
.pg-portal .pt-msg.ok { border-color: var(--ok); }

/* Kopf: Marke, Sprache, Hell/Dunkel, Initialen */
.p-head { display: flex; align-items: center; gap: 14px; padding: 18px 0 14px; }
.p-head .brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.p-head .brand-name { font-weight: 600; font-size: 17px; letter-spacing: -.025em; line-height: 1.2; overflow-wrap: anywhere; }
.p-head .brand-sub { font-size: 13px; color: var(--ink-72); }
.p-head-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.dw-web .iconbtn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-btn .ico-sun { display: none; }
:root[data-theme-effective="dark"] .theme-btn .ico-sun { display: block; }
:root[data-theme-effective="dark"] .theme-btn .ico-moon { display: none; }
.p-head .lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; background: var(--surface); font-size: 13px; font-weight: 600; }
.p-head .lang a, .p-head .lang span { display: inline-grid; place-items: center; min-width: 34px; padding: 0 10px; min-height: 34px; border-radius: 999px; color: var(--ink-72); text-decoration: none; }
.p-head .lang span[aria-current] { background: var(--ink); color: var(--on-ink); }
.p-head .avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--sage-2); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
@media (max-width: 640px) {
  .p-head { padding: 14px 0 8px; }
  .p-head .brand-name { font-size: 16px; }
  .p-head .avatar { display: none; }
}

/* Tab-Leiste oben (Desktop) und schwebende Leiste unten (Handy) */
.pt-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: max-content; max-width: 100%; margin: 4px 0 26px; overflow-x: auto; scrollbar-width: none; }
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; min-height: 40px; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.pt-tabs a[aria-current=page] { background: var(--ink); color: var(--on-ink); }
.pt-tabs .ico, .pt-tabs svg { width: 16px; height: 16px; flex: none; }
.pt-tabs .badge-n { font-size: 13px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rose); color: #fff; display: grid; place-items: center; }
@media (hover: hover) { .pt-tabs a:not([aria-current]):hover { background: var(--surface-2); } }
.pt-dock { display: none; }
@media (max-width: 760px) {
  .pt-tabs { display: none; }
  .pg-portal .wrap { padding-inline: 18px; }
  .pt-dock {
    display: flex; position: sticky; bottom: 14px; z-index: 20; margin: 24px 0 8px;
    background: var(--ink); color: var(--on-ink); border-radius: 999px; padding: 6px; justify-content: space-between;
    box-shadow: 0 18px 40px -16px rgba(21, 33, 15, .6);
  }
  .pt-dock a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: inherit; padding: 8px 0 7px; border-radius: 999px; font-size: 13px; letter-spacing: -.01em; font-weight: 600; text-decoration: none; opacity: .74; min-width: 0; }
  .pt-dock a .ico { width: 20px; height: 20px; }
  .pt-dock a span { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pt-dock a[aria-current=page] { opacity: 1; background: rgba(255, 255, 255, .14); }
  :root[data-theme-effective="dark"] .pt-dock a[aria-current=page] { background: rgba(21, 33, 15, .14); }
  .pt-dock a:focus-visible { outline-color: var(--on-ink); }
  .pt-dock .dock-dot { position: absolute; top: 7px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 2px var(--ink); }
  .has-dock .pb { margin-top: 8px; padding-bottom: 8px; }
}
.sa-support .pt-tabs { display: flex; }

/* Kopf einer Ansicht */
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 6px 0 22px; }
.view-head h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); }
.view-head .sub { margin-top: 8px; }
.view-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-portal .sec { margin: 28px 0 0; }
.pg-portal .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.pg-portal .sec-head h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.pg-portal .sec-link { font-size: 14px; font-weight: 500; color: var(--ink-72); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.pg-portal .sec-link .ico { width: 15px; height: 15px; }

/* Live-Walk-Banner */
.pg-portal .live { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 999px; background: var(--sage); margin: 0 0 16px; border: 1px solid var(--sage-2); }
.pg-portal .live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; position: relative; }
.pg-portal .live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: .6; animation: dwPing 1.8s var(--ease) infinite; }
@keyframes dwPing { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.pg-portal .live-text { flex: 1; min-width: 0; font-size: 14.5px; }
.pg-portal .live-text strong { font-weight: 600; }
.pg-portal .live .pill { flex: none; }
@media (max-width: 640px) { .pg-portal .live { border-radius: 22px; flex-wrap: wrap; padding: 14px 16px; } .pg-portal .live .pill { width: 100%; } }

/* Hero-Band (Wald, Foto nur mit Titelbild des Betriebs) */
.pg-portal .hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; margin: 0; border-radius: 30px; overflow: hidden; background: var(--forest); color: var(--forest-ink); min-height: 300px; }
.pg-portal .hero.no-photo { grid-template-columns: 1fr; min-height: 0; }
.pg-portal .hero-copy { padding: 36px 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; position: relative; z-index: 2; min-width: 0; }
.pg-portal .hero-kicker { margin: 0; color: var(--forest-muted); font-size: 14px; }
.pg-portal .hero-copy h1 { margin: 0; color: #fff; font-size: clamp(36px, 4.4vw, 54px); line-height: 1; }
.pg-portal .hero-copy .next { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--forest-muted); font-size: 15px; }
.pg-portal .hero-copy .next strong { color: #fff; font-weight: 500; }
.pg-portal .countdown { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--forest-line); color: #fff; font-size: 13.5px; font-weight: 600; }
.pg-portal .countdown .ico { width: 14px; height: 14px; }
.pg-portal .hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.pg-portal .hero-photo { position: relative; min-height: 240px; }
.pg-portal .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.pg-portal .hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--forest) 0%, rgba(35, 52, 33, 0) 34%); }
.pg-portal .hero-tag { position: absolute; top: 18px; right: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(21, 33, 15, .5); border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pg-portal .hero-tag .ico { width: 13px; height: 13px; }
.pg-portal .hero:focus-visible, .pg-portal .hero .pill:focus-visible { outline-color: #fff; }
@media (max-width: 760px) {
  .pg-portal .hero { grid-template-columns: 1fr; border-radius: 26px; }
  .pg-portal .hero-photo { order: -1; min-height: 160px; max-height: 170px; }
  .pg-portal .hero-photo::before { background: linear-gradient(180deg, rgba(35, 52, 33, 0) 50%, var(--forest) 100%); }
  .pg-portal .hero-copy { padding: 24px 22px; gap: 14px; }
  .pg-portal .hero-copy h1 { font-size: 34px; }
  .pg-portal .hero-actions .pill { flex: 1 1 auto; }
}

/* Bento */
.pg-portal .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.pg-portal .tile { border-radius: var(--r-tile); padding: 22px; min-height: 180px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pg-portal .tile.sage { background: var(--sage); border-color: transparent; }
.pg-portal .tile.sky { background: var(--sky); border-color: transparent; }
.pg-portal .tile.sand { background: var(--sand); border-color: transparent; }
.pg-portal .tile h3 { font-size: 22px; letter-spacing: -.03em; }
.pg-portal .tile p { margin: 0; }
.pg-portal .tile .big { font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.pg-portal .tile .foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 8px; font-size: inherit; }
.pg-portal .tile .link, .pg-portal .link { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 36px; }
.pg-portal .link .ico { width: 15px; height: 15px; }
@media (hover: hover) { .pg-portal .link:hover { text-decoration: underline; } }
.pg-portal .t-next { grid-column: span 7; grid-row: span 2; min-height: 360px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.pg-portal .t-next .t-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.pg-portal .t-next .t-photo { display: block; width: 100%; flex: 1 1 auto; height: 0; min-height: 180px; object-fit: cover; object-position: 50% 45%; }
.pg-portal .t-next .t-body { position: relative; background: inherit; }
.pg-portal .t-next.no-photo { grid-row: span 1; min-height: 0; grid-template-rows: 1fr; }
.pg-portal .bento:has(.t-next.no-photo) .t-rate { grid-column: span 5; }
.pg-portal .bento:has(.t-next.no-photo) .t-dogs { grid-column: span 4; }
.pg-portal .t-next .when { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-portal .t-next .where { display: flex; align-items: center; gap: 8px; color: var(--ink-72); font-size: 14.5px; }
.pg-portal .t-rate { grid-column: span 5; }
.pg-portal .t-dogs { grid-column: span 5; }
.pg-portal .t-pack, .pg-portal .t-inv, .pg-portal .t-vacc, .pg-portal .t-market { grid-column: span 4; }
.pg-portal .bento.fill-2 > .tile:last-child { grid-column: span 8; }
.pg-portal .bento.fill-1 > .tile:last-child { grid-column: span 12; }
.pg-portal .dogrow { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pg-portal .dogrow h3 { font-size: 19px; }
.pg-portal .dogpic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.pg-portal .dogpic.sm { width: 48px; height: 48px; }
.pg-portal .dogpic.lg { width: 72px; height: 72px; }
.pg-portal .dogpic.ph { background: var(--sage-2); display: grid; place-items: center; color: var(--ink); font-weight: 600; font-size: 20px; }
.pg-portal .dogpic.ph.sm { font-size: 15px; }
.pg-portal .ring { --p: 100; width: 86px; height: 86px; border-radius: 50%; background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--sky-2) 0); display: grid; place-items: center; flex: none; }
.pg-portal .ring::before { content: ""; width: 68px; height: 68px; border-radius: 50%; background: var(--sky); grid-area: 1 / 1; }
.pg-portal .ring span { grid-area: 1 / 1; font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1; text-align: center; }
.pg-portal .ring small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-72); margin-top: 2px; }
.pg-portal .ring.p0 { --p: 0; } .pg-portal .ring.p5 { --p: 5; } .pg-portal .ring.p10 { --p: 10; } .pg-portal .ring.p15 { --p: 15; } .pg-portal .ring.p20 { --p: 20; }
.pg-portal .ring.p25 { --p: 25; } .pg-portal .ring.p30 { --p: 30; } .pg-portal .ring.p35 { --p: 35; } .pg-portal .ring.p40 { --p: 40; } .pg-portal .ring.p45 { --p: 45; }
.pg-portal .ring.p50 { --p: 50; } .pg-portal .ring.p55 { --p: 55; } .pg-portal .ring.p60 { --p: 60; } .pg-portal .ring.p65 { --p: 65; } .pg-portal .ring.p70 { --p: 70; }
.pg-portal .ring.p75 { --p: 75; } .pg-portal .ring.p80 { --p: 80; } .pg-portal .ring.p85 { --p: 85; } .pg-portal .ring.p90 { --p: 90; } .pg-portal .ring.p95 { --p: 95; }
@media (max-width: 1000px) {
  .pg-portal .t-next { grid-column: span 12; grid-row: auto; min-height: 0; }
  .pg-portal .bento:has(.t-next.no-photo) .t-rate, .pg-portal .bento:has(.t-next.no-photo) .t-dogs { grid-column: span 6; }
  .pg-portal .t-rate, .pg-portal .t-dogs { grid-column: span 6; }
  .pg-portal .t-pack, .pg-portal .t-inv, .pg-portal .t-vacc, .pg-portal .t-market { grid-column: span 6; }
  .pg-portal .bento.fill-1 > .tile:last-child, .pg-portal .bento.fill-2 > .tile:last-child { grid-column: span 6; }
  .pg-portal .bento.odd > .tile:last-child { grid-column: span 12; }
}
@media (max-width: 640px) {
  .pg-portal .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* Gleiche Spezifität wie die :has()-Regeln oben, sonst erzeugt span 12 implizite Spalten und die Kacheln werden schmal. */
  .pg-portal .bento .tile, .pg-portal .bento:has(.t-next.no-photo) .tile, .pg-portal .bento[class*="fill-"] > .tile:last-child { grid-column: 1 / -1; grid-row: auto; min-height: 0; padding: 18px; }
  .pg-portal .bento .t-next { padding: 0; }
  .pg-portal .tile .big { font-size: 30px; }
  .pg-portal .t-pack .ring { width: 72px; height: 72px; } .pg-portal .t-pack .ring::before { width: 56px; height: 56px; } .pg-portal .ring span { font-size: 18px; }
  .pg-portal .t-next .t-body { padding: 18px; }
  .pg-portal .t-next .t-photo { flex: none; height: 160px; min-height: 0; }
}

/* Zeilenliste */
.pg-portal .list { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pg-portal .list.sand { background: var(--sand); border-color: transparent; }
.pg-portal .list.sky { background: var(--sky); border-color: transparent; }
.pg-portal .list.sage { background: var(--sage); border-color: transparent; }
.pg-portal .list .row { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-top: 1px solid var(--line); border-bottom: 0; min-height: 64px; text-decoration: none; color: inherit; font-size: inherit; }
.pg-portal .list .row:first-child { border-top: 0; }
.pg-portal .list .row:last-child { padding-bottom: 15px; }
.pg-portal .ricon { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.pg-portal .ricon .ico { width: 18px; height: 18px; }
.pg-portal .rtext { flex: 1 1 170px; min-width: 0; text-align: left; }
.pg-portal .rtext strong { display: block; font-weight: 500; font-size: 15.5px; overflow-wrap: anywhere; }
.pg-portal .rtext > span { display: block; font-size: 13.5px; color: var(--ink-72); }
.pg-portal .rside { display: flex; align-items: center; gap: 8px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.pg-portal .chev { width: 18px; height: 18px; color: var(--ink-55); }
.pg-portal .row.plain { padding: 0; border: 0; min-height: 0; }
.pg-portal .row .rtext { text-align: left; }
.pg-portal .pill { max-width: 100%; white-space: normal; text-align: center; }
@media (hover: hover) { .pg-portal a.row:hover .rtext strong { text-decoration: underline; } }
@media (max-width: 640px) { .pg-portal .list .row { padding: 13px 14px; flex-wrap: wrap; row-gap: 8px; } .pg-portal .list .row .rside { flex: 1 1 100%; justify-content: flex-end; } }

/* Zweier-Band */
.pg-portal .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pg-portal .duo .tile { min-height: 0; flex-direction: row; align-items: center; gap: 18px; padding: 20px 22px; flex-wrap: wrap; }
.pg-portal .duo .tile > div { flex: 1 1 200px; min-width: 0; }
.pg-portal .ico-big { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; }
.pg-portal .ico-big .ico { width: 22px; height: 22px; }
.pg-portal .duo .tile h3 { font-size: 17px; }
.pg-portal .duo .tile p { font-size: 14px; color: var(--ink-72); }
@media (max-width: 760px) { .pg-portal .duo { grid-template-columns: 1fr; } }

/* Branchen-Blöcke (Kurse, Mehrfachkarten, …) als Karten im Raster */
.pg-portal .vertical-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pg-portal .vertical-blocks .card { margin: 0; }
@media (max-width: 760px) { .pg-portal .vertical-blocks { grid-template-columns: 1fr; } }
.dw-web .pt-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.dw-web .pt-photos img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }

/* ——— Termine: Zeitleiste ——— */
.pg-portal .timeline { display: grid; gap: 14px; }
.pg-portal .tl-group { margin: 18px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-72); }
.pg-portal .timeline > .tl-group:first-child { margin-top: 0; }
.pg-portal .tl { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.pg-portal .tl-date { padding-top: 16px; text-align: center; }
.pg-portal .tl-date .d { font-size: 30px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.pg-portal .tl-date .m { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-72); margin-top: 4px; }
.pg-portal .tl-date .w { font-size: 13px; color: var(--ink-72); }
.pg-portal .tl-card { border-radius: var(--r-card); padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; min-width: 0; }
.pg-portal .tl-card > div { min-width: 0; }
.pg-portal .tl-card.sage { background: var(--sage); border-color: transparent; }
.pg-portal .tl-card.sky { background: var(--sky); border-color: transparent; }
.pg-portal .tl-card.sand { background: var(--sand); border-color: transparent; }
.pg-portal .tl-card h3 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 4px; }
.pg-portal .tl-card .meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-72); }
.pg-portal .tl-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.pg-portal .tl-card .meta .ico { width: 15px; height: 15px; }
.pg-portal .tl-card .mk-badge { color: var(--ink); font-weight: 500; }
.pg-portal .tl-card .side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pg-portal .tl-card.past { grid-template-columns: 72px 1fr auto; }
.pg-portal .tl-card .thumb { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.pg-portal .tl-card .thumb.mapph { background: var(--sage-2); display: grid; place-items: center; }
.pg-portal .tl-card .thumb.mapph .ico { width: 24px; height: 24px; }
.pg-portal .tl-card .excerpt { margin: 6px 0 0; font-size: 14px; color: var(--ink-72); }
.pg-portal .timeline .pt-seg, .pg-portal .chips.pt-seg { margin: 0 0 20px; }
@media (max-width: 640px) {
  .pg-portal .tl { grid-template-columns: 64px 1fr; gap: 10px; }
  .pg-portal .tl-date .d { font-size: 24px; }
  .pg-portal .tl-card { grid-template-columns: 1fr; padding: 16px; }
  .pg-portal .tl-card.past { grid-template-columns: 56px 1fr; }
  .pg-portal .tl-card .thumb { width: 56px; height: 56px; }
  .pg-portal .tl-card.past .side { grid-column: 1 / -1; }
  .pg-portal .tl-card .side { justify-content: flex-start; }
}

/* Tagesauswahl (Termin anfragen) */
.pg-portal .days { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 4px; margin: 0; border: 0; min-width: 0; scrollbar-width: none; }
.pg-portal .days::-webkit-scrollbar { display: none; }
.pg-portal .day { position: relative; flex: none; width: 54px; padding: 9px 0 8px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); text-align: center; cursor: pointer; }
.pg-portal .day input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pg-portal .day small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-72); }
.pg-portal .day b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.03em; margin-top: 2px; }
.pg-portal .day:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pg-portal .day:has(input:checked) small { color: inherit; opacity: .75; }
.pg-portal .day:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.pg-portal .radio-chips { margin-top: 14px; }

/* ——— Rechnungen ——— */
.pg-portal .sumrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.pg-portal .sum { border-radius: var(--r-card); padding: 18px 20px; background: var(--sand); min-width: 0; }
.pg-portal .sum.ink { background: var(--forest-2); color: #fff; }
.pg-portal .sum .label { margin: 0; }
.pg-portal .sum.ink .label { color: var(--forest-muted); }
.pg-portal .sum .v { font-size: 30px; font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin-top: 6px; overflow-wrap: anywhere; }
.pg-portal .sum .s { font-size: 13.5px; color: var(--ink-72); margin-top: 4px; }
.pg-portal .sum.ink .s { color: var(--forest-muted); }
.pg-portal .inv { display: grid; gap: 10px; }
.pg-portal .inv-card { display: grid; grid-template-columns: 150px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pg-portal .inv-card.open { background: var(--sand); border-color: transparent; }
.pg-portal .inv-card .no { font-size: 13.5px; font-weight: 600; color: var(--ink-72); }
.pg-portal .inv-card .no b { display: block; font-size: 15.5px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.pg-portal .inv-card .desc { font-size: 15px; min-width: 0; }
.pg-portal .inv-card .desc > span { display: block; font-size: 13.5px; color: var(--ink-72); }
.pg-portal .inv-card .amt { font-size: 22px; font-weight: 400; letter-spacing: -.03em; text-align: right; white-space: nowrap; }
.pg-portal .inv-card .acts { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.pg-portal .inv-head { display: grid; grid-template-columns: 150px 1fr auto auto; gap: 16px; padding: 0 20px 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-72); }
.pg-portal details summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 500; color: var(--ink-72); }
.pg-portal .pt-lines { list-style: none; margin: 4px 0 8px; padding: 0; font-size: 14px; }
.pg-portal .pt-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.pg-portal .paynote { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 20px; background: var(--sky); margin-top: 16px; font-size: 14.5px; }
.pg-portal .paynote .ico { width: 22px; height: 22px; flex: none; }
.pg-portal .paynote > span:not(.logos) { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.pg-portal .paynote .logos { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.pg-portal .paynote .logos span { font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.pg-portal .pt-pdf[hidden] { display: none; }
@media (max-width: 760px) {
  .pg-portal .sumrow { grid-template-columns: 1fr 1fr; }
  .pg-portal .sum:first-child { grid-column: span 2; }
  .pg-portal .inv-head { display: none; }
  .pg-portal .inv-card { grid-template-columns: 1fr auto; padding: 16px; }
  .pg-portal .inv-card .desc { order: 1; } .pg-portal .inv-card .amt { order: 2; align-self: start; }
  .pg-portal .inv-card .no { order: 3; grid-column: 1 / -1; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; } .pg-portal .inv-card .no b { display: inline; }
  .pg-portal .inv-card .acts { order: 4; grid-column: 1 / -1; justify-content: flex-start; }
  .pg-portal .paynote { flex-wrap: wrap; } .pg-portal .paynote .logos { margin-left: 36px; }
}

/* ——— Profil ——— */
.pg-portal .profile { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pg-portal .pcol { display: grid; gap: 16px; min-width: 0; }
.pg-portal .pcol .card { margin: 0; }
.pg-portal .dog-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pg-portal .dog-head > div { flex: 1 1 160px; min-width: 0; }
.pg-portal .dog-head h3 { font-size: 24px; letter-spacing: -.035em; }
.pg-portal .dog-head p { font-size: 14px; color: var(--ink-72); margin: 2px 0 0; }
.pg-portal .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.pg-portal .facts > div { padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pg-portal .card.sage .facts > div, .pg-portal .card.sand .facts > div, .pg-portal .card.sky .facts > div { border-color: transparent; }
.pg-portal .facts dt { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-72); }
.pg-portal .facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.pg-portal .vacc { margin-top: 14px; }
.pg-portal .vacc .row { padding: 12px 0; min-height: 0; justify-content: space-between; }
.pg-portal .vacc .row:last-child { padding-bottom: 0; }
.pg-portal .vacc .rtext strong { font-size: 15px; }
.pg-portal .sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pg-portal .sw:first-of-type, .pg-portal .ch + .sw, .pg-portal .sw-form .sw:first-child { border-top: 0; }
.pg-portal .sw .t { font-size: 15px; font-weight: 500; flex: 1 1 180px; min-width: 0; }
.pg-portal .sw .t span { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink-72); overflow-wrap: anywhere; }
.pg-portal label.sw { cursor: pointer; }
.pg-portal input.toggle { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: var(--line-2); border: 0; position: relative; cursor: pointer; flex: none; padding: 0; min-height: 0; }
.pg-portal input.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); transition: transform 200ms var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pg-portal input.toggle:checked { background: var(--ok); }
.pg-portal input.toggle:checked::after { transform: translateX(20px); }
.pg-portal input.toggle:focus { box-shadow: 0 0 0 3px var(--line); }
.pg-portal .sw-form .form-foot { margin-top: 6px; }
.pg-portal .seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); flex: none; max-width: 100%; flex-wrap: wrap; }
.pg-portal .seg.inner { background: var(--surface); }
.pg-portal .seg button, .pg-portal .seg a, .pg-portal .seg span { border: 0; background: transparent; border-radius: 999px; padding: 7px 13px; min-height: 34px; font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.pg-portal .seg button[aria-pressed="true"], .pg-portal .seg span[aria-current] { background: var(--ink); color: var(--on-ink); }
.pg-portal .seg .ico { width: 15px; height: 15px; }
.pg-portal .kv { display: grid; gap: 12px; }
.pg-portal .kv .lbl { margin-top: 0; }
.pg-portal .pt-form .lbl { margin-top: 0; }
.pg-portal .pt-change .pt-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pg-portal .pt-change .pt-two input { min-width: 0; }
.pg-portal .pt-change .lbl { margin-top: 12px; }
.pg-portal .pt-change .pt-two .lbl:first-child, .pg-portal .pt-change .pt-two > div > .lbl { margin-top: 0; }
.pg-portal .pt-change-dog { border: 0; margin: 0; padding: 16px 0 6px; border-top: 1px solid var(--line); min-width: 0; }
.pg-portal .pt-change-dog:first-of-type { border-top: 0; padding-top: 0; }
.pg-portal .pt-change-dog legend { padding: 0; font-size: 16px; color: var(--ink); text-transform: none; letter-spacing: -.01em; }
.pg-portal .pt-change .card .lbl:first-child { margin-top: 0; }
@media (max-width: 760px) { .pg-portal .profile { grid-template-columns: 1fr; } .pg-portal .pt-change .pt-two { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .pg-portal .facts { grid-template-columns: 1fr; } }

/* ——— Bericht ——— */
.pg-portal .report-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pg-portal .strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pg-portal .strip.n1 { grid-template-columns: 1fr; }
.pg-portal .strip.n2 { grid-template-columns: 1.4fr 1fr; }
.pg-portal .strip a { display: block; border-radius: 20px; min-width: 0; }
.pg-portal .strip img { width: 100%; height: 100%; min-height: 150px; max-height: 230px; object-fit: cover; border-radius: 20px; background: var(--surface-2); }
.pg-portal .strip.n1 img { max-height: 360px; }
.pg-portal .rep { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.pg-portal .rep.no-map { grid-template-columns: 1fr; }
.pg-portal .map { margin: 0; border-radius: var(--r-tile); background: var(--sage); min-height: 260px; position: relative; overflow: hidden; display: grid; place-items: center; }
.pg-portal .map .pt-route { width: 100%; max-width: none; height: 100%; min-height: 260px; color: var(--ink); background: transparent; border-radius: 0; }
.pg-portal .pt-route-start { fill: var(--ok); }
.pg-portal .pt-route-end { fill: var(--ink); }
.pg-portal .map .tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; }
.pg-portal .map .tag .ico { width: 15px; height: 15px; }
.pg-portal .map .km { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 8px; margin: 0; }
.pg-portal .map .km span { padding: 7px 12px; border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 500; }
.pg-portal .facts4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.pg-portal .rep.no-map .facts4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pg-portal .fact { padding: 16px; border-radius: 20px; background: var(--sand); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pg-portal .fact .ico { width: 20px; height: 20px; }
.pg-portal .fact small { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-72); }
.pg-portal .fact b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pg-portal .note { border-radius: var(--r-card); padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); margin-top: 14px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.pg-portal .note .who { width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.pg-portal .note blockquote { margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.pg-portal .note cite { display: block; font-style: normal; font-size: 13.5px; color: var(--ink-72); margin-top: 8px; }
.pg-portal .rate-card { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.pg-portal .rate-card .rate-side { display: grid; gap: 10px; min-width: min(100%, 280px); }
.pg-portal .rate-card .small { margin-top: 4px; }
.pg-portal .rate-card .stars { margin-top: 10px; }
.pt-stars-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; margin: 10px 0 0; padding: 0; }
.pt-stars-pick label { position: relative; display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer; border-radius: 8px; }
.pt-stars-pick label .ico { width: 28px; height: 28px; stroke: var(--star); transition: fill 160ms var(--ease); }
.pt-stars-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pt-stars-pick label:has(input:checked) .ico, .pt-stars-pick label:has(input:checked) ~ label .ico { fill: var(--star); }
@media (hover: hover) { .pt-stars-pick label:hover .ico, .pt-stars-pick label:hover ~ label .ico { fill: var(--star); } }
.pt-stars-pick label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.pg-portal .pt-photo { display: block; border-radius: 12px; }
.pg-portal .pt-photo:focus-visible { outline-offset: 2px; }
@media (max-width: 760px) {
  .pg-portal .strip { grid-template-columns: 1fr 1fr; }
  .pg-portal .strip img { min-height: 120px; max-height: 140px; }
  .pg-portal .strip a:first-child { grid-column: span 2; } .pg-portal .strip a:first-child img { max-height: 170px; }
  .pg-portal .rep { grid-template-columns: 1fr; }
  .pg-portal .rate-card { grid-template-columns: 1fr; }
}

/* ——— Nachrichten ——— */
.pg-portal .thread { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.pg-portal .thread > div { min-width: 0; }
.pg-portal .msgs { display: flex; flex-direction: column; gap: 10px; }
.pg-portal .day-sep { align-self: center; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-72); padding: 10px 0 4px; }
.pg-portal .msg { max-width: 78%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.pg-portal .msg.them { align-self: flex-start; background: var(--sand); border-bottom-left-radius: 6px; }
.pg-portal .msg.me { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 6px; }
.pg-portal .msg time { display: block; font-size: 13px; color: var(--ink-72); margin-top: 4px; }
.pg-portal .msg.sys { align-self: center; background: var(--sky); font-size: 13.5px; padding: 8px 14px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; max-width: 100%; }
.pg-portal .msg.sys .ico { width: 15px; height: 15px; }
.pg-portal .composer { margin: 14px 0 0; border-radius: var(--r-card); padding: 14px 16px 16px; background: var(--surface); border: 1px solid var(--line); }
.pg-portal .composer .chips { margin-bottom: 4px; }
.pg-portal .composer .lbl { margin-top: 12px; }
.pg-portal .composer .cbar { display: flex; gap: 10px; align-items: flex-end; }
.pg-portal .composer textarea.field { min-height: 56px; flex: 1; }
.pg-portal .composer .pill.send { min-height: 48px; width: 48px; padding: 0; flex: none; }
.pg-portal .composer .pill.send .ico { width: 18px; height: 18px; }
.pg-portal .composer #message-hint { margin: 8px 0 0; }
.pg-portal .side-card .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pg-portal .side-card .who > div { min-width: 0; }
.pg-portal .side-card .who strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
.pg-portal .side-card p { font-size: 14px; color: var(--ink-72); }
.pg-portal .side-card .kv2 { display: grid; gap: 8px; margin: 12px 0 4px; font-size: 14px; }
.pg-portal .side-card .kv2 div { display: flex; justify-content: space-between; gap: 10px; }
.pg-portal .side-card .kv2 div span:first-child { flex: none; }
.pg-portal .side-card .kv2 div span:last-child { text-align: right; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 860px) { .pg-portal .thread { grid-template-columns: 1fr; } }

/* ——— Vertrag, Unterschrift ——— */
.pt-contract p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.pt-contract p:last-child { margin-bottom: 0; }
.pt-contract strong { font-weight: 600; }
.dw-web .pt-signature { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 0 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); }
.pg-portal .card h3 + .pt-contract, .pg-portal .card h3 + .pt-signature, .pg-portal .card h3 + .muted { margin-top: 12px; }

/* Leuchtkasten (portal.js) */
dialog.pt-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; color: #fff; }
dialog.pt-lightbox::backdrop { background: rgba(10, 16, 9, .88); }
dialog.pt-lightbox img { display: block; max-width: 96vw; max-height: 86vh; border-radius: 14px; background: #000; }
dialog.pt-lightbox button { position: fixed; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 400 26px/1 var(--sans); cursor: pointer; }
dialog.pt-lightbox .pt-lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
dialog.pt-lightbox .pt-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
dialog.pt-lightbox .pt-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
dialog.pt-lightbox .pt-lb-count { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: 13.5px; opacity: .8; }

/* Start ohne Betrieb (portal_register.php), Support-Ansicht und ältere Blöcke: schlichte Karten im Raster */
.pg-onboarding .wrap { max-width: 640px; }
.pg-onboarding h1 { margin-top: 22px; }
.pt-facts { display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: 6px 16px; margin: 4px 0 4px; font-size: 14.5px; }
.pt-facts dt { color: var(--ink-72); }
.pt-facts dd { margin: 0; overflow-wrap: anywhere; }
.dw-web .pt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pg-portal .pt-actions .btn { flex: 1 1 auto; }
.pt-nav-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pt-nav-list li { border-bottom: 1px solid var(--line); }
.pt-nav-list li:last-child { border-bottom: 0; }
.pt-nav-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 10px 0; text-decoration: none; }
.pt-chev { flex: none; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-55); border-right: 1.5px solid var(--ink-55); transform: rotate(45deg); margin-right: 4px; }
.pg-portal .pt-mini { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; }
.pg-portal .pt-stars { color: var(--star); letter-spacing: 2px; white-space: nowrap; }

/* ——— Vertrag unterschreiben (sign.php) ——— */
.pg-sign .wrap { max-width: 640px; }
.pg-sign .pt-hero { margin: 22px 0 20px; }
.pg-sign .pt-hero h1 { font-size: clamp(32px, 9vw, 44px); }
.pg-sign canvas { height: 200px; margin-top: 8px; }
.pg-sign .sg-actions { display: flex; gap: 10px; margin-top: 12px; }
.pg-sign .sg-actions .btn-outline { flex: 0 0 auto; }
.pg-sign .sg-submit { flex: 1; }
.pg-sign #signErr { margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; background: var(--err-bg); border: 1px solid var(--err-line); }
.pg-sign .pt-hint { margin-top: 12px; font-size: 13px; }
.pg-sign .pt-actions { margin-top: 14px; }
@media (max-width: 420px) { .pg-sign .sg-actions { flex-direction: column; } }

/* ——— Paketbuchung (paket.php) im Seitengerüst ——— */
.pg-paket .wrap { max-width: 760px; }
.pg-paket .wrap > .tb { max-width: none; margin: 0; }
.pg-paket .pt-hero { margin: 22px 0 20px; }
.pg-paket .pt-hero h1 { font-size: clamp(30px, 7.6vw, 44px); }
.pg-paket h2 { display: flex; align-items: baseline; gap: 10px; }
.pg-paket .pk-done { text-align: center; padding: 56px 24px; }
.pg-paket .pk-done h2 { justify-content: center; font-size: clamp(28px, 6vw, 38px); font-weight: 400; letter-spacing: -.04em; }
.pg-paket .pk-row { margin-top: 4px; }
.pg-paket .pk-row > div { min-width: 0; }
.pg-paket .pk-check { display: flex; align-items: flex-end; padding-bottom: 12px; }
.pg-paket .pk-check .check { margin: 0; }
.pg-paket .pk-hint { display: block; margin-top: 8px; }
.pg-paket .pkg[aria-checked=true] { border-color: var(--ink); }
.pg-paket .pkg:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pg-paket .day-chip { font: 500 14px/1 var(--sans); color: var(--ink); }
.pg-paket .pk-line { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.pg-paket .pk-line > span:first-child { flex: none; color: var(--ink-72); }
.pg-paket .pk-line-val { font-weight: 500; text-align: right; }
.pg-paket .pk-empty { margin: 0; }
.pg-paket .pk-total-label { font-weight: 500; }
.pg-paket #formMsg:empty { display: none; }
.pg-paket .sig-wrap { margin-top: 6px; }
.pg-paket .lbl { margin-top: 14px; }
.pg-paket .lbl:first-of-type { margin-top: 0; }

/* ——— Anmelden (portal-login.php): Foto wie auf getdogwalkers.com, daneben das Formular ——— */
.pg-login { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.lg-media { position: relative; overflow: hidden; background: #1d2a1a; color: #fff; }
.lg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.lg-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 9, .05) 40%, rgba(10, 16, 9, .72)); }
.lg-media .lg-copy { position: absolute; left: clamp(24px, 5vw, 64px); right: clamp(24px, 5vw, 64px); bottom: clamp(28px, 6vh, 64px); z-index: 1; }
.lg-media h1 { margin: 0 0 14px; color: #fff; font-weight: 400; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.lg-media p { margin: 0; max-width: 40ch; font-size: 16.5px; color: rgba(255, 255, 255, .86); }
.lg-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; letter-spacing: .02em; }
.lg-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9ccf8f; }
.lg-panel { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 72px) calc(24px + env(safe-area-inset-bottom)); }
.lg-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.025em; text-decoration: none; }
.lg-brand svg { width: 20px; height: 20px; }
.lg-main { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 420px; margin: 0 auto; padding: 40px 0; }
.lg-main h2 { margin: 0 0 8px; font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.lg-main .lead { margin: 0 0 28px; color: var(--ink-72); }
.lg-field { display: block; margin: 0 0 16px; }
.lg-field > span { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 7px; font-size: 14px; font-weight: 500; }
.lg-field > span a { font-weight: 400; color: var(--ink-72); }
.lg-pass { position: relative; display: block; }
.lg-pass input { padding-right: 92px; }
.lg-pass button { position: absolute; top: 6px; right: 6px; bottom: 6px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--surface-2); color: var(--ink); font: 500 13.5px/1 var(--sans); cursor: pointer; }
.lg-or { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--ink-55); font-size: 13px; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lg-main .btn { width: 100%; }
.pg-login .lg-note { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-72); }
.pg-login .lg-alert { margin: 0 0 18px; padding: 13px 16px; border-radius: 14px; font-size: 14.5px; border: 1px solid var(--line-2); background: var(--surface-2); }
.lg-alert.err { background: var(--err-bg); border-color: var(--err-line); }
.pg-login .pb { margin-top: 0; }
@media (max-width: 860px) {
  .pg-login { grid-template-columns: 1fr; }
  .lg-media { min-height: 46svh; }
  .lg-media::after { background: linear-gradient(180deg, rgba(10, 16, 9, .5), rgba(10, 16, 9, 0) 26%, rgba(10, 16, 9, .05) 40%, rgba(10, 16, 9, .75)); }
  .lg-tag { display: none; }
  .lg-media h1 { font-size: clamp(32px, 9vw, 44px); }
  .lg-media p { font-size: 15px; }
  .lg-panel { padding-top: 0; }
  .lg-panel > .lg-brand { display: none; }
  .lg-main { padding: 28px 0 32px; justify-content: flex-start; }
  .lg-media .lg-brand { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: 20px; z-index: 1; color: #fff; }
}
@media (min-width: 861px) { .lg-media .lg-brand { display: none; } }

/* ——— Urlaubsbetreuung buchen (v=urlaub): Schritte links, Zusammenfassung rechts (Himmelblau = Pension) ——— */
.pg-portal .hb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.pg-portal .hb-steps { display: grid; gap: 14px; min-width: 0; }
.pg-portal .hb-step h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pg-portal .hb-num { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 13.5px; font-weight: 600; letter-spacing: 0; }
.pg-portal .fg.two.hb-dates { grid-template-columns: minmax(0, 1fr) 132px; }
.pg-portal .hb-full { margin-top: 14px; }
.pg-portal .hb-full .chips { margin-top: 8px; }
.pg-portal .hb-full-day { cursor: default; background: var(--surface); border-color: transparent; color: var(--rose); }
.pg-portal p.hb-full { display: flex; align-items: center; gap: 8px; }
.pg-portal p.hb-full .ico { color: var(--ok); }
.pg-portal .hb-extras { display: grid; gap: 8px; }
.pg-portal .hb-extra { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); align-items: center; }
.pg-portal .hb-extra:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.pg-portal .hb-extra > span:nth-of-type(1) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pg-portal .hb-extra > span:nth-of-type(2) { flex: none; white-space: nowrap; }
.pg-portal .hb-step .check + .check { margin-top: 10px; }
.pg-portal .hb-step .check a { white-space: nowrap; }
.pg-portal .hb-terms-link { margin-top: 10px; color: var(--ink-72); }
.pg-portal .hb-summary { position: sticky; top: 16px; margin: 0; background: var(--sky); border-color: transparent; }
.pg-portal .hb-summary h3 { margin-bottom: 12px; }
.pg-portal .hb-stay { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; margin-bottom: 10px; }
.pg-portal .hb-stay .ico { width: 16px; height: 16px; }
.pg-portal .hb-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pg-portal .hb-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pg-portal .hb-lines li span:first-child { min-width: 0; color: var(--ink-72); }
.pg-portal .hb-lines li span:last-child { flex: none; white-space: nowrap; }
.pg-portal .hb-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 4px; }
.pg-portal .hb-total strong { font-size: 30px; font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.pg-portal .hb-deposit { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-72); margin: 0 0 10px; }
.pg-portal .hb-deposit .num { flex: none; white-space: nowrap; }
.pg-portal .hb-avail { margin: 10px 0 0; }
.pg-portal .hb-actions { margin-top: 18px; }
.pg-portal .hb-actions .pill.fill { flex: 1; }
.pg-portal .hb-actions .pill:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pg-portal .hb-summary > .small { margin-top: 10px; }
.pg-portal .hb-facts, .pg-portal .hb-next { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 15px; }
.pg-portal .hb-facts { list-style: none; padding-left: 0; }
.pg-portal .hb-sent .card { margin: 0; }
.pg-sign .pt-hero h1 { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .pg-portal .hb-grid { grid-template-columns: 1fr; }
  .pg-portal .hb-summary { position: static; }
}
@media (max-width: 560px) {
  .pg-portal .fg.two.hb-dates { grid-template-columns: minmax(0, 1fr) 112px; }
  .pg-portal .form-card.hb-step { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .dw-web *, .dw-web *::before, .dw-web *::after { transition-duration: 1ms !important; animation: none !important; }
}

/* ——— Konto verknüpfen, Marktplatz im Portal, Über den Betrieb (lib/portal_link.php) ——— */
.p-head a.brand { color: inherit; text-decoration: none; border-radius: 14px; }
@media (hover: hover) { .p-head a.brand:hover .brand-name { text-decoration: underline; } }
.pg-portal a.hero-tag { text-decoration: none; }
@media (hover: hover) { .pg-portal a.hero-tag:hover { background: rgba(21, 33, 15, .72); } }
.pg-portal .lk-form { display: inline-flex; margin: 0; }
.pg-portal .lk-form .pill .ico { width: 15px; height: 15px; }
.pg-portal .lk-privacy { margin: 10px 0 0; max-width: 62ch; }
.pg-portal .lk-privacy a { color: inherit; }
.pg-portal .tile .lk-privacy { margin-top: 0; }
.pg-portal .lk-row + .lk-privacy { margin: -4px 0 6px; }
.pg-portal .lk-card { padding: 26px; display: grid; gap: 12px; justify-items: start; }
.pg-portal .lk-card h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.035em; }
.pg-portal .lk-card > p { margin: 0; max-width: 62ch; }
.pg-portal .lk-points { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; }
.pg-portal .lk-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.pg-portal .lk-points .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ok); }
.pg-portal .lk-done p { margin: 0; }
.pg-portal .lk-done p + p { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-portal .lk-bento { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; }
.pg-portal .lk-next .when { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-portal .lk-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pg-portal .lk-nums > div { padding: 12px 14px; border-radius: 16px; background: var(--bg); min-width: 0; }
.pg-portal .lk-nums dt { font-size: 13px; color: var(--ink-72); overflow-wrap: anywhere; hyphens: auto; }
.pg-portal .lk-nums dd { margin: 4px 0 0; font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.pg-portal .list .row .num.small { font-size: 14px; }
@media (max-width: 760px) {
  .pg-portal .lk-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pg-portal .lk-bento .tile { min-height: 0; padding: 18px; }
  .pg-portal .lk-card { padding: 20px; }
}

.pg-portal .bz-hero .hero-copy { justify-content: center; }
.pg-portal .bz-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pg-portal .bz-title h1 { overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.pg-portal .bz-title .tb-logo, .pg-portal .bz-title .tb-mono { flex: none; }
.pg-portal .bz-title .tb-mono { width: 52px; height: 52px; font-size: 16px; background: rgba(255, 255, 255, .14); border: 1px solid var(--forest-line); }
.pg-portal .bz-title .tb-logo { height: 52px; background: #fff; padding: 4px; }
.pg-portal .bz-docs .rtext { flex-basis: 120px; }
.pg-portal .bz-docs .rtext strong { overflow-wrap: normal; hyphens: auto; }
.pg-portal .bz-chips { gap: 8px; }
.pg-portal .bz-chips .ico { width: 14px; height: 14px; }
.pg-portal .bz-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 14px; margin-top: 28px; align-items: start; }
.pg-portal .bz-main, .pg-portal .bz-side { display: grid; gap: 14px; min-width: 0; }
.pg-portal .bz-main > .sec { margin: 0; }
.pg-portal .bz-grid .card { margin: 0; }
.pg-portal .bz-grid .card h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.03em; }
.pg-portal .bz-text { white-space: pre-line; margin: 0; line-height: 1.6; }
.pg-portal .bz-priceside { flex-direction: column; align-items: flex-end; gap: 0; text-align: right; }
.pg-portal .bz-price { font-size: 17px; font-weight: 500; }
.pg-portal .bz-facts { display: grid; gap: 0; margin: 0; }
.pg-portal .bz-facts > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.pg-portal .bz-facts > div:first-child { border-top: 0; padding-top: 0; }
.pg-portal .card.sand .bz-facts > div, .pg-portal .card.sage .bz-facts > div, .pg-portal .card.sky .bz-facts > div { border-color: rgba(21, 33, 15, .12); }
.pg-portal .bz-facts dt { font-size: 13.5px; color: var(--ink-72); }
.pg-portal .bz-facts dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.pg-portal .bz-facts dd .link { min-height: 0; margin-left: 4px; }
.pg-portal .bz-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-portal .bz-badges .chip { cursor: default; min-height: 30px; padding: 5px 10px; font-size: 13px; }
.pg-portal .bz-badges .ico { width: 14px; height: 14px; color: var(--ok); }
.pg-portal .bz-reviews { display: grid; gap: 0; }
.pg-portal .bz-score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; }
.pg-portal .bz-score .big { font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.pg-portal .bz-review { padding: 14px 0; border-top: 1px solid var(--line); }
.pg-portal .bz-review p { margin: 6px 0 0; }
.pg-portal .bz-review .stars .ico, .pg-portal .bz-score .stars .ico { width: 16px; height: 16px; }
.pg-portal .bz-reply { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.pg-portal .bz-you .bz-docs { margin-top: 14px; }
.pg-portal .bz-you .list .row { min-height: 54px; }
@media (max-width: 860px) { .pg-portal .bz-grid { grid-template-columns: minmax(0, 1fr); margin-top: 18px; } }
@media (max-width: 760px) {
  .pg-portal .bz-hero .hero-photo { max-height: 150px; min-height: 140px; }
  .pg-portal .bz-hero .hero-actions .pill { flex: 1 1 calc(50% - 8px); }
  .pg-portal .bz-title .tb-mono, .pg-portal .bz-title .tb-logo { display: none; }
  .pg-portal .bz-title h1 { font-size: 30px; }
}
@media (max-width: 420px) { .pg-portal .bz-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Wartungshinweis aus dem Superadmin (lib/portal.php portalMaintenanceBar), über dem ganzen Portal. */
.dw-maintenance { padding: 10px 20px; background: var(--sand-2, #efe3c8); color: var(--ink); font-size: 14px; text-align: center; border-bottom: 1px solid var(--line-2); }
