/* ==========================================================================
   Hair & Nails — styles
   ========================================================================== */

/* Fonts are split by character range (unicode-range): the latin-ext files (Polish, Turkish) and Vazirmatn
   (Persian) are only downloaded by pages that contain those characters. */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url('/fonts/cormorant-garamond-latin-ext-500-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Gilda Display (SIL Open Font License): logo + hero name */
@font-face { font-family: 'Gilda Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/gilda-display-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/source-sans-3-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/source-sans-3-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/source-sans-3-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Vazirmatn (SIL Open Font License): Persian text; the Latin fonts have no Arabic-script glyphs, so the browser falls back to it */
@font-face { font-family: 'Vazirmatn'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/vazirmatn-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Vazirmatn'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/vazirmatn-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Vazirmatn'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/vazirmatn-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  /* 60-30-10: warm ivory (60) · taupe #BDB6A8 (30) · gold (10, darkened for contrast on light) */
  --bg: #F4F1EA;
  --surface: #FBFAF6;
  --primary: #7A6136;
  --primary-hover: #634E2B;
  --on-primary: #FFFFFF;
  --text: #2B2A27;
  --text-2: #6B655A;
  --border: #E2DCD0;
  --soft: #ECE7DD;
  --soft-2: #E2DBCD;
  --cta-bg: #BDB6A8;
  --cta-text: #242422;
  --shadow: 0 1px 2px rgba(43, 42, 39, .04), 0 12px 32px -12px rgba(43, 42, 39, .14);
  --header-bg: rgba(244, 241, 234, .88);
  --grain: .05;

  --serif: 'Cormorant Garamond', 'Cormorant', 'Vazirmatn', Georgia, 'Times New Roman', serif;
  --display: 'Gilda Display', Georgia, 'Times New Roman', serif; /* logo + hero name */
  --sans: 'Source Sans 3', 'Vazirmatn', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  /* 60-30-10: charcoal #242422 (60) · taupe #BDB6A8 (30) · gold #C0A477 (10) */
  --bg: #242422;
  --surface: #2D2D2A;
  --primary: #C0A477;
  --primary-hover: #D2BA8E;
  --on-primary: #242422;
  --text: #BDB6A8;
  --text-2: #9A9488;
  --border: #3B3A36;
  --soft: #302F2C;
  --soft-2: #383733;
  --cta-bg: #BDB6A8;
  --cta-text: #242422;
  --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 16px 40px -16px rgba(0, 0, 0, .55);
  --header-bg: rgba(36, 36, 34, .88);
  --grain: .07;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #242422;
    --surface: #2D2D2A;
    --primary: #C0A477;
    --primary-hover: #D2BA8E;
    --on-primary: #242422;
    --text: #BDB6A8;
    --text-2: #9A9488;
    --border: #3B3A36;
    --soft: #302F2C;
    --soft-2: #383733;
    --cta-bg: #BDB6A8;
    --cta-text: #242422;
    --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 16px 40px -16px rgba(0, 0, 0, .55);
    --header-bg: rgba(36, 36, 34, .88);
    --grain: .07;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
/* Hover effects are wrapped in @media (hover: hover) throughout: on touch screens a tap would otherwise
   apply the hover state first (lifted cards, changed buttons), which can swallow the first tap on iOS. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* "Größere Schrift" toggle: everything sized in rem grows by ~12 % (like a gentle zoom) */
:root[data-text-size="large"] { font-size: 112.5%; }
body {
  margin: 0;
  background: var(--bg);
  isolation: isolate;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); /* 17–19px */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}
/* Barely visible film grain on the page background (sits behind all content) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url('/img/grain.svg') 0 0 / 180px 180px;
  opacity: var(--grain);
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (hover: hover) { a:hover { color: var(--primary-hover); } }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--primary); color: var(--on-primary); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.sr-only { 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; inset-inline-start: 16px; top: -100px; z-index: 100;
  background: var(--primary); color: var(--on-primary); padding: 12px 20px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--on-primary); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  --ls: .18em; /* tracking; centred eyebrows cancel the trailing space it leaves after the last letter */
  letter-spacing: var(--ls);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}
.section__intro { color: var(--text-2); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 1.5px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
@media (hover: hover) { .btn:hover { color: var(--btn-fg); } }
.btn:active { transform: translateY(1px); }
.btn .icon:last-child:not(:first-child) { transition: transform .25s var(--ease); }
@media (hover: hover) { .btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); } }
.btn--primary { --btn-bg: var(--primary); --btn-fg: var(--on-primary); --btn-border: var(--primary); }
@media (hover: hover) { .btn--primary:hover { --btn-bg: var(--primary-hover); --btn-border: var(--primary-hover); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 45%, transparent); } }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--border); }
@media (hover: hover) { .btn--ghost:hover { --btn-border: var(--primary); --btn-bg: var(--surface); } }
.btn--light { --btn-bg: var(--cta-text); --btn-fg: var(--cta-bg); --btn-border: var(--cta-text); }
@media (hover: hover) { .btn--light:hover { --btn-bg: transparent; --btn-fg: var(--cta-text); } }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--cta-text); --btn-border: color-mix(in srgb, var(--cta-text) 45%, transparent); }
@media (hover: hover) { .btn--outline-light:hover { --btn-border: var(--cta-text); } }
.btn--lg { min-height: 58px; padding: .9rem 1.85rem; font-size: 1.125rem; }
.btn--sm { min-height: 44px; padding: .5rem 1.15rem; font-size: 1rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
@media (hover: hover) { .icon-btn:hover { background: var(--soft); } }
.icon-btn .icon { width: 22px; height: 22px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; color: var(--primary);
  padding-block: .5rem;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
@media (hover: hover) { .link-arrow:hover .icon { transform: translateX(4px); } }
.link-arrow--back .icon { transform: rotate(180deg); }
@media (hover: hover) { .link-arrow--back:hover .icon { transform: rotate(180deg) translateX(4px); } }

/* ---------- Holiday notice (set in /admin → "Urlaub"): slim strip above the header ---------- */
.holiday {
  background: color-mix(in srgb, var(--primary) 7%, var(--bg));
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
}
.holiday__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem 1.25rem; padding-block: .7rem; text-align: center; }
.holiday__title {
  --ls: .16em;
  margin: 0; display: inline-flex; align-items: center; gap: .7rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: var(--ls); text-transform: uppercase; color: var(--primary);
}
.holiday__title::before, .holiday__title::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.holiday__title::after { margin-left: calc(-1 * var(--ls)); } /* cancels the tracking after the last letter */
.holiday__text { margin: 0; font-size: 1rem; line-height: 1.45; }
@media (max-width: 767px) {
  .holiday__inner { flex-direction: column; padding-block: .6rem .65rem; }
  .holiday__text { font-size: .96875rem; max-width: 36ch; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.logo {
  font-family: var(--display); font-size: 1.55rem; font-weight: 400; letter-spacing: .005em;
  color: var(--text); text-decoration: none; white-space: nowrap; margin: 0;
}
@media (hover: hover) { .logo:hover { color: var(--text); } }
.logo__amp { font-weight: 400; color: var(--primary); padding-inline: .02em; }

.nav { margin-inline-start: auto; display: none; }
.nav ul { display: flex; gap: .25rem; }
.nav a {
  position: relative; display: block; padding: .6rem .9rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
}
.nav a::after {
  content: ''; position: absolute; inset-inline: .9rem; bottom: .35rem; height: 1.5px;
  background: var(--primary); transform: scaleX(0); transform-origin: var(--start); transition: transform .3s var(--ease);
}
.nav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.nav a.is-active { color: var(--primary); }

.header__tools { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav + .header__tools { margin-inline-start: .5rem; }
/* Language menu: a pill button ("🌐 DE ⌄") that opens a small card with the languages, each in its own name */
.lang { position: relative; margin-inline-end: .25rem; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: .35rem; height: 44px; padding: 0 .7rem 0 .8rem;
  border: 1px solid var(--border); border-radius: 999px; cursor: pointer; list-style: none;
  font-size: .9375rem; font-weight: 700; letter-spacing: .04em; color: var(--text);
  transition: border-color .2s ease, background-color .2s ease;
}
.lang__toggle::-webkit-details-marker { display: none; }
.lang__toggle .icon { width: 19px; height: 19px; color: var(--primary); }
.lang__toggle .lang__chevron { width: 16px; height: 16px; color: var(--text-2); transition: transform .25s var(--ease); }
.lang[open] .lang__toggle { border-color: var(--primary); }
.lang[open] .lang__chevron { transform: rotate(180deg); }
@media (hover: hover) { .lang__toggle:hover { border-color: var(--primary); } }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); z-index: 60;
  min-width: 13.5rem; padding: .4rem; display: grid; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.lang[open] .lang__menu { animation: lang-in .2s var(--ease); }
/* Persian (right to left) on narrow phones: the card would open past the screen edge, so it lines up with the header instead */
@media (max-width: 479px) {
  [dir="rtl"] .lang { position: static; }
  [dir="rtl"] .lang__menu { inset-inline-end: var(--gutter); }
}
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lang__menu a {
  display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .4rem .85rem;
  border-radius: 8px; color: var(--text); text-decoration: none; font-size: 1.0625rem;
}
.lang__name { flex: 1; }
.lang__abbr { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: var(--text-2); }
.lang__menu .icon { width: 18px; height: 18px; color: var(--primary); visibility: hidden; }
.lang__menu a[aria-current] { font-weight: 600; background: color-mix(in srgb, var(--primary) 10%, transparent); }
.lang__menu a[aria-current] .icon { visibility: visible; }
.lang__menu a[aria-current] .lang__abbr { display: none; }
@media (hover: hover) { .lang__menu a:not([aria-current]):hover { background: var(--soft); } }
.header__call { display: none; margin-inline-start: .5rem; font-variant-numeric: lining-nums; white-space: nowrap; }

/* "Larger text" toggle: a small and a large A */
.textsize__glyph { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1; }
.textsize__glyph span { font-size: .65em; }
.header__tools .textsize { display: none; }
@media (min-width: 640px) { .header__tools .textsize { display: inline-grid; } }
.textsize[aria-pressed="true"] { border-color: var(--primary); color: var(--primary); }
.textsize--block[aria-pressed="true"] { background: color-mix(in srgb, var(--primary) 10%, transparent); }

[data-theme-toggle] .icon--moon { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .icon--sun { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-theme-toggle] .icon--sun { display: none; }
  :root:not([data-theme="light"]) [data-theme-toggle] .icon--moon { display: block; }
}

.menu-toggle .icon:last-child { display: none; }
.menu-toggle[aria-expanded="true"] .icon:first-child { display: none; }
.menu-toggle[aria-expanded="true"] .icon:last-child { display: block; }

.mobile-menu { border-top: 1px solid var(--border); padding-block: 1rem 1.75rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu:not([hidden]) { animation: menu-in .3s var(--ease); }
.mobile-menu__links a {
  display: block; padding: .9rem 0; border-bottom: 1px solid var(--border);
  font-family: var(--serif); font-size: 1.85rem; font-weight: 500; color: var(--text); text-decoration: none;
}
.mobile-menu__actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) { .header__call { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
/* With larger text the desktop nav needs more room: keep the menu button up to 1280px */
@media (min-width: 1080px) and (max-width: 1279px) {
  :root[data-text-size="large"] .nav { display: none; }
  :root[data-text-size="large"] .nav + .header__tools { margin-inline-start: auto; }
  :root[data-text-size="large"] .menu-toggle { display: inline-grid; }
  :root[data-text-size="large"] .mobile-menu:not([hidden]) { display: block !important; }
}

/* ---------- Photos ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; }
/* Thin gold frame around the arched hero photo; a border follows the arch and the rounded bottom corners exactly */
.photo--hero { border: 2px solid var(--primary); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--card { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; }
.photo--placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 30% 15%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 60%),
    radial-gradient(90% 70% at 85% 90%, var(--soft-2), transparent 70%),
    var(--soft);
  color: var(--primary);
}
.photo__art { width: min(38%, 150px); height: auto; opacity: .85; }
.photo--card .photo__art { width: min(24%, 110px); margin-bottom: 3rem; }
.photo--placeholder figcaption {
  position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  padding-left: .14em; /* balances the trailing letter-spacing so the label is truly centred */
}
.photo--placeholder figcaption span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.1rem, 1.8rem + 6.2vw, 6.75rem);
  line-height: 1; letter-spacing: -.015em;
}
.hero__amp { font-weight: 400; color: var(--primary); padding-inline: .03em; }
.flourish { display: block; width: 200px; height: 16px; color: var(--primary); margin: 1.5rem 0 1.5rem; }
.hero__booking { display: grid; gap: 1rem; justify-items: start; }
.hero__booking-label {
  margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
/* "Leave a message" hint under the call buttons, shown by main.js while the salon is closed */
.call-hint { display: flex; align-items: flex-start; gap: .6rem; max-width: 34rem; margin: 0; font-size: 1rem; line-height: 1.45; color: var(--text-2); }
.call-hint[hidden] { display: none; }
.call-hint .icon { flex: none; width: 1.35em; height: 1.35em; margin-top: .05em; color: var(--primary); }
/* In centred layouts the icon flows inline with the text, so the whole hint stays centred */
.call-hint--inline { display: block; text-align: center; }
.call-hint--inline .icon { display: inline-block; vertical-align: -.3em; margin: 0 .4rem 0 0; }
.cta__inner .call-hint--cta { max-width: 32rem; margin: 1.5rem auto 0; opacity: 1; color: inherit; position: relative; z-index: 1; }
.cta__inner .call-hint--cta .icon { color: inherit; }
.hero__secondary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }

/* Google + Treatwell ratings under the hero buttons */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; max-width: 420px; margin-top: .75rem; }
.review {
  display: flex; align-items: center; gap: .75rem; height: 100%;
  padding: .7rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--text); text-decoration: none; line-height: 1.25;
  transition: border-color .25s ease, background-color .25s ease;
}
@media (hover: hover) { .review:hover { color: var(--text); border-color: var(--primary); background: var(--surface); } }
.review__logo { width: 28px; height: 28px; flex: none; border-radius: 6px; }
.review__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.review__score { display: flex; align-items: center; gap: .3rem; font-size: 1.125rem; font-weight: 700; font-variant-numeric: lining-nums; }
.review__score .icon--star { width: 1em; height: 1em; color: var(--primary); }
.review__max { font-size: .875rem; font-weight: 400; color: var(--text-2); }
.review__count { font-size: .875rem; color: var(--text-2); }
/* "★ Top Rated 2026" under the Treatwell count: a soft tint of the gold accent (follows light/dark mode) */
.review__award {
  display: inline-flex; align-items: center; gap: .3rem; align-self: start; margin-top: .2rem;
  padding: .1rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary);
  font-size: .75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.review__award .icon { width: .9em; height: .9em; color: var(--primary); }
