/*
 * Azurna Dental Studio (demo) — styles.
 * Idea: Split limestone, Adriatic blue, Roman arches. Calm, premium, built around
 * the patient from abroad: the plan comes before the trip.
 * Two families: Instrument Serif (display) + Instrument Sans (text). One accent (sea).
 * Spacing on an 8 px scale.
 */

/* ------------------------------------------------------------------ fonts */
/* Self-hosted (SIL Open Font License), Latin + Latin-1 + Latin Extended-A (Croatian) in one file per font; Instrument Sans variable 400–600. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/instrument-serif.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00A3, U+00A5, U+00A7-00AB, U+00AE-00B0, U+00B4, U+00B6-00B8, U+00BA-00BB, U+00BF-0107, U+010A-0113, U+0116-011B, U+011E-0123, U+0126-0127, U+012A-012B, U+012E-0133, U+0136-0137, U+0139-013E, U+0141-0148, U+014A-014D, U+0150-015B, U+015E-0161, U+0164-0165, U+016A-017E, U+0218-021B, U+02C6, U+02DA, U+02DC, U+0300-0304, U+0306-0308, U+030C, U+0327-0328, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/instrument-sans.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00A3, U+00A5, U+00A7-00AB, U+00AE-00B0, U+00B4, U+00B6-00B8, U+00BA-00BB, U+00BF-0107, U+010A-0113, U+0116-011B, U+011E-0123, U+0126-0127, U+012A-012B, U+012E-0133, U+0136-0137, U+0139-013E, U+0141-0148, U+014A-014D, U+0150-015B, U+015E-0161, U+0164-0165, U+016A-017E, U+0218-021B, U+02C6, U+02DA, U+02DC, U+0300-0304, U+0306-0308, U+030C, U+0327-0328, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212; }
/* Metric-matched local fallbacks (width from this page's own text), so the swap to the web fonts does not move anything. */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); size-adjust: 83.6%; ascent-override: 118.4%; descent-override: 37.1%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 102.6%; ascent-override: 94.5%; descent-override: 24.4%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 97.8%; ascent-override: 99.2%; descent-override: 25.6%; line-gap-override: 0%; }

