/* ============================================================
   Lægerne Markedsstræde, forside
   Palette aligned to the clinic's teal wordmark + warm clay accent
   ============================================================ */

/* Fonts are self-hosted (assets/fonts/), no request to Google, CSP stays 'self'. */
@import url('fonts.css');

:root {
  /* ---- Colour ---- */
  --bg:        #faf6f1;   /* warm off-white — fra Sankt Hans Torv-paletten */
  --paper:     #FFFFFF;
  --paper-2:   #f5f1eb;
  --teal:      #6f8b86;   /* dæmpet sage-teal — primær brand */
  --teal-2:    #445b57;   /* mørkere sage, hover + labels */
  --teal-tint: #e4ddd5;   /* card wash */
  --teal-tint2:#ddd7cd;
  --clay:      #2f3d3a;   /* mørk skovgrøn — primær CTA */
  --clay-2:    #1e2928;
  --clay-soft: #8fa8a3;
  --sage:      #8fa8a3;   /* lys sage */
  --sage-2:    #6f8b86;   /* mellemtone, tekst på lys baggrund */
  --sage-tint: #e0e8e7;   /* sage wash til ikontiles / bånd */
  --ink:       #2f3d3a;   /* fra Sankt Hans Torv — varmere mørk grøn, passer til #faf6f1 */
  --ink-soft:  #445b57;   /* fra Sankt Hans Torv — mere distinkt sekundær tekst */
  --line:      rgba(68,91,87,0.16);
  --line-soft: rgba(68,91,87,0.09);

  /* ---- Radius ---- */
  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 40px;

  /* ---- Shadow ---- */
  --sh-1: 0 2px 8px -3px rgba(21,32,29,0.18);
  --sh-2: 0 14px 34px -20px rgba(21,32,29,0.40);
  --sh-3: 0 28px 64px -28px rgba(21,32,29,0.42);

  /* ---- Layout rhythm ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 116px);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 92% -6%, rgba(111,139,134,0.08), transparent 60%),
    radial-gradient(900px 640px at -8% 12%, rgba(47,61,58,0.07), transparent 58%);
  background-attachment: fixed;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Prettier ampersand: the & glyphs in Fraunces and Hanken Grotesk read as too
   ornate, so render every "&" in a classic italic serif instead. */
.amp {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---- Keyboard focus (accessibility): clear ring for tab users, not on mouse click ---- */
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* ---- Skip-to-content link: hidden until focused by keyboard ---- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--teal); color: #fff; padding: 11px 18px;
  border-radius: 10px; font-weight: 600; box-shadow: var(--sh-2);
  transition: top .18s ease;
}
.skip-link:focus { top: 14px; }