/* Very narrow phones: the label wraps ("Top Rated / 2026") instead of pushing the badge off screen */
@media (max-width: 379px) { .review__award { white-space: normal; border-radius: 8px; padding: .2rem .45rem; line-height: 1.25; } .review__award .icon { display: none; } }
@media (max-width: 380px) {
  .reviews { gap: .5rem; }
  .review { gap: .55rem; padding: .6rem .7rem; }
  .review__logo { width: 22px; height: 22px; }
  .review__score { font-size: 1rem; }
  .review__count { font-size: .8125rem; }
}
.hero__media { position: relative; max-width: 480px; width: 100%; justify-self: center; }
/* The salon photo's crop: keep the work stations and the mural in the arch */
.photo--hero img { object-position: 72% 50%; }
/* "Top Rated 2026" award seal (owner's wish), overlapping the lower left of the arch; fixed colours in both themes */
.award {
  position: absolute; inset-inline-start: -1rem; bottom: 1.5rem; z-index: 1;
  width: clamp(5.5rem, 22%, 7.5rem); height: auto;
  filter: drop-shadow(0 6px 14px rgb(0 0 0 / .25));
  border: 2px solid var(--primary); border-radius: 50%; /* same gold frame as the arched hero photo */
  font-family: var(--sans); font-weight: 600; font-size: 13.5px; letter-spacing: -.01em;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__media { justify-self: end; }
}

