/* ==========================================================================
   Erste Hilfe Mensch & Hund – Britta Günther · Redesign-Prototyp
   Markenfarben aus der Außenansicht des Schulungsraums: Magenta + Frischgrün
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --magenta: #c4145e;
  --magenta-600: #a30f4e;
  --magenta-100: #fbe3ed;
  --magenta-50: #fdf3f7;
  --green: #84cc16;
  --green-700: #3f7d0b;
  --green-100: #e6f5cc;
  --green-50: #f4faea;
  --ink: #22252b;
  --ink-2: #454a53;
  --muted: #5f646c;
  --line: #e8e4e9;
  --bg: #ffffff;
  --soft: #faf8f9;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(34, 37, 43, .06), 0 4px 16px rgba(34, 37, 43, .05);
  --shadow-md: 0 2px 4px rgba(34, 37, 43, .05), 0 14px 34px rgba(34, 37, 43, .10);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--magenta-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .btn-light:focus-visible, .btn-outline-light:focus-visible { outline-color: #fff; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-soft { background: var(--soft); }
.section-tint { background: linear-gradient(180deg, var(--green-50), #fff); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 1.6rem; height: 1.6rem; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--magenta) 0 62%, var(--green) 62% 100%); }
.on-dark .eyebrow, .eyebrow-light { color: #fff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 6px 18px rgba(196, 20, 94, .28); }
.btn-primary:hover { background: var(--magenta-600); color: #fff; box-shadow: 0 8px 22px rgba(196, 20, 94, .34); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--magenta); color: var(--magenta); }
.btn-light { background: #fff; color: var(--magenta-600); }
.btn-light:hover { background: var(--magenta-50); color: var(--magenta-600); }
.btn-outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--magenta); text-decoration: none; }
.link-arrow .ic { transition: transform .2s var(--ease); }
a:hover > .link-arrow .ic, .link-arrow:hover .ic, .card:hover .link-arrow .ic { transform: translateX(4px); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; background: var(--magenta-50); color: var(--magenta-600); line-height: 1.3;
}
.chip-green { background: var(--green-100); color: #2f5f07; }
.chip-gray { background: #eeecef; color: var(--ink-2); }
.chip-ink { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #d7d9de; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.topbar a:hover { color: var(--green); }
.topbar .group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.nav a.nav-link, .nav button.nav-link { white-space: nowrap; }
.brand-text strong { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-text strong span { color: var(--magenta); }
.brand-text small { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .9rem; border-radius: 10px; border: 0; background: none;
  font: inherit; font-weight: 700; font-size: .97rem; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .has-sub:hover > .nav-link { background: var(--magenta-50); color: var(--magenta); }
.nav a.nav-link[aria-current="page"], .nav .nav-link.is-current { color: var(--magenta); background: var(--magenta-50); }
.has-sub { position: relative; }
.has-sub .ic { width: 1em; height: 1em; transition: transform .2s; }
.has-sub.open .ic { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.sub a small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--magenta-50); color: var(--magenta); }
.sub .icon-tile { width: 38px; height: 38px; border-radius: 10px; }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1100px) {
  .topbar .group.addr { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 22px; gap: 10px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none;
  }
  .nav-open .nav { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a.nav-link, .nav button.nav-link { width: 100%; padding: 14px 12px; font-size: 1.08rem; min-height: 52px; justify-content: space-between; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .has-sub::after { display: none; }
  .header-cta { margin: 6px 0 0; }
  .header-cta .btn { width: 100%; min-height: 52px; }
  .nav-call { display: flex !important; }
}
.nav-call { display: none; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; border-radius: 12px; background: var(--green-100); color: #2f5f07; font-weight: 800; text-decoration: none; }
.nav-call:hover { color: #2f5f07; background: #d9efb3; }
@media (max-width: 520px) {
  .brand-text small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.02rem; }
  .topbar .container { justify-content: center; }
  .topbar .group a:nth-child(2) { display: none; }
  .topbar .group { gap: 14px; font-size: .84rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); min-height: clamp(540px, 56vw, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.02); animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.02); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(34, 37, 43, 0) 30%, rgba(34, 37, 43, .55) 58%, rgba(34, 37, 43, .93) 100%),
    radial-gradient(60% 80% at 0% 100%, rgba(196, 20, 94, .38), transparent 70%);
}
.hero-copy { padding-block: 0 clamp(96px, 11vw, 132px); max-width: none; }
.hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--green); }
.hero .lead { color: #eceef2; margin-bottom: 1.6rem; max-width: 40rem; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hero .chip { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 1.1rem; }
.hero .btn-row { margin-top: .4rem; }
.hero-fade > * { animation: rise .8s var(--ease) both; }
.hero-fade > *:nth-child(2) { animation-delay: .08s; }
.hero-fade > *:nth-child(3) { animation-delay: .16s; }
.hero-fade > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; aspect-ratio: 16 / 10; }
  .hero-media img { object-position: 30% 20%; animation: none; transform: none; }
  .hero::before { display: none; }
  .hero-copy { padding-block: 26px 92px; }
  .hero .btn-row .btn { flex: 1 1 100%; min-height: 52px; }
}

.trust { margin-top: -64px; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); display: flex; gap: 14px; align-items: flex-start; }
.trust-item strong { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; }
.trust-item span { font-size: .92rem; line-height: 1.5; color: var(--muted); display: block; }
@media (max-width: 1100px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .trust-grid { grid-template-columns: 1fr; } .trust { margin-top: -56px; } }

/* ---------- Icon tile ---------- */
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--magenta-50); color: var(--magenta); display: inline-grid; place-items: center; flex: none; }
.icon-tile .ic { width: 26px; height: 26px; }
.icon-tile.green { background: var(--green-100); color: var(--green-700); }
.icon-tile.dark { background: var(--ink); color: var(--green); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dcd5dc; }
.card.static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.course-card { display: flex; flex-direction: column; gap: 14px; }
.course-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.course-card h3 { margin: 0; }
.course-card h3 a { color: var(--ink); text-decoration: none; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card h3 a:focus-visible { outline: none; }
.course-card:has(h3 a:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 3px; }
.course-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.course-card .chips { margin-top: auto; }
.course-card .link-arrow { margin-top: 2px; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.group-head h3 { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.photo-card { padding: 0; overflow: hidden; border-radius: var(--radius-lg); min-height: 260px; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card:hover { transform: none; }
@media (min-width: 981px) { .photo-card.span-2 { grid-column: span 2; } }

/* ---------- Events ---------- */
.event-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; }
.event-card + .event-card { margin-top: 16px; }
.date-badge { width: 76px; align-self: start; text-align: center; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; flex: none; }
.date-badge .dow { display: block; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 0; }
.date-badge .day { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.1; padding-top: 6px; letter-spacing: -.03em; }
.date-badge .mon { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); padding-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.event-card.past .date-badge .dow { background: #8d9098; }
.event-card h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover { color: var(--magenta); }
.event-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.event-card .event-actions { position: relative; z-index: 1; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; color: var(--muted); }
.meta li { display: inline-flex; align-items: center; gap: .4rem; }
.meta .ic { color: var(--magenta); width: 1.1em; height: 1.1em; }
.event-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 170px; }
.event-actions .note { font-size: .84rem; color: var(--muted); text-align: center; max-width: 190px; line-height: 1.4; }
.month-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 34px 0 14px; display: flex; align-items: center; gap: 14px; }
.month-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 760px) {
  .event-card { grid-template-columns: auto 1fr; padding: 18px; gap: 16px; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .event-actions .btn { flex: 1 1 140px; min-height: 48px; }
  .event-actions .note { max-width: none; flex-basis: 100%; }
  .date-badge { width: 64px; }
}

/* ---------- Page head ---------- */
.page-head { background: linear-gradient(180deg, var(--magenta-50), #fff); padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: linear-gradient(90deg, var(--magenta) 0 68%, var(--green) 68% 100%); opacity: .95; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .4em; }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b7b3ba; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--magenta); }
.head-flex { display: flex; gap: 22px; align-items: flex-start; }
.head-flex .icon-tile { width: 68px; height: 68px; border-radius: 18px; }
.head-flex .icon-tile .ic { width: 34px; height: 34px; }
@media (max-width: 560px) { .head-flex { flex-direction: column; gap: 14px; } }

/* ---------- Prose / layout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
@media (max-width: 980px) { .aside-sticky { position: static; } }
.prose p { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose > ul, .checklist { list-style: none; display: grid; gap: 10px; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 7px; background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7d0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}
.checklist.two { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
@media (max-width: 700px) { .checklist.two { grid-template-columns: 1fr; } }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); margin: 0 0 1.4em; max-width: 44rem; }
.callout .ic { color: var(--green-700); width: 1.5rem; height: 1.5rem; margin-top: 2px; }
.callout p { margin: 0; }
.callout.magenta { background: var(--magenta-50); border-color: var(--magenta-100); }
.callout.magenta .ic { color: var(--magenta); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { font-size: 1.15rem; margin-bottom: 14px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.facts dd small { display: block; font-weight: 500; color: var(--muted); }
.rounded-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.rounded-img img { width: 100%; }
.img-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 1.6em; }
.img-row .rounded-img { box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); }
.img-row img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 560px) { .img-row { grid-template-columns: 1fr; } }

/* ---------- About block ---------- */
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.portrait { position: relative; max-width: 460px; margin-inline: auto; }
.portrait::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; background: linear-gradient(135deg, var(--magenta-100), var(--green-100)); border-radius: 40px; z-index: -1; }
.portrait img { border-radius: 32px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; box-shadow: var(--shadow-md); }
.portrait .badge { position: absolute; left: -10px; bottom: 26px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: .9rem; line-height: 1.3; }
.portrait .badge strong { display: block; color: var(--ink); }
.section { position: relative; }
.portrait-wrap { isolation: isolate; }

/* ---------- Benefit tiles ---------- */
.benefit { display: flex; flex-direction: column; gap: 14px; }
.benefit h3 { margin: 0; font-size: 1.15rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Room ---------- */
.room { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } }
.room-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.room-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 88% 20%; }
.address { font-style: normal; display: grid; gap: 14px; margin: 22px 0 26px; }
.address .row { display: flex; gap: 14px; align-items: flex-start; }
.address .row .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.address .row .icon-tile .ic { width: 22px; height: 22px; }
.address strong { display: block; color: var(--ink); }
.address a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.address a:hover { color: var(--magenta); text-decoration: underline; }

/* ---------- Logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 96px; display: grid; place-items: center; padding: 14px 18px; transition: box-shadow .25s, border-color .25s; }
.logo-tile img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(.75); opacity: .92; transition: filter .3s, opacity .3s; }
.logo-tile:hover { box-shadow: var(--shadow-sm); border-color: #d8d1d8; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-grid.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .logo-grid.six { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-grid.six { grid-template-columns: repeat(3, 1fr); } .logo-tile { padding: 10px; height: 82px; } }
@media (max-width: 400px) { .logo-grid.six { grid-template-columns: repeat(2, 1fr); } }
.logo-grid.large { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.logo-grid.large .logo-tile { height: 130px; }
.logo-grid.large .logo-tile img { max-height: 84px; }
a.logo-tile { text-decoration: none; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.partner { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
a.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8ccd5; color: var(--ink); }
.partner-logo { height: 112px; display: grid; place-items: center; padding: 8px 10px 16px; border-bottom: 1px solid var(--line); }
.partner-logo img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; }
.monogram { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: var(--magenta-50); color: var(--magenta); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.partner:nth-child(3n+2) .monogram { background: var(--green-100); color: var(--green-700); }
.partner-name { font-weight: 800; line-height: 1.3; font-size: 1.02rem; }
.partner-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 700; color: var(--magenta); }
.partner-link .ic { width: 1em; height: 1em; transition: transform .2s var(--ease); }
a.partner:hover .partner-link .ic { transform: translate(2px, -2px); }
.name-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.name-list li { background: #fff; border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--magenta); color: #fff; border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .16), transparent 60%), radial-gradient(50% 90% at 0% 100%, rgba(0, 0, 0, .22), transparent 70%); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--green); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 32rem; }
.cta-band p { color: #ffe9f2; max-width: 40rem; font-size: 1.12rem; margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9ccd3; margin-top: 0; border-top: 8px solid var(--green); }
.site-footer .container { padding-block: 64px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a { color: #e6e8ec; text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer .brand strong, .site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #a7abb4; }
.site-footer address { font-style: normal; display: grid; gap: 10px; }
.site-footer .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .contact-line .ic { color: var(--green); margin-top: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.proto-note { font-size: .82rem; color: #8f949d; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field label .req { color: var(--magenta); font-weight: 800; }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #d6d1d7; border-radius: 12px; padding: .8rem 1rem; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #b9b2ba; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(196, 20, 94, .15); }
.input:user-invalid, .textarea:user-invalid { border-color: #c81e1e; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .92rem; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--magenta); }
.form-note { font-size: .86rem; color: var(--muted); }
.success { text-align: center; padding: 20px 6px; }
.success .icon-tile { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 18px; }
.success .icon-tile .ic { width: 36px; height: 36px; }
.demo-tag { display: inline-flex; align-items: center; gap: .4rem; background: #fff7d6; color: #6b5300; border: 1px solid #f0dc8a; border-radius: 999px; font-size: .78rem; font-weight: 800; padding: .25rem .7rem; letter-spacing: .02em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card strong { color: var(--ink); display: block; }
.info-card a { font-weight: 700; color: var(--ink); text-decoration: none; }
.info-card a:hover { color: var(--magenta); text-decoration: underline; }
.map-ph {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 320px; border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
    repeating-linear-gradient(0deg, transparent 0 39px, #e6e2e8 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, #e6e2e8 39px 40px), #f3f1f4;
  display: grid; place-items: center; text-align: center; padding: 28px;
}
.map-ph::before { content: ""; position: absolute; width: 140%; height: 34px; background: #fff; border: 1px solid #e0dbe1; transform: rotate(-14deg); top: 42%; }
.map-ph::after { content: ""; position: absolute; width: 30px; height: 150%; background: #fff; border: 1px solid #e0dbe1; transform: rotate(18deg); left: 30%; }
.map-ph .inner { position: relative; z-index: 1; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); max-width: 420px; }
.map-ph .pin { width: 52px; height: 52px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: var(--magenta); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 8px 20px rgba(196, 20, 94, .4); }
.map-ph .pin .ic { transform: rotate(45deg); color: #fff; }

/* ---------- Tabs / segmented ---------- */
.toolbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; box-shadow: var(--shadow-sm); }
.toolbar .field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.input-icon { position: relative; }
.input-icon .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.toolbar-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0 8px; }
.seg { display: inline-flex; background: #eeecef; padding: 4px; border-radius: 12px; gap: 2px; }
.seg button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: .55rem 1.1rem; border-radius: 9px; color: var(--ink-2); cursor: pointer; min-height: 42px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--magenta); box-shadow: 0 1px 4px rgba(34, 37, 43, .15); }
.toggle { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--magenta); }
@media (max-width: 900px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .field:first-child { grid-column: 1 / -1; } .toolbar .reset { grid-column: 1 / -1; } }
@media (max-width: 480px) { .toolbar { grid-template-columns: 1fr; } }
.menu-btn { position: relative; display: inline-block; }
.menu-btn summary { list-style: none; cursor: pointer; }
.menu-btn summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 8px; display: grid; }
.menu-btn.left .menu-pop { left: 0; right: auto; }
.menu-pop a, .menu-pop button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--magenta-50); color: var(--magenta); }
.menu-pop .cap { font-size: .8rem; color: var(--muted); padding: 6px 12px 8px; line-height: 1.4; }
@media (max-width: 520px) { .menu-pop { min-width: 0; width: min(300px, calc(100vw - 2 * var(--gutter))); } .menu-btn:not(.left) .menu-pop { right: 0; } }