/* ---- Google reviews call-to-action ---- */
.reviews-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); max-width: 760px; margin-inline: auto;
  padding: clamp(40px, 5vw, 60px); text-align: center;
}
.reviews-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #F2E2D3; color: var(--clay); margin-bottom: 18px; }
.reviews-ic svg { width: 30px; height: 30px; }
.reviews-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--teal); line-height: 1.08; }
.reviews-card p { color: var(--ink-soft); margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.reviews-card .row { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Shared layout primitives (keeps everything snorlige) ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section.band { background: var(--teal-tint); }   /* full-bleed tinted "chapter" band */
.center { text-align: center; }

/* ---- Section heading ---- */
.sec-head { max-width: 56ch; margin-inline: auto; text-align: center; }
.sec-head.left { margin-inline: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sage-2);
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.04;
  letter-spacing: -0.018em; color: var(--teal); margin-top: 14px;
}
.sec-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.06rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--sans); font-weight: 600; font-size: 0.96rem;
  border: none; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; line-height: 1;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-clay  { background: var(--clay); color: #fff; box-shadow: var(--sh-1); }
.btn-clay:hover  { background: var(--clay-2); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(201,122,69,.6); }
.btn-teal  { background: var(--teal); color: #fff; }
.btn-teal:hover  { background: var(--teal-2); transform: translateY(-2px); }
.btn-ghost { background: var(--paper); color: var(--teal); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--clay-2); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   Utility top bar
   ============================================================ */
.utility { background: var(--teal); color: #EADFCE; font-size: 0.85rem; }
.utility .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 9px; flex-wrap: wrap;
}
.utility .u-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.utility .u-item { display: inline-flex; align-items: center; gap: 7px; }
.utility .u-item svg { width: 15px; height: 15px; opacity: .85; }
.utility b { color: #fff; }
.u-acute { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; color: #fff; }
.ua-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--clay); color: #fff; padding: 3px 12px 3px 10px;
  border-radius: 999px; font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.ua-badge .dot { background: #fff; }
.ua-field {
  background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 999px;
  font-weight: 500; white-space: nowrap;
}
.ua-field b { font-weight: 700; color: #fff; white-space: nowrap; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--clay-soft); flex: none;
  box-shadow: 0 0 0 0 rgba(230,176,131,.75); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230,176,131,.6); }
  70% { box-shadow: 0 0 0 9px rgba(230,176,131,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,176,131,0); }
}

/* ============================================================
   Header
   ============================================================ */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 14px;
}
.brand { flex: none; }
.brand img { height: 52px; width: auto; }
nav.main { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 500; font-size: 0.96rem; color: var(--ink-soft);
  position: relative; padding-block: 4px; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background: var(--clay); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: none; border: none; color: var(--teal); cursor: pointer; padding: 4px; }
.burger svg { width: 28px; height: 28px; }

/* Mobile drawer */
.drawer { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(30px, 4vw, 48px); }
.hero .grid {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(28px, 4vw, 52px); align-items: start;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--teal-2); background: var(--paper);
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; box-shadow: var(--sh-1);
}
.hero .eyebrow .d { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.0;
  letter-spacing: -0.022em; color: var(--teal); margin-top: 22px; max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--clay); }
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); margin-top: 22px; max-width: 44ch; }
.hero .actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero .trust .t { display: flex; align-items: center; gap: 11px; }
.hero .trust .t .ti { width: 40px; height: 40px; border-radius: 11px; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; flex: none; }
.hero .trust .t .ti svg { width: 19px; height: 19px; }
.hero .trust .t .k { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); font-weight: 600; }
.hero .trust .t .v { font-family: var(--serif); font-size: 1.12rem; color: var(--teal); line-height: 1.1; }

/* ---- Hero location photo ---- */
.hero-photo {
  margin: clamp(28px, 3.4vw, 38px) 0 0; position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-3);
  max-width: 540px;
}
.hero-photo a { display: block; }
.hero-photo img {
  display: block; width: 100%; height: clamp(190px, 26vw, 290px);
  object-fit: cover; object-position: center 38%;
}
.hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 9px;
  padding: 26px 18px 14px;
  font-size: 0.9rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(46,42,38,.78), rgba(46,42,38,0));
}
.hero-photo figcaption svg { width: 17px; height: 17px; color: var(--clay-soft); flex: none; }

/* Hero right column */
.hero-media { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ---- Hero "open today" card ---- */
.hero-hours {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
  padding: clamp(18px, 2.2vw, 24px); width: min(420px, 100%);
}
.hero-hours .hh-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; color: var(--sage-2);
}
.hero-hours .hh-status {
  display: flex; align-items: center; gap: 9px; margin-top: 11px;
  font-weight: 600; font-size: 1.04rem; color: var(--ink-soft);
}
.hero-hours .hh-status .hh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.hero-hours .hh-status.is-open { color: var(--sage-2); }
.hero-hours .hh-status.is-open .hh-dot { background: #5E9B5E; box-shadow: 0 0 0 4px rgba(94,155,94,.16); }
.hero-hours .hh-status.is-closed { color: var(--clay-2); }
.hero-hours .hh-status.is-closed .hh-dot { background: var(--clay); box-shadow: 0 0 0 4px rgba(201,122,69,.14); }
.hero-hours .hh-rows { margin-top: 16px; }
.hero-hours .hh-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.hero-hours .hh-row:last-child { border-bottom: none; }
.hero-hours .hh-k { color: var(--ink-soft); font-size: 0.95rem; }
.hero-hours .hh-v { font-family: var(--serif); font-size: 1.08rem; color: var(--teal); white-space: nowrap; }
.hero-hours .hh-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--clay); font-size: 0.92rem;
}
.hero-hours .hh-link svg { width: 16px; height: 16px; transition: transform .2s; }
.hero-hours .hh-link:hover svg { transform: translateX(4px); }

