/* Nunito Sans + Inter - self-hosted (keine externen Font-Requests) */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/inter-normal-300-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/inter-normal-300-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-normal-300-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-normal-300-latin.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-normal-300-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-normal-300-latin.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: 'Nunito Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-italic-300-latin-ext.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: 'Nunito Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-italic-300-latin.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: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-italic-300-latin-ext.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: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-italic-300-latin.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin-ext.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin-ext.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin-ext.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin-ext.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin-ext.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: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/nunito-sans-normal-300-latin.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;
}

/* ================================================================
   Reaging Medicine - Shared Styles
   Brand: Dr. Beata Lutomska-Kaufmann
   Palette: Steel/Turquoise #80a7ba (primary) · Slate #667e92 · Navy #0a1551 (accent)
            Rose #e8c8be (accent) · warm Off-White background
   ================================================================ */

:root {
  --navy:       #0a1551;   /* accent only - headings, one strong button. NEVER a big background */
  --steel:      #80a7ba;   /* PRIMARY brand colour - main buttons + bold section bands */
  --steel-hover:#72a0b4;
  --slate:      #667e92;
  --mist:       #e9f1f4;   /* light turquoise tint - alternating section bands */
  --rose:       #e8c8be;   /* accent / alternate button */
  --cream:      #f8eddd;   /* legacy warm tone - used very sparingly */
  --white:      #ffffff;
  --off-white:  #faf9f7;   /* warm off-white - body background (elegant, not vintage) */
  --text:       #1a1a2e;
  --black:      #1a1a2e;
  --border:     #e3e7ed;
  --gray:       #667e92;
  --sand:       #c3d3da;   /* cool decorative numerals (was warm sand) */
  --blue-light: #e9f1f4;   /* repointed to mist for visual consistency */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 52px;
}
.nav-logo {
  position: relative;
  padding-left: 46px;
  min-height: 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  text-decoration: none;
}
/* BK logo mark */
.nav-logo::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 44px;
  background: url("images/logo.png") left center / contain no-repeat;
}
.nav-logo-main {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy);
}
.nav-logo-sub {
  font-size: 10px; font-weight: 300;
  letter-spacing: .1em; color: var(--slate);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
  opacity: .85; transition: opacity .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--steel); }

/* mobile nav controls - inert on desktop (hamburger appears under 860px) */
.nav-toggle { display: none; }
.nav-burger { display: none; }
.nav-drawer { display: contents; }

