/* Beate's Bügeleck — site styles
   Brand tokens come from the business card and the price list (see docs/BUILD.md). */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Merriweather";
  src: url("/assets/fonts/merriweather.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --navy-900: #0A3360;
  --navy: #104574;
  --navy-hover: #0C3963;
  --blue-500: #37628A;
  --blue-200: #B0CBE4;
  --blue-100: #DCEAF6;
  --blue-50: #EEF5FB;
  --sand-300: #E6D0B1;
  --sand-100: #F6ECDD;
  --sand-50: #FAF3E8;
  --gold: #C29A66;
  --ink: #0F2440;
  --ink-soft: #44566E;
  --paper: #FDFCF9;
  --white: #FFFFFF;
  --line: rgba(16, 69, 116, 0.12);
  --open: #1F7A4D;
  --closed: #9A6A2B;

  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-script: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 51, 96, 0.06), 0 2px 8px rgba(10, 51, 96, 0.06);
  --shadow: 0 2px 6px rgba(10, 51, 96, 0.06), 0 12px 32px rgba(10, 51, 96, 0.10);
  --shadow-lg: 0 6px 16px rgba(10, 51, 96, 0.08), 0 24px 60px rgba(10, 51, 96, 0.16);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  --header-h: 72px;
  --bar-h: 64px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy-hover); }

strong { font-weight: 700; }

address { font-style: normal; }

ul, ol { padding: 0; margin: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.script {
  font-family: var(--font-script);
  font-weight: 700;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(16, 69, 116, 0.25);
}
.btn-primary:hover { background: var(--navy-hover); color: var(--white); box-shadow: 0 8px 22px rgba(16, 69, 116, 0.32); }
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--blue-200);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { min-height: 56px; padding-inline: 1.6em; font-size: 1.125rem; }
.btn-sm { min-height: 44px; padding: 0.4em 1em; font-size: 1rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 249, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 51, 96, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; margin-right: auto; padding: 6px 0; border-radius: 8px; }
.brand-logo { height: 54px; width: auto; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.main-nav a:hover { background: var(--blue-50); color: var(--navy); }
.main-nav a[aria-current="true"] { color: var(--navy); background: var(--blue-100); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--blue-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1099px) {
  .js .menu-toggle { display: inline-flex; }
  .btn-header-call { display: none; }
  .js .main-nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(10, 51, 96, 0.12);
    padding: 8px var(--gutter) 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .js .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s;
  }
  .js .main-nav ul { flex-direction: column; gap: 2px; }
  .js .main-nav a { min-height: 52px; font-size: 1.2rem; width: 100%; padding: 0 14px; border-radius: 14px; }
  /* Without JS the nav simply wraps below the logo. */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .main-nav ul { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .brand-logo { height: 42px; }
  .menu-toggle-label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(24px, 5vw, 64px);
  padding-bottom: clamp(72px, 10vw, 120px);
  background:
    radial-gradient(60% 55% at 85% 30%, rgba(220, 234, 246, 0.75), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(246, 236, 221, 0.8), transparent 70%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero-greeting {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  color: var(--blue-500);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.hero h1 {
  font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin-bottom: 0.5em;
}
.hero-promise {
  display: block;
  margin-top: 0.18em;
  font-size: 0.74em;
  color: var(--navy);
  line-height: 1.15;
}
.brush {
  display: inline;
  padding: 0.02em 0.32em 0.08em;
  margin-left: -0.2em;
  background-image: url("/assets/img/brush.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lead {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 16px 6px 12px;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-200);
  flex: none;
}
.status.is-open .status-dot { background: var(--open); box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.15); }
.status.is-closed .status-dot { background: var(--closed); }

.hero .cta-row { margin-bottom: 1.75rem; }

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
}
.hero-benefits li { display: inline-flex; align-items: center; gap: 8px; }
.hero-benefits .icon { color: var(--blue-500); }

.hero-media {
  position: relative;
  margin: 0 auto;
  width: min(100%, 440px);
  padding: 0 0 28px;
}
.arch {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--blue-100);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.doodle {
  position: absolute;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.doodle-heart-1 { width: 64px; height: 60px; top: -6px; right: -8px; transform: rotate(12deg); z-index: 2; }
.doodle-heart-2 { width: 38px; height: 36px; top: 46px; right: 52px; transform: rotate(-14deg); opacity: 0.8; }
.doodle-swirl { width: 170px; height: 92px; left: -70px; top: 38%; stroke-width: 2; opacity: 0.9; }

.doodle-heart-2 { z-index: 2; }

@media (max-width: 959px) {
  .doodle-swirl { display: none; }
  .hero-media { width: min(88%, 400px); }
}

.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
}
.wave-sand { fill: var(--sand-300); opacity: 0.55; }
.wave-blue { fill: var(--blue-50); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px);
}
.section-soft { background: var(--blue-50); }
.section-warm { background: var(--sand-50); }

.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}
.section-head p:not(.kicker) { color: var(--ink-soft); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.kicker::before,
.kicker::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.split-text .kicker::before { display: none; }

/* Split: text + photos */
.split {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
}
.split-text h2 { margin-bottom: 0.6em; }

.feature-list { display: grid; gap: 18px; margin: 1.5rem 0; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.feature-list strong { display: block; color: var(--navy); font-size: 1.1rem; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature-list sup a { text-decoration: none; font-weight: 700; padding: 0 2px; }

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sand-100);
  border: 1px solid rgba(194, 154, 102, 0.35);
}
.callout .icon { width: 26px; height: 26px; color: var(--navy); margin-top: 2px; }

.fineprint { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--ink-soft); }

.split-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}
.photo-card { margin: 0; }
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.photo-card figcaption {
  margin-top: 10px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--blue-500);
  text-align: center;
}
.photo-offset { margin-top: 56px; }