/* ---- Hero quick-action card ---- */
.hero-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: clamp(18px, 2.4vw, 26px); width: min(420px, 100%);
}
.hero-card .hc-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; color: var(--sage-2); padding: 0 6px 4px;
}
.hc-row {
  display: flex; align-items: center; gap: 15px; padding: 14px 6px;
  border-bottom: 1px solid var(--line-soft); transition: background .18s ease;
  border-radius: 12px;
}
.hc-row:last-child { border-bottom: none; }
.hc-row:hover { background: var(--paper-2); }
.hc-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.hc-ic svg { width: 22px; height: 22px; }
.hc-ic.clay { background: var(--clay); color: #fff; }
.hc-ic.tint { background: var(--teal-tint); color: var(--teal); }
.hc-ic.sage { background: var(--sage-tint); color: var(--sage-2); }
.hc-row .hc-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hc-row .t { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--ink); line-height: 1.12; }
.hc-row .s { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.3; }
.hc-row .chev { margin-left: auto; color: var(--clay); flex: none; transition: transform .2s; }
.hc-row .chev svg { width: 18px; height: 18px; }
.hc-row:hover .chev { transform: translateX(4px); }

/* ---- Hero "current wait time" link card (below today's hours) ---- */
.hero-wait {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
  padding: clamp(14px, 1.8vw, 18px) clamp(18px, 2.2vw, 24px);
  width: min(420px, 100%);
}
.hero-wait:hover { box-shadow: var(--sh-3); }

/* ============================================================
   The fork, two primary patient paths
   ============================================================ */
