/* Wakz – ski- en snowboardonderhoud, Oud Gastel */

@font-face {
  font-family: "Anybody";
  src: url("/fonts/anybody-italic.woff") format("woff");
  font-weight: 500 900;
  font-stretch: 50% 150%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --nacht: #121b3d;
  --navy: #243665;
  --navy-2: #31468a;
  --sneeuw: #f4f7fb;
  --ijs: #dde6f2;
  --oranje: #ec8b5e;
  --geel: #ecc037;
  --vuur: linear-gradient(100deg, #ec8b5e 0%, #ecc037 100%);
  --ink: #18224a;
  --muted: #4f5a84;
  --line: rgba(24, 34, 74, .16);
  --line-ui: #7d87a8; /* form-control edges: 3:1 against white and snow */

  --display: "Anybody", "Arial Black", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --slope: clamp(28px, 5vw, 84px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .75, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--sneeuw);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
:is(.on-dark, .hero, .page-hero, .site-header, .site-footer, .callout, .summary, .nav) :focus-visible { outline-color: var(--geel); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--geel); color: var(--nacht); padding: .6em 1em; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display, .h2, .rung-price, .step-num, .hero-tag, .page-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
}
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: .94;
  letter-spacing: -.01em;
  font-variation-settings: "wdth" 122;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1;
  font-variation-settings: "wdth" 118;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 36rem; }
.muted { color: var(--muted); }