/* ------------------------------------------------------------------ tokens */
:root {
  --stone: #f2f1ed;      /* page: pale Brač limestone */
  --paper: #ffffff;
  --mist: #e4ecef;       /* cool alternate surface */
  --line: #d6d8d3;
  --ink: #13283a;        /* navy text */
  --ink-2: #4a5966;
  --sea: #1b5b82;        /* the one accent */
  --sea-ink: #144867;
  --sea-soft: #dce7ee;
  --deep: #0f2333;       /* night sea, for the "from abroad" section */
  --on-deep: #e9eff2;
  --on-deep-2: #a8bac7;
  --wa: #1f8f55;         /* WhatsApp icon only */

  --serif: 'Instrument Serif', 'Instrument Serif Fallback', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Instrument Sans Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --r-s: 8px;
  --r-m: 14px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(19, 40, 58, .06), 0 18px 40px -22px rgba(19, 40, 58, .35);
  --header-h: 68px;
  --wrap: 1200px;
}
@media (min-width: 1100px) { :root { --header-h: 76px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
/* <picture class="pic"> only adds AVIF/WebP sources: it takes no box, so the <img> keeps its place in the layout. */
picture.pic { display: contents; }
picture.pic > source { display: none; } /* else they would become empty flex/grid items */
picture.pic > img { min-width: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
iframe:focus { outline: 2px solid var(--sea); outline-offset: 3px; } /* the map frame: focus sits inside it */
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-s); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.section { padding: var(--s7) 0; }
@media (max-width: 767.98px) { .section { padding: var(--s6) 0; } }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.375rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.section-lead { margin-top: var(--s2); max-width: 38.63em; color: var(--ink-2); font-size: 1.125rem; }
.section-head { margin-bottom: var(--s5); }

.text-link { color: var(--sea); font-weight: 500; text-underline-offset: 3px; }
.text-link:hover { color: var(--sea-ink); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-ink); }
.btn-ghost { border-color: rgba(19, 40, 58, .28); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-whatsapp { border-color: rgba(19, 40, 58, .28); color: var(--ink); background: var(--paper); }
.btn-whatsapp .icon { color: var(--wa); }
.btn-whatsapp:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 241, 237, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 26px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.brand-mark .brand-smile { stroke: var(--sea); }
.brand-name { font-family: var(--serif); font-size: 1.625rem; line-height: 1; white-space: nowrap; }
.brand-sub { font-family: var(--sans); font-size: .8125rem; letter-spacing: .02em; color: var(--ink-2); margin-left: 4px; }
@media (max-width: 420px) { .brand-sub { display: none; } }

/* DEMO tag + popover (data-demo: removed when the site goes live) */
.demo { position: relative; }
.demo-tag {
  position: relative; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  border-radius: var(--r-pill); padding: 3px 9px; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; cursor: pointer;
}
.demo-tag::after { content: ""; position: absolute; inset: -12px -6px; }
.demo-tag:hover, .demo-tag[aria-expanded="true"] { border-color: var(--sea); color: var(--sea); }
.demo-pop {
  position: absolute; top: calc(100% + 14px); left: -8px; z-index: 60;
  width: min(320px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow);
  padding: var(--s3); font-size: .9375rem; color: var(--ink-2);
}
@media (max-width: 520px) { .demo-pop { position: fixed; top: calc(var(--header-h) + 8px); left: 16px; right: 16px; width: auto; } }
.demo-pop-title { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.demo-pop-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.demo-pop-links a { color: var(--sea); font-weight: 500; text-underline-offset: 3px; padding: 4px 0; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .9688rem; border-radius: var(--r-s); }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--ink); }
.nav-list a[aria-current] { text-decoration: underline; text-decoration-color: var(--sea); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav-cta-mobile, .nav-phone-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.lang { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: transparent; border-radius: var(--r-s); cursor: pointer; font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.lang-toggle:hover { color: var(--ink); background: rgba(19, 40, 58, .05); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 168px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 6px; list-style: none; margin: 0; }
.lang-menu button { display: block; width: 100%; text-align: left; min-height: 44px; padding: 0 12px; border: 0; background: transparent; border-radius: var(--r-s); cursor: pointer; }
.lang-menu button:hover, .lang-menu button[aria-current="true"] { background: var(--sea-soft); }
.lang-menu button[aria-current="true"] { font-weight: 600; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-s); cursor: pointer; align-items: center; justify-content: center; }
.menu-icon { display: grid; gap: 6px; width: 22px; }
.menu-icon span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-open .menu-icon span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .menu-icon span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1059.98px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; margin: 0;
    background: var(--stone); padding: var(--s3) 20px var(--s5);
    display: none; flex-direction: column; gap: var(--s3); overflow-y: auto;
  }
  .nav-open .main-nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { font-family: var(--serif); font-size: 1.75rem; color: var(--ink); min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; }
  .nav-cta-mobile { display: inline-flex; }
  .nav-phone-mobile { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
  .header-cta { display: none; }
  .menu-locked { overflow: hidden; }
}
@media (min-width: 1060px) and (max-width: 1180px) { .nav-list a { padding: 0 9px; } }

/* ------------------------------------------------------------------ hero */
.hero { padding: var(--s4) 0 var(--s6); }
.hero-grid { display: grid; gap: var(--s5); align-items: center; }
.hero-where { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9688rem; }
.hero-where .icon { color: var(--sea); width: 18px; height: 18px; }
.hero-title {
  margin-top: var(--s2);
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.75rem, 1.6rem + 4.2vw, 4.5rem);
  line-height: 1; letter-spacing: -0.012em;
  text-wrap: balance;
  max-width: 6.9em; /* 15ch of Instrument Serif, in em so the fallback font gets the same measure */
}
.hero-lead { margin-top: var(--s3); max-width: 30.64em; font-size: 1.1875rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: var(--s4); }
.g-badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); min-height: 44px; }
.g-score { display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 4px 10px; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.g-score .star { width: 14px; height: 14px; fill: #f2c14e; }
.g-text { font-size: .9375rem; color: var(--ink); }
.g-demo { color: var(--ink-2); font-size: .8125rem; }
.hero-langs { font-size: .9375rem; color: var(--ink-2); max-width: 21.31em; }

.hero-visual { position: relative; padding-bottom: var(--s2); }
.arch { overflow: hidden; border-radius: 999px 999px var(--r-m) var(--r-m); background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch { width: min(86%, 500px); margin-left: auto; aspect-ratio: 4 / 5; }
.hero-arch img { object-position: 22% 50%; }

/* the plan sheet: a printed document, not a card */
.plan-sheet {
  position: relative; z-index: 2;
  width: min(100%, 340px);
  margin: -120px 0 0 0;
  background: var(--paper); color: var(--ink);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(19, 40, 58, .08), 0 24px 48px -24px rgba(19, 40, 58, .45);
  padding: 20px 22px 18px;
  font-size: .9375rem;
}
.plan-sheet::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: var(--sea); }
.sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet-head span:first-child { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.sheet-tag { font-size: .8125rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 1px 8px; }
.sheet-who { color: var(--ink-2); font-size: .875rem; margin-top: 4px; }
.sheet-table { margin-top: 12px; }
.sheet-table th, .sheet-table td { padding: 7px 0; border-top: 1px dashed var(--line); vertical-align: top; font-weight: 400; }
.sheet-table th { text-align: left; padding-right: 12px; }
.sheet-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet-table tfoot th, .sheet-table tfoot td { border-top: 1px solid var(--ink); font-weight: 600; padding-top: 9px; }
.sheet-note { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); line-height: 1.5; }

@media (min-width: 980px) {
  .hero { padding: var(--s5) 0 var(--s7); }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s6); }
  .hero-arch { width: 100%; max-width: 480px; }
  .plan-sheet { position: absolute; left: -72px; bottom: -40px; margin: 0; width: 320px; }
}
@media (max-width: 979.98px) {
  .hero-visual { max-width: 520px; }
  .plan-sheet { margin-top: -72px; width: min(92%, 340px); }
}