/* ---------- Calendar month ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-head h2 { margin: 0; font-size: 1.5rem; }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--magenta); color: var(--magenta); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.cal .dow { background: var(--soft); padding: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.cal .day { min-height: 118px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.cal .day:nth-child(7n) { border-right: 0; }
.cal .day.out { background: #fcfbfc; color: #b0abb2; }
.cal .day .n { font-weight: 700; font-size: .92rem; color: var(--ink); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.cal .day.out .n { color: #b0abb2; }
.cal .day.today .n { background: var(--ink); color: #fff; }
.pill { display: block; font-size: .78rem; font-weight: 700; line-height: 1.3; padding: 4px 8px; border-radius: 8px; text-decoration: none; background: var(--magenta-50); color: var(--magenta-600); border-left: 3px solid var(--magenta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill:hover { background: var(--magenta-100); }
.pill.hund { background: var(--green-50); color: #2f5f07; border-left-color: var(--green); }
.pill.hund:hover { background: var(--green-100); }
.pill.past { filter: grayscale(1); opacity: .7; }
.cal .dots { display: flex; flex-direction: column; gap: 5px; width: 100%; min-width: 0; }
.month-list { display: none; margin-top: 22px; }
main:focus { outline: none; }
@media (max-width: 720px) {
  .cal .day { min-height: 58px; padding: 4px; align-items: center; }
  .cal .dow { padding: 8px 2px; font-size: .68rem; letter-spacing: 0; }
  .pill { width: 9px; height: 9px; padding: 0; border-radius: 50%; font-size: 0; border-left: 0; background: var(--magenta); display: inline-block; margin: 0 1px; }
  .pill.hund { background: var(--green); }
  .cal .dots { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 3px; }
  .month-list { display: block; }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; display: grid; gap: 22px; padding-left: 0; max-width: 52rem; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--magenta), var(--green)); opacity: .5; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; }
.timeline .dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--magenta); display: grid; place-items: center; z-index: 1; color: var(--magenta); }
.timeline .dot .ic { width: 20px; height: 20px; }
.timeline li.milestone .dot { background: var(--magenta); color: #fff; }
.timeline .body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.timeline li.milestone .body { border-color: var(--magenta-100); background: var(--magenta-50); }
.timeline .year { display: inline-block; font-weight: 800; color: var(--magenta); letter-spacing: -.01em; font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 34px 1fr; gap: 12px; } .timeline .dot { width: 34px; height: 34px; } .timeline .dot .ic { width: 16px; height: 16px; } .timeline::before { left: 16px; } .timeline .body { padding: 14px 16px; } }

/* ---------- Event detail ---------- */
.seat-meter { height: 10px; border-radius: 999px; background: #eeecef; overflow: hidden; margin: 8px 0 6px; }
.seat-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #6bb10f); border-radius: 999px; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; max-width: 48%; }

/* ---------- Dialog ---------- */
dialog { border: 0; padding: 0; border-radius: var(--radius-xl); width: min(560px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(20, 22, 28, .4); color: var(--ink-2); }
dialog::backdrop { background: rgba(34, 37, 43, .6); backdrop-filter: blur(3px); }
.dialog-in { padding: clamp(22px, 4vw, 34px); position: relative; }
.dialog-close { position: absolute; right: 14px; top: 14px; }
.dialog-in h2 { font-size: 1.5rem; padding-right: 44px; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 720px; margin-inline: auto; background: var(--ink); color: #e6e8ec; border-radius: 16px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; box-shadow: 0 16px 50px rgba(20, 22, 28, .45); font-size: .92rem; line-height: 1.5; animation: rise .5s var(--ease) both; }
.cookie a { color: #fff; }
.cookie .btn { min-height: 44px; padding-inline: 1.3rem; flex: none; }
@media (max-width: 520px) { .cookie { flex-direction: column; align-items: stretch; } }

/* ---------- Legal ---------- */
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal ul, .legal ol { padding-left: 1.4rem; display: grid; gap: 6px; margin-bottom: 1em; }
.legal p { overflow-wrap: anywhere; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.sitemap-grid ul { list-style: none; display: grid; gap: 8px; }
.sitemap-grid h2 { font-size: 1.05rem; margin-bottom: 14px; }
.sitemap-grid a { font-weight: 600; text-decoration: none; }
.sitemap-grid a:hover { text-decoration: underline; }
.dl-card { display: flex; gap: 18px; align-items: flex-start; }
.dl-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.dl-card p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: #fff; }
.empty .icon-tile { margin-bottom: 14px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .07s; }
.js .reveal[data-d="2"] { transition-delay: .14s; }
.js .reveal[data-d="3"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .hero-fade > *, .cookie { animation: none !important; }
  * { scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}

@media print {
  .topbar, .site-header, .cookie, .site-footer .footer-grid { display: none; }
}

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--magenta-100); box-shadow: 0 6px 18px rgba(34, 37, 43, .05); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; color: var(--magenta); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* ------------------------------------------------ Anmeldung: E-Mail-Vorschau */
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #9b1c1c; font-weight: 600; font-size: .92rem; }
.mail-details { text-align: left; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mail-details > summary { cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: 12px 16px; font-weight: 700; color: var(--ink); }
.mail-details[open] > summary { border-bottom: 1px solid var(--line); }
.mail-details .mail-preview { border: 0; border-radius: 0 0 var(--radius) var(--radius); }
.mail-preview { text-align: left; background: #fafafb; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .9rem; }
.mail-preview .mail-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.mail-preview .mail-head span { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--magenta); }
.mail-preview > strong { display: block; color: var(--ink); margin-bottom: 8px; }
.mail-preview pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; color: var(--ink-2); line-height: 1.55; }

/* ------------------------------------------------ Mobile-Feinschliff (Ursachen statt Abschneiden) */
h1, h2, h3, h4 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
p, li, dd, dt, td, th, small, strong, a, span { overflow-wrap: break-word; }
.grid > *, .dl-card > *, .aside-sticky > *, .prose > *, .event-card > *, .head-flex > *, .about > *, .room > *, .contact-grid > *, .footer-grid > *, .trust-grid > * { min-width: 0; }
@media (max-width: 980px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) {
  .site-header .container { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text strong { font-size: .92rem; }
  .event-card { padding: 16px 14px; gap: 12px; }
  .date-badge { width: 62px; }
  .page-head h1 { font-size: 1.85rem; }
}
@media (max-width: 520px) {
  .toolbar-bottom { position: relative; }
  .toolbar-bottom .menu-btn { position: static; }
  .toolbar-bottom .menu-pop { left: 0; right: 0; width: auto; }
  .btn { min-height: 48px; }
  .btn-sm { min-height: 44px; }
}

/* Mobile: Reservieren-Leiste auf Terminseiten */
.m-book { display: none; }
@media (max-width: 980px) {
  .m-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(34, 37, 43, .08); }
  .m-book .m-info { flex: 1; line-height: 1.2; font-size: .9rem; color: var(--muted); }
  .m-book .m-info strong { display: block; font-size: 1.05rem; color: var(--ink); }
  .m-book .btn { flex: none; }
  body.has-mbook .site-footer { padding-bottom: 96px; }
  body.has-mbook .cookie { bottom: 84px; }
}
.panel .menu-pop[style*="position:static"] { width: auto !important; }
@media (max-width: 520px) { .panel .menu-pop { width: auto; } }

/* ================================================ Verwaltung – mobile-first Web-App */
body.is-admin { background: #f6f4f7; }
body.is-admin .topbar, body.is-admin .site-header, body.is-admin .site-footer, body.is-admin .cookie, body.is-admin .skip-link { display: none !important; }
.adm-app { min-height: 100vh; min-height: 100dvh; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.adm-head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.adm-head .container { display: flex; align-items: center; gap: 8px; min-height: 62px; }
.adm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.adm-brand .brand-mark { width: 36px; height: 36px; flex: none; }
.adm-brand strong { display: block; font-size: 1.12rem; line-height: 1.1; }
.adm-brand small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.adm-tabs { display: none; }
.adm-head-act { display: flex; gap: 2px; flex: none; }
.adm-icon { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 56px; min-height: 50px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: .7rem; font-weight: 700; text-decoration: none; border-radius: 12px; cursor: pointer; }
.adm-icon .ic { width: 1.4rem; height: 1.4rem; }
.adm-icon:hover { background: var(--magenta-50); color: var(--magenta); }
.adm-body { padding-top: 14px; padding-bottom: 28px; max-width: 1040px; }
.adm-h1 { font-size: 1.6rem; margin: 2px 0 14px; }
.adm-h2 { font-size: 1.2rem; margin: 0; }
.adm-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--magenta); }
.adm-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -6px 20px rgba(34, 37, 43, .06); }
.adm-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 66px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .82rem; }
.adm-bottom a .ic { width: 1.55rem; height: 1.55rem; }
.adm-bottom a[aria-current="page"] { color: var(--magenta); }
.adm-bottom a.is-new { color: var(--magenta); }
.adm-bottom a.is-new .b-ic { display: grid; place-items: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: var(--magenta); color: #fff; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(196, 20, 94, .35); }
.adm-bottom a.is-new .b-ic .ic { width: 1.8rem; height: 1.8rem; }
.btn-xl { min-height: 58px; font-size: 1.1rem; border-radius: 16px; }
.adm-new { width: 100%; margin-bottom: 14px; }
.adm-app .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.adm-app .kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.adm-app .kpi strong { display: block; font-size: 1.55rem; line-height: 1.1; color: var(--ink); }
.adm-app .kpi span { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); }
.adm-app .kpi:nth-child(3) strong { color: var(--green-700); }
.adm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.adm-toolbar .seg { flex: 1 1 auto; }
.adm-toolbar .seg button { flex: 1; }
.adm-search { flex: 1 1 200px; }
.adm-search .input { min-height: 48px; }
.adm-list { display: grid; gap: 12px; }
.adm-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.adm-card.is-past { opacity: .62; }
.adm-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; padding: 8px 0 9px; border-radius: 14px; background: var(--magenta-50); color: var(--magenta); text-decoration: none; }
.d-dow { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.d-day { font-size: 1.75rem; font-weight: 800; line-height: 1.05; color: var(--ink); }
.d-mon { font-size: .74rem; font-weight: 700; }
.adm-card h2 { font-size: 1.05rem; line-height: 1.28; margin: 0 0 6px; }
.adm-card h2 a { color: var(--ink); text-decoration: none; }
.adm-meta { margin: 0 0 8px; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.adm-meta .ic { width: .95rem; height: .95rem; vertical-align: -2px; margin-right: 2px; }
.occ-ext { display: inline-block; font-size: .85rem; color: var(--muted); background: #f1eff2; border-radius: 999px; padding: .2rem .7rem; }
.occ .occ-top { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; }
.occ .occ-top strong { color: var(--ink); }
.occ .seat-meter { height: 8px; margin: 5px 0 2px; }
.occ .ok { color: var(--green-700); font-weight: 800; }
.occ .low { color: var(--magenta); font-weight: 800; }
.occ .full { color: #9b1c1c; font-weight: 800; }
.occ.big .occ-top { font-size: 1.1rem; }
.occ.big .seat-meter { height: 12px; }
.adm-card-act { grid-column: 1 / -1; display: flex; gap: 8px; }
.adm-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.adm-btn .ic { width: 1.25rem; height: 1.25rem; flex: none; }
.adm-btn:hover { border-color: var(--magenta); color: var(--magenta); }
.adm-btn.primary { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.adm-btn.primary:hover { background: var(--magenta-600); color: #fff; }
.adm-btn.ghost { flex: none; width: 52px; padding: 0; }
.adm-btn .count, .adm-btn b.count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; border-radius: 999px; background: var(--magenta); color: #fff; font-size: .78rem; }
.adm-more { position: relative; flex: none; }
.adm-more > summary { list-style: none; }
.adm-more > summary::-webkit-details-marker { display: none; }
.adm-more-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 230px; display: grid; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); }
.adm-more-pop a, .adm-more-pop button { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.adm-more-pop a:hover, .adm-more-pop button:hover { background: var(--magenta-50); color: var(--magenta); }
.adm-more-pop .danger { color: #b91c1c; }
.adm-demo { margin-top: 26px; color: var(--muted); }
.adm-demo summary { cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .9rem; }
.adm-foot { margin: 18px 0 0; }
.adm-lead { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tpl { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 148px; padding: 18px 10px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; font: inherit; text-align: center; cursor: pointer; }
.tpl .icon-tile { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 4px; }
.tpl .icon-tile .ic { width: 30px; height: 30px; }
.tpl strong { font-size: 1.15rem; color: var(--ink); }
.tpl small { color: var(--muted); font-size: .88rem; }
.tpl:hover, .tpl:focus-visible { border-color: var(--magenta); box-shadow: 0 6px 18px rgba(196, 20, 94, .12); }
.tpl:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 92px; flex-direction: row; gap: 14px; }
.tpl:last-child:nth-child(odd) .icon-tile { margin: 0; }
.adm-form { display: grid; gap: 14px; max-width: 640px; }
.f-block { display: grid; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.f-lab { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.f-lab .ic { color: var(--magenta); }
.f-sub { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.f-row.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.f-hint { margin: 0; color: var(--muted); font-size: .86rem; }
.input.big, .select.big { min-height: 56px; font-size: 1.1rem; }
textarea.input.big { min-height: 0; line-height: 1.35; padding-top: 14px; padding-bottom: 14px; resize: vertical; }
input[type="date"].input, input[type="time"].input { -webkit-appearance: none; appearance: none; width: 100%; }
.f-other { display: grid; gap: 10px; }
.switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 700; color: var(--ink); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .sw { position: relative; flex: none; width: 54px; height: 32px; border-radius: 999px; background: #d9d5da; transition: background .2s; }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .2s; }
.switch input:checked + .sw { background: var(--green); }
.switch input:checked + .sw::after { left: 25px; }
.switch input:focus-visible + .sw { outline: 3px solid var(--magenta); outline-offset: 2px; }
.seg.big { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.seg.big label { position: relative; }
.seg.big input { position: absolute; opacity: 0; }
.seg.big span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 9px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.seg.big input:checked + span { background: #fff; color: var(--magenta); box-shadow: 0 1px 4px rgba(34, 37, 43, .15); }
.seg.big input:focus-visible + span { outline: 3px solid var(--magenta); }
[data-mode-box] { display: grid; gap: 8px; }
[data-mode-box][hidden], [data-two][hidden], [data-other][hidden] { display: none; }
.stepper { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 10px; }
.stepper .adm-btn { min-height: 56px; padding: 0; }
.stepper input { text-align: center; font-weight: 800; font-size: 1.35rem; }
.f-more { padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.f-more > summary { display: flex; align-items: center; gap: 8px; min-height: 56px; list-style: none; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.f-more > summary::-webkit-details-marker { display: none; }
.f-more[open] { display: grid; gap: 14px; padding-bottom: 16px; }
.f-more[open] > summary .ic { transform: rotate(180deg); }
.f-courses { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.f-save { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 20; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 0; background: linear-gradient(180deg, rgba(246, 244, 247, 0), #f6f4f7 30%); }
.f-save .btn { min-height: 58px; font-size: 1.08rem; border-radius: 16px; }
.f-save.in-dlg { position: static; padding: 6px 0 0; background: none; }
.adm-del { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 0; background: none; color: #b91c1c; font: inherit; font-weight: 700; cursor: pointer; border-radius: 12px; }
.adm-del:hover { background: #fdecec; }
.adm-ev-head { display: grid; gap: 14px; margin-bottom: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.adm-ev-date { margin: 0; color: var(--magenta); font-weight: 800; font-size: .92rem; }
.adm-ev-head .adm-h1 { font-size: 1.3rem; margin: 4px 0 8px; }
.adm-ev-head .adm-meta { margin: 0; }
.adm-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.adm-quick .adm-btn { flex-direction: column; gap: 4px; min-height: 78px; font-size: .95rem; }
.adm-quick .adm-btn .ic { width: 1.55rem; height: 1.55rem; }
.tn-list { display: grid; gap: 10px; }
.tn { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.tn.is-off { opacity: .6; }
.tn-nr { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--magenta-50); color: var(--magenta); font-weight: 800; }
.tn-main strong { color: var(--ink); font-size: 1.06rem; }
.tn-contact { display: grid; gap: 0; margin: 4px 0 2px; }
.tn-contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.tn-contact .ic { flex: none; color: var(--magenta); }
.tn-main small { display: block; color: var(--muted); font-size: .8rem; }
.adm-login-wrap { display: grid; place-items: center; padding: 24px var(--gutter); }
.adm-login { width: 100%; max-width: 400px; padding: 30px 22px; background: #fff; border: 1px solid var(--line); border-radius: 24px; text-align: center; }
.adm-login .brand-mark { width: 58px; height: 58px; }
.adm-login h1 { font-size: 1.75rem; margin: 10px 0 2px; }
.adm-login .muted { margin: 0; }
.adm-login .form { margin-top: 20px; text-align: left; }
.adm-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: adm-tin .25s ease; }
.adm-toast .ic { color: var(--green); flex: none; }
.adm-toast.out { opacity: 0; transition: opacity .4s; }
@keyframes adm-tin { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (prefers-reduced-motion: reduce) { .adm-toast { animation: none; } .switch .sw, .switch .sw::after { transition: none; } }
.mail-list { display: grid; gap: 10px; }
.mail-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.mail-item > summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; min-height: 64px; padding: 12px 14px; list-style: none; cursor: pointer; }
.mail-item > summary::-webkit-details-marker { display: none; }
.mail-item > summary .chip { grid-row: span 2; }
.mail-item > summary strong { color: var(--ink); overflow-wrap: anywhere; }
.mail-item > summary small { color: var(--muted); }
.mail-item .mail-preview { margin: 0 12px 12px; }
body.is-admin .callout { max-width: none; }
@media (max-width: 360px) {
  .adm-brand small { display: none; }
  .adm-icon { min-width: 48px; }
  .adm-app .kpi { padding: 10px; }
  .adm-app .kpi strong { font-size: 1.3rem; }
  .adm-card { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; }
  .adm-card-act .adm-btn span { font-size: .92rem; }
}
@media (min-width: 900px) {
  .adm-app { padding-bottom: 0; }
  .adm-bottom { display: none; }
  .adm-tabs { display: flex; gap: 6px; margin-right: 10px; }
  .adm-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
  .adm-tabs a:hover { background: var(--magenta-50); color: var(--magenta); }
  .adm-tabs a[aria-current="page"] { background: var(--magenta-50); color: var(--magenta); }
  .adm-tabs a.is-new { background: var(--magenta); color: #fff; }
  .adm-tabs a.is-new:hover { background: var(--magenta-600); }
  .adm-icon { flex-direction: row; gap: 6px; padding: 0 12px; font-size: .9rem; }
  .adm-icon .ic { width: 1.15rem; height: 1.15rem; }
  .adm-body { padding-top: 26px; }
  .adm-h1 { font-size: 2rem; }
  .adm-new { display: none; }
  .adm-app .kpis { grid-template-columns: repeat(3, minmax(0, 220px)); }
  .adm-card { grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; }
  .adm-card-act { grid-column: auto; }
  .adm-card-act .adm-btn { flex: none; }
  .adm-card .occ { max-width: 320px; }
  .f-save { bottom: 0; }
  .tpl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tpl:last-child:nth-child(odd) { grid-column: auto; flex-direction: column; min-height: 148px; gap: 6px; }
  .adm-quick { display: flex; flex-wrap: wrap; }
  .adm-quick .adm-btn { flex: none; flex-direction: row; min-height: 52px; }
  .adm-ev-head { grid-template-columns: minmax(0, 1fr) 280px; align-items: center; }
  .adm-toast { bottom: 32px; }
}
.adm-form > *, .f-block > *, .f-row > *, .f-row label, .stepper > * { min-width: 0; }
.adm-form .input, .adm-form .select { min-width: 0; max-width: 100%; }
.adm-toolbar .seg { display: flex; }
@media (max-width: 380px) {
  .adm-toolbar .seg { width: 100%; }
  .adm-toolbar .seg button { padding: .55rem .4rem; font-size: .9rem; }
  .f-block { padding: 14px 12px; }
  .input.big, .select.big { font-size: 1.02rem; padding-left: 12px; padding-right: 10px; }
}
.f-save > * { min-width: 0; padding-left: 10px; padding-right: 10px; }
.adm-toast { white-space: nowrap; }
.adm-body { margin-inline: auto; }
@media (max-width: 560px) { .head-flex { align-items: stretch; } .head-flex .icon-tile { align-self: flex-start; } }
.facts .day-line { display: block; }
.facts .day-line + .day-line { margin-top: 8px; }

/* E-Mail-Vorschau (HTML) */
.mail-preview.is-html { padding: 10px; background: #f6f4f7; }
.mail-preview.is-html > .mail-head, .mail-preview.is-html > strong { padding: 0 6px; }
.mail-frame { display: block; width: 100%; min-height: 320px; margin-top: 8px; border: 0; border-radius: 12px; background: #f6f4f7; }
.mail-text { margin-top: 10px; }
.mail-text > summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; padding: 0 6px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.mail-text pre { margin: 6px 0 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .88rem; color: var(--ink-2); }
dialog .mail-preview.is-html { margin-inline: -6px; }
.day-box { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: #faf8fa; border: 1px solid var(--line); }
.day-box > *, .day-box .f-row > * { min-width: 0; }
.day-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--magenta); font-size: .95rem; }
.day-title[hidden] { display: none; }
.f-block > .day-box:first-of-type:has(.day-title[hidden]) { padding: 0; background: none; border: 0; }
