/* =========================================================================
   Glamobox – Website
   Layout concept: "Sucher" – viewfinder brackets frame the key visuals,
   an asymmetric editorial grid, beige brand bands alternating with paper,
   prints that tilt like real photo-box output. Mixed type mirrors the logo:
   heavy Montserrat + DM Serif Display italic.
   ========================================================================= */

@property --vf-l { syntax: "<length>"; inherits: true; initial-value: 28px; }

:root {
  /* Brand constants (CI 2024) */
  --beige: #C6BCA1;      /* Hauptfarbe */
  --lavender: #D6CCF8;   /* Hochzeiten */
  --apricot: #FFA857;    /* Geburtstage */
  --coral: #F4592F;      /* Abifeiern, Firmenfeiern */
  --paper: #F6F4F0;
  --ink: #0D0C0A;

  /* Theme tokens – light */
  --bg: #F6F4F0;
  --surface: #FFFFFF;
  --fg: #0D0C0A;
  --muted: #5C5546;
  --line: rgba(13, 12, 10, .14);
  --band: #C6BCA1;
  --band-fg: #0D0C0A;
  --band-muted: #3E392D;
  --invert-bg: #0D0C0A;
  --invert-fg: #F6F4F0;
  --invert-muted: #B9B097;
  --invert-line: rgba(246, 244, 240, .16);
  --print: #FFFFFF;
  --shadow: 0 18px 40px -18px rgba(13, 12, 10, .45);
  --logo-filter: none;
  --logo-invert-filter: invert(1);
  --accent: var(--beige);
  --accent-fg: #0D0C0A;

  /* Type */
  --font-display: "DM Serif Display", "Bodoni 72", Didot, Georgia, serif;
  --font-sans: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + .9vw, 1.85rem);
  --step-3: clamp(2.1rem, 1.4rem + 3vw, 3.75rem);
  --step-4: clamp(2.9rem, 1.6rem + 6vw, 7rem);

  --radius: 2px;
  --gutter: max(clamp(16px, 4.5vw, 48px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4.5vw, 48px), env(safe-area-inset-right, 0px));
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13120F;
    --surface: #1C1A16;
    --fg: #F3F0E8;
    --muted: #B3AA92;
    --line: rgba(243, 240, 232, .14);
    --band: #211E18;
    --band-fg: #F3F0E8;
    --band-muted: #C6BCA1;
    --invert-bg: #C6BCA1;
    --invert-fg: #0D0C0A;
    --invert-muted: #3E392D;
    --invert-line: rgba(13, 12, 10, .18);
    --print: #F3F0E8;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
    --logo-filter: invert(1);
    --logo-invert-filter: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #13120F;
  --surface: #1C1A16;
  --fg: #F3F0E8;
  --muted: #B3AA92;
  --line: rgba(243, 240, 232, .14);
  --band: #211E18;
  --band-fg: #F3F0E8;
  --band-muted: #C6BCA1;
  --invert-bg: #C6BCA1;
  --invert-fg: #0D0C0A;
  --invert-muted: #3E392D;
  --invert-line: rgba(13, 12, 10, .18);
  --print: #F3F0E8;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  --logo-filter: invert(1);
  --logo-invert-filter: none;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern";
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; font-weight: 800; letter-spacing: -.02em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
::selection { background: var(--lavender); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.wrap--narrow { max-width: 880px; }

/* ---------- Type ---------- */
.mix { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.03em; }
.mix em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-size: 1.06em;
}
.h-display { font-size: var(--step-4); line-height: .92; }
.h-section { font-size: var(--step-3); line-height: 1; }
.h-card { font-size: var(--step-2); line-height: 1.1; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 12px; height: 12px; flex: none;
  border-left: 3px solid currentColor; border-top: 3px solid currentColor;
}
.lead { font-size: var(--step-1); line-height: 1.55; max-width: 34em; }
.prose { max-width: 66ch; display: grid; gap: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: .8em; }
.prose h3 { font-size: var(--step-1); margin-top: .6em; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: .35em; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Viewfinder brackets ---------- */
.vf { position: relative; --vf-c: currentColor; --vf-t: 4px; --vf-inset: 0px; }
.vf::before {
  content: ""; position: absolute; inset: var(--vf-inset); pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--vf-c) 0 0) left top / var(--vf-l) var(--vf-t) no-repeat,
    linear-gradient(var(--vf-c) 0 0) left top / var(--vf-t) var(--vf-l) no-repeat,
    linear-gradient(var(--vf-c) 0 0) right top / var(--vf-l) var(--vf-t) no-repeat,
    linear-gradient(var(--vf-c) 0 0) right top / var(--vf-t) var(--vf-l) no-repeat,
    linear-gradient(var(--vf-c) 0 0) left bottom / var(--vf-l) var(--vf-t) no-repeat,
    linear-gradient(var(--vf-c) 0 0) left bottom / var(--vf-t) var(--vf-l) no-repeat,
    linear-gradient(var(--vf-c) 0 0) right bottom / var(--vf-l) var(--vf-t) no-repeat,
    linear-gradient(var(--vf-c) 0 0) right bottom / var(--vf-t) var(--vf-l) no-repeat;
  transition: --vf-l .35s ease, inset .35s ease;
}
.vf--hover::before { opacity: 0; transition: opacity .25s, inset .35s, --vf-l .35s; --vf-inset: -6px; }
.vf--hover:hover::before, .vf--hover:focus-within::before { opacity: 1; --vf-inset: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 48px; padding: .8em 1.35em;
  font: 700 .9375rem/1.2 var(--font-sans); letter-spacing: .01em;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--coral); color: #0D0C0A; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.on-invert .btn--primary { background: var(--invert-fg); color: var(--invert-bg); }