/* ------------------------------------------------------------------ kit strip */
.kit { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s3) 0; }
.kit-inner { display: grid; gap: var(--s2); align-items: center; }
.kit-title { font-family: var(--sans); font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.kit-list { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.kit-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.kit-list b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.kit-list span { color: var(--ink-2); }
.kit-list small { flex-basis: 100%; font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 767.98px) {
  .kit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .kit-list li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .kit-inner { grid-template-columns: 170px 1fr; }
  .kit-list { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 24px; }
}

/* ------------------------------------------------------------------ from abroad */
.abroad { background: var(--deep); color: var(--on-deep); padding-bottom: var(--s7); }
.abroad-photo { position: relative; height: clamp(220px, 34vw, 460px); overflow: hidden; }
.abroad-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.abroad-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to bottom, rgba(15, 35, 51, 0), var(--deep)); }
.abroad-head { position: relative; margin-top: calc(var(--s5) * -1); }
.abroad .section-title { color: #fff; }
.abroad .section-lead { color: var(--on-deep-2); }

.trip { margin-top: var(--s6); }
.trip-title { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--on-deep-2); }
.trip-line { counter-reset: stop; display: grid; gap: 0; margin-top: var(--s3); }
.trip-stop { position: relative; padding: 0 0 var(--s4) 40px; }
.trip-stop::before { /* the dot */
  content: ""; position: absolute; left: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--deep); border: 2px solid #7fb6d6;
}
.trip-stop:not(.is-home)::before { background: #7fb6d6; }
.trip-stop::after { /* the route */
  content: ""; position: absolute; left: 12px; top: 26px; bottom: 4px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(127, 182, 214, .55) 0 6px, transparent 6px 12px);
}
.trip-stop:last-child::after { display: none; }
.trip-when { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: #9fcbe4; font-weight: 500; }
.trip-when .icon { width: 18px; height: 18px; }
.trip-stop h4 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; color: #fff; margin-top: 4px; }
.trip-stop p { margin-top: 6px; color: var(--on-deep-2); max-width: 23.98em; }
.trip-days { margin-top: 8px; display: grid; gap: 4px; color: var(--on-deep-2); }
.trip-days b { color: var(--on-deep); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 4px; }
@media (min-width: 900px) {
  .trip-line { grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
  .trip-stop { padding: 40px 0 0 0; }
  .trip-stop::before { left: 0; top: 0; }
  .trip-stop::after { left: 22px; right: calc(var(--s3) * -1); top: 6px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, rgba(127, 182, 214, .55) 0 6px, transparent 6px 12px); }
}

/* send an X-ray */
.xray {
  margin-top: var(--s6);
  display: grid; gap: var(--s4);
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-m); padding: var(--s4) 20px;
}
@media (min-width: 768px) { .xray { padding: var(--s5); } }
@media (min-width: 1000px) { .xray { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s6); } }
.xray-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); line-height: 1.1; text-wrap: balance; }
.xray-copy > p { margin-top: var(--s2); color: var(--ink-2); }
.xray-facts { margin-top: var(--s3); display: grid; gap: 10px; }
.xray-facts li { display: flex; gap: 10px; align-items: flex-start; }
.xray-facts .icon { color: var(--sea); margin-top: 3px; }