/* ---------- buttons: skewed like the logo's slant ---------- */
.btn {
  --skew: -12deg;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.55em;
  font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: .01em;
  text-decoration: none; border: 0; cursor: pointer;
  transform: skewX(var(--skew));
  transition: transform .25s var(--ease), background-position .4s var(--ease), box-shadow .25s var(--ease);
}
.btn > * , .btn > .t { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-fire {
  color: var(--nacht);
  background: linear-gradient(100deg, #ec8b5e 0%, #ecc037 55%, #ec8b5e 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -12px rgba(236, 139, 94, .7);
}
.btn-fire:hover { background-position: 100% 0; transform: skewX(var(--skew)) translateX(3px); }
.btn-line { color: inherit; background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }
.btn-navy { color: #fff; background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-sm { padding: .7em 1.15em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; margin-top: 2rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 78px; }
.site-header.is-solid {
  background: rgba(18, 27, 61, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav a:not(.btn) {
  position: relative; padding: .55em .8em; text-decoration: none; font-weight: 600; font-size: .98rem;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 3px;
  background: var(--vuur); transform: scaleX(0) skewX(-20deg); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1) skewX(-20deg); }
.nav .btn { margin-left: .8rem; }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: #fff;
}
.menu-toggle svg { width: 30px; height: 30px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-menu { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem;
    padding: 90px var(--gutter) 40px;
    background: var(--nacht);
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path .5s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
  .nav a:not(.btn) {
    font-family: var(--display); font-style: italic; font-weight: 900;
    font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.05; padding: .1em 0;
    font-variation-settings: "wdth" 130;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 1.6rem 0 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; transform: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  color: #fff;
  background: var(--nacht);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slope)));
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform-origin: 50% 35%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(15deg, rgba(18, 27, 61, .95) 0%, rgba(18, 27, 61, .7) 32%, rgba(18, 27, 61, .1) 62%, rgba(18, 27, 61, 0) 75%),
    linear-gradient(180deg, rgba(18, 27, 61, .55) 0%, rgba(18, 27, 61, 0) 22%);
}
.hero-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding-top: 110px; padding-bottom: calc(var(--slope) + clamp(2.5rem, 6vh, 4.5rem));
}
.hero-tag {
  margin: 0 0 .35em;
  font-size: clamp(2.6rem, 8.4vw, 9.2rem);
  line-height: .84;
  white-space: nowrap;
  letter-spacing: -.015em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 150;
}
.hero-tag > span { display: block; }
.hero-tag > span + span { padding-left: .4em; }
@media (max-width: 640px) {
  .hero-tag { font-size: 15.5vw; }
  .hero-tag > span > span { display: block; padding-left: .4em; }
}
.hero h1 {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 700; letter-spacing: .005em; line-height: 1.25;
  margin-bottom: .6rem;
}
.hero .lead { color: rgba(255, 255, 255, .88); margin: 0; }
.hero-status {
  position: absolute; z-index: 2; right: var(--gutter); top: 104px;
  display: flex; align-items: center; gap: .6em;
  padding: .55em 1em; font-size: .92rem; font-weight: 600; text-decoration: none;
  background: rgba(18, 27, 61, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  transform: skewX(-12deg);
}
.hero-status > span { display: inline-block; transform: skewX(12deg); }
.dot { width: .6em; height: .6em; border-radius: 50%; background: #9aa6c9; flex: none; }
.is-open .dot { background: #57e39a; box-shadow: 0 0 0 0 rgba(87, 227, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(87, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(87, 227, 154, 0); } }

/* hero entrance: the one orchestrated moment */
.js .hero-media img, .js .hero-media video { transform: scale(1.16); }
.js .hero-tag > span { font-variation-settings: "wdth" 50; opacity: 0; transform: translateX(-8vw) skewX(-14deg); }
.js .hero-copy { transform: translateY(18px); }
.hero-go .hero-media img, .hero-go .hero-media video { transform: scale(1.02); transition: transform 3.2s cubic-bezier(.15, .8, .2, 1); }
.hero-go .hero-tag > span {
  font-variation-settings: "wdth" 150; opacity: 1; transform: none;
  transition: font-variation-settings 1.1s var(--ease), transform .9s var(--ease), opacity .25s linear;
}
.hero-go .hero-tag > span + span { transition-delay: .09s; }
.hero-go .hero-copy { transform: none; transition: transform .8s .45s var(--ease); }

/* intro overlay: snow spray that clears to reveal the hero */
html.intro-on body::before {
  content: ""; position: fixed; inset: 0; z-index: 98; background: #fff;
}
html.intro-live body::before { display: none; }
.intro {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 99; pointer-events: auto; cursor: pointer;
  transition: opacity .35s linear;
}
.intro.is-done { opacity: 0; pointer-events: none; }

/* ---------- ticker ---------- */
.ticker-wrap {
  position: relative; z-index: 3; overflow: hidden; pointer-events: none;
  padding: 2.5rem 0; margin: calc(var(--slope) * -0.5 - 2.5rem - 6px) 0 -2.5rem;
}
.ticker {
  position: relative;
  background: var(--vuur);
  color: var(--nacht);
  transform: rotate(-2.2deg) scale(1.04);
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(18, 27, 61, .55);
}
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker-item {
  display: flex; align-items: center; gap: .55em; padding: .4em .8em;
  font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem); line-height: 1.1;
  font-variation-settings: "wdth" 140; white-space: nowrap;
}
.ticker-item svg { width: .7em; height: .7em; flex: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 50rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.15rem; max-width: 36rem; }
.on-dark { background: var(--nacht); color: #fff; }
.on-dark .section-head p, .on-dark .muted { color: rgba(255, 255, 255, .72); }
.slope-top { clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slope) * -1); padding-top: calc(clamp(4.5rem, 10vw, 8.5rem) + var(--slope)); }
.slope-both { clip-path: polygon(0 0, 100% var(--slope), 100% 100%, 0 calc(100% - var(--slope))); }
.on-ice { background: var(--ijs); }

/* ---------- price ladder ---------- */
.ladder { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rung {
  position: relative;
  display: grid; grid-template-columns: minmax(13rem, 1.05fr) 1.6fr auto; gap: 1rem 2.5rem; align-items: center;
  padding: 2rem 0 2.2rem;
  border-bottom: 2px solid var(--ink);
}
.rung::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 7px; width: var(--fill, 33%);
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.rung:nth-child(1) { --fill: 34%; }
.rung:nth-child(2) { --fill: 67%; }
.rung:nth-child(3) { --fill: 100%; }
.rung-top::after { background: var(--vuur); }
.rung-name p { margin: .5rem 0 0; color: var(--muted); }
.rung-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rung-list li {
  padding: .35em .8em; font-weight: 600; font-size: .95rem; line-height: 1.3;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.rung-price {
  margin: 0; font-size: clamp(3.4rem, 7vw, 5.8rem); line-height: .8; letter-spacing: -.02em;
  font-variation-settings: "wdth" 112; text-align: right; white-space: nowrap;
}
.rung-price small { font-size: .42em; vertical-align: .95em; margin-right: .06em; }
.badge {
  display: inline-block; margin-left: .5rem; padding: .25em .7em; vertical-align: .2em;
  font: 700 .78rem/1.2 var(--body); letter-spacing: .02em; color: var(--nacht);
  background: var(--vuur); transform: skewX(-12deg);
}
.price-note { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.price-note p { margin: 0; max-width: 40rem; }

@media (max-width: 860px) {
  .rung { grid-template-columns: 1fr auto; column-gap: 1.2rem; }
  .rung-list { grid-column: 1 / -1; grid-row: 2; }
  .rung-price { grid-row: 1; grid-column: 2; }
}
@media (max-width: 420px) {
  .rung .h3 { font-variation-settings: "wdth" 100; }
  .rung-price { font-size: 3rem; }
}

/* ---------- edge bevel explainer ---------- */
.bevel { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.bevel-figure { margin: 0; }
.bevel-figure svg { width: 100%; height: auto; overflow: hidden; }
.bevel-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 1.2rem; }
.seg {
  min-width: 5.2rem; padding: .7em 1.1em; font-weight: 700; cursor: pointer;
  color: #fff; background: transparent; border: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  transform: skewX(-12deg); transition: background .2s, box-shadow .2s, color .2s;
}
.seg span { display: inline-block; transform: skewX(12deg); }
.seg:hover { box-shadow: inset 0 0 0 2px #fff; }
.seg[aria-pressed="true"] { background: var(--vuur); color: var(--nacht); box-shadow: none; }
.bevel-caption { min-height: 3.2em; font-size: 1.15rem; margin: 0; }
.bevel-caption strong { color: var(--geel); }
.fig-note { font-size: .88rem; color: rgba(255, 255, 255, .6); margin-top: .8rem; }
@media (max-width: 860px) { .bevel { grid-template-columns: 1fr; } }

/* ---------- by hand ---------- */
.hand { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.hand-photo { position: relative; margin: 0; }
.hand-photo img {
  width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.hand-photo figcaption {
  position: absolute; left: 1rem; bottom: 1.6rem; padding: .4em .8em; font-weight: 600; font-size: .9rem;
  background: var(--nacht); color: #fff; transform: skewX(-12deg);
}
.hand-photo figcaption span { display: inline-block; transform: skewX(12deg); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.facts li { padding-left: 1.4rem; position: relative; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .55rem; height: .9rem;
  background: var(--vuur); transform: skewX(-18deg);
}
.facts strong { display: block; font-size: 1.12rem; }
.facts span { color: var(--muted); }
@media (max-width: 860px) { .hand { grid-template-columns: 1fr; } }

/* ---------- repairs & clinics split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.panel {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(420px, 48vw, 560px); padding: clamp(1.4rem, 3vw, 2.4rem);
  color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  background: var(--navy);
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 27, 61, .94) 0%, rgba(18, 27, 61, .55) 45%, rgba(18, 27, 61, .05) 75%); }
.panel:hover img { transform: scale(1.05); }
.panel .h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .8rem; }
.panel p { max-width: 30rem; color: rgba(255, 255, 255, .86); }
.panel .more { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; margin-top: .4rem; }
.panel .more svg { width: 1.2em; height: 1.2em; transition: transform .3s var(--ease); }
.panel:hover .more svg { transform: translateX(5px); }
.panel-price { position: absolute; top: clamp(1.2rem, 3vw, 2rem); right: clamp(1.2rem, 3vw, 2rem); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- steps on a slope ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; z-index: -1; top: 2.3rem; left: 5.1rem; width: calc(100% + 2rem - 5.4rem); height: 4.5rem;
  background: linear-gradient(to top right, transparent calc(50% - 1.5px), rgba(24, 34, 74, .4) calc(50% - 1.5px), rgba(24, 34, 74, .4) calc(50% + 1.5px), transparent calc(50% + 1.5px));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 21px);
  mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 21px);
}
.step { position: relative; z-index: 1; }
.step:nth-child(2) { margin-top: 4.5rem; }
.step:nth-child(3) { margin-top: 9rem; }
.step-num {
  display: inline-grid; place-items: center; width: 4.6rem; height: 4.6rem; margin-bottom: 1.1rem;
  font-size: 2.6rem; line-height: 1; color: #fff; background: var(--navy);
  font-variation-settings: "wdth" 100; transform: skewX(-12deg);
}
.step-num span { transform: skewX(12deg); display: block; }
.step:nth-child(3) .step-num { background: var(--vuur); color: var(--nacht); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); max-width: 22rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .step:not(:last-child)::after { display: none; }
  .step:nth-child(n) { margin-top: 0; }
}

/* ---------- Koen ---------- */
.koen { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.koen-photo { position: relative; margin: 0; }
.koen-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); }
.koen-photo::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 30%; z-index: -1;
  background: var(--vuur); transform: skewX(-12deg);
}
.koen blockquote { margin: 0; }
.koen .quote {
  font-family: var(--display); font-style: italic; font-weight: 700; font-variation-settings: "wdth" 104;
  font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; margin-bottom: 1.4rem; text-wrap: balance;
}
@media (max-width: 860px) { .koen { grid-template-columns: 1fr; } .koen-photo { max-width: 420px; } }

/* ---------- visit / hours ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.hours { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 1.05rem;
}
.hours li span:last-child { color: rgba(255, 255, 255, .7); }
.hours .open-day span:last-child { color: var(--geel); font-weight: 700; }
.hours .is-today { font-weight: 700; }
.hours .is-today span:first-child::after { content: " (vandaag)"; font-weight: 400; color: rgba(255, 255, 255, .6); }
.status-line { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 1.1rem; margin: 0 0 1.4rem; }
.address { font-style: normal; font-size: 1.25rem; line-height: 1.45; margin: 1.2rem 0 1.6rem; }
.contact-lines { display: grid; gap: .6rem; margin-top: 1.8rem; }
.contact-lines a { display: inline-flex; align-items: center; gap: .7em; font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-lines svg { width: 1.3em; height: 1.3em; flex: none; }
.visit-photo { position: relative; margin: 2.2rem 0 0; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%); }
.visit-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .4em .8em; font-weight: 600; font-size: .9rem;
  background: var(--nacht); color: #fff; transform: skewX(-12deg);
}
.visit-photo figcaption span { display: inline-block; transform: skewX(12deg); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer {
  position: relative; background: var(--nacht); color: rgba(255, 255, 255, .78);
  padding: calc(var(--slope) + 4rem) 0 2.5rem;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slope) * -1);
}
main:has(> section.on-dark:last-child) + .site-footer { margin-top: 0; clip-path: none; padding-top: 4rem; }
main:has(> section.on-dark:last-child) + .site-footer > .wrap { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font: 700 .95rem/1.3 var(--body); color: #fff; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand img { width: 190px; margin-bottom: 1.2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- subpages ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--nacht); overflow: hidden; isolation: isolate;
  padding: calc(78px + clamp(3rem, 9vw, 7rem)) 0 calc(var(--slope) + clamp(3rem, 7vw, 5.5rem));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slope)));
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(18, 27, 61, .96) 10%, rgba(18, 27, 61, .55) 60%, rgba(18, 27, 61, .25)); }
.page-title {
  font-size: clamp(2.8rem, 8.5vw, 7rem); line-height: .86; letter-spacing: -.015em;
  font-variation-settings: "wdth" 140; text-wrap: balance; margin-bottom: 1.4rem;
}
.page-title .title-sub {
  display: block; margin-top: .55em;
  font-family: var(--body); font-style: normal; font-weight: 700; font-variation-settings: normal;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1.25; letter-spacing: 0;
  color: rgba(255, 255, 255, .86);
}
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.crumbs { font-size: .92rem; margin-bottom: 1.2rem; color: rgba(255, 255, 255, .7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { max-width: 44rem; }
.prose h2 { margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose .h3 { margin: 1.9rem 0 .55rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.5vw, 1rem); }
.photo-row img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-row img:nth-child(2) { transform: translateY(1.5rem); }
@media (max-width: 600px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row img:nth-child(3) { display: none; } .photo-row img:nth-child(2) { transform: none; } }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 italic 1.8rem/1 var(--display); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; margin: 0; max-width: 42rem; color: var(--muted); }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  padding: clamp(1.6rem, 4vw, 2.8rem); background: var(--navy); color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.callout .h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.callout p { margin: .6rem 0 0; color: rgba(255, 255, 255, .78); max-width: 34rem; }

.price-range {
  display: inline-block; font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: .9; font-variation-settings: "wdth" 104; letter-spacing: -.02em; white-space: nowrap;
}

/* ---------- planner (contact) ---------- */
.planner { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.planner fieldset { border: 0; margin: 0 0 2rem; padding: 0; }
.planner legend { font-weight: 700; font-size: 1.12rem; margin-bottom: .8rem; padding: 0; }
.planner .hint { font-weight: 400; color: var(--muted); font-size: .95rem; }
.counter-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .8rem .8rem .8rem 1.1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line-ui);
}
.counter label { font-weight: 700; }
.counter-ctrl { display: flex; align-items: center; gap: .3rem; }
.counter-ctrl button {
  width: 2.4rem; height: 2.4rem; border: 0; cursor: pointer; font-size: 1.3rem; font-weight: 700; line-height: 1;
  background: var(--ijs); color: var(--ink);
}
.counter-ctrl button:hover { background: var(--navy); color: #fff; }
.counter-ctrl input {
  width: 2.6rem; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 1.15rem;
  -moz-appearance: textfield; appearance: textfield;
}
.counter-ctrl input::-webkit-outer-spin-button, .counter-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: .15rem; height: 100%;
  padding: .85rem 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line-ui); cursor: pointer;
  transition: box-shadow .15s, background .15s;
}
.choice b { font-size: 1.02rem; }
.choice small { color: var(--muted); font-size: .9rem; }
.choice input:hover + span { box-shadow: inset 0 0 0 2px var(--navy); }
.choice input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.choice input:checked + span small { color: rgba(255, 255, 255, .75); }
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-ui); border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 0; }
.field textarea { min-height: 7rem; resize: vertical; }
.summary {
  position: sticky; top: 100px; padding: clamp(1.4rem, 3vw, 2rem); background: var(--nacht); color: #fff;
}
.summary h2 { margin-bottom: 1.2rem; }
.summary dl { margin: 0 0 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; }
.summary dt { color: rgba(255, 255, 255, .62); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); margin-bottom: 1.4rem; }
.summary .total strong { font: 900 italic 2.4rem/1 var(--display); font-variation-settings: "wdth" 110; }
.summary .btn { width: 100%; }
.summary .small { font-size: .88rem; color: rgba(255, 255, 255, .62); margin: 1rem 0 0; }
.form-error { color: #b3261e; font-weight: 700; margin: 0 0 1rem; }
.summary .form-error { color: #ffb4a8; }
@media (max-width: 900px) { .planner { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .counter-row { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: left; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero-media img, .js .hero-media video { transform: none; }
  .js .hero-tag > span, .js .hero-copy { opacity: 1; transform: none; font-variation-settings: "wdth" 150; }
}