.on-invert .btn--primary:hover { background: var(--coral); color: #0D0C0A; }
.on-invert .btn--ghost:hover { background: var(--invert-fg); color: var(--invert-bg); border-color: var(--invert-fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; filter: var(--logo-filter); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 12px;
  font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--fg);
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tag-soon {
  font-size: .625rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--lavender); color: #0D0C0A; padding: 2px 6px; border-radius: 2px;
}
.header-cta { flex: none; }
.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent;
  color: var(--fg); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .25s, opacity .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle .sr-only { width: 1px; height: 1px; background: none; position: absolute; }
.menu-toggle .sr-only::before, .menu-toggle .sr-only::after { content: none; }
/* backdrop-filter macht den Header zum Bezugsrahmen für position:fixed – bei offenem Menü abschalten */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    background: var(--bg); margin: 0; overflow-y: auto;
    padding: 24px var(--gutter-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  }
  .nav:not(.is-open) { display: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { display: flex; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; min-height: 64px; padding: 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 24px; }
  .nav .nav-cta .btn { width: 100%; font-size: 1rem; border-bottom: 0; min-height: 56px; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.band { background: var(--band); color: var(--band-fg); }
.band .muted, .band .eyebrow { color: var(--band-muted); }
.on-invert { background: var(--invert-bg); color: var(--invert-fg); }
.on-invert .muted, .on-invert .eyebrow { color: var(--invert-muted); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head--split {
  max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.hero-copy .h-display { font-size: clamp(3.4rem, 1.8rem + 6.4vw, 7.6rem); }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line); margin-top: 8px;
}
.hero-facts div { padding: 16px 16px 0 0; display: grid; gap: 2px; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts dt { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1; }
.hero-facts dd { margin: 0; font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-stage { max-width: 560px; justify-self: center; width: 100%; } }
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
}

.hero-stage {
  position: relative; aspect-ratio: 5 / 6; max-width: 100%;
  color: #0D0C0A; isolation: isolate;
  --accent: var(--beige);
}
.stage-frame { position: absolute; inset: 9% 11% 13%; --vf-t: 6px; --vf-l: 44px; }
.stage-frame::before { animation: focus-in 1s cubic-bezier(.2, .8, .2, 1) both .15s; }
@keyframes focus-in {
  0% { inset: -7%; opacity: 0; --vf-l: 90px; }
  60% { opacity: 1; }
  100% { inset: 0; opacity: 1; --vf-l: 44px; }
}
.stage-box {
  position: absolute; left: 50%; bottom: 3%; width: 68%; transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(13, 12, 10, .28));
}
.print {
  position: absolute; margin: 0; background: #FFFFFF; padding: 7px 7px 22px;
  box-shadow: var(--shadow); width: 46%;
}
.print img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.print figcaption {
  position: absolute; left: 9px; bottom: 4px; font-size: .625rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #6B6455;
}
.print--a { left: -5%; bottom: 7%; transform: rotate(-7deg); z-index: 4; }
.print--b { right: -4%; top: 5%; width: 36%; transform: rotate(6deg); z-index: 1; }
.print--a.is-ejecting { animation: eject .6s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes eject {
  0% { transform: translateY(40px) rotate(-1deg) scale(.92); opacity: 0; }
  100% { transform: rotate(-7deg); opacity: 1; }
}
.shutter {
  position: absolute; right: 5%; bottom: 5%; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 6px;
  background: #0D0C0A; color: #F6F4F0; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .8125rem/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .15s;
}
.shutter:hover { transform: scale(1.04); }
.shutter:active { transform: scale(.97); }
.shutter-dot {
  width: 36px; height: 36px; border-radius: 50%; border: 3px solid #F6F4F0; display: grid; place-items: center;
}
.shutter-dot::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); transition: transform .2s; }
.shutter:hover .shutter-dot::after { transform: scale(.85); }
.flash { position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; z-index: 6; }
.hero-stage.is-flash .flash { animation: flash .55s ease-out; }
.hero-stage.on-load .flash { animation: flash .7s ease-out 1.05s; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .92; } 100% { opacity: 0; } }
.stage-label {
  position: absolute; left: 11%; top: 4%; z-index: 5; display: flex; align-items: center; gap: 8px;
  font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.stage-label i { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: rec 1.6s steps(2, jump-none) infinite; }
@keyframes rec { 50% { opacity: .2; } }

/* ---------- Occasion switcher ---------- */
.occasions { --accent: var(--lavender); transition: background-color .4s; }
.occasions .h-section em { position: relative; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  font: 700 .9375rem/1 var(--font-sans); color: var(--fg); background: transparent;
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.tab i { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); flex: none; }
.tab:hover { border-color: var(--fg); }
.tab[aria-selected="true"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.occ-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.occ-copy { display: grid; gap: 24px; align-content: start; min-width: 0; }
.occ-panel { display: grid; gap: 16px; }
.occ-panel h3 { font-size: var(--step-2); letter-spacing: -.02em; }
.occ-stage {
  position: relative; background: var(--accent); aspect-ratio: 6 / 5; transition: background-color .4s;
  overflow: hidden;
}
.occ-prints { position: absolute; inset: 0; }
.occ-prints .print { width: 54%; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.occ-prints .print:nth-child(1) { left: 6%; top: 8%; transform: rotate(-5deg); }
.occ-prints .print:nth-child(2) { right: 5%; top: 20%; transform: rotate(4deg); z-index: 2; }
.occ-prints .print:nth-child(3) { left: 22%; bottom: 6%; transform: rotate(-1.5deg); z-index: 3; }
.occ-prints[hidden] { display: none !important; }
.occ-stage .stage-caption {
  position: absolute; right: 16px; bottom: 12px; z-index: 4; font-size: .6875rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #0D0C0A; opacity: .7;
}
.swatches { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: var(--step--1); color: var(--muted); }
.swatches span { display: inline-flex; align-items: center; gap: 8px; }
.swatches i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
@media (max-width: 900px) { .occ-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan {
  position: relative; display: grid; gap: 24px; align-content: start;
  padding: clamp(28px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line);
}
.plan--pro { background: var(--invert-bg); color: var(--invert-fg); border-color: transparent; }
.plan--pro .muted { color: var(--invert-muted); }
.plan-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; }
.plan-name { font-size: var(--step-2); }
.plan-name em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--coral); color: #0D0C0A; border-radius: var(--radius);
}
.badge--soft { background: var(--lavender); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-num { font-family: var(--font-display); font-style: italic; font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem); line-height: .9; letter-spacing: -.02em; }
.price-cur { font-family: var(--font-display); font-style: italic; font-size: 2rem; }
.price-per { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.plan--pro .price-per { color: var(--invert-muted); }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.45; }
.checks li::before {
  content: ""; width: 14px; height: 14px; margin-top: .25em;
  border-left: 3px solid currentColor; border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) scale(.85, .55); transform-origin: 40% 60%;
}
.checks strong { font-weight: 700; }
.plan .btn { justify-self: start; }
.plan-note { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: var(--step--1); color: var(--muted); }
.plan-note span { display: inline-flex; gap: 8px; align-items: center; }
.plan-note span::before { content: ""; width: 6px; height: 6px; background: currentColor; }
@media (max-width: 820px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Places ---------- */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.place {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  padding: 28px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--fg);
  transition: transform .25s, box-shadow .25s;
}
a.place:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.place-code { font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: .95; letter-spacing: -.01em; }
.place-code small { font-family: var(--font-sans); font-style: normal; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 8px; color: var(--muted); }
.place h3 { font-size: var(--step-1); letter-spacing: -.01em; }
.place .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; }
.place .meta span:last-child::after { content: " →"; }
.cities { margin-top: 36px; display: grid; gap: 12px; }
.cities ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { padding: 6px 12px; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
@media (max-width: 900px) { .places { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; display: grid; gap: 14px; align-content: start; padding: 0 20px 0 0; counter-increment: step; }
.step-icon { width: 64px; height: 64px; display: grid; place-items: center; position: relative; background: var(--bg); z-index: 1; }
.step-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-icon::after {
  content: counter(step); position: absolute; top: -4px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lavender); color: #0D0C0A; font-size: .6875rem; font-weight: 800; display: grid; place-items: center;
}
.step::before { content: ""; position: absolute; top: 32px; left: 64px; right: 0; height: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step h3 { font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.25; }
.step p { font-size: .9375rem; color: var(--muted); }
@media (max-width: 980px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; padding: 0; }
  .step .step-icon { grid-row: span 2; }
  .step::before { top: 64px; bottom: -28px; left: 32px; right: auto; width: 1px; height: auto; }
}

/* ---------- Tech / specs ---------- */
.tech-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tech-figure { position: relative; padding: 32px; --vf-l: 40px; color: var(--band-fg); }
.tech-figure img { margin-inline: auto; max-height: 620px; width: auto; filter: drop-shadow(0 30px 30px rgba(13, 12, 10, .3)); }
.specs { display: grid; margin-top: 8px; border-top: 1px solid currentColor; }
.specs div { display: grid; grid-template-columns: minmax(110px, .38fr) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.specs dt { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding-top: .2em; }
.specs dd { margin: 0; font-weight: 500; }
.specs dd b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.3em; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: minmax(0, 1fr); } .tech-figure img { max-height: 420px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; color: var(--invert-fg); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .vf { --vf-c: #FFFFFF; --vf-l: 22px; --vf-t: 3px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cards (games, blog) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line);
  color: var(--fg); text-decoration: none; min-width: 0; transition: transform .25s, box-shadow .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--band); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: grid; gap: 12px; padding: 24px; align-content: start; }
.card-body h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; }
.card-body p { color: var(--muted); font-size: .9375rem; }
.card-body .link-arrow { justify-self: start; margin-top: 4px; font-size: .9375rem; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) and (max-width: 900px) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.post { --dot: var(--beige); }
.post .post-top {
  aspect-ratio: auto; min-height: 150px; padding: 22px 24px; background: var(--dot); color: #0D0C0A;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.post .post-cat { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post .post-mark { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: .8; align-self: flex-end; }
.post[data-cat="hochzeit"] { --dot: var(--lavender); }
.post[data-cat="spiele"] { --dot: var(--apricot); }
.post[data-cat="tipps"] { --dot: var(--coral); }
.post[data-cat="diy"] { --dot: var(--beige); }
.post[data-cat="news"] { --dot: var(--beige); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.faq { border-top: 2px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center;
  padding: 22px 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 28px; height: 28px; justify-self: end;
  background:
    linear-gradient(currentColor 0 0) center / 14px 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 14px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--muted); }
.faq .answer { padding: 0 44px 26px 0; display: grid; gap: .8em; color: var(--muted); max-width: 64ch; }
.faq .answer a { color: var(--fg); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-aside { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--beige); color: #0D0C0A; position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px 64px; align-items: end; padding-block: clamp(64px, 9vw, 120px); }
.cta-band .h-section { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.4rem); line-height: .95; }
.cta-band p { color: #3E392D; }
.cta-band .btn--primary { background: #0D0C0A; color: #F6F4F0; }
.cta-band .btn--primary:hover { background: #F6F4F0; color: #0D0C0A; }
.cta-band .btn--ghost { color: #0D0C0A; }
.cta-band .btn--ghost:hover { background: #0D0C0A; color: #F6F4F0; border-color: #0D0C0A; }
.cta-side { display: grid; gap: 24px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--invert-bg); color: var(--invert-fg); padding-block: clamp(56px, 7vw, 96px) calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .6fr)); gap: 40px; }
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-brand img { height: 34px; width: auto; filter: var(--logo-invert-filter); }
.footer-brand p { color: var(--invert-muted); max-width: 36ch; font-size: .9375rem; }
.footer-col h4 { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; color: var(--invert-muted); }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; font-size: .9375rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-cities { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--invert-line); font-size: .875rem; color: var(--invert-muted); display: grid; gap: 6px; }
.footer-cities strong { color: var(--invert-fg); }
.footer-bottom { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--invert-muted); }
.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--invert-line); color: var(--invert-fg);
  transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--invert-fg); color: var(--invert-bg); }
.social svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero .h-display { font-size: clamp(3rem, 1.6rem + 5.4vw, 6.4rem); }
.page-hero-copy { display: grid; gap: 24px; min-width: 0; }
.page-hero-media { position: relative; padding: 18px; --vf-l: 36px; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; color: var(--muted); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Booking ---------- */
.mode-switch { display: inline-grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--fg); border-radius: var(--radius); }
.mode-switch button {
  min-height: 52px; padding: 0 22px; border: 0; background: transparent; color: var(--fg); cursor: pointer;
  font: 800 .875rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
}
.mode-switch button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.booking-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line); align-items: start; }
.offer--pro { border: 2px solid var(--fg); }
.offer-loc { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer h3 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: 6px; }
.offer h3 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.offer p { color: var(--muted); }
.offer .offer-price { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; text-align: right; white-space: nowrap; }
.offer .offer-price small { display: block; font-family: var(--font-sans); font-style: normal; font-size: .75rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.offer .btn { grid-column: 1 / -1; justify-self: start; }
.offer-group { display: grid; gap: 16px; }
.offer-group + .offer-group { margin-top: 40px; }
.offer-group h3.group-title { font-size: var(--step-2); }
.offer-group h3.group-title em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.notice {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 20px 22px; margin-top: 28px;
  background: var(--band); color: var(--band-fg); font-size: .9375rem;
}
.notice svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 820px) { .offers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .offer { grid-template-columns: minmax(0, 1fr); } .offer .offer-price { text-align: left; } }