.xray-form { display: grid; gap: var(--s3); }
.xf-group legend, .xf-field > span { font-weight: 600; font-size: .9688rem; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--stone); font-size: .9688rem; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chip input:hover + span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--sea-soft); border-color: var(--sea); color: var(--sea-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.xf-field { display: grid; }
.xf-field select {
  min-height: 48px; padding: 10px 40px 10px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--stone);
  -webkit-appearance: none; appearance: none; font-size: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313283a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.xf-preview { background: var(--stone); border-radius: var(--r-s); padding: 14px 16px; border-left: 3px solid var(--sea); }
.xf-preview-label { font-size: .8125rem; color: var(--ink-2); font-weight: 600; }
.xf-preview-text { margin-top: 4px; white-space: pre-line; font-size: .9375rem; line-height: 1.55; }
.xf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.xf-actions .btn { flex: 1 1 220px; }
.xf-note { font-size: .875rem; color: var(--ink-2); }

.abroad-facts { margin-top: var(--s6); display: grid; gap: var(--s4); }
.abroad-facts .icon { width: 26px; height: 26px; color: #9fcbe4; stroke-width: 1.5; }
.abroad-facts h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: #fff; }
.abroad-facts p { margin-top: 6px; color: var(--on-deep-2); }
@media (min-width: 900px) { .abroad-facts { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

/* ------------------------------------------------------------------ prices */
.price-board { background: var(--paper); border-radius: var(--r-m); border: 1px solid var(--line); overflow: hidden; }
.tabs-scroll { overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: 4px; padding: 8px 12px 0; min-width: max-content; }
.tab {
  position: relative; min-height: 52px; padding: 0 16px; border: 0; background: transparent; cursor: pointer;
  font-weight: 500; color: var(--ink-2); white-space: nowrap; font-size: 1rem;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--sea); }
.price-panel { display: grid; gap: var(--s4); padding: var(--s4) 20px; }
@media (min-width: 768px) { .price-panel { padding: var(--s5); } }
@media (min-width: 900px) { .price-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s6); } }
.price-panel:focus-visible { outline-offset: -3px; }
.pp-title { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.pp-desc { margin-top: 12px; color: var(--ink-2); }
.pp-facts { margin-top: var(--s3); display: grid; gap: 0; }
.pp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.pp-facts dt { color: var(--ink-2); }
.pp-facts dd { font-weight: 600; text-align: right; }
.price-table th, .price-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { text-align: left; font-weight: 400; padding-right: 16px; }
.price-table td { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-table td.is-free { color: var(--sea); }

/* estimator */
.estimator { margin-top: var(--s6); }
.est-intro h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); line-height: 1.1; }
.est-intro p { margin-top: 10px; color: var(--ink-2); max-width: 37.30em; }
.est-grid { margin-top: var(--s4); display: grid; gap: var(--s4); }
@media (min-width: 900px) { .est-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s5); } }
#est-list { display: grid; gap: 0; }
.est-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.est-item:first-child { border-top: 1px solid var(--line); }
.est-name { display: grid; }
.est-name strong { font-weight: 500; }
.est-name span { font-size: .875rem; color: var(--ink-2); }
.est-item.is-active .est-name strong { font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.stepper button svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.est-result { background: var(--mist); border-radius: var(--r-m); padding: var(--s4) 20px; display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 768px) { .est-result { padding: var(--s4); } }
.est-bars { display: grid; gap: 14px; }
.est-bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.est-bar-head b { font-variant-numeric: tabular-nums; }
.est-track { margin-top: 6px; height: 8px; border-radius: 8px; background: rgba(19, 40, 58, .1); overflow: hidden; }
.est-fill { display: block; height: 100%; border-radius: 8px; background: rgba(19, 40, 58, .45); }
.est-bar-row.is-us .est-fill { background: var(--sea); }
@media (prefers-reduced-motion: no-preference) { .est-fill { transition: width .3s ease; } }
.est-saving-label { font-size: .9375rem; color: var(--ink-2); }
.est-saving-value { display: block; font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1.05; color: var(--sea-ink); font-variant-numeric: tabular-nums; }
.est-saving-de { font-size: .9375rem; color: var(--ink-2); }
.est-empty { color: var(--ink-2); }
.est-note { font-size: .8125rem; color: var(--ink-2); }
.est-result .btn { justify-self: start; }

/* ------------------------------------------------------------------ first visit */
.visit { background: var(--paper); }
.visit-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 980px) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); } }
.minutes { margin-top: var(--s4); display: grid; }
.minutes li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.minutes li:last-child { border-bottom: 1px solid var(--line); }
.min { font-variant-numeric: tabular-nums; color: var(--sea); font-weight: 600; font-size: .9375rem; padding-top: 4px; }
.minutes h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.minutes p { margin-top: 4px; color: var(--ink-2); }
@media (max-width: 479.98px) { .minutes li { grid-template-columns: 1fr; gap: 4px; } }
.visit-arch { aspect-ratio: 4 / 5; }
.visit-arch img { object-position: 30% 50%; }
@media (max-width: 979.98px) { .visit-arch { max-width: 460px; aspect-ratio: 1 / 1; } }

