/* Mariana's Hundesalon · Welt: Hundepass mit Stempelseite · FOB Webdesign x Impeccable */
@font-face{font-family:"Young Serif";src:url("fonts/young-serif-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("fonts/nunito-latin-wght-normal.woff2") format("woff2");font-weight:200 1000;font-style:normal;font-display:swap}
@font-face{font-family:"DM Mono";src:url("fonts/dm-mono-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{--bg: oklch(12.5% 0.025 265); --bg2: oklch(16% 0.035 265); --ink: oklch(95% 0.01 260); --muted: oklch(80% 0.03 260);
  --acc: oklch(72% 0.18 350); --acc-ink: oklch(15% 0.03 350); --acc2: oklch(74% 0.12 235); --line: oklch(80% 0.05 260 / .18); --wm: oklch(76% 0.16 350);
  --fd: "Young Serif", Georgia, serif; --fb: "Nunito", ui-sans-serif, system-ui, sans-serif; --fm: "DM Mono", ui-monospace, monospace; --fdw: 400; --fdt: -0.01em;
  --r: 16px; --card: oklch(17% 0.035 265); --page: oklch(20% 0.04 262); --foil: linear-gradient(135deg, #f6e4b5, #c9a35f 45%, #8a6a35 60%, #ecd29a);}
/* FOB x Impeccable – Grundgerüst. Jede Firma setzt ihre Welt über Tokens und eigenes CSS (world). */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--fb); font-size: 1.0625rem; line-height: 1.6; font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
input, textarea, button { font: inherit; color: inherit; caret-color: var(--acc); }
html { scrollbar-color: color-mix(in oklch, var(--acc) 55%, var(--bg)) var(--bg); scrollbar-width: thin; }
h1, h2, h3 { font-family: var(--fd); font-weight: var(--fdw, 400); line-height: 1.02; letter-spacing: var(--fdt, -0.01em); margin: 0; text-wrap: balance; }
h1 { font-size: var(--h1, clamp(3rem, 6.4vw + .4rem, 6rem)); }
h2 { font-size: var(--h2, clamp(2.1rem, 3.6vw + .6rem, 4rem)); }
h3 { font-size: 1.45rem; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, .5vw + .95rem, 1.25rem); color: var(--muted); max-width: 58ch; }
.wrap { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
:root { --gut: clamp(16px, 4vw, 40px); --ease: cubic-bezier(.16, 1, .3, 1); --r: 14px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--acc); color: var(--acc-ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: var(--br, 999px); border: 1px solid var(--acc);
  background: var(--acc); color: var(--acc-ink); font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; letter-spacing: .01em;
  box-shadow: 0 8px 24px -10px color-mix(in oklch, var(--acc) 70%, transparent); transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px color-mix(in oklch, var(--acc) 80%, transparent); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in oklch, var(--ink) 35%, transparent); box-shadow: none; }
.btn.ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn[disabled] { opacity: .5; cursor: progress; transform: none; }
.btn svg { width: 1.1em; height: 1.1em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.actions.c { justify-content: center; }
.tlink { color: var(--ink); text-decoration-color: color-mix(in oklch, var(--acc) 70%, transparent); }
.tlink:hover { color: var(--acc); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.top.solid { background: color-mix(in oklch, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.wordmark { font-family: var(--fd); font-size: 1.7rem; line-height: 1; text-decoration: none; color: var(--wm, var(--acc)); margin-right: auto; white-space: nowrap; }
.top nav { display: flex; gap: 26px; }
.top nav a { text-decoration: none; font-size: .95rem; font-weight: 550; color: color-mix(in oklch, var(--ink) 80%, transparent); position: relative; padding: 6px 0; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav a:hover::after, .top nav a[aria-current]::after { transform: scaleX(1); }
.top .btn { min-height: 42px; padding: .5em 1.15em; font-size: .92rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in oklch, var(--bg) 70%, transparent); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s; }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }
@media (max-width: 900px) {
  .top .wrap { height: 60px; gap: 10px; }
  .top nav { display: none; }
  .menu-btn { display: grid; }
  .wordmark { font-size: 1.4rem; }
  .top .btn { min-height: 40px; padding: .4em 1em; }
}

/* mobile sheet menu: colourful photo rows */
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; padding: 14px var(--gut) 24px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 38px) 30px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.sheet.open { clip-path: circle(150% at calc(100% - 38px) 30px); visibility: visible; transition: clip-path .7s var(--ease); }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; height: 46px; margin-bottom: 14px; }
.sheet-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sheet li a { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; text-decoration: none; padding: 8px; border-radius: 16px;
  background: color-mix(in oklch, var(--c, var(--acc)) 14%, var(--bg)); border: 1px solid color-mix(in oklch, var(--c, var(--acc)) 30%, transparent); }
.sheet li a img { width: 64px; height: 64px; object-fit: cover; border-radius: 11px; }
.sheet li a b { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: 1.6rem; line-height: 1; display: block; }
.sheet li a small { color: var(--muted); font-size: .86rem; }
.sheet li a i { font-style: normal; color: var(--c, var(--acc)); font-size: 1.3rem; padding-right: 8px; }
.sheet li a[aria-current] { outline: 1px solid var(--c, var(--acc)); }
.sheet .actions { margin-top: 18px; }

/* sections */
.s { padding-block: var(--sp, clamp(64px, 9vw, 128px)); position: relative; }
.s.band { background: var(--bg2); }
.s.tight { --sp: clamp(48px, 6vw, 88px); }
.hd { margin-bottom: clamp(28px, 4vw, 52px); }
.hd.c { text-align: center; }
.hd.c .lead { margin-inline: auto; }
.hd h2 + .lead { margin-top: .7rem; }
.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* quick booking in hero */
.qb { display: grid; gap: 12px; }
.qb fieldset { border: 0; margin: 0; padding: 0; }
.qb legend { font-size: .9rem; color: var(--muted); margin-bottom: 8px; padding: 0; }
.qb .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: .45em 1em; border-radius: var(--cr, 999px); border: 1px solid color-mix(in oklch, var(--ink) 25%, transparent);
  font-size: .95rem; font-weight: 550; line-height: 1.2; transition: background .25s, border-color .25s, color .25s; background: color-mix(in oklch, var(--bg) 60%, transparent); }
.chip span small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.chip:hover span { border-color: var(--acc); }
.chip input:checked + span { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.chip input:checked + span small { color: color-mix(in oklch, var(--acc-ink) 75%, transparent); }
.chip input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.chip input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.qb .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.qb .row small { color: var(--muted); font-size: .88rem; }

/* marquee */
.mq { overflow: hidden; padding-block: clamp(18px, 3vw, 34px); border-block: 1px solid var(--line); background: var(--bg); }
.mq-row { display: flex; width: max-content; gap: 0; animation: mq 38s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 44s; }
.mq-row span { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.15; padding-inline: .5em; white-space: nowrap; }
.mq-row span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px color-mix(in oklch, var(--acc) 80%, transparent); }
.mq-row span svg { width: .5em; height: .5em; vertical-align: middle; margin-left: 1em; color: var(--acc); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-row { animation: none; } }

/* service list with image that follows the pointer */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 28px; padding: clamp(18px, 2.4vw, 30px) 4px; text-decoration: none; position: relative; }
.svc b { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: clamp(1.9rem, 3.4vw + .4rem, 3.6rem); line-height: 1; transition: transform .6s var(--ease), color .3s; display: block; }
.svc span { color: var(--muted); grid-column: 1; max-width: 52ch; }
.svc em { font-style: normal; grid-row: 1 / span 2; grid-column: 2; font-weight: 650; color: var(--acc); white-space: nowrap; text-align: right; }
.svc em svg { width: 26px; height: 26px; display: block; margin: 6px 0 0 auto; transition: transform .5s var(--ease); }
.svc a:hover b { transform: translateX(14px); color: var(--acc); }
.svc a:hover em svg { transform: rotate(-45deg); }
.svc img.thumb { display: none; }
.svc-float { position: fixed; left: 0; top: 0; width: 260px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); pointer-events: none; z-index: 40; opacity: 0;
  transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 30px 60px -20px #000; }
.svc-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, -3deg)); }
@media (max-width: 700px), (hover: none) {
  .svc a { grid-template-columns: 64px 1fr auto; gap: 2px 14px; padding: 14px 2px; }
  .svc img.thumb { display: block; grid-row: 1 / span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
  .svc b { grid-column: 2; font-size: 1.55rem; }
  .svc span { grid-column: 2; font-size: .92rem; line-height: 1.35; }
  .svc em { grid-column: 3; font-size: .9rem; }
  .svc-float { display: none; }
}

/* scroll-lit words */
.lit { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: clamp(1.9rem, 3.6vw + .5rem, 4.2rem); line-height: 1.12; max-width: 22ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.lit span { color: color-mix(in oklch, var(--ink) 18%, transparent); transition: color .4s; }
.lit span.on { color: var(--ink); }
.lit span.hl.on { color: var(--acc); }

/* orbit: 3D ring of photos */
.orbit-wrap { position: relative; }
.orbit { height: clamp(330px, 46vw, 520px); perspective: 1400px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.orbit:active { cursor: grabbing; }
.orbit-in { position: relative; width: var(--ow, 220px); height: calc(var(--ow, 220px) * 1.33); margin: 0 auto; top: 50%; transform-style: preserve-3d; transform: translateY(-50%) translateZ(calc(var(--oz) * -1)) rotateX(-6deg) rotateY(var(--a, 0deg)); transition: transform 1s var(--ease); }
.orbit figure { position: absolute; inset: 0; margin: 0; transform: rotateY(calc(var(--i) * var(--st))) translateZ(var(--oz)); backface-visibility: hidden; border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 40px -18px #000; }
.orbit figure img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.orbit figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: .82rem; font-weight: 600; color: #fff; text-shadow: 0 1px 8px #000; }
.orbit-ctl { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.orbit-ctl button, .cf-ctl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2); cursor: pointer; display: grid; place-items: center; transition: border-color .3s, background .3s; }
.orbit-ctl button:hover, .cf-ctl button:hover { border-color: var(--acc); }
.orbit-ctl svg, .cf-ctl svg { width: 22px; height: 22px; }
@media (max-width: 700px) { .orbit-in { --ow: 150px; } .orbit { height: 300px; } }

/* coverflow */
.cf { height: clamp(360px, 44vw, 520px); perspective: 1200px; position: relative; overflow: hidden; touch-action: pan-y; }
.cf figure { position: absolute; left: 50%; top: 50%; width: clamp(200px, 26vw, 320px); aspect-ratio: 3/4; margin: 0; border-radius: var(--r); overflow: hidden; cursor: pointer;
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 62%)) translateZ(calc(var(--ad) * -180px)) rotateY(calc(var(--d) * -38deg)); transition: transform .8s var(--ease), opacity .6s, filter .6s;
  opacity: calc(1 - var(--ad) * .22); filter: brightness(calc(1 - var(--ad) * .25)); z-index: calc(10 - var(--ad)); box-shadow: 0 30px 50px -24px #000; }
.cf figure img { width: 100%; height: 100%; object-fit: cover; }
.cf figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, oklch(0% 0 0 / .7)); color: #fff; font-weight: 600; font-size: .9rem; }
.cf-ctl { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
@media (max-width: 700px) { .cf { height: 340px; } .cf figure { width: 200px; } }

/* tilt gallery + lightbox */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.gal button { all: unset; cursor: zoom-in; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 14px 30px -18px #000; }
.gal button:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.gal button img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal button:hover img { transform: scale(1.05); }
.gal button::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), oklch(100% 0 0 / .18), transparent 45%); opacity: 0; transition: opacity .3s; }
.gal button:hover::after { opacity: 1; }
.gal button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
@media (max-width: 800px) { .gal { grid-template-columns: repeat(3, 1fr); } .gal button:nth-child(5n+1) { grid-row: auto; aspect-ratio: 3/4; } .gal button:nth-child(n+10) { display: none; } }
@media (max-width: 520px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 6px; } .gal button { border-radius: 8px; } }
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; color: #fff; }
dialog.lb::backdrop { background: oklch(8% 0.01 0 / .88); backdrop-filter: blur(6px); }
dialog.lb figure { margin: 0; }
dialog.lb img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; }
dialog.lb p { text-align: center; margin: 10px 0 0; }
dialog.lb button { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid oklch(100% 0 0 / .3); background: oklch(0% 0 0 / .5); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* sticky stacked cards */
.stk { display: grid; gap: 0; }
.stk-c { position: sticky; top: calc(88px + var(--i) * 16px); min-height: 0; margin-bottom: 4vh; }
.stk-in { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: calc(var(--r) * 1.4); overflow: hidden; background: var(--card, var(--bg2)); border: 1px solid var(--line);
  box-shadow: 0 -10px 40px -20px #000; transform-origin: top center; transform: scale(var(--sc, 1)); transition: transform .2s linear; min-height: clamp(300px, 42vw, 440px); }
.stk-in img { width: 100%; height: 100%; object-fit: cover; }
.stk-t { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.stk-t b { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: clamp(3.4rem, 6vw, 5.8rem); line-height: .9; color: var(--acc); }
.stk-t h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); margin: .4em 0 .35em; }
.stk-t p { color: var(--muted); margin: 0; }
@media (max-width: 700px) { .stk-c { top: calc(70px + var(--i) * 10px); } .stk-in { grid-template-columns: 110px 1fr; min-height: 150px; } .stk-t { padding: 18px; } .stk-t b { font-size: 2.2rem; } .stk-t h3 { font-size: 1.3rem; margin: .2em 0; } .stk-t p { font-size: .92rem; line-height: 1.4; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.split.flip .sp-img { order: 2; }
.sp-img { perspective: 1000px; }
.sp-img img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r); transform: rotateX(var(--sx, 0deg)) rotateY(var(--sy, 0deg)); transition: transform .2s linear; box-shadow: 0 40px 70px -40px #000; }
.split h2 { margin-bottom: .45em; }
.split p { color: var(--muted); max-width: 48ch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 20px; } .split.flip .sp-img { order: 0; } .sp-img img { max-height: 46vh; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: clamp(14px, 2vw, 26px); counter-reset: st; }
.steps li { counter-increment: st; padding-top: 18px; border-top: 1px solid var(--acc); }
.steps li::before { content: counter(st); font-family: var(--fd); font-size: 2.6rem; line-height: 1; color: var(--acc); display: block; margin-bottom: 10px; }
.steps b { display: block; font-size: 1.2rem; margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; gap: 18px 14px; } .steps li::before { font-size: 2rem; } .steps p { font-size: .9rem; line-height: 1.4; } }

/* prices: centred lists */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 3vw, 36px); text-align: center; }
.pg h3 { font-size: 1.6rem; margin-bottom: .6em; color: var(--acc); }
.pg ul { list-style: none; margin: 0; padding: 0; }
.pg li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; justify-items: center; }
.pg li span { font-weight: 600; }
.pg li small { color: var(--muted); font-size: .86rem; }
.pg li b { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.pnote { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }

/* compare slider */
.cmp { position: relative; max-width: 520px; margin: 0 auto; aspect-ratio: 465/440; border-radius: var(--r); overflow: hidden; --p: 50%; touch-action: pan-y; box-shadow: 0 30px 60px -30px #000; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .after { clip-path: inset(0 0 0 var(--p)); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp .bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: var(--acc); transform: translateX(-1px); pointer-events: none; }
.cmp .bar::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; background: var(--acc); transform: translate(-50%, -50%); box-shadow: 0 6px 20px -6px #000; }
.cmp .tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: oklch(0% 0 0 / .55); color: #fff; font-size: .82rem; pointer-events: none; }
.cmp .tag.l { left: 12px; } .cmp .tag.r { right: 12px; }

/* memory */
.mem { text-align: center; }
.mem-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 14px); max-width: 620px; margin: 0 auto; }
.mem-board button { all: unset; cursor: pointer; aspect-ratio: 3/4; position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); border-radius: 12px; }
.mem-board button i, .mem-board button b { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; }
.mem-board button i { background-size: cover; background-position: center; transform: rotateY(180deg); }
.mem-board button b { display: grid; place-items: center; background: var(--memb, var(--bg2)); border: 1px solid color-mix(in oklch, var(--acc) 40%, transparent); color: var(--acc); font-family: var(--fd); font-size: 1.6rem; }
.mem-board button.open, .mem-board button.got { transform: rotateY(180deg); }
.mem-board button.got i { box-shadow: 0 0 0 2px var(--acc); }
.mem-board button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mem p[aria-live] { min-height: 1.6em; margin: 16px 0 6px; color: var(--muted); }
@media (max-width: 520px) { .mem-board { gap: 7px; } .mem-board button { aspect-ratio: 1; } }