/* Steps */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sand-300);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy);
}
.step-icon .icon { width: 26px; height: 26px; }
.step p { color: var(--ink-soft); }
.step .text-link { margin-top: 4px; font-size: 1.15rem; }

/* ---------- Prices ---------- */
.price-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.price-card {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.tone-blue { background: var(--blue-100); }
.tone-white { background: var(--white); border-color: rgba(194, 154, 102, 0.3); }
.price-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.price-card h4 { margin: 0; font-size: 1.2rem; }
.price-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  flex: none;
}
.price-icon .icon { width: 26px; height: 26px; }

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  font-size: 1.0625rem;
}
.pl-name { color: var(--ink); }
.pl-dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted rgba(16, 69, 116, 0.35);
  transform: translateY(-0.28em);
}
.pl-price {
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-download { margin-top: 20px; text-align: center; }

/* Estimator */
.estimator {
  margin-top: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.estimator > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.estimator > summary::-webkit-details-marker { display: none; }
.estimator > summary > span:nth-child(2) { flex: 1; display: grid; }
.estimator > summary strong { color: var(--navy); font-size: 1.15rem; }
.estimator-summary-sub { color: var(--ink-soft); font-size: 1rem; }
.estimator-summary-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy);
}
.estimator-chevron { color: var(--navy); transition: transform var(--dur) var(--ease-out); }
.estimator[open] .estimator-chevron { transform: rotate(90deg); }