.equip { margin-top: var(--s6); display: grid; gap: var(--s4); }
@media (min-width: 768px) { .equip { grid-template-columns: 1fr 1fr; } }
.equip-item img { border-radius: var(--r-m); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.equip-item figcaption { margin-top: 14px; color: var(--ink-2); max-width: 34.63em; }
.equip-item figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }

/* ------------------------------------------------------------------ booking */
.booking { background: var(--mist); }
.booking-grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 1000px) { .booking-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: var(--s6); } }
.how-title { margin-top: var(--s4); font-size: 1rem; font-weight: 600; }
.how { margin-top: 12px; display: grid; gap: 10px; }
.how li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.how .icon { color: var(--sea); margin-top: 3px; }
.booking-abroad { margin-top: var(--s3); display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border-radius: var(--r-s); padding: 14px 16px; font-size: .9688rem; }
.booking-abroad .icon { color: var(--sea); margin-top: 2px; }
.booking-alt { margin-top: var(--s4); }
.booking-alt p { font-weight: 600; margin-bottom: 12px; }
.booking-panel { background: var(--paper); border-radius: var(--r-m); padding: 12px; box-shadow: var(--shadow); min-height: 420px; }
@media (min-width: 768px) { .booking-panel { padding: 20px; } }
.booking-fallback { padding: var(--s3); color: var(--ink-2); }
.booking-fallback a { color: var(--sea); }
/* host-side variables for the Shadow DOM widget */
#booking-widget { --r: 10px; --muted: color-mix(in srgb, currentColor 78%, transparent); } /* --muted: widget's secondary text, AA on the selected service too */

/* ------------------------------------------------------------------ team */
.team-grid { display: grid; gap: var(--s5); }
@media (min-width: 980px) {
  .team-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "arch title" "arch copy" "arch work"; grid-template-rows: auto auto 1fr; gap: 0 var(--s6); align-items: start; }
  .team-title { grid-area: title; }
  .team-arch { grid-area: arch; position: sticky; top: calc(var(--header-h) + 24px); }
  .team-work { margin-top: var(--s5); }
  .team-copy { grid-area: copy; }
  .team-work { grid-area: work; }
}
.team-arch { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; }
@media (max-width: 979.98px) { .team-grid { gap: var(--s4); } .team-arch { max-width: 360px; } .lead-doc { margin-top: 0; } }
.lead-doc { margin-top: var(--s4); }
.lead-doc h3 { font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 1.15; }
.lead-doc .role { color: var(--sea); font-weight: 600; margin-top: 4px; }
.lead-doc p + p { margin-top: 10px; }
.lead-doc p:not(.role) { color: var(--ink-2); max-width: 38.63em; }
.speaks span:first-child { color: var(--ink); font-weight: 600; }
.crew { margin-top: var(--s4); display: grid; }
.crew li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.crew li:last-child { border-bottom: 1px solid var(--line); }
.crew b { font-weight: 600; }
.crew-role { color: var(--ink-2); }
.crew-langs { color: var(--ink-2); font-size: .875rem; }
.crew-langs::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b5b82' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
@media (min-width: 640px) { .crew li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 24px; } .crew-langs { grid-column: 2; } }
.team-work img { border-radius: var(--r-m); width: 100%; }
.team-work figcaption { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; max-width: 39.96em; }