/* booking form */
.book { max-width: 820px; margin: 0 auto; display: grid; gap: 26px; }
.book fieldset { border: 1px solid var(--line); border-radius: calc(var(--r) * 1.2); padding: clamp(18px, 3vw, 30px); margin: 0; background: color-mix(in oklch, var(--bg) 70%, transparent); }
.book legend { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: 1.5rem; padding: 0 8px; }
.book .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.book .chips + .chips { margin-top: 14px; }
.book .note { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid color-mix(in oklch, var(--ink) 25%, transparent); background: var(--bg); font-weight: 400; }
.fields textarea { min-height: 110px; resize: vertical; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in oklch, var(--acc) 30%, transparent); }
.fields ::placeholder { color: color-mix(in oklch, var(--ink) 55%, transparent); }
.hp { position: absolute; left: -9999px; }
.book-msg { padding: 14px 18px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); margin: 0; }
.book-msg.ok { border-color: oklch(70% .14 150); }
.book-msg.err { border-color: oklch(65% .2 25); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* info */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.info h3 { font-size: 1.4rem; margin-bottom: .6em; color: var(--acc); }
.info table { border-collapse: collapse; width: 100%; }
.info td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info td + td { text-align: right; color: var(--muted); padding-left: 12px; }
.info address { font-style: normal; }
.info .note { color: var(--muted); font-size: .88rem; margin-top: 12px; }
@media (max-width: 800px) { .info { grid-template-columns: 1fr; } }

/* subpage head */
.ph { padding: clamp(100px, 13vw, 170px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.ph .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 70px); align-items: end; }
.ph h1 { font-size: var(--ph1, clamp(2.8rem, 5.6vw + .4rem, 5.6rem)); }
.ph .lead { margin-top: .9rem; }
.ph-art { position: relative; justify-self: end; width: min(100%, 360px); }
.ph-art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 760px) {
  .ph { padding: 84px 0 30px; }
  .ph .wrap { grid-template-columns: 1fr 112px; align-items: center; gap: 16px; }
  .ph h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .ph .lead { font-size: 1rem; }
  .ph .actions { margin-top: 1rem; }
}