.table-wrap { overflow-x: auto; }
.terms { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 460px; }
.terms th, .terms td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms th { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.terms td:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

/* ---------- Setup guide ---------- */
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kit-box { padding: 28px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; align-content: start; }
.kit-box h3 { font-size: 1.25rem; }
.guide { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-step { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); align-items: start; }
.guide-step .gs-img { background: #FFFFFF; aspect-ratio: 1; display: grid; place-items: center; padding: 8px; }
.guide-step .gs-img img { width: 100%; height: 100%; object-fit: contain; }
.guide-step h3 { font-size: 1.125rem; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.guide-step h3 .n { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.6rem; }
.guide-step .gs-body { display: grid; gap: 10px; font-size: .9375rem; color: var(--muted); }
.guide-step .gs-body strong { color: var(--fg); }
.pro-tag { font-size: .625rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--coral); color: #0D0C0A; padding: 3px 7px; }
.code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; background: var(--lavender); color: #0D0C0A; padding: 1px 7px; }
.ports { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.ports img { background: #FFFFFF; border: 1px solid var(--line); }
.ports ol { list-style: none; display: grid; gap: 10px; counter-reset: port; }
.ports li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; counter-increment: port; font-weight: 600; }
.ports li::before { content: counter(port); width: 26px; height: 26px; border-radius: 50%; background: var(--lavender); color: #0D0C0A; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.rules { list-style: none; display: grid; gap: 12px; }
.rules li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.rules li::before { content: "!"; width: 22px; height: 22px; background: var(--coral); color: #0D0C0A; font-weight: 800; font-size: .8125rem; display: grid; place-items: center; margin-top: .15em; }
.video-card { position: relative; display: block; color: #FFFFFF; text-decoration: none; overflow: hidden; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s; }
.video-card:hover img { transform: scale(1.03); }
.video-card .play {
  position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px;
  background: #0D0C0A; color: #F6F4F0; padding: 10px 18px 10px 10px; font-weight: 700; font-size: .9375rem;
}
.video-card .play i { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; }
.video-card .play i::after { content: ""; border-left: 11px solid #0D0C0A; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 980px) { .guide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .kit, .ports { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .guide-step { grid-template-columns: minmax(0, 1fr); } .guide-step .gs-img { max-width: 160px; } }

/* ---------- Games ---------- */
.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.game + .game { margin-top: clamp(56px, 8vw, 104px); }
.game:nth-child(even) .game-media { order: 2; }
.game-media { padding: 16px; --vf-l: 32px; }
.game-copy { display: grid; gap: 20px; }
.game-copy blockquote { margin: 0; padding-left: 18px; border-left: 3px solid var(--apricot); font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.4; }
@media (max-width: 860px) { .game { grid-template-columns: minmax(0, 1fr); } .game:nth-child(even) .game-media { order: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; font: 500 1rem/1.4 var(--font-sans); color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 14px; min-height: 52px;
  transition: border-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px var(--lavender); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--coral); }
.field .err { font-size: .8125rem; color: var(--coral); font-weight: 600; }
.form-status { padding: 16px 18px; background: var(--band); color: var(--band-fg); font-size: .9375rem; display: grid; gap: 8px; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-line code { font: 700 1rem/1.4 var(--font-sans); user-select: all; }
.copy-btn { min-height: 36px; padding: 0 12px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 .8125rem/1 var(--font-sans); cursor: pointer; border-radius: var(--radius); }
.contact-card { padding: 32px; background: var(--invert-bg); color: var(--invert-fg); display: grid; gap: 22px; }
.contact-card .muted { color: var(--invert-muted); }
.contact-card dl { display: grid; gap: 16px; margin: 0; }
.contact-card dt { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--invert-muted); }
.contact-card dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal ---------- */
.legal { display: grid; gap: 1.1em; max-width: 72ch; font-size: 1rem; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin-top: 1.4em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--fg); }
.legal ol { padding-left: 1.2em; display: grid; gap: .4em; }
.placeholder-note { padding: 22px 24px; border: 2px dashed var(--coral); display: grid; gap: 8px; }

/* ---------- Coming soon ---------- */
.soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.soon-visual { aspect-ratio: 1; background: var(--lavender); position: relative; display: grid; place-items: center; color: #0D0C0A; --vf-l: 54px; --vf-t: 6px; --vf-inset: 10%; }
.soon-visual .print { position: relative; width: 44%; transform: rotate(-6deg); }
.soon-visual .print + .print { position: absolute; transform: rotate(7deg) translate(30%, 8%); }
@media (max-width: 860px) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Utilities ---------- */
.stack-s { display: grid; gap: 12px; }
.stack-m { display: grid; gap: 24px; }
.mt-l { margin-top: clamp(40px, 6vw, 72px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.photo { position: relative; padding: 16px; --vf-l: 34px; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bullets { list-style: none; display: grid; gap: 10px; }
.bullets li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; }
.bullets li::before { content: ""; width: 10px; height: 10px; margin-top: .5em; border-left: 3px solid currentColor; border-top: 3px solid currentColor; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-stage .flash { display: none; }
}

/* ---------- Additions ---------- */
.offer .offer-desc { grid-column: 1 / -1; }
.gallery--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) { .gallery--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .print--a { left: 3%; }
  .print--b { right: 3%; }
}
.guide-step--wide { grid-column: 1 / -1; }

/* =========================================================================
   Booking
   ========================================================================= */
.page-hero--compact { padding-block: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 40px); }
.page-hero--compact .h-display { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9375rem; color: var(--muted); }
.trust b { color: var(--fg); font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.25em; margin-right: 4px; }
.btn--lg { min-height: 58px; padding-inline: 1.8em; font-size: 1rem; }
.sel { user-select: all; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bk-banner { margin-bottom: 24px; padding: 14px 18px; background: var(--lavender); color: #0D0C0A; font-size: .9375rem; border-left: 4px solid #0D0C0A; }
.bk-banner.is-error { background: var(--coral); }

.bk-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 40px; align-items: start;
  grid-template-areas: "steps sum" "submit sum";
}
.bk-steps { grid-area: steps; display: grid; gap: 20px; min-width: 0; }
.bk-submit { grid-area: submit; display: grid; gap: 14px; justify-items: start; padding: 4px 0 8px; }
.bk-summary { grid-area: sum; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 20px); }
@media (max-width: 1180px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "steps" "sum" "submit"; }
  .bk-summary { position: static; }
  .bk-summary-cta { display: none; }
}

.bk-step { margin: 0; min-width: 0; border: 0; padding: clamp(20px, 3vw, 32px); background: var(--surface); }
.bk-step-head {
  float: left; width: 100%; padding: 0; margin: 0 0 20px;
  display: flex; align-items: center; gap: 14px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em;
}
.bk-step-head + * { clear: both; }
.bk-num {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--fg); color: var(--bg);
  font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.15rem;
}
.bk-hint { color: var(--muted); font-size: .9375rem; margin-top: 14px; clear: both; }
.bk-step > .bk-hint:first-of-type { margin-top: 0; margin-bottom: 18px; }

.choices { display: grid; gap: 12px; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .choices--2, .choices--3 { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-body {
  display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px 18px 18px 50px; position: relative;
  border: 2px solid var(--line); background: var(--bg); transition: border-color .2s, background-color .2s;
}
.choice-body::before {
  content: ""; position: absolute; left: 16px; top: 20px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--muted); background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.choice:hover .choice-body { border-color: var(--fg); }
.choice input:checked + .choice-body { border-color: var(--fg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--fg); }
.choice input:checked + .choice-body::before { border-color: var(--fg); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--fg); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--coral); outline-offset: 2px; }
.choice-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.choice-title { font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; }
.choice-title.mix em { font-size: 1.1em; }
.choice-price { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1; }
.choice-sub { font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.choice-list { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.choice-code { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1; }

/* Calendar */
.cal { background: var(--bg); border: 1px solid var(--line); padding: clamp(14px, 2vw, 22px); }
.cal-loading { padding: 32px 8px; text-align: center; color: var(--muted); }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-btn {
  width: 44px; height: 44px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer;
  font: 700 1.1rem/1 var(--font-sans); border-radius: var(--radius);
}
.cal-btn:hover:not(:disabled) { border-color: var(--fg); }
.cal-btn:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 36px; margin-top: -44px; }
.cal-title { text-align: center; font-weight: 800; letter-spacing: -.01em; line-height: 44px; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 0; }
.cal-wd { text-align: center; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-wd.is-we { color: var(--fg); }
.cal-day {
  position: relative; aspect-ratio: 1 / .92; min-height: 40px; border: 0; margin: 0; padding: 0; cursor: pointer;
  font: 600 .9375rem/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--fg); background: transparent;
  transition: background-color .15s, color .15s;
}
.cal-day:disabled { cursor: default; }
.cal-day.st-past, .cal-day.st-closed, .cal-day.st-loading { color: color-mix(in srgb, var(--muted) 55%, transparent); }
.cal-day.st-request { color: var(--fg); }
.cal-day.st-request::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--muted); }
.cal-day.st-request:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.cal-day.st-free { background: #D6CCF8; color: #0D0C0A; font-weight: 800; }
.cal-day.st-free.we-start { border-radius: 999px 0 0 999px; }
.cal-day.st-free.we-end { border-radius: 0 999px 999px 0; }
.cal-day.st-free.in-hover, .cal-day.st-free:hover { background: #B9ABF0; }
.cal-day.st-booked, .cal-day.st-blocked {
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, transparent 0 5px, color-mix(in srgb, var(--muted) 22%, transparent) 5px 6px);
  text-decoration: line-through; text-decoration-thickness: 1.5px;
}
.cal-day.in-sel { background: #FFA857; color: #0D0C0A; }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--fg); color: var(--bg); font-weight: 800; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--fg); }
.cal-day:focus-visible { outline: 3px solid var(--coral); outline-offset: -1px; z-index: 1; }
.cal-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.cal-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 16px; height: 16px; display: inline-block; }
.lg-free { background: #D6CCF8; border-radius: 999px; }
.lg-request { border: 1.5px dashed var(--muted); }
.lg-booked { background: repeating-linear-gradient(-45deg, transparent 0 3px, var(--muted) 3px 4px); }
.lg-closed { background: color-mix(in srgb, var(--muted) 18%, transparent); }
.bk-date-info { margin-top: 16px; padding: 16px 18px; border-left: 4px solid var(--fg); background: var(--bg); display: grid; gap: 10px; }
.bk-date-title { font-weight: 800; font-size: 1.0625rem; }
.bk-date-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.bk-date-facts dt { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-date-facts dd { margin: 2px 0 0; font-size: .9375rem; font-weight: 600; }
@media (max-width: 560px) { .bk-date-facts { grid-template-columns: minmax(0, 1fr); } }
.bk-step > .err { display: block; margin-top: 10px; font-weight: 600; font-size: .875rem; color: var(--coral); }

/* Form bits */
.field-help { font-size: .8125rem; color: var(--muted); }
.field-group-title { font-weight: 800; font-size: .9375rem; margin-bottom: 2px; }
.bk-address { display: grid; gap: 18px; padding: 18px; background: var(--bg); border: 1px dashed var(--line); }
.form-row--zip { grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); }
@media (max-width: 520px) { .form-row--zip { grid-template-columns: minmax(0, 1fr); } }
.checks-legal { display: grid; gap: 10px; padding-top: 6px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); }
.checks-legal .err { font-size: .8125rem; color: var(--coral); font-weight: 600; margin: -4px 0 4px 36px; }

.bk-error { width: 100%; padding: 16px 18px; background: var(--coral); color: #0D0C0A; display: grid; gap: 6px; font-weight: 500; }
.bk-legal { font-size: .8125rem; color: var(--muted); max-width: 60ch; }

/* Summary */
.bk-summary-card { background: var(--invert-bg); color: var(--invert-fg); padding: 26px; display: grid; gap: 18px; }
.bk-summary-card .eyebrow { color: var(--invert-muted); }
.bk-sum { display: grid; gap: 0; margin: 0; }
.bk-sum div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--invert-line); }
.bk-sum dt { white-space: nowrap; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--invert-muted); padding-top: .25em; }
.bk-sum dd { margin: 0; font-weight: 600; font-size: .9375rem; }
.bk-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bk-total span { font-weight: 800; }
.bk-total strong { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 2.6rem; line-height: 1; }
.bk-perks { list-style: none; display: grid; gap: 6px; font-size: .8125rem; color: var(--invert-muted); }
.bk-perks li::before { content: "✓  "; color: var(--invert-fg); font-weight: 800; }
.bk-summary-card .btn--primary { background: var(--invert-fg); color: var(--invert-bg); }
.bk-summary-card .btn--primary:hover { background: var(--coral); color: #0D0C0A; }

/* Mobile bar */
.bk-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--invert-bg); color: var(--invert-fg); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35);
}
.bk-bar-info { display: grid; min-width: 0; font-size: .8125rem; }
.bk-bar-info span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-bar-info strong { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.bk-bar .btn--primary { background: var(--invert-fg); color: var(--invert-bg); flex: none; }
@media (min-width: 1181px) { .bk-bar { display: none !important; } }

/* Confirmation */
.bk-done:focus { outline: none; }
.done-card { background: var(--surface); padding: clamp(24px, 5vw, 56px); display: grid; gap: 32px; max-width: 920px; }
.done-head { display: grid; gap: 18px; }
.done-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 20px; background: #D6CCF8; color: #0D0C0A; justify-self: start; }
.done-ref span { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.done-ref code { font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1; }
.done-sum { border-top: 2px solid var(--fg); }
.done-sum div { border-bottom-color: var(--line); grid-template-columns: 110px minmax(0, 1fr); }
.done-sum dt { color: var(--muted); }
.done-steps { list-style: none; counter-reset: ds; display: grid; gap: 22px; }
.done-steps li { counter-increment: ds; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; }
.done-steps li::before {
  content: counter(ds); grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--fg); color: var(--bg); font-family: var(--font-display); font-style: italic; font-size: 1.1rem;
}
.done-steps li > * { grid-column: 2; min-width: 0; }
.done-steps h3 { font-size: 1.125rem; letter-spacing: -.01em; }
.done-steps p, .done-steps .pay { color: var(--muted); font-size: .9375rem; }
.pay { display: grid; gap: 6px; margin: 4px 0 0; padding: 14px 16px; background: var(--bg); }
.pay div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px; }
.pay dt { font-weight: 700; color: var(--fg); }
.pay dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .pay div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.cal-nav { position: relative; z-index: 2; pointer-events: none; }
.cal-nav .cal-btn { pointer-events: auto; }
.cal-months { position: relative; z-index: 1; }

/* =========================================================================
   Admin
   Aufbau: dunkle Kopfzeile mit Bereichen (am Handy als Leiste unten),
   Listen als Karten, Dialoge am Handy als Blatt über die ganze Höhe.
   ========================================================================= */
.admin-body { background: var(--bg); min-height: 100vh; min-height: 100dvh; -webkit-tap-highlight-color: transparent; }
.btn--sm { min-height: 38px; padding: .45em .9em; font-size: .8125rem; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8125rem; }
.opt { font-weight: 500; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.btn.is-sure { background: var(--coral); border-color: var(--coral); color: #0D0C0A; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.adm-login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); background: var(--band); }
.adm-login-card { width: min(420px, 100%); background: var(--surface); padding: 36px; display: grid; gap: 18px; }
.adm-login-card img { height: 26px; width: auto; filter: var(--logo-filter); }
.adm-login-card h1 { font-size: 2rem; }
.adm-back { font-size: .875rem; color: var(--muted); }
.adm-msg { font-size: .875rem; padding: 10px 12px; background: var(--band); color: var(--band-fg); }
.adm-msg.is-error { background: var(--coral); color: #0D0C0A; font-weight: 600; }
.adm-msg.is-alert { background: var(--coral); color: #0D0C0A; font-weight: 700; }
.adm-msg code, .adm-setup code, .user-list code { font-size: .85em; background: color-mix(in srgb, var(--fg) 8%, transparent); padding: 1px 5px; }

/* Kopfzeile */
.adm-top { position: sticky; top: 0; z-index: 30; background: var(--invert-bg); color: var(--invert-fg); padding-top: env(safe-area-inset-top, 0px); }
.adm-top-inner, .adm-tabs, .adm-main { max-width: 1320px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.adm-top-inner { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.adm-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: var(--invert-muted); min-width: 0; }
.adm-brand img { height: 22px; width: auto; filter: var(--logo-invert-filter); }
.adm-demo { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--lavender); color: #0D0C0A; padding: 4px 8px; white-space: nowrap; }
.adm-top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.adm-top .adm-new { background: var(--invert-fg); color: var(--invert-bg); white-space: nowrap; }
.adm-top .adm-new:hover { background: var(--coral); color: #0D0C0A; }
.adm-new span { font-size: 1.15em; line-height: 0; }
.adm-user { position: relative; }
.adm-user summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; border: 1.5px solid var(--invert-line); cursor: pointer; font: 700 .8125rem/1 var(--font-sans); white-space: nowrap; }
.adm-user summary::-webkit-details-marker { display: none; }
.adm-user-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); }
.adm-user-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--surface); color: var(--fg); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; z-index: 5; }
.adm-user-pop p { margin: 0; padding: 12px 14px; font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.adm-user-pop a, .adm-user-pop button { padding: 12px 14px; border: 0; background: none; text-align: left; font: 600 .9375rem/1.2 var(--font-sans); color: var(--fg); text-decoration: none; cursor: pointer; }
.adm-user-pop a:hover, .adm-user-pop button:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }

/* Bereiche */
.adm-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tabs button {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 0; background: transparent; color: var(--invert-muted); cursor: pointer;
  font: 700 .875rem/1 var(--font-sans); border-bottom: 3px solid transparent;
}
.adm-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; display: none; }
.adm-tabs button[aria-selected="true"] { color: var(--invert-fg); border-bottom-color: var(--lavender); }
.adm-tabs .tab-more { display: none; }
.tab-badge { font: 800 .6875rem/1 var(--font-sans); font-style: normal; background: var(--coral); color: #0D0C0A; min-width: 18px; padding: 3px 5px; border-radius: 9px; text-align: center; }

.adm-main { padding-block: 24px 64px; display: grid; gap: 24px; }
.adm-main > section { display: grid; gap: 18px; min-width: 0; }
.adm-section-head { display: grid; gap: 6px; }
.adm-section-head h2 { font-size: 1.5rem; }
.adm-section-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; }
.adm-toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 12px 18px; font-weight: 600; font-size: .9375rem; box-shadow: var(--shadow); max-width: min(92vw, 560px); text-align: center; }
.adm-offline { margin: 0; padding: 10px 12px; background: var(--coral); color: #0D0C0A; font-weight: 700; font-size: .875rem; }
.empty { color: var(--muted); padding: 22px 12px; text-align: center; margin: 0; list-style: none; }

/* Zu erledigen */
.tasks { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.task { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); padding: 4px 12px 4px 0; }
.task--alert { border-left-color: var(--coral); }
.task--warn { border-left-color: var(--apricot); }
.task-main { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 10px 0 10px 14px; border: 0; background: none; text-align: left; font: inherit; color: var(--fg); cursor: pointer; }
.task-main strong { font-size: .9375rem; }
.task-main span { font-size: .875rem; color: var(--muted); }
.task .btn { flex: none; }
.tasks .empty { background: var(--surface); border: 1px solid var(--line); }

/* Kennzahlen */
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.stat { display: grid; gap: 2px; align-content: start; text-align: left; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); color: var(--fg); font: inherit; }
button.stat { cursor: pointer; }
button.stat:hover { border-color: var(--fg); }
.stat--alert { border-left-color: var(--lavender); }
.stat--warn { border-left-color: var(--apricot); }
.stat-n { font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-l { font-weight: 800; font-size: .9375rem; }
.stat-s { font-size: .8125rem; color: var(--muted); }

/* Kalender-Tafel */
.board-grid { border-top: 1px solid var(--line); }
.board-row { display: grid; grid-template-columns: 170px repeat(var(--cols), minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.board-row--head { border-bottom: 2px solid var(--fg); }
.board-h { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 10px; }
.board-we, .board-cell { padding: 10px; min-width: 0; }
.board-we { font-size: .875rem; font-variant-numeric: tabular-nums; }
.board-cell { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border-left: 1px solid var(--line); }
.chip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--line);
  font: 600 .8125rem/1.2 var(--font-sans); color: var(--fg); cursor: pointer; text-align: left; max-width: 100%;
}
.chip:hover { border-color: var(--fg); }
.chip-p { font-size: .625rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--fg); color: var(--bg); padding: 2px 5px; }
.chip-n { min-width: 0; overflow-wrap: anywhere; }
.cell-state { font-size: .8125rem; color: var(--muted); }
.cell-state.is-free { color: var(--fg); font-weight: 700; }
.cell-state.is-free::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #D6CCF8; margin-right: 6px; box-shadow: 0 0 0 1px var(--fg); }
.cell-state.is-blocked { font-weight: 700; color: var(--coral); }
.board-req { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.board-req h3 { width: 100%; font-size: 1rem; }

.pill { display: inline-block; font-size: .625rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; white-space: nowrap; }
.pill--anfrage { background: #D6CCF8; color: #0D0C0A; }
.pill--wartet { background: transparent; color: #C86A12; border: 1px dashed #C86A12; }
.pill--reserviert { background: #FFA857; color: #0D0C0A; }
.pill--bestaetigt { background: #C6BCA1; color: #0D0C0A; }
.pill--bezahlt { background: var(--fg); color: var(--bg); }
.pill--abgeschlossen { border: 1px solid var(--muted); color: var(--muted); }
.pill--storniert { background: transparent; color: var(--coral); text-decoration: line-through; border: 1px solid var(--coral); }
.pill--ship { background: #1F7A4C; color: #fff; }
.pill--back, .pill--note { border: 1px solid var(--muted); color: var(--muted); }
.pill--code-aktiv { background: #1F7A4C; color: #fff; }
.pill--code-aus, .pill--code-abgelaufen, .pill--code-aufgebraucht { border: 1px solid var(--muted); color: var(--muted); }
.pill--code-geplant { background: #D6CCF8; color: #0D0C0A; }

/* Filter und Listen */
.adm-filters { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .7fr); gap: 12px; align-items: end; }
.adm-filters--3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr); }
.adm-filters--one { grid-template-columns: minmax(0, 520px); }
.adm-count { font-size: .875rem; margin: 0; }
.adm-list { display: grid; background: var(--surface); border-top: 2px solid var(--fg); }
.lrow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 90px; gap: 12px; align-items: start; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 500 .9375rem/1.35 var(--font-sans); color: var(--fg); cursor: pointer; width: 100%; }
.lrow--code { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .9fr); }
.lrow:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); }
.lrow--head { cursor: default; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-block: 10px; }
.lrow--head:hover { background: none; }
.lrow b { font-weight: 700; font-variant-numeric: tabular-nums; }
.lrow small { display: block; font-size: .8125rem; color: var(--muted); font-weight: 500; }
.l-status { display: flex; flex-wrap: wrap; gap: 4px; }
.adm-list > .empty { padding: 28px 12px; }

/* Formulare */
.adm-form { max-width: 820px; background: var(--surface); padding: 24px; }
.form-row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.adm-form--inline { display: grid; grid-template-columns: 170px 170px 190px minmax(0, 1fr) auto; gap: 12px; align-items: end; max-width: none; }
.block-preview { grid-column: 1 / -1; margin: 0; font-size: .875rem; font-weight: 600; }
.adm-blocks { list-style: none; display: grid; background: var(--surface); margin: 0; padding: 0; }
.adm-blocks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.adm-blocks small, .user-list small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.avail-hint { margin: 0; padding: 9px 12px; font-size: .875rem; font-weight: 600; background: color-mix(in srgb, var(--fg) 6%, transparent); border-left: 4px solid var(--line); }
.avail-hint.is-free { border-left-color: #1F7A4C; }
.avail-hint.is-full { border-left-color: var(--coral); }
.radio-set { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.radio-set legend { font-size: .8125rem; font-weight: 700; padding: 0; margin-bottom: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 16px; }
.check-grid--one { grid-template-columns: minmax(0, 1fr); }
.inline-num { width: 96px; min-height: 36px; padding: 4px 8px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; }
.price-line { margin: 0; font-size: .875rem; }
.check input[disabled] + span { color: var(--muted); }

/* E-Mails */
.mail-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-top: 2px solid var(--fg); }
.mail-list li { border-bottom: 1px solid var(--line); }
.mail-list summary { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px; cursor: pointer; list-style: none; font-size: .9375rem; }
.mail-list summary::-webkit-details-marker, .timeline summary::-webkit-details-marker { display: none; }
.mail-list .m-at { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.mail-list small { display: block; font-size: .8125rem; color: var(--muted); }
.mail-list li.is-bad b { color: var(--coral); }
.mail-list details[open] { padding-bottom: 12px; }
.mail-list details > .btn { margin-left: 12px; }
.mail-body { margin: 0 12px 12px; padding: 14px; background: color-mix(in srgb, var(--fg) 5%, transparent); font: 400 .8125rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }

/* Einrichtung */
.adm-setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.setup-card { background: var(--surface); padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.setup-card h3 { font-size: 1.125rem; display: flex; align-items: center; gap: 10px; }
.setup-card p { color: var(--muted); font-size: .9375rem; margin: 0; }
.setup-card code.sel { word-break: break-all; font-size: .75rem; user-select: all; }
.setup-card .terms { min-width: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.is-ok { background: var(--fg); box-shadow: 0 0 0 3px #D6CCF8; }
.dot.is-todo { background: var(--coral); }
.user-list, .cal-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.user-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.user-list li.is-off b { color: var(--muted); }
.user-list .empty { justify-content: center; }
.cal-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal-list b { grid-column: 1 / -1; font-size: .9375rem; }
.howto summary { cursor: pointer; font-weight: 700; font-size: .9375rem; }
.howto p { margin-top: 10px; }
.backup-hint { padding: 12px 14px; border-left: 4px solid var(--line); background: color-mix(in srgb, var(--fg) 5%, transparent); }
.setup-card .backup-hint { color: var(--fg); font-size: .9375rem; }
.backup-hint.is-late { border-left-color: var(--coral); }
.backup-hint.is-ok { border-left-color: #1F7A4C; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; background: var(--surface); }
.more-list button[data-go] { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 700 1rem/1 var(--font-sans); color: var(--fg); cursor: pointer; text-align: left; }
.more-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.more-user { display: grid; gap: 12px; padding: 18px 16px; font-size: .9375rem; }
.more-user button { justify-self: start; min-height: 44px; padding: 0 16px; border: 1.5px solid currentColor; background: none; font: 700 .875rem/1 var(--font-sans); color: var(--fg); cursor: pointer; }

/* Dialoge */
.adm-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; background: var(--surface); color: var(--fg); box-shadow: var(--shadow); overflow: auto; overscroll-behavior: contain; }
.adm-dialog--wide { width: min(780px, calc(100% - 24px)); }
.adm-dialog--small { width: min(440px, calc(100% - 24px)); }
.adm-dialog::backdrop { background: rgba(13, 12, 10, .55); }
.adm-dialog-inner { display: grid; gap: 18px; padding: 24px; }
.adm-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.adm-dialog-head h2 { font-size: 1.6rem; }
.adm-dialog .field textarea { min-height: 84px; }
.adm-x { width: 44px; height: 44px; border: 1.5px solid var(--line); background: transparent; color: var(--fg); font-size: 1.5rem; line-height: 1; cursor: pointer; flex: none; }
.d-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.d-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.d-actions:empty { display: none; }
.d-sec { display: grid; gap: 14px; min-width: 0; }
.d-sec > h3, .d-more > summary { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 2px solid var(--fg); }
.d-more > summary { cursor: pointer; }
.d-more[open] > summary { margin-bottom: 0; }
.adm-dl { display: grid; margin: 0; }
.adm-dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.adm-dl dt { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.adm-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.adm-dl .sub { display: block; font-size: .8125rem; color: var(--muted); }
.adm-dialog-foot { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
.adm-dialog-foot.is-warn { background: var(--apricot); color: #0D0C0A; border-top-color: transparent; }
.adm-dialog-foot.is-warn .btn--primary { background: #0D0C0A; color: #F6F4F0; }
.adm-dialog-foot.is-warn .btn--ghost { color: #0D0C0A; }
.unsaved { margin: 0; font-weight: 700; font-size: .9375rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.tl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.tl--mail { display: block; }
.tl--mail summary { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; cursor: pointer; list-style: none; }
.tl--mail .mail-body { margin: 10px 0 2px; }
.tl-at { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.tl-text small { display: block; font-size: .8125rem; color: var(--muted); text-decoration: underline; }
.tl--bad b, .tl--widerruf .tl-text { color: var(--coral); font-weight: 700; }

@media (max-width: 1000px) {
  .adm-setup { grid-template-columns: minmax(0, 1fr); }
  .adm-form--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-form--inline .btn { justify-self: start; }
}

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .admin-body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .adm-top-inner { min-height: 54px; gap: 8px; }
  .adm-brand span, .adm-user summary #user-name { display: none; }
  .adm-user summary { padding: 0 13px; min-height: 40px; }
  .adm-top .adm-new { min-height: 40px; }
  .adm-demo { font-size: .5625rem; padding: 3px 6px; letter-spacing: .06em; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .adm-demo .long { display: none; }
  .adm-brand { flex: none; }
  /* Bereiche als Leiste unten, mit dem Daumen erreichbar */
  .adm-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: none; margin: 0; padding: 0 0 env(safe-area-inset-bottom, 0px); background: var(--invert-bg); border-top: 1px solid var(--invert-line); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; overflow: visible; }
  .adm-tabs button { flex-direction: column; justify-content: center; gap: 5px; min-height: 60px; padding: 6px 2px 4px; font-size: .6875rem; border-bottom: 0; border-top: 3px solid transparent; }
  .adm-tabs button[aria-selected="true"], .adm-tabs .tab-more.is-sub { color: var(--invert-fg); border-top-color: var(--lavender); }
  .adm-tabs svg { display: block; }
  .adm-tabs .tab-extra { display: none; }
  .adm-tabs .tab-more { display: inline-flex; }
  .tab-badge { position: absolute; top: 5px; left: calc(50% + 6px); }
  .adm-toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: max-content; }

  .adm-main { padding-block: 18px 32px; gap: 20px; }
  .adm-section-head h2 { font-size: 1.3rem; }
  .adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 12px; }
  .stat-n { font-size: 1.6rem; }
  .task { flex-wrap: wrap; padding: 0 0 10px; }
  .task-main { flex-basis: 100%; padding: 12px 12px 4px 14px; }
  .task .btn { margin-left: 14px; min-height: 42px; }

  /* Tafel: je Wochenende eine Karte, Standorte untereinander */
  .board-grid { border-top: 0; display: grid; gap: 10px; }
  .board-row.board-row--head { display: none; }
  .board-row { display: block; background: var(--surface); border: 1px solid var(--line); }
  .board-we { padding: 10px 12px; border-bottom: 2px solid var(--fg); font-size: .9375rem; }
  .board-cell { border-left: 0; border-bottom: 1px solid var(--line); padding: 6px 12px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 10px; align-items: start; }
  .board-cell:last-child { border-bottom: 0; }
  .board-cell::before { content: attr(data-loc); grid-column: 1; grid-row: 1; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
  .board-cell > * { grid-column: 2; }
  .chip { width: 100%; min-height: 44px; padding: 8px 10px; }
  .cell-state { padding: 6px 0; }
  .board-req .chip { width: 100%; }

  /* Listen als Karten */
  .adm-filters, .adm-filters--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .adm-filters .adm-search { grid-column: 1 / -1; }
  .adm-list { background: none; border-top: 0; gap: 8px; }
  .lrow--head { display: none; }
  .lrow, .lrow--code { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); }
  .lrow .l-when { grid-column: 1 / -1; }
  .lrow .l-who { font-weight: 700; }
  .lrow .l-what { grid-column: 1; color: var(--muted); font-size: .875rem; }
  .lrow .l-status { grid-column: 1; }
  .lrow .l-price { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-weight: 700; }
  .lrow--code > span:nth-child(2) { text-align: right; font-weight: 700; }
  .lrow--code > span[data-l] { grid-column: 1; font-size: .875rem; color: var(--muted); }
  .lrow--code > span[data-l]::before { content: attr(data-l) ": "; }
  .lrow--code > span:last-child { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .adm-list > .empty { background: var(--surface); border: 1px solid var(--line); }

  .adm-form { padding: 16px; }
  .adm-form--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-form--inline .field:nth-of-type(3), .adm-form--inline .field:nth-of-type(4) { grid-column: 1 / -1; }
  .adm-form--inline .btn { grid-column: 1 / -1; justify-self: stretch; min-height: 48px; }
  .adm-blocks li { align-items: flex-start; flex-direction: column; }
  .adm-section-head--row { grid-template-columns: minmax(0, 1fr); }
  .adm-section-head--row .btn { justify-self: start; min-height: 44px; }
  .mail-list summary, .tl, .tl--mail summary { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .setup-card { padding: 16px; }
  .user-list li { align-items: flex-start; flex-direction: column; }
  .cal-list li { grid-template-columns: minmax(0, 1fr); }
  .cal-list .copy-btn { justify-self: start; min-height: 42px; }

  /* Dialoge als Blatt über die ganze Höhe */
  .adm-dialog, .adm-dialog--wide { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
  .adm-dialog--small { height: auto; margin: auto 0 0; }
  .adm-dialog-inner { padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 20px; gap: 16px; align-content: start; min-height: calc(100% - 78px); }
  .adm-dialog--small .adm-dialog-inner, #code-dialog .adm-dialog-inner, #user-dialog .adm-dialog-inner, #new-dialog .adm-dialog-inner { min-height: 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .adm-dialog-head { position: sticky; top: 0; z-index: 2; background: var(--surface); margin: calc(-16px - env(safe-area-inset-top, 0px)) -16px 0; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; border-bottom: 1px solid var(--line); }
  .adm-dialog-head h2 { font-size: 1.3rem; }
  .adm-dialog-foot { padding-inline: 16px; }
  .adm-dialog .btn-row .btn, .adm-dialog-foot .btn { flex: 1 1 auto; min-height: 48px; }
  .d-actions .btn { flex: 1 1 calc(50% - 8px); min-height: 44px; justify-content: center; text-align: center; }
  .adm-dl div { grid-template-columns: 92px minmax(0, 1fr); }
  .adm-dialog .field input, .adm-dialog .field select, .adm-dialog .field textarea, .adm-filters input, .adm-filters select { font-size: 16px; } /* verhindert das Hineinzoomen am iPhone */
}
@media (prefers-color-scheme: dark) {
  .pill--wartet { color: #FFB45E; border-color: #FFB45E; }
  .avail-hint.is-free, .backup-hint.is-ok { border-left-color: #6FD39B; }
}
@media (display-mode: standalone) { .adm-back { display: none; } }

/* =========================================================================
   Nav dropdown, mobile CTA, availability, lightbox
   ========================================================================= */
.has-sub { position: relative; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; cursor: pointer;
  font: 600 .875rem/1 var(--font-sans); color: var(--fg);
}
.nav-sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-sub.is-open .nav-sub-toggle svg { transform: rotate(180deg); }
.has-sub.is-active > .nav-sub-toggle { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }
.nav-sub { list-style: none; }
.nav-sub a i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; }
@media (min-width: 1081px) {
  .nav-sub {
    position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; display: grid !important; gap: 2px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .has-sub.is-open .nav-sub, .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-sub a { width: 100%; min-height: 42px; padding: 0 12px; gap: 10px; }
  .nav-sub a::after { display: none; }
  .nav-sub a:hover { background: var(--bg); }
}
@media (max-width: 1080px) {
  .has-sub { border-bottom: 1px solid var(--line); }
  .nav-sub-toggle { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; min-height: 64px; padding: 0; width: 100%; justify-content: space-between; }
  .nav-sub-toggle svg { width: 22px; height: 22px; }
  .has-sub:not(.is-open) .nav-sub { display: none; }
  .nav-sub { padding-bottom: 12px; }
  .nav .nav-sub a { font-size: 1.125rem; font-weight: 700; min-height: 48px; border-bottom: 0; gap: 12px; }
}

.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--invert-bg); color: var(--invert-fg); transform: translateY(110%); transition: transform .3s ease;
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35);
}
.mcta p { display: grid; line-height: 1.1; font-size: .75rem; color: var(--invert-muted); }
.mcta strong { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--invert-fg); }
.mcta .btn--primary { background: var(--invert-fg); color: var(--invert-bg); }
.mcta.is-visible { transform: none; }
@media (max-width: 760px) {
  .mcta { display: flex; }
  body.has-mcta { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(244, 89, 47, .6); animation: pulse 2s infinite; }
.eyebrow:has(.live-dot)::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(244, 89, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 89, 47, 0); } }
.avail-loading { color: var(--muted); padding: 24px 0; }
.avail-table { display: grid; border-top: 2px solid var(--fg); }
.avail-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.avail-head { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-block: 12px; }
.avail-head > span:not(:first-child), .avail-row [data-label] { text-align: center; }
.avail-we { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.av { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; width: 100%; padding: 0 10px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.av--free { background: #D6CCF8; color: #0D0C0A; transition: background-color .2s; }
.av--free::after { content: "→"; margin-left: 8px; transition: transform .2s; }
.av--free:hover { background: #B9ABF0; }
.av--free:hover::after { transform: translateX(3px); }
.av--booked, .av--blocked { color: var(--muted); background: repeating-linear-gradient(-45deg, transparent 0 6px, color-mix(in srgb, var(--muted) 16%, transparent) 6px 7px); font-weight: 600; }
.av--closed { color: var(--muted); font-weight: 500; }
.avail-note { font-size: .8125rem; color: var(--muted); margin-top: 12px; }
.avail-more { margin-top: 20px; }
@media (max-width: 640px) {
  .avail-head { display: none; }
  .avail-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 0; }
  .avail-we { grid-column: 1 / -1; }
  .avail-row [data-label]::before { content: attr(data-label); display: block; font-size: .625rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .av { min-height: 36px; font-size: .8125rem; padding: 0 6px; }
}
.avail-chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.avail-chips a { display: grid; gap: 2px; padding: 14px 16px; background: #D6CCF8; color: #0D0C0A; text-decoration: none; font-size: .8125rem; transition: background-color .2s; }
.avail-chips a span { font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; }
.avail-chips a:hover { background: #B9ABF0; }

[data-lightbox] figure, [data-lightbox] .lb-item { cursor: zoom-in; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 12, 10, .94); color: #F6F4F0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(13, 12, 10, .6); }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; background: #FFFFFF; }
.lightbox figcaption { font-size: .875rem; color: #C6BCA1; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1.5px solid rgba(246, 244, 240, .4); background: rgba(13, 12, 10, .6); color: #F6F4F0; font-size: 1.3rem; cursor: pointer; }
.lb-btn:hover { background: #F6F4F0; color: #0D0C0A; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* =========================================================================
   Occasion pages, templates, articles, games
   ========================================================================= */
.occ-hero { background: var(--accent); color: #0D0C0A; padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.occ-hero .eyebrow, .occ-hero .breadcrumb { color: #3E392D; }
.occ-hero .btn--primary { background: #0D0C0A; color: #F6F4F0; }
.occ-hero .btn--primary:hover { background: #F6F4F0; color: #0D0C0A; }
.occ-hero .btn--ghost { color: #0D0C0A; }
.occ-hero .btn--ghost:hover { background: #0D0C0A; color: #F6F4F0; border-color: #0D0C0A; }
.occ-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.occ-hero-copy { display: grid; gap: 24px; min-width: 0; }
.occ-hero .h-display { font-size: clamp(3rem, 1.6rem + 5.6vw, 6.6rem); }
.occ-hero-stage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; color: #0D0C0A; --vf-l: 46px; --vf-t: 6px; }
.page-hero .occ-hero-stage { background: var(--accent); }
.occ-hero-stage .print { width: 60%; }
.occ-hero-stage .print:nth-child(1) { left: 4%; top: 10%; transform: rotate(-6deg); }
.occ-hero-stage .print:nth-child(2) { right: 4%; top: 30%; transform: rotate(5deg); z-index: 2; }
.occ-hero-stage .print:nth-child(3) { left: 16%; bottom: 8%; transform: rotate(-1.5deg); z-index: 3; }
@media (max-width: 900px) { .occ-hero-grid { grid-template-columns: minmax(0, 1fr); } .occ-hero-stage { max-width: 520px; width: 100%; justify-self: center; } }

.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--fg); }
.reason { padding: 26px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.reason + .reason { padding-left: 24px; border-left: 1px solid var(--line); }
.reason h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.reason p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 980px) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason:nth-child(3) { border-left: 0; padding-left: 0; }
  .reason:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 12px; }
}
@media (max-width: 560px) {
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .reason + .reason { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
}

.print-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 12px 6px; }
.print-strip .print, .tpl-grid .print { position: relative; width: auto; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.print-strip .print:nth-child(odd) { transform: rotate(-2deg); }
.print-strip .print:nth-child(even) { transform: rotate(1.8deg) translateY(10px); }
.print-strip .print:hover { transform: rotate(0) translateY(-6px); z-index: 2; }
@media (max-width: 860px) { .print-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.print-strip + .link-arrow { display: inline-flex; }

.use-list { list-style: none; display: grid; border-top: 2px solid currentColor; }
.use-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.use-list li > span:first-child { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; }
.use-list .muted { font-size: .875rem; }

.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.tpl-grid .print { padding-bottom: 26px; }
.tpl-grid .print:hover { transform: translateY(-4px) rotate(-.6deg); }
.tpl-grid figcaption { bottom: 6px; }
.anchor { display: block; position: relative; top: calc(-1 * var(--header-h) - 24px); visibility: hidden; height: 0; }
@media (min-width: 981px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band .step-icon { background: var(--band); }
.stage-caption { text-decoration: none; }
a.stage-caption:hover { text-decoration: underline; opacity: 1; }

/* Articles */
.article-hero { background: var(--dot); color: #0D0C0A; padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.article-hero .breadcrumb, .article-hero .eyebrow { color: #3E392D; }
.article-hero-inner { display: grid; gap: 20px; position: relative; }
.article-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -.025em; max-width: 22ch; }
.article-hero .lead { max-width: 46ch; color: #2A2620; }
.article-mark { position: absolute; right: 0; bottom: -.18em; font-family: var(--font-display); font-style: italic; font-size: clamp(5rem, 3rem + 10vw, 13rem); line-height: 1; opacity: .16; pointer-events: none; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 6vw, 80px); align-items: start; }
.article-body { font-size: 1.0625rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.02em; margin-top: 1.2em; }
.article-body li::marker { color: var(--muted); font-weight: 700; }
.article-body a { color: var(--fg); font-weight: 600; }
.callout { padding: 18px 22px; background: var(--band); color: var(--band-fg); border-left: 4px solid var(--fg); margin: .4em 0; }
.callout strong { font-weight: 800; }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card { padding: 26px; background: var(--invert-bg); color: var(--invert-fg); display: grid; gap: 14px; }
.aside-card .eyebrow, .aside-card p:not(.aside-title) { color: var(--invert-muted); font-size: .9375rem; }
.aside-title { font-size: 1.6rem; color: var(--invert-fg); }
.aside-card .btn--primary { background: var(--invert-fg); color: var(--invert-bg); justify-self: start; }
.aside-card .btn--primary:hover { background: var(--coral); color: #0D0C0A; }
.aside-card .link-arrow { justify-self: start; font-size: .9375rem; }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }

/* QR codes */
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qr-card { margin: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--dot); }
.qr-code { background: #FFFFFF; padding: 10px; aspect-ratio: 1; }
.qr-code svg { width: 100%; height: 100%; display: block; }
.qr-card figcaption { display: grid; gap: 8px; }
.qr-title { font-size: 1.6rem; }
.qr-sub { color: var(--muted); font-size: .9375rem; }
.qr-url { font-size: .8125rem; font-weight: 700; word-break: break-all; }
.qr-card .link-arrow { justify-self: start; font-size: .875rem; }
.qr-actions { margin-top: 24px; }
@media (max-width: 860px) { .qr-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .qr-card { grid-template-columns: minmax(0, 1fr); } .qr-code { max-width: 240px; } }
@media print {
  body.print-qr > *:not(main), body.print-qr main > *:not(.qr-section), body.print-qr .qr-section .section-head, body.print-qr .qr-actions, body.print-qr .link-arrow { display: none !important; }
  body.print-qr .qr-grid { grid-template-columns: 1fr; gap: 0; }
  body.print-qr .qr-card { break-after: page; border: 0; grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px; }
  body.print-qr .qr-code { width: 12cm; max-width: none; }
  body.print-qr .qr-title { font-size: 2.6rem; }
}

/* Game apps */
.app-header { border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.app-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.app-header .brand img { height: 22px; }
.app-link { font-weight: 700; font-size: .875rem; }
.app-footer { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); }
.game-app { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); position: relative; }
.game-wrap { max-width: 760px; display: grid; gap: 22px; }
.game-head { display: grid; gap: 12px; }
.game-head h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); line-height: 1; }
.bingo-status { display: flex; justify-content: space-between; font-weight: 800; font-size: .875rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.bingo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bingo-cell {
  position: relative; min-height: clamp(118px, 28vw, 168px); padding: 12px 10px 26px; border: 2px solid var(--fg); background: var(--surface); color: var(--fg);
  font: 700 clamp(.75rem, .66rem + .5vw, .95rem)/1.3 var(--font-sans); text-align: left; cursor: pointer; display: flex; align-items: flex-start;
  transition: background-color .2s, transform .15s;
}
.bingo-cell span { overflow-wrap: anywhere; hyphens: auto; }
.bingo-cell::after {
  content: ""; position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%;
}
.bingo-cell:active { transform: scale(.97); }
.bingo-cell.is-done { background: #D6CCF8; color: #0D0C0A; border-color: #0D0C0A; }
.bingo-cell.is-done::after { background: #0D0C0A; box-shadow: inset 0 0 0 3px #D6CCF8; }
.bingo-cell.in-line { background: #FFA857; }
.game-actions { margin-top: 4px; }
.game-win { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(13, 12, 10, .7); padding: 24px; overflow: hidden; }
.game-win-card { position: relative; z-index: 1; width: min(420px, 100%); background: #FFA857; color: #0D0C0A; padding: 32px; display: grid; gap: 14px; text-align: center; justify-items: center; }
.win-big { font-size: 5rem; line-height: .9; }
.win-sub { font-weight: 800; font-size: 1.125rem; }
.game-win-card .btn--primary { background: #0D0C0A; color: #F6F4F0; }
.ticket-stage { position: relative; display: grid; place-items: center; padding: 12px 0; overflow: hidden; }
.ticket {
  position: relative; width: min(100%, 560px); min-height: 280px; padding: 30px 34px; display: grid; gap: 16px; align-content: center;
  background: #FFA857; color: #0D0C0A; transform: rotate(-1.5deg);
  -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket::before { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(13, 12, 10, .35); pointer-events: none; }
.ticket-no { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ticket-text { font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.05; text-wrap: balance; }
.ticket-brand { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.ticket.is-spinning { animation: wobble .14s linear infinite alternate; }
.ticket.is-drawn { animation: pop .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes wobble { from { transform: rotate(-2.5deg) translateY(-2px); } to { transform: rotate(1deg) translateY(2px); } }
@keyframes pop { 0% { transform: rotate(-1.5deg) scale(.9); } 100% { transform: rotate(-1.5deg) scale(1); } }
.ticket-after { text-align: center; font-weight: 800; font-size: 1.125rem; }
.game-wrap .game-actions { justify-content: center; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; animation: fall 1.6s cubic-bezier(.3, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); opacity: .9; } }
.err404 { font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 1; letter-spacing: -.04em; }
.specs dd, .reason p, .card-body, .offer-desc, .choice-list, .bk-sum dd, .faq .answer { hyphens: auto; overflow-wrap: break-word; }
.tech-grid > * { min-width: 0; }

/* AGB / Datenschutz als Fenster in der Buchung */
.doc-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; background: var(--bg); color: var(--fg); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.doc-dialog:not([open]) { display: none; }
.doc-dialog::backdrop { background: rgba(13, 12, 10, .55); }
.doc-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); }
.doc-dialog-close { border: 0; background: none; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.doc-dialog-body { overflow: auto; padding: 8px 20px 24px; }
.doc-dialog-body section { padding: 16px 0 !important; background: none !important; }
.doc-dialog-body .wrap { padding: 0 !important; max-width: none !important; }
.doc-dialog-body h1, .doc-dialog-body .h-display { font-size: var(--step-2) !important; line-height: 1.1; }

/* ---------- Cookie-Banner ---------- */
.cc {
  position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-left: auto; background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius);
  max-height: calc(100dvh - 32px); overflow: auto;
}
.cc-inner { padding: 22px 22px 20px; display: grid; gap: 14px; }
.cc-title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; margin: 0; line-height: 1.2; }
.cc-text { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.cc-text a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.cc-options { display: grid; gap: 10px; }
.cc-options[hidden] { display: none; }
.cc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.cc-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); flex: none; }
.cc-opt b { display: block; font-size: .9375rem; }
.cc-opt small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.45; margin-top: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-actions .cc-btn { justify-content: center; width: 100%; min-height: 48px; padding-inline: 12px; }
.cc-actions .cc-btn[hidden] { display: none; }
.cc-actions [data-cc="settings"], .cc-actions [data-cc="save"] { grid-column: 1 / -1; }
.cc-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 520px) {
  .cc { left: 0; right: 0; bottom: 0; max-width: none; border-left: 0; border-right: 0; border-bottom: 0; }
  .cc-inner { padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .cc { display: none; } }
.price-alt { margin: -6px 0 0; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.plan--pro .price-alt { color: var(--invert-muted); }
.cal-jump { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 12px; }
.cal-jump label { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.cal-jump select {
  font: 600 1rem/1.2 var(--font-sans); color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); min-height: 44px; padding: 0 36px 0 12px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.cal-jump select:hover { border-color: var(--fg); }

/* Paket-Extra (z. B. Sektbike + Fotobox) */
.bk-addons { margin-top: 14px; display: grid; gap: 10px; }
.addon { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px dashed var(--fg); background: var(--surface); cursor: pointer; border-radius: var(--radius); }
.addon input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--fg); cursor: pointer; }
.addon:has(input:checked) { border-style: solid; box-shadow: inset 0 0 0 1px var(--fg); }
.addon-body { display: grid; gap: 4px; min-width: 0; }
.addon-tag { justify-self: start; font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--fg); color: var(--bg); padding: 3px 7px; }
.addon-title { font-weight: 800; font-size: 1rem; }
.addon-text { color: var(--muted); font-size: .9375rem; }
.addon-note { color: var(--muted); font-size: .8125rem; }

/* Handy: Eingabefelder mind. 16px, sonst zoomt iOS beim Antippen hinein */
input, select, textarea { font-size: max(16px, 1em); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.page-hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0D0C0A; }
.page-hero-video figcaption { margin-top: 10px; font-size: var(--step--1); font-weight: 600; color: var(--muted); text-align: center; }
.notice + .notice { margin-top: 12px; }

/* Widerrufsfunktion (§ 356a BGB): gut sichtbarer, dauerhaft verfügbarer Link */
.footer-bottom .withdraw-link { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 700; text-decoration: none; color: inherit; }
.footer-bottom .withdraw-link:hover { background: var(--invert-fg, #fff); color: var(--invert-bg, #000); }
.withdraw-done { padding: 20px 22px; border: 2px solid var(--fg); background: var(--surface); display: grid; gap: 8px; }
.legal .muster { padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }

/* Tabellen auf dem Handy: nichts abschneiden, Text darf umbrechen */
@media (max-width: 600px) {
  .terms { min-width: 0; font-size: .875rem; }
  .terms th, .terms td { padding: 12px 10px 12px 0; }
  .terms th:last-child, .terms td:last-child { padding-right: 0; }
  .terms td:last-child { white-space: normal; }
  .terms th { font-size: .6875rem; letter-spacing: .08em; }
}
/* Hilfe-Zeile unter dem Buchen-Knopf */
.bk-help { margin-top: 14px; font-size: .875rem; }
.bk-help a { font-weight: 700; }
.cta-mail { justify-self: start; margin-top: -8px; font-size: .875rem; }
#bk-early-wrap:not([hidden]) { display: grid; gap: 6px; }
.footer-bottom .cc-link { min-height: 32px; display: inline-flex; align-items: center; }
.cta-mail { min-height: 40px; }

/* ---------- Bezahlen (PayPal) ---------- */
.pay-card {
  background: var(--surface, #fff);
  border: 1px solid var(--line, rgba(13, 12, 10, .12));
  border-radius: 18px;
  padding: clamp(22px, 4vw, 40px);
}
.pay-head { margin-bottom: 22px; }
.pay-box {
  margin-top: 18px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(13, 12, 10, .04);
}
.pay-box--done { background: rgba(60, 140, 90, .10); }
.pay-amount {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 0 0 14px;
}
.pay-amount span { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.pay-amount strong { font-size: 1.5rem; font-weight: 700; }
.pay-buttons { min-height: 52px; }
.pay-loading { margin: 0; opacity: .7; font-size: .9375rem; }
.pay-demo { width: 100%; }
.pay-status { margin: 12px 0 0; font-size: .9375rem; }
.pay-status--error { color: #B4341C; font-weight: 600; }
.pay-hint { margin: 12px 0 0; font-size: .875rem; opacity: .75; }
.pay-foot { margin-top: 18px; font-size: .875rem; }
.pay-hold { margin: 14px 0 0; font-size: .9375rem; font-weight: 600; }
.pp-check { list-style: none; display: grid; gap: 8px; margin: 14px 0 10px; }
.pp-check li { padding-left: 26px; position: relative; font-size: .9375rem; }
.pp-check li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.pp-check .is-ok::before { content: "✓"; color: #1F7A4C; }
.pp-check .is-bad::before { content: "✕"; color: #B4341C; }
@media (prefers-color-scheme: dark) { .pp-check .is-ok::before { color: #6FD39B; } .pp-check .is-bad::before { color: #FF9480; } }
.done-step--pay #pay-mount { margin-top: 4px; }
/* Auf schmalen Displays die ganze Breite nutzen: die PayPal-Knöpfe brauchen
   mindestens rund 200 px, sonst zeigt PayPal sie nicht an. */
@media (max-width: 560px) {
  .done-steps li > #pay-mount { grid-column: 1 / -1; }
  .pay-box { padding: 16px; }
}
@media (prefers-color-scheme: dark) {
  .pay-box { background: rgba(255, 255, 255, .06); }
  .pay-status--error { color: #FF9480; }
}

/* Hinweis „Später bezahlen“ in der Zusammenfassung (Karte ist immer dunkel) */
.bk-paylater {
  margin: 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--invert-line);
  font-size: .875rem;
  line-height: 1.5;
}

/* Zustand der PayPal-Anbindung im Admin */
.pp-state {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.pp-state--live { background: #1F7A4C; color: #fff; }
.pp-state--test { background: #C86A12; color: #fff; }
.pp-state--off  { background: rgba(13, 12, 10, .14); color: inherit; }
.adm-test { background: #C86A12; color: #fff; }
@media (prefers-color-scheme: dark) {
  .pp-state--off { background: rgba(255, 255, 255, .16); }
}
/* Admin-Nachträge */
@media (max-width: 620px) { .form-row--3 { grid-template-columns: minmax(0, 1fr); } }
.cell-state.is-full { color: var(--muted); font-weight: 600; }
/* Rabattcode auf der Buchungsseite */
.bk-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.bk-code-row input { text-transform: uppercase; }
.bk-code-row .btn { min-height: 0; }
.bk-code-ok { font-size: .875rem; font-weight: 700; }
.bk-code-ok::before { content: "✓ "; }
.bk-discount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9375rem; }
.bk-discount span { font-weight: 700; }
.bk-discount strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.check .inline-num { width: 96px; height: auto; margin: 0 4px; accent-color: auto; }
.adm-section-head .muted { font-size: .9375rem; margin: 0; }
@media (max-width: 760px) {
  .lrow--code .l-when { grid-column: 1; }
  .lrow--code > span:nth-child(2) { grid-column: 2; grid-row: 1; }
}

/* Paket-Hinweis und Mailvorlagen */
.adm-msg.is-pack { background: var(--apricot); color: #0D0C0A; font-weight: 600; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
div.adm-msg.is-pack .btn { background: #0D0C0A; color: #F6F4F0; border-color: #0D0C0A; flex: none; }
.lrow--tpl { grid-template-columns: minmax(0, 2fr) minmax(0, .7fr) minmax(0, 1fr); }
.l-tpl-by { font-size: .8125rem; color: var(--muted); }
.tpl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tpl-edit { display: grid; gap: 14px; min-width: 0; }
.adm-dialog .tpl-edit textarea { min-height: 360px; font: 400 .875rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.tpl-preview { position: sticky; top: 0; min-width: 0; display: grid; gap: 6px; }
.tpl-preview .mail-body { margin: 0; max-height: 560px; }
.tpl-prev-head, .tpl-prev-sub { margin: 0; font-size: .875rem; }
.tpl-prev-sub { font-weight: 700; }
.tpl-ph summary { cursor: pointer; font-weight: 700; font-size: .875rem; }
.tpl-ph p { margin: 8px 0; font-size: .8125rem; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-chip { display: grid; text-align: left; gap: 1px; padding: 6px 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 700 .75rem/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; cursor: pointer; max-width: 100%; }
.ph-chip small { font: 500 .6875rem/1.3 var(--font-sans); color: var(--muted); }
.ph-chip.is-req { border-color: var(--fg); border-width: 2px; }
.ph-chip:hover { border-color: var(--fg); }
@media (max-width: 900px) {
  .tpl-grid { grid-template-columns: minmax(0, 1fr); }
  .tpl-preview { position: static; }
}
@media (max-width: 760px) {
  .lrow--tpl { grid-template-columns: minmax(0, 1fr) auto; }
  .lrow--tpl .l-tpl-by { grid-column: 1 / -1; }
  .lrow--tpl .l-status { grid-column: 2; grid-row: 1; }
  .adm-dialog .tpl-edit textarea { min-height: 300px; font-size: 16px; }
  .ph-chip small { display: none; }
}
.tpl-group { margin: 0; padding: 14px 12px 6px; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .tpl-group { padding: 10px 2px 2px; } }

/* ---------- Gemeinsamer Admin: Marken-Umschalter, Bereiche je Marke ---------- */
.adm-brands { display: inline-flex; border: 1.5px solid var(--invert-line); margin-left: 4px; }
.adm-brands[hidden] { display: none; }
.adm-brands button { position: relative; background: none; border: 0; color: var(--invert-muted); font: 700 .75rem/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; padding: 0 12px; min-height: 34px; cursor: pointer; white-space: nowrap; }
.adm-brands button + button { border-left: 1.5px solid var(--invert-line); }
.adm-brands button:hover { color: var(--invert-fg); }
.adm-brands button[aria-pressed="true"] { background: var(--invert-fg); color: var(--invert-bg); cursor: default; }
.adm-brands .tab-badge { position: absolute; top: -8px; right: -8px; left: auto; }
.check-grid--scopes { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; }
.scope-group { display: grid; gap: 6px; align-content: start; }
.scope-group > b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brand-tag { display: inline-block; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid currentColor; padding: 2px 6px; }
@media (max-width: 760px) {
  /* Handy: Umschalter als eigene Zeile unter Logo und Knöpfen */
  .adm-top-inner { flex-wrap: wrap; }
  .adm-brands { order: 10; flex: 1 0 100%; margin: 2px 0 0; }
  .adm-brands button { flex: 1 1 0; min-height: 36px; }
}
