/* =========================================================
   Augenarztpraxis Rendsburg – stiluri
   ========================================================= */

/* ---------- Fonturi (locale) ---------- */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

/* ---------- Bază ---------- */
:root {
  --ink: #393d48;
  --ink-2: #555a66;
  --ink-3: #5b5f6a;
  --teal: #5f7e80;
  --teal-deep: #46646a;
  --teal-mist: #eef4f3;
  --tan: #ad8063;
  --tan-soft: #f1e5da;
  --brown: #824e36;
  --cream: #faf7f2;
  --sand: #f3ede5;
  --hair: #e4dcd0;
  --line: rgba(57, 61, 72, .12);
  --night: #22262e;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(34, 38, 46, .04), 0 12px 32px -12px rgba(34, 38, 46, .14);
  --shadow-lg: 0 30px 80px -30px rgba(34, 38, 46, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 124px;
  --f-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 em, h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus, var(--teal-deep)); outline-offset: 3px; border-radius: 6px; }
.footer, .hours { --focus: #ffffff; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none; }
h1, h2, h3 { text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p, li { text-wrap: pretty; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.4em; border-radius: 999px; font: 500 15px/1 var(--f-sans);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1.05em 1.7em; font-size: 16px; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -10px rgba(57, 61, 72, .6); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.6); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--ghost:hover svg { transform: none; }

/* ---------- Supratitlu (eyebrow) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brown);
}
.eyebrow__line { width: 28px; height: 1.5px; background: var(--tan); border-radius: 2px; }

/* ---------- Status deschis / închis ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); position: relative; flex: none; }
.status.is-open .dot { background: #4f9a78; }
.status.is-closed .dot { background: var(--brown); }
.js .status:not(.is-open):not(.is-closed) .dot { visibility: hidden; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0); border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(250, 247, 242, .88); border-color: var(--hair);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 74px; }
.brand { display: inline-flex; flex: none; }
.brand__logo { display: block; height: 109px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .brand__logo { height: 62px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.header__cta { padding: .8em 1.35em; }
.textsize {
  flex: none; display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--hair); background: rgba(255,255,255,.7); color: var(--ink); cursor: pointer;
  font: 500 17px/1 var(--f-sans); transition: background .3s, color .3s, border-color .3s;
}
.textsize small { font-size: .78em; margin-left: 1px; }
.textsize:hover { border-color: var(--ink); }
html.text-lg body { zoom: 1.15; }
.nav__textsize { display: none; }
.burger { display: none; }
/* ---------- Secțiuni ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; position: relative; }
.section h1, .section h2 { font-size: clamp(36px, 4.6vw, 62px); }

/* ---------- Praxis (prima secțiune) ---------- */
#praxis { padding-top: clamp(12px, 2vw, 28px); padding-bottom: clamp(36px, 4vw, 56px); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__media { position: relative; aspect-ratio: 5 / 6; }
.photo-slot { position: absolute; border-radius: var(--radius-lg); overflow: hidden; background: var(--teal-mist); }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot--tall img { object-position: 35% 50%; }
.photo-slot--small img { object-position: 70% 50%; }
.photo-slot--tall { inset: 0 18% 8% 0; }
.photo-slot--small { width: 46%; aspect-ratio: 1; right: 0; bottom: 0; border: 8px solid var(--cream); background: var(--tan-soft); }
.about__badge { position: absolute; top: 8%; right: 4%; width: 124px; height: 124px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; stroke: none; }
.about__badge text { font: 500 10.5px var(--f-sans); letter-spacing: .24em; fill: var(--teal-deep); }
.about__badge img { width: 54px; height: 54px; object-fit: contain; }
.about__copy > p { color: var(--ink-2); font-size: 17.5px; }
.about__copy h1 { margin-bottom: 24px; }
.about__docs-h { margin: 48px 0 12px; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.about__docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 560px; }
.about__doc {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px 18px;
  border-radius: var(--radius); border: 1px solid var(--hair); background: #fff;
}
.about__doc img {
  width: 104px; height: 104px; margin-bottom: 12px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; flex: none;
  box-shadow: 0 0 0 5px var(--teal-mist);
}
.about__doc b { font-weight: 500; font-size: 17px; line-height: 1.25; }
.about__doc small { margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--ink-3); }
.about__doc .about__doc-note { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hair); color: var(--teal-deep); }
@media (max-width: 520px) {
  .about__docs { gap: 10px; }
  .about__doc { padding: 18px 10px 16px; }
  .about__doc img { width: 92px; height: 92px; }
  .about__doc b { font-size: 15.5px; }
  .about__doc small { font-size: 13px; }
}