/* closer */
.closer { text-align: center; padding-block: clamp(80px, 12vw, 160px); position: relative; overflow: hidden; }
.closer h2 { font-size: var(--ch2, clamp(2.6rem, 6vw, 5.6rem)); max-width: 16ch; margin: 0 auto .35em; }
.closer .lead { margin: 0 auto; }
.closer .actions { justify-content: center; }

/* footer */
.foot { background: var(--bg2); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 90px) 0 28px; }
.foot .mast { font-family: var(--fd); font-weight: var(--fdw, 400); font-size: clamp(3.4rem, 13vw, 11rem); line-height: .85; margin: 0 0 clamp(26px, 4vw, 46px); color: var(--acc); letter-spacing: var(--fdt, -0.02em); white-space: nowrap; overflow: hidden; }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcols h2 { font-family: var(--fb); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fcols a { text-decoration: none; }
.fcols a:hover { color: var(--acc); }
.fcols address { font-style: normal; }
.foot small { display: block; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
@media (max-width: 760px) { .fcols { grid-template-columns: 1fr 1fr; gap: 22px 16px; font-size: .95rem; } }
.legal { max-width: 68ch; }
.legal h2 { font-size: 2rem; margin: 1.4em 0 .5em; }


.mh .btn { font-weight: 800; }

/* hero: the passport on the desk */
.desk { min-height: 100svh; padding: 92px var(--gut) 28px; display: grid; place-items: center; perspective: 2000px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, oklch(22% 0.05 262), var(--bg) 75%); overflow: hidden; }
.pass { position: relative; width: min(1120px, 100%); display: grid; grid-template-columns: 1fr 1fr; transform-style: preserve-3d;
  transform: rotateX(calc(6deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease); filter: drop-shadow(0 50px 60px oklch(0% 0 0 / .6)); }
.leaf { position: relative; padding: clamp(22px, 3vw, 40px); min-height: min(640px, calc(100svh - 140px)); overflow: hidden;
  background: repeating-radial-gradient(circle at 0% 100%, transparent 0 13px, oklch(72% 0.18 350 / .07) 13px 14px), repeating-radial-gradient(circle at 100% 0%, transparent 0 17px, oklch(74% 0.12 235 / .07) 17px 18px), var(--page); }
.leaf.l { border-radius: 18px 4px 4px 18px; box-shadow: inset -30px 0 40px -30px oklch(0% 0 0 / .8); }
.leaf.r { border-radius: 4px 18px 18px 4px; box-shadow: inset 30px 0 40px -30px oklch(0% 0 0 / .8); display: flex; flex-direction: column; }
.leaf .kop { display: flex; align-items: center; gap: 10px; font-family: var(--fm); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.leaf .kop svg { width: 18px; height: 18px; color: var(--acc); }
.leaf h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: .95; margin: 14px 0 18px; }
.leaf h1 em { font-style: normal; color: var(--acc); }
.idrow { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 20px; align-items: start; }
.idphoto { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px oklch(80% 0.05 260 / .4), 0 14px 24px -12px #000; }
.idphoto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.idphoto .seal { position: absolute; right: -14px; bottom: -14px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid oklch(74% 0.12 235 / .8); color: oklch(74% 0.12 235 / .85);
  display: grid; place-items: center; transform: rotate(-14deg); background: oklch(20% 0.04 262 / .35); }
.idphoto .seal svg { width: 30px; height: 30px; }
.fields-p { display: grid; gap: 10px; margin: 0; }
.fields-p div { display: grid; gap: 1px; }
.fields-p dt { font-family: var(--fm); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fields-p dd { margin: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.fields-p a { text-decoration: none; }
.mrz { position: absolute; left: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); bottom: 18px; font-family: var(--fm); font-size: clamp(.62rem, .95vw, .9rem); letter-spacing: .14em; color: oklch(85% 0.02 260 / .55); line-height: 1.5; white-space: nowrap; overflow: hidden; }
.stamps { position: relative; flex: 1; min-height: 210px; }
.stamp { position: absolute; left: var(--x); top: var(--y); padding: .45em .9em; border: 3px double currentColor; border-radius: 10px; font-family: var(--fm); font-size: clamp(.8rem, 1.2vw, 1rem); letter-spacing: .14em; text-transform: uppercase;
  color: var(--c); transform: rotate(var(--rt)) scale(1.8); opacity: 0; mix-blend-mode: screen; text-align: center; line-height: 1.2; }
.stamp b { display: block; font-family: var(--fd); font-weight: 400; font-size: 1.5em; letter-spacing: 0; text-transform: none; }
.stamp.round { border-radius: 50%; width: 9em; height: 9em; display: grid; place-content: center; padding: 0; }
.pass.open .stamp { animation: stampin .5s cubic-bezier(.2, 1.4, .4, 1) forwards; animation-delay: calc(1.1s + var(--i) * .22s); }
@keyframes stampin { to { transform: rotate(var(--rt)) scale(1); opacity: .9; } }
.leaf.r .qb { margin-top: 12px; position: relative; z-index: 2; }
.leaf.r .qb legend { font-family: var(--fm); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.cover { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: 0 50%; transform: rotateY(0deg); transition: transform 1.4s cubic-bezier(.6, .05, .2, 1) .25s; transform-style: preserve-3d; z-index: 10; }
.cover > div { position: absolute; inset: 0; border-radius: 4px 18px 18px 4px; backface-visibility: hidden; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center;
  background: radial-gradient(ellipse at 40% 30%, oklch(30% 0.08 350), oklch(20% 0.06 350)); box-shadow: inset 0 0 0 10px oklch(18% 0.05 350), inset 0 0 0 11px oklch(80% 0.08 80 / .4); }
.cover > div.in { transform: rotateY(180deg); background: var(--page); box-shadow: none; }
.cover .foil { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--fd); font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: .12em; }
.cover svg { width: 90px; height: 90px; color: #d9b56f; }
.cover small { font-family: var(--fm); letter-spacing: .3em; color: #d9b56f; font-size: .75rem; }
.pass.open .cover { transform: rotateY(-180deg); }
.pass.open .cover { pointer-events: none; visibility: hidden; transition: transform 1.4s cubic-bezier(.6, .05, .2, 1) .25s, visibility 0s 1.7s; }
@media (prefers-reduced-motion: reduce) { .cover { display: none; } .stamp { opacity: .9; transform: rotate(var(--rt)); } }
@media (max-width: 860px) {
  .desk { padding: 66px 10px 12px; place-items: start center; }
  .pass { grid-template-columns: 1fr; transform: none; }
  .leaf { min-height: 0; padding: 14px 16px; }
  .leaf.l { border-radius: 16px 16px 4px 4px; box-shadow: inset 0 -30px 40px -30px oklch(0% 0 0 / .8); padding-bottom: 34px; }
  .leaf.r { border-radius: 4px 4px 16px 16px; box-shadow: inset 0 30px 40px -30px oklch(0% 0 0 / .8); }
  .leaf h1 { font-size: 2.3rem; margin: 8px 0 10px; }
  .idrow { grid-template-columns: 104px 1fr; gap: 14px; }
  .idphoto .seal { width: 46px; height: 46px; right: -8px; bottom: -8px; } .idphoto .seal svg { width: 20px; height: 20px; }
  .fields-p { gap: 5px; } .fields-p dd { font-size: .9rem; } .fields-p dt { font-size: .6rem; }
  .fields-p .opt { display: none; }
  .mrz { bottom: 10px; font-size: .58rem; left: 16px; right: 16px; }
  .mrz span + br, .mrz span:last-child { display: none; }
  .stamps { min-height: 128px; }
  .stamp { font-size: .62rem; }
  .stamp.round { width: 8em; height: 8em; }
  .leaf.r .qb { margin-top: 4px; }
  .leaf.r .qb legend { display: none; }
  .mh .chip span { min-height: 40px; padding: .35em .8em; font-size: .86rem; }
  .cover { left: 0; width: 100%; top: 50%; bottom: 0; transform-origin: 50% 0; }
  .cover > div { border-radius: 4px 4px 16px 16px; }
  .cover > div.in { transform: rotateX(180deg); }
  .pass.open .cover { transform: rotateX(180deg); }
}

.mh .svc b { color: var(--ink); }
.mh .svc a:hover b { color: var(--acc); }
.mh .svc em { color: var(--acc2); }
.mh .stk-in, .mh .book fieldset { background: repeating-radial-gradient(circle at 0% 100%, transparent 0 13px, oklch(72% 0.18 350 / .06) 13px 14px), var(--page); }
.mh .stk-t b, .mh .steps li::before { color: var(--acc2); }
.mh .pg h3, .mh .info h3 { color: var(--acc2); }
.mh .mem-board button b svg { width: 46%; height: 46%; color: var(--acc); }
.mh .mem-board button b { background: radial-gradient(ellipse at 40% 30%, oklch(30% 0.08 350), oklch(20% 0.06 350)); }
.mh .ph-art img { border-radius: 12px; border: 10px solid var(--page); box-shadow: 0 30px 50px -24px #000; }
.mh .ph-art::after { content: "GEPFLEGT"; position: absolute; right: -12px; bottom: 18px; padding: .3em .7em; border: 3px double var(--acc); border-radius: 8px; color: var(--acc); font-family: var(--fm); letter-spacing: .14em; font-size: .8rem; transform: rotate(-12deg); }
.mh .ph-art { transform: perspective(900px) rotate(3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.mh .ph { background: radial-gradient(ellipse 50% 70% at 85% 40%, oklch(22% 0.05 262), transparent 70%); }
.mh .closer { background: radial-gradient(ellipse 70% 80% at 50% 100%, oklch(24% 0.07 350 / .6), var(--bg) 70%); }
@media (max-width: 760px) { .mh .ph-art { width: 112px; } .mh .ph-art img { border-width: 5px; } .mh .ph-art::after { font-size: .55rem; right: -8px; } }