.fork { padding-block: clamp(20px, 4vw, 40px) var(--section); }
.fork .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column;
  min-height: 220px; box-shadow: var(--sh-2);
  transition: transform .25s ease, box-shadow .3s ease;
}
.path:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.path.book { background: var(--teal); color: #F1E8DB; }
.path.info { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.path .picon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: none; margin-bottom: 20px; }
.path.book .picon { background: rgba(255,255,255,.13); color: var(--clay-soft); }
.path.info .picon { background: var(--sage-tint); color: var(--sage-2); }
.path .picon svg { width: 28px; height: 28px; }
.path h2, .path h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.08; }
.path.book h2, .path.book h3 { color: #fff; }
.path.info h2, .path.info h3 { color: var(--teal); }
.path p { font-size: 1rem; margin-top: 10px; max-width: 36ch; }
.path.book p { color: #D7C7B2; }
.path.info p { color: var(--ink-soft); }
.path .go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.path .go svg { width: 18px; height: 18px; transition: transform .25s; }
.path:hover .go svg { transform: translateX(5px); }
.path.book .go { color: var(--clay-soft); }
.path.info .go { color: var(--clay); }
.path .deco { position: absolute; right: -36px; top: -36px; width: 160px; height: 160px; border-radius: 50%; pointer-events: none; }
.path.book .deco { background: radial-gradient(circle at 32% 32%, rgba(255,255,255,.10), transparent 70%); }
.path.info .deco { background: radial-gradient(circle at 32% 32%, rgba(201,122,69,.10), transparent 70%); }

/* ============================================================
   Services / information
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.scard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .28s ease, border-color .2s;
}
.scard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.scard .si { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; margin-bottom: 20px; }
.scard.alt .si { background: #F2E2D3; color: var(--clay); }
.scard .si svg { width: 25px; height: 25px; }
.scard h3 { font-family: var(--serif); font-weight: 500; font-size: 1.34rem; color: var(--ink); }
.scard p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 9px; }
.scard .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--clay); }
.scard .more svg { width: 16px; height: 16px; transition: transform .2s; }
.scard:hover .more svg { transform: translateX(4px); }

/* ============================================================
   Min Læge app band
   ============================================================ */
.appband { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); }
.appband .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.app-copy { padding: clamp(34px, 5vw, 64px); }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head img { width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--sh-1); }
.app-head .at { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--teal); line-height: 1.05; }
.app-copy > p { color: var(--ink-soft); margin-top: 18px; max-width: 44ch; }
.app-feats { margin-top: 24px; display: grid; gap: 13px; }
.app-feats li { display: flex; align-items: center; gap: 13px; font-weight: 500; color: var(--ink); }
.app-feats .chk { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.app-feats .chk svg { width: 14px; height: 14px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.app-visual { align-self: stretch; min-height: 380px; position: relative; display: grid; place-items: center; padding: 40px; background: linear-gradient(160deg, var(--teal-tint), var(--teal-tint2)); }
.phone { width: 232px; height: 466px; background: var(--teal); border-radius: 40px; box-shadow: var(--sh-3); padding: 13px; transform: rotate(-4deg); }
.phone .screen { background: var(--paper-2); border-radius: 28px; height: 100%; padding: 22px 18px; overflow: hidden; }
.phone .ph-top { display: flex; align-items: center; gap: 11px; }
.phone .ph-av { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-tint2); }
.phone .ph-line { height: 9px; border-radius: 5px; background: var(--teal-tint); }
.phone .ph-card { margin-top: 14px; background: var(--bg); border-radius: 16px; padding: 14px; }
.phone .ph-pill { display: inline-block; font-size: 0.62rem; font-weight: 700; color: #fff; background: var(--clay); padding: 4px 10px; border-radius: 999px; }
.float-card { position: absolute; background: var(--paper); border-radius: 15px; padding: 13px 15px; box-shadow: var(--sh-2); display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 0.84rem; }
.float-card .fic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-card.f1 { top: 54px; right: 16px; } .float-card.f1 .fic { background: var(--teal-tint); color: var(--teal); }
.float-card.f2 { bottom: 56px; left: 4px; } .float-card.f2 .fic { background: #F2E2D3; color: var(--clay); }
.float-card .fic svg { width: 17px; height: 17px; }

/* ============================================================
   Values + personale photo
   ============================================================ */
.values .grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.values-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); border: 6px solid var(--paper); aspect-ratio: 4 / 3.4; }
.values-media img { width: 100%; height: 100%; object-fit: cover; }
.value-list { margin-top: 30px; display: grid; gap: 18px; }
.value-item { display: flex; gap: 16px; }
.value-item .vn { width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; font-family: var(--serif); font-size: 1.15rem; }
.value-item h3, .value-item h4 { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; color: var(--ink); }
.value-item p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 3px; }

/* ============================================================
   Team
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 22px; text-align: center; transition: transform .2s, box-shadow .25s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.avatar { width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; color: #fff; background: var(--teal); object-fit: cover; }
.member:nth-child(2) .avatar { background: var(--clay); }
.member:nth-child(3) .avatar { background: var(--teal-2); }
.member:nth-child(4) .avatar { background: #A8895C; }
.member h3,
.member h4 { font-family: var(--serif); font-weight: 500; font-size: 1.16rem; color: var(--ink); }
.member .role { font-size: 0.86rem; color: var(--ink-soft); margin-top: 4px; }
.team-foot { margin-top: 34px; text-align: center; color: var(--ink-soft); }
.team-foot a { color: var(--clay); font-weight: 600; }
.team-page .sec-head {
  max-width: 62ch;
}
.team-page .sec-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--teal);
  margin-top: 14px;
}
.team-page .sec-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.06rem;
}
.team-group {
  margin-top: clamp(52px, 7vw, 82px);
}
.team-group + .team-group {
  padding-top: clamp(48px, 6vw, 70px);
  border-top: 1px solid var(--line);
}
.team-group-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  color: var(--teal);
}
.team-group .team-grid {
  margin-top: 28px;
}
.avatar-initials {
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================================
   Practical, hours + contact
   ============================================================ */
#praktisk { padding-block: clamp(52px, 6.5vw, 84px); }
.practical { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-top: 40px; align-items: start; }
.hours-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.pcard { border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px); }
.pcard-sub { font-size: 0.84rem; color: var(--ink-soft); margin: 0 0 12px; }
.pcard.hours { background: var(--paper); border: 1px solid var(--line); }
.pcard.contact { background: var(--teal); color: #F1E8DB; }
.pcard h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin-bottom: 8px; }
.pcard.hours h3 { color: var(--teal); }
.pcard.contact h3 { color: #fff; }
.hrow { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hrow:last-of-type { border-bottom: none; }
.hrow .lbl { font-weight: 500; }
.hrow .time { font-family: var(--serif); color: var(--teal); font-size: 1.1rem; }
.note { margin-top: 18px; background: var(--teal-tint); border-radius: var(--r-sm); padding: 15px 17px; font-size: 0.9rem; color: var(--teal-2); display: flex; gap: 11px; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--teal); }
.citem { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.citem:last-child { border-bottom: none; }
.citem .ci { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.11); color: var(--clay-soft); display: grid; place-items: center; flex: none; }
.citem .ci svg { width: 21px; height: 21px; }
.citem .k { font-size: 0.74rem; letter-spacing: .07em; text-transform: uppercase; color: #CDB89E; }
.citem .v { font-size: 1.12rem; font-weight: 600; color: #fff; }
.citem .v.big { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }

.pcard.wait { margin-top: 20px; }
.wait-frame { margin-top: 16px; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.wait-frame iframe { display: block; width: 100%; height: 560px; border: 0; }
@media (max-width: 600px) {
  .wait-frame iframe { height: 690px; }
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-wrap { padding-bottom: var(--section); }
.cta { background: var(--clay); border-radius: var(--r-xl); padding: clamp(44px, 6vw, 76px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%); }
.cta::before { width: 340px; height: 340px; top: -130px; left: -90px; }
.cta::after { width: 280px; height: 280px; bottom: -130px; right: -70px; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.04; position: relative; }
.cta p { margin-top: 14px; font-size: 1.12rem; opacity: .95; position: relative; }
.cta .row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   Footer
   ============================================================ */
footer.site { background: var(--ink); color: #C9BCA9; padding-block: 58px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; }
footer .brand img { height: 38px; filter: brightness(0) invert(1); opacity: .95; }
footer .about { margin-top: 18px; max-width: 32ch; font-size: 0.92rem; color: #9C8E7B; }
footer h2 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin-bottom: 15px; }
footer ul { display: grid; gap: 10px; }
footer ul a { font-size: 0.92rem; color: #9C8E7B; transition: color .2s; }
footer ul a:hover { color: var(--clay-soft); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.83rem; color: #857769; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .appband .grid { grid-template-columns: 1fr; }
  .app-visual { min-height: 420px; order: -1; }
  .values .grid { grid-template-columns: 1fr; }
  .values-media { max-width: 560px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .practical { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .fork .cards { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero .trust { gap: 18px; }

  /* Utility bar: give the acute safety notice its own clean rows instead of
     a cramped, mid-sentence-wrapping block. */
  .utility { font-size: 0.82rem; }
  .utility .wrap { flex-direction: column; align-items: stretch; gap: 7px; padding-block: 8px; }
  .utility .u-left { gap: 4px 16px; width: 100%; }
  .u-acute {
    width: 100%; align-items: center; gap: 7px;
    padding-top: 9px; border-top: 1px solid rgba(255,255,255,.14);
  }
  .u-acute .ua-field { flex: 1 0 100%; white-space: normal; }

  .drawer.open { display: block; position: fixed; inset: 0; z-index: 80; }
  .drawer .scrim { position: absolute; inset: 0; background: rgba(21,32,29,.45); backdrop-filter: blur(2px); }
  .drawer .panel { position: absolute; top: 0; right: 0; width: min(80vw, 320px); height: 100%; background: var(--paper); box-shadow: var(--sh-3); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
  .drawer .panel .close { align-self: flex-end; background: none; border: none; color: var(--ink); cursor: pointer; }
  .drawer .panel .close svg { width: 26px; height: 26px; }
  .drawer .panel a.d-link { padding: 14px 6px; font-size: 1.1rem; font-weight: 600; color: var(--teal); border-bottom: 1px solid var(--line-soft); }
  .drawer .panel .btn { margin-top: 14px; }
}
@media (max-width: 600px) {
  /* Tighter vertical rhythm so the page scrolls less on a phone */
  :root { --section: clamp(48px, 11vw, 72px); }
  /* Keep the logo + phone button + burger on one tidy row on narrow phones */
  header.site .wrap { gap: 12px; padding-inline: 16px; }
  nav.main { gap: 14px; }
  .nav-cta .btn-clay { padding: 11px 16px; }
  .brand img { height: 44px; }
  .team-grid, .foot-grid { grid-template-columns: 1fr; }
  .hours-col { grid-template-columns: 1fr; }
  /* Stacked path cards size to their content instead of a fixed tall box */
  .path { min-height: 0; }
  .path .go { padding-top: 18px; }
}
@media (max-width: 359px) {
  /* Tiny phones (≤320px): collapse the call button to a compact round icon so
     the logo and menu stay uncramped. The number is still in the menu drawer. */
  .brand img { height: 36px; }
  nav.main { gap: 12px; }
  .nav-cta .btn-clay {
    width: 44px; height: 44px; padding: 0; gap: 0;
    border-radius: 50%; font-size: 0;
  }
  .nav-cta .btn-clay svg { width: 19px; height: 19px; }
}

/* ============================================================
   Subpage / Article Styles
   ============================================================ */
/* Tinted page header banner (breadcrumb + title + lede) */
.page-header {
  background: var(--teal-tint);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(30px, 5vw, 52px);
}
.page-header .crumb { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 12px; }
.page-header .crumb a { color: var(--sage-2); font-weight: 600; }
.page-header .crumb a:hover { text-decoration: underline; }
.page-header .crumb .sep { margin: 0 8px; opacity: .5; }
.page-header h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.05;
  letter-spacing: -0.018em; color: var(--teal); margin-top: 12px; max-width: 20ch;
}
.page-header .ph-lede {
  color: var(--ink-soft); margin-top: 14px; font-size: 1.06rem; max-width: 60ch;
}

/* Readable single-column article */
.article {
  padding-block: clamp(40px, 6vw, 72px);
}
.article-body {
  max-width: 72ch;
  margin-inline: auto;
  font-size: 1.12rem;
  line-height: 1.75;
}
.article-body h2, .article-body h3 {
  font-family: var(--serif);
  color: var(--teal);
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: 500;
}
.article-body p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.article-body a {
  color: var(--clay);
  font-weight: 600;
  text-decoration: underline;
}
.article-body a:hover {
  color: var(--clay-2);
}
.article-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.article-body li {
  margin-bottom: 10px;
}
/* Callout box for important notes inside articles */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--clay); border-radius: var(--r-sm);
  padding: 16px 18px; margin: 24px 0;
}
.callout .callout-ic {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: #F2E2D3; color: var(--clay); display: grid; place-items: center;
}
.callout .callout-ic svg { width: 17px; height: 17px; }
.callout p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.callout strong { color: var(--ink); }
.callout.sage { border-left-color: var(--sage); }
.callout.sage .callout-ic { background: var(--sage-tint); color: var(--sage-2); }
.price-table-wrap {
  margin: 18px 0 34px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}
.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}
.price-table thead {
  background: var(--teal);
  color: #fff;
}
.price-table th {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-table th:last-child,
.price-table td:last-child {
  width: 130px;
  white-space: nowrap;
  text-align: right;
}
.price-table td {
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.price-table tbody tr:nth-child(even) {
  background: var(--paper-2);
}
.price-table tbody tr:last-child td {
  border-bottom: 0;
}
.btn-back {
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .price-table {
    font-size: 0.9rem;
  }
  .price-table th,
  .price-table td {
    padding: 12px 10px;
  }
  .price-table th:last-child,
  .price-table td:last-child {
    width: 94px;
  }
}

/* ============================================================
   "Ris & ros" — anonymous feedback (fixed tab + modal)
   ============================================================ */

/* Fixed tab, upper-right edge. Sits below the sticky header so it never
   overlaps the nav. Fully keyboard-reachable. */
.fb-tab {
  position: fixed;
  top: 124px;
  right: 0;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px 11px 18px;
  background: var(--clay);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 14px 0 0 14px;
  box-shadow: var(--sh-2);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.fb-tab:hover { background: var(--clay-2); transform: translateX(-3px); box-shadow: var(--sh-3); }
.fb-tab svg { width: 19px; height: 19px; flex: none; }

/* Modal: hidden by default, centred overlay when .open */
.fb-modal { display: none; }
.fb-modal.open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
}
.fb-modal .fb-scrim {
  position: absolute; inset: 0;
  background: rgba(21,32,29,.5);
  backdrop-filter: blur(2px);
}
.fb-modal .fb-panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 480px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 26px 26px 24px;
}
.fb-panel .fb-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; color: var(--ink-soft);
  cursor: pointer; line-height: 0; padding: 4px;
}
.fb-panel .fb-close svg { width: 24px; height: 24px; }
.fb-panel .fb-kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-2);
  margin-bottom: 6px;
}
.fb-panel h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 1.95rem); line-height: 1.1;
  color: var(--teal); margin-bottom: 8px;
}
.fb-panel .fb-anon {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.92rem; color: var(--ink-soft);
  background: var(--sage-tint); border-radius: var(--r-xs);
  padding: 10px 13px; margin-bottom: 20px;
}
.fb-panel .fb-anon svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--sage-2); }

/* Category options as selectable cards (radio inside) */
.fb-opts { display: grid; gap: 10px; margin-bottom: 18px; }
.fb-opt {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.fb-opt:hover { border-color: var(--sage); }
.fb-opt input { margin-top: 3px; accent-color: var(--clay); width: 18px; height: 18px; flex: none; cursor: pointer; }
.fb-opt .fb-ot { font-weight: 700; color: var(--ink); display: block; }
.fb-opt .fb-os { font-size: 0.88rem; color: var(--ink-soft); display: block; margin-top: 1px; }
.fb-opt:has(input:checked) { border-color: var(--clay); background: var(--paper-2); }

.fb-field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: 0.95rem; }
.fb-field textarea {
  width: 100%; min-height: 120px; resize: vertical;
  font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px;
}
.fb-field textarea:focus { outline: none; border-color: var(--clay); }

/* Honeypot: visually + assistively hidden, but bots fill it */
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fb-submit {
  width: 100%; margin-top: 18px; padding: 14px 20px;
  background: var(--clay); color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 1.02rem;
  border: none; border-radius: 999px; cursor: pointer;
  transition: background .18s ease;
}
.fb-submit:hover { background: var(--clay-2); }
.fb-submit:disabled { opacity: .6; cursor: progress; }

.fb-error {
  display: none; margin-top: 14px; font-size: 0.92rem;
  color: #8a2b2b; background: #f6e4e1; border-radius: var(--r-xs);
  padding: 10px 13px;
}
.fb-error.show { display: block; }

/* Success state replaces the form contents */
.fb-done { display: none; text-align: center; padding: 14px 4px 6px; }
.fb-done.show { display: block; }
.fb-done .fb-check {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--sage-tint); color: var(--sage-2);
  display: grid; place-items: center;
}
.fb-done .fb-check svg { width: 30px; height: 30px; }
.fb-done h2 { margin-bottom: 8px; }
.fb-done p { color: var(--ink-soft); margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  .fb-tab { transition: none; }
  .fb-tab:hover { transform: none; }
}

/* On phones, dock the tab to the bottom-right so it never crowds the header */
@media (max-width: 600px) {
  .fb-tab {
    top: auto; bottom: 16px; right: 16px;
    border-radius: 999px;
    padding: 11px 16px;
    box-shadow: var(--sh-3);
  }
  .fb-modal .fb-panel { padding: 22px 18px 20px; }
}