/* ---------- Fereastră: apel / programare / rută ---------- */
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  width: min(440px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px;
  background: var(--cream); color: var(--ink); box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(34, 38, 46, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: modalIn .32s var(--ease); }
.sheet[open]::backdrop { animation: fadeIn .32s var(--ease); }
.sheet__panel { position: relative; padding: 30px 28px 26px; }
.sheet__grip { display: none; }
.sheet__close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--hair); background: #fff; color: var(--ink); cursor: pointer;
}
.sheet__close svg { width: 18px; height: 18px; }
.sheet__eyebrow { margin: 0 0 8px; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); font-weight: 500; }
.sheet__title { font-size: 30px; line-height: 1.15; margin: 0 0 10px; padding-right: 44px; }
.sheet__title a { color: var(--ink); }
.sheet__title a:hover { color: var(--teal-deep); }
.sheet__title span { color: var(--ink-2); font-weight: 400; font-size: .72em; }
.sheet__status { font-size: 15px; font-weight: 500; margin: 0 0 18px; }
.sheet__note { margin: 4px 0 18px; padding: 16px 18px; border-radius: 16px; background: var(--tan-soft); color: #5c3a2a; font-size: 15.5px; }
.sheet__note p { margin: 0; }
.sheet__note-num { display: inline-block; margin: 6px 0; font-size: 26px; font-weight: 500; color: var(--brown); }
.sheet__fine { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }
.sheet__note .sheet__fine { margin-top: 4px; color: #7a5644; }
.sheet__note--soft { background: var(--teal-mist); color: var(--ink); }
.sheet__note--soft .sheet__fine { color: var(--ink-2); }
.sheet__note a:not(.sheet__note-num), .sheet__fine a { text-decoration: underline; text-underline-offset: 3px; }
.sheet__actions { display: grid; gap: 10px; }
.sheet__actions .btn { width: 100%; }
.sheet__actions .btn svg { width: 19px; height: 19px; }
.sheet__actions .btn:hover svg { transform: none; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) {
  .sheet__row { grid-template-columns: 1fr; }
}
.sheet__row .btn { padding: .95em .8em; font-size: 14.5px; }
.btn.is-done { border-color: var(--teal); color: var(--teal-deep); }
.btn--primary.is-done, .btn--primary.is-done:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

/* ---------- Bare de derulare în ferestre și meniu ---------- */
.sheet::-webkit-scrollbar, .nav::-webkit-scrollbar { width: 12px; }
.sheet::-webkit-scrollbar-track, .nav::-webkit-scrollbar-track { background: transparent; margin: 28px 0; }
.sheet::-webkit-scrollbar-thumb, .nav::-webkit-scrollbar-thumb {
  background: rgba(173, 128, 99, .38); border-radius: 12px;
  border: 4px solid transparent; background-clip: padding-box; min-height: 48px;
}
.sheet::-webkit-scrollbar-thumb:hover, .nav::-webkit-scrollbar-thumb:hover { background-color: rgba(130, 78, 54, .6); }
@supports (-moz-appearance: none) {
  .sheet, .nav { scrollbar-width: thin; scrollbar-color: rgba(173, 128, 99, .45) transparent; }
}

/* ---------- Contact ---------- */
#kontakt { padding-top: clamp(36px, 4.5vw, 64px); }
.contact { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "info hours" "map map"; gap: 24px 60px; }
.contact__info { grid-area: info; }
.contact__info h2 { margin-bottom: 30px; }
.contact__cards { display: grid; gap: 12px; }
.ccard { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.ccard__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-mist); color: var(--teal-deep); flex: none; }
.ccard__icon svg { width: 22px; height: 22px; }
.ccard small { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink-3); }
.ccard a:hover { color: var(--teal-deep); }
.ccard__sub { display: block; font-size: 15px; color: var(--ink-3); }
.hours { grid-area: hours; align-self: start; margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 34px; }
.hours__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.hours__head h3 { font-size: 24px; }
.status--pill { white-space: nowrap; font-size: 14.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hours__table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.hours__table td, .hours__table th { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; text-align: left; font-weight: 400; }
.hours__table td:last-child { text-align: right; color: rgba(255,255,255,.88); }
.hours__table tr.is-today td, .hours__table tr.is-today th { color: #ecc9ad; font-weight: 500; }
.hours__table tr.is-today th::after { content: "Heute"; margin-left: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(228,195,168,.16); vertical-align: 2px; }
.hours .fine { color: rgba(255,255,255,.75); }
.contact__map { grid-area: map; position: relative; margin-top: 20px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 380px; border: 1px solid var(--hair); }
.map__place {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 8px 18px 8px 8px; border: 0; border-radius: 18px; background: rgba(250,247,242,.96); box-shadow: var(--shadow);
  color: var(--ink); font: inherit; text-align: left; cursor: zoom-in; transition: box-shadow .3s, transform .35s var(--ease);
}
.map__place:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.map__place img { width: 88px; height: 110px; border-radius: 12px; object-fit: cover; object-position: 50% 40%; flex: none; }
.map__place b { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.map__place > span > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.map__place .map__place-zoom { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 500; color: var(--teal-deep); }
.map__place-zoom svg { width: 17px; height: 17px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15) contrast(.95); }
.map:focus-within { outline: 2px solid var(--teal-deep); outline-offset: 3px; }
.map__consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px;
  background:
  repeating-linear-gradient(0deg, transparent 0 46px, rgba(95,126,128,.08) 46px 47px),
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(95,126,128,.08) 46px 47px),
  radial-gradient(circle at 50% 45%, var(--teal-mist), var(--sand));
}
.map__consent > svg { width: 40px; height: 40px; color: var(--brown); }
.map__consent p { margin: 0; color: var(--ink-2); font-size: 16px; }
.map__consent strong { color: var(--ink); font-weight: 500; font-size: 18px; }
.map__link { position: absolute; right: 16px; top: 16px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.fine { font-size: 14.5px; color: var(--ink-3); margin: 18px 0 0; }

/* ---------- Poza clădirii (mărită) ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(34, 38, 46, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open], .lightbox[open]::backdrop { animation: fadeIn .3s var(--ease); }
.lightbox img { display: block; width: auto; height: auto; max-width: min(92vw, 640px); max-height: 88vh; border-radius: 20px; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 0; background: rgba(250,247,242,.95); color: var(--ink); cursor: pointer;
}
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.8); padding: 80px 0 30px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 280px; }
.footer__h { color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.footer__grid > div > a { display: block; padding: 4px 0; margin-bottom: 4px; }
.footer a:hover { color: #fff; }
.footer address { margin-bottom: 8px; }
.footer__big { font-size: 28px; color: #ecc9ad; font-weight: 500; letter-spacing: -.01em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 14.5px; flex-wrap: wrap; }
.footer__bottom nav { display: flex; gap: 22px; }

/* ---------- Bara de jos (doar pe telefon) ---------- */
.actionbar { display: none; }

/* ---------- Apariție la derulare ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.reveal-off) .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js:not(.reveal-off) .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Tabletă și telefon ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; gap: 6px; width: 46px; height: 46px; place-content: center; order: 1; border-radius: 50%; border: 1px solid var(--hair); background: #fff; cursor: pointer; }
  .burger span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
  .textsize { margin-left: auto; }
  .nav.is-open {
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--cream); padding: 12px 24px 26px; border-bottom: 1px solid var(--hair); box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--hair); }
  .nav.is-open a::after { display: none; }
  .nav.is-open .nav__textsize {
    display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--hair);
    background: none; color: var(--ink-2); font: 400 20px var(--f-sans); text-align: left; cursor: pointer;
  }
  .nav__textsize span { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hair); font-size: 15px; font-weight: 500; color: var(--ink); }
  .nav.is-open .nav__cta-mobile { display: inline-flex; margin-top: 16px; border: 0; color: #fff; background: var(--ink); font-size: 16px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 104px; }
  html { scroll-padding-top: 76px; scroll-padding-bottom: 90px; }
  body { font-size: 17px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 32px); }
  .header__cta { display: none; }
  .textsize { display: none; }
  .burger { margin-left: auto; }
  .brand__logo { height: 92px; }
  .header.is-scrolled .brand__logo { height: 54px; }
  .header.is-scrolled .header__inner { height: 64px; }
  .contact { grid-template-columns: 1fr; grid-template-areas: "info" "hours" "map"; }
  .hours { margin-top: 0; padding: 26px 22px; }
  .map { height: 300px; }
  .map__place { position: static; width: 100%; margin-top: 10px; box-shadow: none; border: 1px solid var(--hair); background: #fff; }
  .map__place img { width: 72px; height: 90px; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__badge { width: 100px; height: 100px; }
  .about__badge img { width: 42px; height: 42px; }
  .section { padding: 72px 0; }
  .sheet { width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92vh; overflow-y: auto; }
  .sheet[open] { animation: sheetUp .38s var(--ease); }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
  .sheet__panel { padding: 14px 20px calc(22px + env(safe-area-inset-bottom)); }
  .sheet__grip { display: block; width: 42px; height: 5px; border-radius: 3px; background: var(--hair); margin: 0 auto 18px; }
  .sheet__title { font-size: 28px; }
  .nav.is-open { max-height: calc(100vh - var(--header-h) - 76px - env(safe-area-inset-bottom)); }
  .actionbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(250,247,242,.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair);
  }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 52px; border-radius: 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
  .actionbar svg { width: 20px; height: 20px; }
  .actionbar__main { background: var(--ink); color: #fff !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .header, .actionbar, .map { display: none !important; }
}

/* ---------- Înălțimea reală a ecranului (browsere pe telefon) ---------- */
@supports (height: 100dvh) {
  @media (max-width: 1080px) {
    .nav.is-open { max-height: calc(100dvh - var(--header-h)); }
  }
  @media (max-width: 720px) {
    .nav.is-open { max-height: calc(100dvh - var(--header-h) - 76px - env(safe-area-inset-bottom)); }
  }
  .sheet { max-height: calc(100dvh - 32px); }
  @media (max-width: 720px) {
    .sheet { max-height: 92dvh; }
  }
}
@media (forced-colors: active) {
  .burger span { forced-color-adjust: none; background: ButtonText; }
}
@media (min-width: 721px) {
  .nav.is-open .nav__textsize { display: none; }
}

/* ---------- Banner cookies (Google Analytics) ---------- */
.consent {
  position: fixed; left: 24px; bottom: 24px; z-index: 70; width: min(440px, calc(100% - 48px));
  padding: 22px 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--hair);
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.consent.is-in { opacity: 1; transform: none; }
.consent__title { margin: 0 0 6px; font-weight: 500; font-size: 17px; color: var(--ink); }
.consent__text { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.consent__text a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* ambele butoane arată la fel – cerință pentru consimțământ valabil */
.consent__btn { width: 100%; background: var(--ink); color: #fff; }
.consent__btn:hover { background: var(--teal-deep); transform: translateY(-2px); }
.footer__consent { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer__consent:hover { color: #fff; }
@media (max-width: 720px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 18px 18px 16px; }
  .consent__text { font-size: 14.5px; }
}
@media print { .consent { display: none !important; } }

/* ---------- Pagini legale (Impressum, Datenschutz) ---------- */
.legal { max-width: 780px; padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin: 0 0 10px; }
.legal__lead { color: var(--ink-3); margin-bottom: 28px; }
.legal h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal h3 { font-size: 17.5px; line-height: 1.35; letter-spacing: 0; margin: 24px 0 8px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__date { margin-top: 40px; font-size: 15px; color: var(--ink-3); }