/* ── BUTTONS / PILLS ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 100px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
  transition: background .2s, opacity .2s, transform .15s;
}
.pill:hover { transform: translateY(-1px); }
/* PRIMARY - turquoise, the dominant call to action */
.pill-dark  { background: var(--steel); color: #fff; }
.pill-dark:hover { background: var(--steel-hover); }
/* SECONDARY - quiet, bordered tint */
.pill-light { background: var(--mist); color: var(--navy); box-shadow: inset 0 0 0 1px var(--border); }
.pill-light:hover { background: #dfeaef; }
/* ACCENT - rose */
.pill-rose  { background: var(--rose); color: var(--navy); }
.pill-rose:hover { opacity: .88; }
/* HIGH-EMPHASIS - navy, used sparingly (e.g. on a turquoise band) */
.pill-navy  { background: var(--navy); color: #fff; }
.pill-navy:hover { opacity: .9; }

/* ── LABEL ── */
.label {
  display: block;
  font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 18px;
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ── IMAGE PLACEHOLDER (temporary until real photos drop in) ── */
.img-ph {
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  background: linear-gradient(135deg, #eef4f6 0%, #dce8ed 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.img-ph-label {
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel);
}
.img-ph-label small {
  display: block; margin-top: 7px;
  font-size: 11px; font-weight: 300;
  letter-spacing: .04em; text-transform: none;
  color: var(--slate);
}

/* ── PAGE HEADER (subpages) ── */
.page-header { padding: 64px 52px 52px; }
.page-header h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -.02em; color: var(--navy);
  max-width: 700px;
}
.page-header p {
  font-size: 16px; color: var(--slate);
  max-width: 540px; line-height: 1.75;
  margin-top: 20px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 52px 38px;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; text-align: center;
}
.footer-logo { display: block; line-height: 0; }
.footer-logo img { height: 60px; width: auto; display: block; }
.footer-links {
  display: flex; gap: 12px 26px; list-style: none;
  flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 11px; color: var(--slate);
  text-decoration: none; letter-spacing: .06em;
  text-transform: uppercase; transition: opacity .2s;
}
.footer-links a:hover { opacity: .6; }
.footer-legal {
  display: flex; gap: 8px 20px; list-style: none;
  flex-wrap: wrap; justify-content: center; margin-top: 2px;
}
.footer-legal a {
  font-size: 10px; color: var(--slate); opacity: .7;
  text-decoration: none; letter-spacing: .06em;
  text-transform: uppercase; transition: opacity .2s;
}
.footer-legal a:hover { opacity: 1; }
.footer-copy {
  margin-top: 4px; padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%; max-width: 240px; text-align: center;
  font-size: 11px; color: var(--slate);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE - mobile-first experience layered on top.
   Most patients arrive on a phone: nav wraps, grids stack,
   type and spacing scale down to feel calm and elegant on a
   small screen. Shared chrome (nav, footer, page header, pills).
   ================================================================ */

/* ── Tablet & below ── */
@media (max-width: 860px) {
  nav { position: relative; padding: 14px 22px; }

  /* hamburger button - right aligned */
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 40px;
    margin-left: auto; cursor: pointer;
  }
  .nav-burger span {
    display: block; width: 24px; height: 2px; margin-left: auto;
    background: var(--navy); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }

  /* dropdown panel holding the links + CTA */
  .nav-drawer {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 26px rgba(10,21,81,.07);
    padding: 0 22px;
    max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
  }
  .nav-toggle:checked ~ .nav-drawer {
    max-height: 440px; opacity: 1; visibility: visible;
    padding: 8px 22px 22px;
  }

  .nav-links { flex-direction: column; width: 100%; gap: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%;
    padding: 16px 2px; font-size: 13px;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { margin-top: 20px; width: 100%; justify-content: center; }

  /* burger morphs into an X when open */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .page-header { padding: 48px 22px 36px; text-align: center; }
  .page-header h1 { font-size: clamp(33px, 9vw, 48px); margin-left: auto; margin-right: auto; }
  .page-header p { font-size: 15px; margin-left: auto; margin-right: auto; }

  footer { padding: 42px 22px 34px; gap: 22px; }
  .footer-links { gap: 12px 22px; }
}

/* ── Phone ── */
@media (max-width: 520px) {
  nav { padding: 12px 18px; }

  .page-header { padding: 40px 18px 30px; }
  .page-header h1 { font-size: clamp(30px, 10vw, 40px); }

  /* comfortable, thumb-friendly buttons */
  .pill { padding: 13px 22px; font-size: 11px; }

  footer { padding: 28px 18px; }
}


@media (max-width: 600px) {
  .jf-consent { padding: 26px 18px; }
  .jf-consent__btn { width: 100%; }
}

/* ── LANGUAGE SWITCH ──
   Typographic, not a graphic - matches the nav's 11px uppercase idiom.
   The inactive language is a real <a> to the equivalent page (never the
   other homepage), so the switch is crawlable and hreflang stays honest. */
.lang-switch {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.lang-globe {
  width: 13px; height: 13px;
  color: var(--slate); opacity: .55;
  flex: none;
}
.lang-switch .lang-on  { color: var(--navy); }
.lang-switch .lang-sep { color: var(--sand); }
.lang-switch .lang-off {
  color: var(--slate); text-decoration: none; opacity: .65;
  transition: opacity .2s, color .2s;
}
.lang-switch .lang-off:hover,
.lang-switch .lang-off:focus-visible { opacity: 1; color: var(--steel); }

/* Desktop: nav is space-between, so the switch sits hard right after the CTA.
   Mobile: reorder so it lands just left of the hamburger, still one tap away. */
@media (max-width: 860px) {
  .lang-switch { order: 2; margin-left: auto; gap: 6px; }
  .nav-burger  { order: 3; margin-left: 14px; }
}
@media (max-width: 380px) {
  .lang-globe { display: none; }
}

/* Courtesy-translation notice on the English legal pages - the German
   original stays the legally binding version. */
.legal-translation-note {
  margin-bottom: 26px; padding: 14px 18px;
  background: var(--mist); border-left: 2px solid var(--steel);
  border-radius: 3px;
  font-size: 13px; line-height: 1.6; color: var(--slate);
}
.legal-translation-note a { color: var(--navy); }

/* Desktop: group links + CTA as one right-aligned cluster so the language
   switch can sit hard right WITHOUT space-between pulling the primary CTA
   in from the edge. Under 860px the mobile drawer rules above take over. */
@media (min-width: 861px) {
  .nav-drawer { display: flex; align-items: center; gap: 40px; margin-left: auto; }
  .lang-switch { margin-left: 28px; }
}

/* ── PRACTICE-CLOSURE NOTICE (vacation.js) ──
   Injected by vacation.js, self-expiring. No cookies, nothing third-party. */
.vac-open { overflow: hidden; }
.vac-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10, 21, 81, .42);
  backdrop-filter: saturate(140%) blur(4px);
  animation: vac-fade .22s ease both;
}
.vac-card {
  position: relative;
  width: 100%; max-width: 470px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 42px 40px 36px;
  box-shadow: 0 22px 60px rgba(10, 21, 81, .18);
  text-align: left;
  animation: vac-rise .26s cubic-bezier(.2, .7, .3, 1) both;
}
.vac-x {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 50%;
  color: var(--slate); cursor: pointer;
  transition: background .2s, color .2s;
}
.vac-x svg { width: 17px; height: 17px; }
.vac-x:hover { background: var(--mist); color: var(--navy); }
.vac-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 14px;
}
.vac-title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 27px; font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 14px;
}
.vac-body {
  font-size: 15px; line-height: 1.7; color: var(--text);
  margin-bottom: 12px;
}
.vac-note {
  font-size: 13px; line-height: 1.65; color: var(--gray);
  margin-bottom: 26px;
}
.vac-ok { width: 100%; justify-content: center; }

@keyframes vac-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes vac-rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

@media (max-width: 520px) {
  .vac-card { padding: 36px 24px 28px; border-radius: 14px; }
  .vac-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .vac-overlay, .vac-card { animation: none; }
}

/* ══ TOPIC PAGES (/darm/, /schilddruese/, …) ══
   Shared by the eight pages lifted from the old .at site. Uses the existing
   tokens and type scale - no new palette. */
.topic-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 52px 24px;
}
.topic-body > section { margin-bottom: 52px; }
.topic-body h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(25px, 3.4vw, 33px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -.015em; color: var(--navy);
  margin-bottom: 18px;
}
.topic-body h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 19px; font-weight: 700;
  color: var(--navy); margin: 34px 0 12px;
}
.topic-body p {
  font-size: 16px; line-height: 1.8;
  color: var(--text); margin-bottom: 17px;
}
.topic-body p.lead {
  font-size: 18px; line-height: 1.75; color: var(--slate);
}
.topic-list { list-style: none; padding: 0; margin: 0 0 20px; }
.topic-list li {
  position: relative; padding-left: 28px;
  font-size: 15.5px; line-height: 1.72;
  color: var(--text); margin-bottom: 12px;
}
.topic-list li::before {
  content: ""; position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--steel);
}

/* pull-quote style band for the one line that matters on a page */
.topic-note {
  background: var(--mist);
  border-left: 3px solid var(--steel);
  border-radius: 0 8px 8px 0;
  padding: 22px 26px;
  margin: 0 0 20px;
}
.topic-note p:last-child { margin-bottom: 0; }

/* questionnaire CTA - the card that replaces an inline form (decision D1) */
.quiz-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 34px;
  box-shadow: 0 10px 30px rgba(10, 21, 81, .05);
  display: flex; align-items: center; gap: 26px;
  flex-wrap: wrap;
}
.quiz-cta-text { flex: 1 1 16em; }
.quiz-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-cta .label { margin-bottom: 8px; }
.quiz-cta h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 21px; font-weight: 700;
  color: var(--navy); margin: 0 0 8px;
}
.quiz-cta p {
  font-size: 14.5px; line-height: 1.65;
  color: var(--slate); margin: 0;
}

/* closing appointment band */
.topic-cta {
  background: var(--mist);
  padding: 62px 52px;
  text-align: center;
  margin-top: 8px;
}
.topic-cta h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 700; line-height: 1.14;
  color: var(--navy); margin-bottom: 14px;
}
.topic-cta p {
  font-size: 15.5px; color: var(--slate);
  max-width: 460px; margin: 0 auto 28px;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .topic-body { padding: 36px 22px 20px; }
  .quiz-cta { padding: 26px 24px; gap: 20px; }
  .topic-cta { padding: 52px 22px; }
}
@media (max-width: 520px) {
  .topic-body { padding: 30px 18px 16px; }
  .topic-body > section { margin-bottom: 42px; }
}

/* ══ SELF-HOSTED QUESTIONNAIRES (/test/…) ══
   Questions are real markup so they are crawlable; scoring runs in the
   browser and NOTHING is ever transmitted. No third party, no storage. */
.quiz { max-width: 760px; margin: 0 auto; padding: 0 52px; }
.q {
  border: none; margin: 0 0 14px; padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.q > legend {
  display: block; width: 100%; padding: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--navy);
  line-height: 1.45; margin-bottom: 16px;
}
.q > legend .q-num {
  color: var(--steel); font-weight: 500; margin-right: 9px;
}
.q-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.q-opts label {
  position: relative; cursor: pointer;
  padding: 9px 20px; border-radius: 100px;
  background: var(--off-white);
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: 14px; color: var(--slate);
  transition: background .15s, color .15s, box-shadow .15s;
  user-select: none;
}
.q-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.q-opts label:hover { background: var(--mist); color: var(--navy); }
.q-opts input:checked + span { color: #fff; }
.q-opts label:has(input:checked) {
  background: var(--steel); color: #fff;
  box-shadow: inset 0 0 0 1px var(--steel);
}
.q-opts label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.q.missing { box-shadow: inset 0 0 0 2px var(--rose); }

.quiz-actions {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; margin-top: 26px;
}
.quiz-hint { font-size: 13.5px; color: var(--gray); }
.quiz-hint.error { color: #a94f42; }

/* ── RESULT ── */
.quiz-result { margin-top: 30px; }
.quiz-result-card {
  border-radius: 14px; padding: 30px 32px;
  border: 1px solid var(--border);
  border-left-width: 4px;
  background: var(--white);
}
.quiz-result-card h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 21px; font-weight: 700;
  line-height: 1.3; margin: 0 0 12px;
}
.quiz-result-card p { font-size: 15px; line-height: 1.75; color: var(--text); margin: 0 0 13px; }
.quiz-result-card p:last-child { margin-bottom: 0; }
.quiz-score {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 12px; display: block;
}
.band-green  { border-left-color: #3f7d64; }
.band-green  h3, .band-green  .quiz-score { color: #3f7d64; }
.band-yellow { border-left-color: #b07d2b; }
.band-yellow h3, .band-yellow .quiz-score { color: #b07d2b; }
.band-red    { border-left-color: #a94f42; }
.band-red    h3, .band-red    .quiz-score { color: #a94f42; }

.quiz-disclaimer {
  margin-top: 20px; padding: 18px 22px;
  background: var(--mist); border-radius: 10px;
  font-size: 13.5px; line-height: 1.7; color: var(--slate);
}
.quiz-privacy {
  margin-top: 16px; font-size: 13px; color: var(--gray);
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.6;
}
.quiz-privacy svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--steel); }

@media (max-width: 860px) { .quiz { padding: 0 22px; } .q { padding: 20px 20px; } }
@media (max-width: 520px) {
  .quiz { padding: 0 18px; }
  .q > legend { font-size: 16px; }
  .q-opts label { padding: 9px 16px; font-size: 13.5px; }
}

.quiz-wrap { padding: 8px 0 12px; }

/* ══ /test/ HUB ══ */
.test-grid {
  max-width: 900px; margin: 0 auto; padding: 0 52px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
}
.test-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 8px 26px rgba(10, 21, 81, .04);
  transition: transform .18s, box-shadow .18s;
}
.test-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10, 21, 81, .08); }
.test-card h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 21px; font-weight: 700; color: var(--navy);
  line-height: 1.25; margin: 0;
}
.test-card p { font-size: 14.5px; line-height: 1.65; color: var(--slate); margin: 0; flex: 1; }
.test-card .test-meta {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray); font-weight: 500;
}
/* the duration stays lowercase - "CA. 3 MIN" shouted louder than the
   question count, which is the part worth reading first */
.test-card .test-dur { text-transform: none; letter-spacing: .04em; }
.test-card .pill { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) { .test-grid { padding: 0 22px; } }
@media (max-width: 520px) { .test-grid { padding: 0 18px; } .test-card { padding: 24px 22px; } }

/* ══ DROPDOWN NAV ══
   CSS-only. Desktop: opens on hover and on keyboard focus-within.
   Mobile (<=860px): the burger drawer shows sub-items inline, indented -
   no hover on touch, so nothing is hidden behind an interaction that
   does not exist there. */
.nav-links > li { position: relative; }
.nav-links .caret {
  display: inline-block; width: 5px; height: 5px; margin-left: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: .55;
}
.nav-links .sub {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: 100%; left: -18px;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(10, 21, 81, .1);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 210;
}
.nav-links > li:hover > .sub,
.nav-links > li:focus-within > .sub {
  opacity: 1; visibility: visible; transform: none;
}
/* keeps the pointer from falling through the gap below the nav bar */
.nav-links > li.has-sub::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px;
}
.nav-links .sub li { display: block; }
.nav-links .sub a {
  display: block; padding: 9px 20px;
  font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--slate); opacity: .9;
}
.nav-links .sub a:hover { opacity: 1; color: var(--steel); background: var(--mist); }
.nav-links .sub .sub-sep {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .nav-links .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; background: none;
    min-width: 0; padding: 2px 0 8px;
  }
  .nav-links .sub a { padding: 8px 0 8px 18px; font-size: 11.5px; }
  .nav-links .sub a:hover { background: none; }
  .nav-links .sub .sub-sep { margin-top: 6px; padding-top: 6px; }
  .nav-links .caret { display: none; }
  .nav-links > li.has-sub::after { display: none; }
}

/* link from a symptom entry to its full topic page */
.sym-more { margin-top: 18px; }
.sym-more a {
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--steel); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.sym-more a:hover { color: var(--navy); }


/* ══ SYMPTOM ACCORDION (moved from selbsttest.html into /test/) ══ */
.content { padding: 0 52px 80px; max-width: 940px; margin: 0 auto; }
.sym-item { border-bottom: 1px solid var(--border); }
.sym-item:first-child { border-top: 1px solid var(--border); }
.sym-item summary {
      list-style: none; cursor: pointer;
      display: flex; align-items: center; gap: 16px;
      padding: 24px 4px;
    }
.sym-item summary::-webkit-details-marker { display: none; }
.sym-item-num {
      font-size: 13px; font-weight: 700; color: var(--steel);
      width: 24px; flex-shrink: 0;
    }
.sym-item-icon { font-size: 22px; flex-shrink: 0; }
.sym-item-title {
      font-family: 'Nunito Sans', sans-serif;
      font-size: 18px; font-weight: 700; color: var(--navy);
      flex: 1; line-height: 1.3; text-align: left;
      transition: color .2s;
    }
.sym-item-chevron {
      width: 10px; height: 10px; flex-shrink: 0; margin-right: 6px;
      border-right: 2px solid var(--slate);
      border-bottom: 2px solid var(--slate);
      transform: rotate(45deg);
      transition: transform .3s ease, border-color .2s;
    }
.sym-item[open] .sym-item-chevron { transform: rotate(-135deg); border-color: var(--steel); }
.sym-item[open] .sym-item-title,
    .sym-item summary:hover .sym-item-title { color: var(--steel); }
.sym-item-body {
      padding: 2px 0 32px 40px;
      animation: symFade .35s ease;
    }
.sym-item-body h3 {
      font-family: 'Nunito Sans', sans-serif;
      font-size: clamp(22px, 2.6vw, 30px);
      font-weight: 700; line-height: 1.2;
      color: var(--navy); margin-bottom: 16px;
    }
.sym-item-body p {
      font-size: 15px; color: var(--gray);
      line-height: 1.8; margin-bottom: 14px;
    }
.sym-item-body p:last-child { margin-bottom: 0; }
.content { padding: 0 22px 60px; }
.sym-item summary { padding: 20px 2px; gap: 12px; }
.sym-item-body { padding-left: 38px; }
.content { padding: 0 18px 48px; }
.sym-item-title { font-size: 16px; }
.sym-item-body { padding-left: 0; padding-top: 8px; }
@media (max-width: 860px) {
  .content { padding: 0 22px 60px; }
  .sym-item summary { padding: 20px 2px; gap: 12px; }
  .sym-item-body { padding-left: 38px; }
}
@media (max-width: 520px) {
  .content { padding: 0 18px 48px; }
  .sym-item-title { font-size: 16px; }
  .sym-item-body { padding-left: 0; padding-top: 8px; }
}

/* back link at the top of a questionnaire */
.quiz-back {
  max-width: 760px; margin: 0 auto; padding: 22px 52px 0;
}
.quiz-back a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
  opacity: .85; transition: opacity .2s, color .2s, gap .2s;
}
.quiz-back a::before {
  content: ""; width: 7px; height: 7px; flex: none;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.quiz-back a:hover { opacity: 1; color: var(--steel); gap: 11px; }
@media (max-width: 860px) { .quiz-back { padding: 18px 22px 0; } }
@media (max-width: 520px) { .quiz-back { padding: 16px 18px 0; } }

/* ══ CONTACT FORM (hand-built, posts to Netlify Forms) ══ */
.tf { display: flex; flex-direction: column; gap: 18px; }
.tf-row { display: flex; flex-direction: column; gap: 7px; }
.tf-row label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate);
}
/* every asterisk on the form reads as the same mark, wherever it appears */
.tf .req { color: #a94f42; font-weight: 600; }
.tf input[type="text"],
.tf input[type="email"],
.tf input[type="tel"],
.tf select,
.tf textarea {
  width: 100%; padding: 13px 15px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
.tf textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.tf select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%23667e92' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 12px; padding-right: 38px; cursor: pointer;
}
.tf input:focus, .tf select:focus, .tf textarea:focus {
  outline: none; border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(128, 167, 186, .18);
}
.tf input::placeholder, .tf textarea::placeholder { color: var(--sand); }

.tf-consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.6; color: var(--slate);
  margin-top: 2px;
}
.tf-consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--steel); }
.tf-consent a { color: var(--navy); }

.tf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.tf-note { font-size: 13px; color: var(--gray); }

/* honeypot - never shown to a person */
.tf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* link out of the homepage focus block to the doctor's own page */
/* the wrapper owns the spacing: a flex box has no line-box slack, so the gap
   below the pill matches .dr-block's 40px above it exactly */
.dr-link-wrap { display: flex; align-items: flex-start; margin-bottom: 40px; }
/* Deliberately quieter than .pill-dark: the booking CTA is the page's one
   strong action, and a second steel pill competes with it. */
.dr-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px 11px 18px;
  background: var(--mist);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .03em; color: var(--navy);
  text-decoration: none;
  transition: background .2s, gap .2s;
}
.dr-link::after {
  content: ""; width: 6px; height: 6px; flex: none;
  border-top: 1.5px solid var(--steel); border-right: 1.5px solid var(--steel);
  transform: rotate(45deg);
}
.dr-link:hover { background: #dfeaef; gap: 13px; }

/* Dropdowns size to their longest item rather than wrapping a name across two
   lines ("Dr. Beata Lutomska-Kaufmann"). The last menu sits near the right edge,
   so it opens leftwards to stay on screen. */
.nav-links .sub a { white-space: nowrap; }
.nav-links > li:last-child > .sub { left: auto; right: -18px; }
@media (max-width: 860px) {
  .nav-links .sub a { white-space: normal; }
  .nav-links > li:last-child > .sub { right: auto; }
}

/* ══ /horizon — workshop landing page ══
   A focused funnel page, not site content: reduced header, numbered steps,
   one action per section. Reuses the site's tokens throughout. */
.hz-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 52px; border-bottom: 1px solid var(--border);
  background: var(--white);
}
.hz-top .nav-logo { padding-left: 46px; }
.hz-back {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); text-decoration: none; opacity: .8;
}
.hz-back:hover { opacity: 1; color: var(--steel); }

.hz-hero { padding: 70px 52px 58px; max-width: 820px; margin: 0 auto; text-align: center; }
.hz-hero h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(34px, 6vw, 58px); font-weight: 700;
  line-height: 1.06; letter-spacing: -.02em; color: var(--navy);
  margin: 16px 0 20px;
}
.hz-hero p { font-size: 17px; line-height: 1.75; color: var(--slate); max-width: 56ch; margin: 0 auto; }

.hz-step { max-width: 820px; margin: 0 auto; padding: 56px 52px; }
.hz-step + .hz-step { border-top: 1px solid var(--border); }
.hz-step-hd { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.hz-num {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; color: #fff; background: var(--steel);
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  align-self: center;
}
.hz-step h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(25px, 3.6vw, 34px); font-weight: 700;
  line-height: 1.18; color: var(--navy); margin: 0;
}
.hz-step > p { font-size: 16px; line-height: 1.8; color: var(--slate); margin: 0 0 26px; }

/* videos */
.hz-videos { display: flex; flex-direction: column; gap: 20px; }
.hz-video {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.hz-video video { display: block; width: 100%; height: auto; background: #0d1222; }
.hz-video-meta { padding: 18px 22px; }
.hz-video-meta .label { margin-bottom: 6px; }
.hz-video-meta h3 {
  font-family: 'Nunito Sans', sans-serif; font-size: 18px;
  font-weight: 700; color: var(--navy); margin: 0 0 5px;
}
.hz-video-meta p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin: 0; }

/* placeholder while a video file is not in place yet */
.hz-video-todo {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; background: var(--mist);
  font-family: 'Inter', sans-serif; font-size: 13px; color: var(--slate);
  text-align: center; padding: 30px;
}

.hz-cta { background: var(--mist); padding: 62px 52px; text-align: center; }
.hz-cta h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(27px, 4vw, 40px); font-weight: 700;
  line-height: 1.14; color: var(--navy); margin-bottom: 14px;
}
.hz-cta p { font-size: 15.5px; color: var(--slate); max-width: 460px; margin: 0 auto 28px; line-height: 1.7; }

.hz-foot {
  padding: 34px 52px; text-align: center;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--gray);
}
.hz-foot a { color: var(--slate); text-decoration: none; border-bottom: 1px solid var(--border); }
.hz-foot a:hover { color: var(--navy); }
.hz-foot .sep { margin: 0 10px; color: var(--sand); }

@media (max-width: 860px) {
  .hz-top { padding: 16px 22px; }
  .hz-hero { padding: 48px 22px 40px; }
  .hz-step { padding: 44px 22px; }
  .hz-cta { padding: 48px 22px; }
  .hz-foot { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .hz-hero { padding: 40px 18px 34px; }
  .hz-step { padding: 38px 18px; }
  .hz-step-hd { gap: 12px; }
}