/* ---------- Quick info ---------- */
.quick { padding-bottom: clamp(3rem, 6vw, 5rem); }
.quick__grid { display: grid; gap: .75rem; }
.quick__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; line-height: 1.4;
  transition: border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
@media (hover: hover) { .quick__item:hover { color: var(--text); border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); } }
/* Address card with a copy button: the button sits on top of the link (buttons can't be nested in links) */
.quick__cell { position: relative; display: grid; }
.quick__item--copy { padding-inline-end: 4.75rem; }
.quick__nowrap { white-space: nowrap; }
.quick__copy { position: absolute; inset-inline-end: 1rem; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; margin: 0; background: var(--surface); }
.quick__copy { transition: background-color .2s ease, border-color .2s ease, transform .25s var(--ease); }
@media (hover: hover) { .quick__cell:has(.quick__item:hover) .quick__copy { transform: translateY(calc(-50% - 2px)); } } /* lifts with the card */
@media (hover: hover) { .quick__copy:hover { background: var(--soft); } }
.quick__copy.is-copied { border-color: var(--primary); }
.quick__cell .quick__copied {
  position: absolute; inset-inline-end: .5rem; bottom: calc(100% - .6rem); z-index: 2;
  padding: .3rem .75rem; border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-size: .9375rem; white-space: nowrap; box-shadow: var(--shadow);
}
.quick__item > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--soft); color: var(--primary); }
.quick__item strong { display: block; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); font-weight: 700; }
[data-open-status] { font-weight: 600; }
[data-open-status].is-open::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #5E9B5A; margin-inline-end: .5rem; vertical-align: middle; box-shadow: 0 0 0 4px color-mix(in srgb, #5E9B5A 22%, transparent); }
@media (min-width: 768px) { .quick__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.about { background: var(--surface); border-block: 1px solid var(--border); }
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.about__media { max-width: 460px; width: 100%; }
.about__text p:not(.eyebrow) { font-size: 1.125rem; max-width: 56ch; }
@media (min-width: 900px) { .about__grid { grid-template-columns: .9fr 1.1fr; } }
.facts { list-style: none; padding: 1.25rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .75rem; max-width: 56ch; }
.facts li { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: 1.0625rem; }
.facts .icon { flex: none; width: 1.4em; height: 1.4em; color: var(--primary); }
@media (max-width: 899px) { .facts { justify-items: center; margin-inline: auto; } }

/* FAQ: native <details> accordions */
.faq { padding-top: 0; }
.faq__list { border-top: 1px solid var(--border); max-width: 780px; }
@media (min-width: 900px) {
  .faq__grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .faq__grid .section__head { margin-bottom: 0; }
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 1rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.125rem; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq__item summary:hover { color: var(--primary); } }
.faq__mark { position: relative; flex: none; width: 36px; height: 36px; border: 1.5px solid var(--border); border-radius: 50%; color: var(--primary); }
.faq__mark::before, .faq__mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { margin: 0 0 1.25rem; max-width: 62ch; color: var(--text-2); }

/* Services overview */
.services__grid { display: grid; gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
@media (hover: hover) { .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.service-card__body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.service-card h3 { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); margin-bottom: .5rem; }
.service-card p { color: var(--text-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1.25rem; }
.tag-list li { padding: .3rem .85rem; border-radius: 999px; background: var(--soft); font-size: .9375rem; font-weight: 600; }
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }
/* Five service cards: 2 + 2 + 1 on tablets, 3 + 2 on desktop, an incomplete last row centred.
   Each card spans two tracks of a doubled grid, so a lone card can start half a column in. */
@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .service-card { grid-column: span 2; }
  .service-card:last-child:nth-child(2n + 1) { grid-column: 2 / span 2; }
}
@media (min-width: 1080px) {
  .services__grid { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
  .service-card:last-child:nth-child(2n + 1) { grid-column: span 2; }
  .service-card:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
  .service-card:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
}

/* ---------- Prices (per-category price pages) ---------- */
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.price-card__title { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; margin-bottom: .75rem; }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: start;
  padding: 1rem .75rem; margin-inline: -.75rem; border-radius: var(--radius-sm);
  transition: background-color .2s ease;
}
/* Services are told apart by spacing alone: the old separator lines curved at the rounded ends and looked like hairs */
.price-row + .price-row { margin-top: .5rem; }
@media (hover: hover) { .price-row:hover { background: var(--soft); } }
.price-row__main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.price-row__name { font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.price-row__desc { color: var(--text-2); font-size: 1rem; line-height: 1.45; }
.price-row__meta { display: inline-flex; align-items: center; gap: .35rem; color: var(--text-2); font-size: .9375rem; }
.price-row__meta .icon { width: 1em; height: 1em; }
.price-row__leader { display: none; }
.price-row__end { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; text-align: end; }
.price { font-weight: 700; font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__from { font-weight: 400; font-size: .9375rem; color: var(--text-2); }
.price-row__book {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 36px;
  font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--primary);
}
.price-row__book .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
@media (hover: hover) { .price-row__book:hover .icon { transform: translateX(3px); } }
@media (min-width: 600px) {
  .price-row { grid-template-columns: auto 1fr auto; }
  .price-row__leader { display: block; align-self: end; border-bottom: 1.5px dotted var(--border); margin-bottom: 1.95rem; min-width: 1.5rem; }
}
.prices__updated { margin-top: 2rem; font-size: .9375rem; }

.price-card__legend {
  margin: -.25rem 0 .75rem; padding: .7rem .9rem; border-radius: var(--radius-sm);
  background: var(--soft); color: var(--text-2); font-size: .9375rem; line-height: 1.5;
}

/* Services with several prices (e.g. by hair length) */
.price-row--options { grid-template-columns: 1fr auto !important; }
.price-row--options .price-row__end { justify-content: flex-start; }
.price-options { grid-column: 1 / -1; display: grid; gap: .1rem; margin-top: .35rem; }
.price-options li {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: baseline; gap: .6rem;
  padding-block: .3rem; padding-inline: .9rem 0; border-inline-start: 2px solid var(--border);
}
.price-options__name { font-size: 1.0625rem; }
.price-options .price-row__meta { font-size: .875rem; }
.price-options .price-row__leader { display: block; align-self: end; margin-bottom: .45rem; border-bottom: 1.5px dotted var(--border); min-width: .75rem; }
.price-options .price { font-size: 1.125rem; }
@media (max-width: 359px) {
  .price-options li { grid-template-columns: 1fr auto; }
  .price-options .price-row__meta { grid-column: 1; grid-row: 2; }
  .price-options .price-row__leader { display: none; }
}

/* ---------- CTA band ---------- */
.cta { padding-inline: var(--gutter); }
.cta__inner {
  max-width: var(--container); margin-inline: auto;
  background: var(--cta-bg); color: var(--cta-text);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.cta__title { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); margin-bottom: 1rem; }
.cta__inner p { opacity: .88; max-width: 46ch; margin-inline: auto; margin-bottom: 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.social { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2.5rem; }
.social li { flex: 1 1 250px; }
.social__link { width: 100%; min-height: 56px; justify-content: flex-start; padding-inline: 1.25rem; }
.social__link .icon { color: var(--primary); width: 1.4em; height: 1.4em; }
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact__list { display: grid; gap: 1.5rem; margin: 0 0 2.5rem; }
.contact__list dt, .contact__sub {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  margin-bottom: .4rem;
}
.contact__list dt .icon, .contact__sub .icon { color: var(--primary); width: 1.35em; height: 1.35em; }
.contact__list dd { margin: 0; font-size: 1.1875rem; line-height: 1.5; }
.contact__sub { margin: 0 0 .75rem; }
.contact__address { display: flex; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.copy-btn { flex: none; border: 1.5px solid var(--border); color: var(--primary); margin-top: .1rem; }
@media (hover: hover) { .copy-btn:hover { border-color: var(--primary); } }
.copy-btn .icon:last-child, .copy-btn.is-copied .icon:first-child { display: none; }
.copy-btn.is-copied .icon:last-child { display: block; }
.copy-btn__done { align-self: center; font-size: 1rem; font-weight: 600; color: var(--primary); }
.copy-btn__done:empty { display: none; }
.big-link { font-size: 1.75rem; font-weight: 600; font-variant-numeric: lining-nums; text-decoration: none; color: var(--text); }
.contact__text { color: var(--text-2); margin-bottom: 2rem; }
.contact__text--tight { margin-bottom: .5rem; }
/* "Diese Website gibt es auch auf: English · Polski …": links to the other language versions */
.contact__sitelangs span { display: block; margin-top: .2rem; }
.contact__sitelangs a { color: var(--primary); font-weight: 600; text-underline-offset: .2em; white-space: nowrap; }
@media (hover: hover) { .big-link:hover { color: var(--primary); } }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 2.5rem; font-size: 1.0625rem; }
.hours th, .hours td { padding: .7rem .75rem; text-align: start; border-bottom: 1px solid var(--border); }
.hours th { font-weight: 600; }
.hours td { text-align: end; font-variant-numeric: tabular-nums; }
.hours__today { display: none; margin-inline-start: .6rem; padding: .1rem .55rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: .15em; }
.hours tr.is-today { background: var(--soft); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today .hours__today { display: inline-block; }
.hours tr.is-today th { border-radius: 10px 0 0 10px; }
.hours tr.is-today td { border-radius: 0 10px 10px 0; }

.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(var(--soft) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, var(--soft) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--surface);
}
.map__link { position: absolute; inset: 0; }
.map__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map__img--dark { display: none; }
:root[data-theme="dark"] .map__img--light { display: none; }
:root[data-theme="dark"] .map__img--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map__img--light { display: none; }
  :root:not([data-theme="light"]) .map__img--dark { display: block; }
}
.map__credit {
  position: absolute; inset-inline-end: 0; bottom: 0; padding: .2rem .6rem; border-start-start-radius: 8px;
  background: var(--surface); color: var(--text-2); font-size: .8rem; text-decoration: none; opacity: .92;
}
.map__credit:hover { text-decoration: underline; }
.map__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.map__actions .btn { flex: 1 1 220px; }
@media (max-width: 520px) { .map { aspect-ratio: 1 / 1; } }
/* Browsers without aspect-ratio (Safari before 15): the map and the carousels hold only absolutely positioned
   content, so they would collapse to nothing; a padding box gives them the same shape */
@supports not (aspect-ratio: 1 / 1) {
  .map, .carousel { height: 0; padding-top: 75%; }
  .carousel--tall { padding-top: 125%; }
  @media (max-width: 520px) { .map { padding-top: 100%; } }
}

/* ---------- Legal pages ---------- */
.legal .section__title { margin-top: 1.5rem; }
.legal__list { display: grid; gap: 1.25rem; margin: 2rem 0 0; }
.legal__list dt { font-weight: 700; }
.legal__list dd { margin: .25rem 0 0; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 3rem; margin-top: clamp(4rem, 8vw, 6rem); }
.footer__inner { display: grid; gap: 1.5rem; }
.logo--footer { font-size: 1.6rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .4rem; color: var(--text); font-weight: 600; min-height: 44px; }
.footer__copy { font-size: .9375rem; margin: 0; }
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__copy { grid-column: 1 / -1; }
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.0625rem;
}
.mobile-bar__call { background: var(--primary); color: var(--on-primary); }
@media (hover: hover) { .mobile-bar__call:hover { color: var(--on-primary); background: var(--primary-hover); } }
.mobile-bar__online { border: 1.5px solid var(--border); color: var(--text); background: var(--surface); font-size: 1rem !important; }
@media (hover: hover) { .mobile-bar__online:hover { color: var(--text); border-color: var(--primary); } }
@media (max-width: 767px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Call button: the primary booking action everywhere ---------- */
.btn-call {
  display: inline-flex; align-items: center; gap: .9rem;
  min-height: 64px; padding: .6rem 1.6rem .6rem .6rem;
  border-radius: 999px; background: var(--primary); color: var(--on-primary);
  text-decoration: none; line-height: 1.15;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--primary) 50%, transparent);
  transition: background-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
@media (hover: hover) { .btn-call:hover { background: var(--primary-hover); color: var(--on-primary); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--primary) 55%, transparent); } }
.btn-call:active { transform: translateY(1px); }
.btn-call__icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: color-mix(in srgb, var(--on-primary) 16%, transparent);
}
.btn-call__icon .icon { width: 24px; height: 24px; stroke-width: 1.8; transition: transform .3s var(--ease); }
@media (hover: hover) { .btn-call:hover .btn-call__icon .icon { transform: rotate(-12deg); } }
.btn-call__text { display: flex; flex-direction: column; gap: .15rem; text-align: start; }
.btn-call__label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.btn-call__number { font-size: 1.375rem; font-weight: 700; letter-spacing: .01em; font-variant-numeric: lining-nums; white-space: nowrap; }
.btn-call--lg { min-height: 76px; padding-inline-end: 2rem; }
.btn-call--lg .btn-call__icon { width: 58px; height: 58px; }
.btn-call--lg .btn-call__number { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.15rem); }
.btn-call--block { display: flex; width: 100%; }
.btn-call--light { background: var(--cta-text); color: var(--cta-bg); box-shadow: none; }
@media (hover: hover) { .btn-call--light:hover { background: color-mix(in srgb, var(--cta-text) 88%, var(--cta-bg)); color: var(--cta-bg); } }
.btn-call--light .btn-call__icon { background: color-mix(in srgb, var(--cta-bg) 12%, transparent); }

/* ---------- Sliding highlight (price tabs) ----------
   main.js adds a .slide-pill behind the labels that glides to the chosen item.
   Without JS the active item simply keeps its filled background. */
[data-pill] { position: relative; }
[data-pill] > a > span { position: relative; z-index: 2; }
.slide-pill {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none;
  border-radius: 999px; background: var(--primary);
}
.slide-pill.is-ready { transition: transform .4s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.has-pill > a[aria-current] { background: transparent; border-color: transparent; }

/* ---------- Carousel (service cards, "Über uns") ---------- */
.carousel {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--soft);
  touch-action: pan-y;
}
.carousel__track { position: absolute; inset: 0; margin: 0; }
/* Crossfade: the incoming slide fades in on top while the outgoing one stays fully opaque
   underneath until the fade is done (no see-through dip, no scaling or layout change). */
.carousel__slide { position: absolute; inset: 0; z-index: 0; margin: 0; opacity: 0; transition: opacity 0s linear 1s; }
.carousel__slide.is-active { z-index: 1; opacity: 1; transition: opacity 1s ease; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.carousel__btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 78%, transparent); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  opacity: .8; transition: opacity .25s ease, background-color .25s ease;
}
.carousel__btn .icon { width: 22px; height: 22px; stroke-width: 2; }
.carousel__btn--prev { inset-inline-start: 12px; }
.carousel__btn--next { inset-inline-end: 12px; }
.carousel__btn:focus-visible { opacity: 1; }
@media (hover: hover) { .carousel:hover .carousel__btn { opacity: 1; } }
@media (hover: hover) { .carousel__btn:hover { background: var(--surface); } }
.carousel__dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.carousel__dots span {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  transition: width .35s var(--ease), background-color .35s ease;
}
.carousel__dots span.is-active { width: 20px; background: #fff; }
.carousel--tall { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.service-card__prices { align-self: flex-start; margin-top: auto; }

/* ---------- Price page ---------- */
.price-page { padding-top: clamp(1.5rem, 4vw, 3rem); }
.price-page__head { margin: 1.5rem 0 1.5rem; }
.price-page__head .section__title { margin-bottom: .75rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.tab {
  display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1.4rem;
  border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface);
  color: var(--text); font-weight: 700; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
@media (hover: hover) { .tab:hover { border-color: var(--primary); color: var(--primary); } }
.tab[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.price-panel { display: grid; gap: 1.25rem; }
.price-panel[hidden] { display: none; }
.price-panel.is-entering, .price-page__head .is-entering { animation: fade-in .4s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }
.price-page__grid { display: grid; gap: 1.5rem; align-items: start; }
.price-page__list { display: grid; gap: 1.25rem; min-width: 0; }
.price-card__title { font-size: 1.85rem; }
.booking-box {
  display: grid; gap: .9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow);
}
.booking-box__title { font-family: var(--serif); font-size: 2rem; }
.booking-box p { margin: 0; color: var(--text-2); }
.booking-box hr { width: 100%; border: 0; border-top: 1px solid var(--border); margin: .25rem 0; }
.booking-box__status { display: flex; align-items: center; gap: .5rem; font-size: 1rem; }
.booking-box__status .icon { color: var(--primary); }
.booking-box__status [data-open-status] { color: var(--text); }
.booking-box .btn-call { padding-inline-end: 1.2rem; }
@media (min-width: 960px) {
  .price-page__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; }
  .price-page__list { grid-column: 1; grid-row: 1; }
  .booking-box { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ==========================================================================
   Small screens — a composed, centred single column instead of a squeezed desktop
   ========================================================================== */
/* Centred eyebrows get a matching line on the right. Uppercase labels are tracked, which leaves extra
   space after the last letter; the negative margins/padding below cancel it so centred text is truly centred. */
@media (max-width: 899px) {
  .hero__text .eyebrow::after, .about__text .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; margin-left: calc(-1 * var(--ls)); }

  .hero { padding-top: clamp(1.5rem, 5vw, 2.5rem); }
  .hero__text { text-align: center; }
  .hero__text .eyebrow { --ls: .16em; }
  .hero__booking-label { padding-left: .14em; }
  .flourish { margin-inline: auto; }
  .hero__booking { justify-items: center; }
  .hero__booking .call-hint { display: block; max-width: 380px; text-align: center; }
  .hero__booking .call-hint .icon { display: inline-block; vertical-align: -.3em; margin: 0 .4rem 0 0; }
  .hero__booking .btn-call, .hero__secondary .btn { width: 100%; max-width: 380px; justify-content: center; }
  .hero__booking .btn-call { padding-inline: .6rem; } /* symmetric padding so icon + number sit in the middle */
  .hero__secondary { flex-direction: column; width: 100%; gap: .75rem; }
  .reviews { max-width: 380px; text-align: start; }
  .hero__media { max-width: min(400px, 92%); }

  .about__media { justify-self: center; }
  .about__text { text-align: center; }
  .about__text p:not(.eyebrow) { margin-inline: auto; }
}

@media (max-width: 767px) {
  .section__head { text-align: center; }
  .section__head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; margin-left: calc(-1 * var(--ls)); }

  /* Quick info: one calm card with dividers instead of three separate boxes */
  .quick__grid {
    width: auto; margin-inline: var(--gutter); padding-inline: 0;
    gap: 0; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  }
  .quick__item { border: 0; border-radius: 0; padding: 1rem 1.25rem; }
  .quick__grid > * + * { border-top: 1px solid var(--border); }
  .quick__cell .quick__copied { bottom: auto; top: .6rem; inset-inline-end: 4.25rem; padding: .1rem .65rem; font-size: .875rem; box-shadow: none; } /* beside the label, clear of the address */
  @media (hover: hover) {
    .quick__cell:has(.quick__item:hover) .quick__copy { transform: translateY(-50%); }
    .quick__item:hover { transform: none; box-shadow: none; background: var(--soft); }
  }

  .services__grid { gap: 2rem; }
  .service-card__body { align-items: center; text-align: center; padding: 1.75rem 1.5rem 1.5rem; }
  .service-card h3 { margin-bottom: .25rem; }
  .tag-list { justify-content: center; margin-bottom: 1.5rem; }
  .service-card__prices { align-self: stretch; }

  .cta__actions { flex-direction: column; }
  .cta__actions .btn-call, .cta__actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .cta__actions .btn-call { padding-inline: .6rem; }

  /* Five groups don't fit one row on phones: the tabs wrap (e.g. 3 + 2) inside one rounded box */
  .tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  }
  .tab { flex: 1 1 auto; justify-content: center; padding-inline: .9rem; border-color: transparent; background: transparent; }

  .site-footer { margin-top: 0; padding-block: 2.5rem; }
  .footer__inner { justify-items: center; text-align: center; gap: 1rem; }
  .footer__links { justify-content: center; }
}

/* Very narrow phones (e.g. 320px): keep the header and bottom bar on one line */
@media (max-width: 379px) {
  .header__inner { gap: .5rem; }
  .logo { font-size: 1.35rem; }
  .header__tools { gap: 0; }
  .lang { margin-inline-end: .125rem; }
  .lang__toggle { padding: 0 .55rem; gap: .25rem; }
  .lang__toggle .icon:first-child { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .eyebrow, .hero__text .eyebrow { --ls: .12em; }
  .hero__text .eyebrow::before, .hero__text .eyebrow::after { display: none; }
  .hero__text .eyebrow { padding-left: var(--ls); }
  .mobile-bar__online .icon { display: none; }
}

/* ==========================================================================
   Right-to-left (Persian) — most of the layout mirrors by itself (flex, grid, logical properties)
   ========================================================================== */
:root { --start: left; }
[dir="rtl"] { --start: right; }
/* Arrows and carousel chevrons point the other way; `scale` composes with their hover nudges */
[dir="rtl"] .icon--dir { scale: -1 1; }
/* Letter-spacing breaks the joined Persian script; Persian has no capitals to track anyway */
html[lang="fa"] *:not(.hero__title, .hero__title *, .logo, .logo *) { letter-spacing: normal !important; --ls: 0em; }
/* "4,6 /5" stays in reading order */
[dir="rtl"] .review__score { direction: ltr; unicode-bidi: isolate; justify-content: flex-end; }
html[lang="fa"] .hero__booking-label, html[lang="fa"] .hero__text .eyebrow { padding-inline-start: 0; }

/* ==========================================================================
   Motion — gentle, only when JS is running and motion is welcome
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal.d1 { transition-delay: .1s; }
  .js .reveal.d2 { transition-delay: .2s; }
  .js .reveal.d3 { transition-delay: .3s; }
  .js .reveal.d4 { transition-delay: .6s; }

  .js .reveal-media .photo { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease); }
  .js .reveal-media .photo--arch { clip-path: inset(100% 0 0 0 round 999px 999px var(--radius) var(--radius)); }
  .js .reveal-media .photo > * { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .js .reveal-media.is-visible .photo { clip-path: inset(0 0 0 0 round var(--radius)); }
  .js .reveal-media.is-visible .photo--arch { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
  .js .reveal-media.is-visible .photo > * { transform: none; }
  .js .reveal-media .photo figcaption { transform: none; }
  .js .reveal-media .carousel { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease); }
  .js .reveal-media.is-visible .carousel { clip-path: inset(0 0 0 0 round var(--radius)); }

  .js .flourish path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .45s; }
  .js .flourish.is-visible path { stroke-dashoffset: 0; }
}

/* main.js never ran (see theme-init.js): show the content without the reveal effects */
.no-reveal .reveal, .no-reveal .reveal-media .photo, .no-reveal .reveal-media .carousel, .no-reveal .reveal-media .photo > * {
  opacity: 1 !important; transform: none !important; clip-path: none !important;
}
.no-reveal .flourish path { stroke-dashoffset: 0 !important; }

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

.print-only { display: none; }

/* ==========================================================================
   Print — a plain, ink-friendly version (mainly for printing the price lists)
   ========================================================================== */
@media print {
  :root, :root[data-theme] {
    --bg: #fff; --surface: #fff; --soft: #fff; --text: #000; --text-2: #444; --border: #bbb;
    --primary: #000; --on-primary: #fff; --shadow: none; --grain: 0;
  }
  body { background: #fff; color: #000; font-size: 12pt; }
  body::before { display: none; }
  .skip-link, .header__tools, .nav, .mobile-menu, .mobile-bar, .tabs, .link-arrow--back,
  .price-row__book, .booking-box hr, .booking-box__online, .booking-box .btn, .booking-box__status,
  .hero__media, .carousel, .photo, .map, .map__actions, .copy-btn, .footer__links, .btn, .reviews { display: none !important; }
  .site-header { position: static; border: 0; box-shadow: none; background: none; }
  .reveal, .reveal-media { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1rem; }
  .price-page__grid { display: block; }
  .price-card, .booking-box { box-shadow: none; border: 1px solid #bbb; }
  .price-card__title { break-after: avoid; }
  .price-row { break-inside: avoid; }
  .price-row:hover { background: none; }
  /* The booking box becomes a "call us" line under the list */
  .booking-box { position: static; margin-bottom: 1.5rem; display: block; }
  .print-only { display: block !important; margin-top: .5rem; font-weight: 700; color: #000 !important; }
  .site-footer { margin-top: 1rem; padding-block: 1rem; }
  a { color: inherit; text-decoration: none; }
}