.estimator-body { padding: 4px 20px 20px; }
.estimator-group {
  margin: 18px 0 6px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.est-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.est-row:last-child { border-bottom: 0; }
.est-price { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 1rem; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-200);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.stepper button:hover { border-color: var(--navy); }
.stepper button:active { transform: scale(0.92); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper output {
  min-width: 2.2ch;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.estimator-total {
  position: sticky;
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.estimator-total p { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.estimator-total strong { font-family: var(--font-serif); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.estimator-total .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.estimator-total .btn-ghost:hover { border-color: var(--white); color: var(--white); }
.estimator-total :focus-visible { outline-color: var(--white); }
@media (min-width: 960px) {
  .estimator-total { bottom: 12px; }
}

/* ---------- Deals (offers, inside the price section) ---------- */
.deals {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(52px, 7vw, 80px);
}
.deals-title {
  margin: 0 auto 4px;
  text-align: center;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.2;
}
.deal {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 26px 20px 24px;
  border-radius: var(--radius-lg);
}
@media (min-width: 640px) { .deal { padding: 30px 30px 28px; } }
@media (min-width: 1100px) {
  .deal { grid-template-columns: 290px 1fr; align-items: center; gap: 36px; padding: 32px 36px; }
}
.deal-head { display: flex; gap: 16px; align-items: center; }
.deal-head h4 { margin: 0 0 4px; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.deal-head p { margin: 0; }
.deal-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; flex: none;
  border-radius: 50%;
}
.deal-icon .icon { width: 30px; height: 30px; }

/* Korb: navy banner with three price tiles */
.deal-korb {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.deal-korb h4 { color: var(--white); }
.deal-korb .deal-head p { color: #D5E2F0; }
.deal-korb .deal-icon { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 10px;
}
@media (min-width: 640px) { .tiers { gap: 16px; } }
.tier {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 18px 6px 16px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.tier-qty { font-weight: 700; font-size: 1.05rem; }
.tier-price {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.tier-per { font-size: 0.875rem; line-height: 1.3; color: #D5E2F0; }
.tier-best {
  padding-top: 28px;
  padding-bottom: 20px;
  background: var(--white);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 0 0 3px var(--gold), var(--shadow);
}
.tier-best .tier-per { color: var(--ink-soft); font-weight: 700; }
.tier-flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%) rotate(-3deg);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sand-300);
  color: var(--navy-900);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* Gratis: coupon card with five items */
.deal-gratis {
  background: var(--white);
  border: 2px dashed rgba(194, 154, 102, 0.8);
  box-shadow: var(--shadow);
}
.deal-gratis .deal-head p { color: var(--ink-soft); }
.deal-gratis .deal-icon { background: var(--sand-100); color: var(--navy); }
.freebies { display: grid; gap: 8px; }
.freebie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-radius: 14px;
  background: var(--sand-50);
}
.fb-item { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.fb-num {
  margin-right: 2px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--navy);
}
.fb-free {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
@media (min-width: 760px) {
  .freebies { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .freebie { flex-direction: column; justify-content: center; gap: 12px; padding: 18px 8px; text-align: center; }
  .fb-item { display: grid; justify-items: center; gap: 4px; line-height: 1.2; }
  .fb-num { margin: 0; font-size: 2.3rem; line-height: 1; }
}

/* Single prices heading */
.singles-title {
  margin-bottom: 24px;
  text-align: center;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
}
.singles-title span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.voucher {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 22px 26px;
  background: var(--white);
  border: 2px dashed rgba(194, 154, 102, 0.75);
  border-radius: var(--radius);
}
.voucher h3 { margin-bottom: 0.25em; }
.voucher p { color: var(--ink-soft); }
.voucher-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; flex: none;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--navy);
}
.voucher-icon .icon { width: 30px; height: 30px; }
.doodle-heart-voucher { width: 52px; height: 48px; right: 22px; top: -20px; transform: rotate(10deg); background: transparent; }
@media (max-width: 520px) {
  .voucher { flex-direction: column; align-items: flex-start; }
}

/* ---------- Before / after ---------- */
.ba-grid {
  display: grid;
  gap: 28px;
  align-items: start;
  max-width: 460px;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; max-width: 880px; }
}
.ba { margin: 0; }
.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blue-100);
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}
.ba-tag-before { left: 14px; background: var(--white); color: var(--ink); }
.ba-tag-after { right: 14px; background: var(--navy); color: var(--white); }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(10, 51, 96, 0.12), 0 0 12px rgba(10, 51, 96, 0.25);
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}
.ba-handle .icon {
  position: absolute;
  top: 50%;
  max-width: none;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: var(--navy);
  stroke-width: 2.4;
}
.ba-handle .icon:first-of-type { left: -19px; }
.ba-handle .icon:last-of-type { left: 2px; }
.ba-range:focus-visible + .ba-handle::before {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.ba figcaption { margin-top: 14px; color: var(--ink-soft); }
.ba figcaption strong { color: var(--navy); }

/* ---------- Einblick ---------- */
.einblick-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}
@media (min-width: 960px) {
  .einblick-grid { grid-template-columns: 320px 1fr; gap: 28px; }
}
.video-card { margin: 0 auto; width: min(100%, 340px); }
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  background: var(--blue-100);
}
.video-card figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--blue-500);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.gallery li { aspect-ratio: 1 / 1; }
.gallery .g-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 639px) {
  .gallery .g-wide { aspect-ratio: 2 / 1.02; }
}
.g-item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-100);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.g-item:hover img { transform: scale(1.04); }

.lightbox {
  width: min(94vw, 1100px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--white);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 24, 46, 0.82); }
.lightbox figure { margin: 0; }
.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #071a33;
}
.lightbox figcaption { padding: 14px 20px 18px; font-size: 1.05rem; }
.lb-btn {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: -16px; right: -12px; }
.lb-prev, .lb-next { top: 40%; }
.lb-prev { left: -14px; }
.lb-next { right: -14px; }
@media (max-width: 640px) {
  .lb-close { top: 8px; right: 8px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ---------- Reviews ---------- */
.reviews-empty {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) clamp(22px, 5vw, 48px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.reviews-empty p { color: var(--ink-soft); max-width: 34rem; margin-inline: auto; margin-bottom: 1.5rem; }
.doodle-heart-review { position: static; width: 64px; height: 60px; margin: 0 auto 12px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
}
.contact-stack { display: grid; gap: 18px; }
@media (min-width: 560px) and (max-width: 859px) {
  .contact-stack { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 22px; } .contact-stack { gap: 22px; } }
.contact-hours { background: var(--blue-50); }
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-card .cta-row { margin-top: auto; padding-top: 18px; }
.contact-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy);
}
.contact-icon .icon { width: 26px; height: 26px; }
.contact-big { font-family: var(--font-serif); font-weight: 800; font-size: 1.6rem; margin: 0; }
.contact-big a { text-decoration: none; white-space: nowrap; }
.contact-card address { font-size: 1.1rem; line-height: 1.65; }

.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 7px 10px; text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.hours tr.is-today { background: var(--blue-100); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--navy); font-weight: 700; }
.hours tr.is-today th:first-child { border-radius: 10px 0 0 10px; }
.hours tr.is-today td:last-child { border-radius: 0 10px 10px 0; }
.today-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  vertical-align: 2px;
}
.hours-note { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }

.bell-plate {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 16px 26px 16px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: -7px;
}
.bell-plate .icon { width: 30px; height: 30px; }
.bell-plate p { margin: 0; font-size: 1.1rem; }
.bell-plate span { color: #D5E2F0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(24px, 4vw, 40px);
  color: #E4ECF5;
}
.wave-footer {
  position: static;
  display: block;
  height: clamp(32px, 4.5vw, 70px);
  fill: var(--navy-900);
  margin-bottom: -1px;
}
.footer-inner {
  background: var(--navy-900);
  padding: 32px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 10px; }
.footer-brand p { font-family: var(--font-script); font-weight: 700; font-size: 1.5rem; color: var(--sand-300); line-height: 1.2; }
.footer-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-bottom: 0.75rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sand-300); }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(253, 252, 249, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10, 51, 96, 0.08);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  touch-action: manipulation;
}
.action-bar a:active { transform: scale(0.97); }
.action-bar .action-primary { background: var(--navy); color: var(--white); }
@media (max-width: 959px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  body.page-legal { padding-bottom: 0; }
}
@media (min-width: 960px) {
  .action-bar { display: none; }
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px);
}
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 900; }
.legal h2 { font-size: 1.4rem; font-weight: 800; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.35em; }
.legal address { margin-bottom: 1em; }
.legal a { overflow-wrap: anywhere; }
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #FFF1C9;
  color: #6B4A00;
  font-weight: 700;
}
.back-link { margin-bottom: 1.5rem; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.notfound .script { font-size: 2rem; color: var(--blue-500); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .g-item:hover img { transform: none; }
}

@media print {
  .site-header, .action-bar, .wave, .doodle, .estimator, .video-card { display: none !important; }
  body { padding: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