/* ------------------------------------------------------------------ reviews */
.reviews { background: var(--stone); border-top: 1px solid var(--line); }
.reviews-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); }
.g-summary { display: grid; gap: 4px; }
.g-big { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 3.5rem; line-height: 1; }
.g-stars { font-family: var(--sans); font-size: 1.25rem; letter-spacing: 2px; color: #d9a521; }
.g-src { font-size: .9375rem; color: var(--ink-2); max-width: 23.98em; }
.g-src .g-demo { display: block; }
.quote-feature { margin-top: var(--s5); max-width: 920px; }
.quote-feature blockquote p {
  font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.18; text-wrap: balance;
}
.quote-feature blockquote p::before { content: "„"; }
.quote-feature blockquote p::after { content: "”"; }
:lang(de) .quote-feature blockquote p::after { content: "“"; }
:lang(en) .quote-feature blockquote p::before, :lang(it) .quote-feature blockquote p::before { content: "“"; }
:lang(en) .quote-feature blockquote p::after, :lang(it) .quote-feature blockquote p::after { content: "”"; }
.quote-feature figcaption { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; color: var(--ink-2); }
.quote-feature figcaption b { color: var(--ink); }
.q-treat { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 10px; font-size: .875rem; }
.quote-list { margin-top: var(--s5); display: grid; gap: var(--s4); }
@media (min-width: 900px) { .quote-list { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.quote-list li { border-top: 2px solid var(--ink); padding-top: var(--s2); }
.quote-list blockquote p { font-size: 1.0625rem; }
.q-who { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }
.q-who b { color: var(--ink); margin-right: 6px; }

/* ------------------------------------------------------------------ FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: var(--s5); }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s6); } }
.faq-intro .btn { margin-top: var(--s3); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 0; font-family: var(--serif); font-size: 1.375rem; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313283a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 var(--s3); color: var(--ink-2); max-width: 41.29em; }

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; gap: var(--s5); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s6); align-items: start; } }
.contact-list { margin-top: var(--s4); display: grid; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--ink-2); }
.contact-list a { color: var(--sea); text-underline-offset: 3px; display: inline-block; padding-block: 12px; margin-block: -12px; }
.hours-title { margin-top: var(--s4); font-size: 1rem; font-weight: 600; }
.hours { margin-top: 8px; }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--sea-ink); }
.contact-info .btn-row { margin-top: var(--s4); }
.map-frame { position: relative; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 10 / 7; background: var(--mist); border: 1px solid var(--line); }
.map-frame img, .map-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.map-load { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap; }
.contact-map .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--deep); color: var(--on-deep-2); padding: var(--s6) 0 calc(var(--s4) + 72px); }
@media (min-width: 768px) { .site-footer { padding-bottom: var(--s4); } }
.footer-grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.brand-light, .brand-light .brand-sub { color: #fff; }
.brand-light .brand-sub { color: var(--on-deep-2); }
.brand-light .brand-mark { stroke: #fff; }
.brand-light .brand-mark .brand-smile { stroke: #7fb6d6; }
.footer-contact { margin-top: var(--s2); line-height: 1.8; }
.footer-contact a { display: inline-block; padding-block: 7px; margin-block: -7px; } /* 44 px tall tap targets on their own lines */
.site-footer a { color: var(--on-deep); text-underline-offset: 3px; }
.footer-nav ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .875rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* ------------------------------------------------------------------ mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 8px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(242, 241, 237, .96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-bar.is-shown { transform: none; }
.mobile-bar-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid rgba(19, 40, 58, .28); border-radius: 50%; color: var(--ink); background: var(--paper); }
.mobile-bar-icon.is-wa .icon { color: var(--wa); }
.mobile-bar-book { flex: 1; }
.menu-locked .mobile-bar { visibility: hidden; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }
