/* ============================================================
   PINETREE STUDIO — designsystem
   Mørk "studie"-flade (ink) til stemning, varm papirflade til læsning,
   én accent (lime — turfens glød på skærmen). Display: Bricolage Grotesque. Brød: Geist.
   ============================================================ */

:root {
  --ink:      #101311;
  --ink-2:    #171B18;
  --ink-3:    #22271F;
  --paper:    #F3F1EA;
  --paper-2:  #E9E6DC;
  --white:    #FFFFFF;
  --lime:     #D6F35C;
  --lime-2:   #C2E43F;
  --moss:     #2F4A33;
  --text:     #15181A;
  --muted:    #6B6F68;
  --muted-l:  #A9ADA4;   /* muted på mørk */
  --line:     rgba(16,19,17,.12);
  --line-l:   rgba(255,255,255,.14);
  --red:      #C5221F;

  --font-display: "Bricolage Grotesque", "Archivo", "Arial Black", sans-serif;
  --font-body: "Geist", "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 24px 60px rgba(16,19,17,.14);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.drawer-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
/* Touch: ingen grå tap-flash og ingen dobbelttap-zoom-forsinkelse på alt der kan trykkes på */
a, button, summary, label, input[type=submit], input[type=button], [role=button] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0; font-variation-settings: "opsz" 96; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.ico { flex: 0 0 auto; }

/* ---------- Typografi ---------- */
.eyebrow { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-lime { color: var(--lime); }
.sec-title { font-size: clamp(32px, 4.4vw, 54px); max-width: 16ch; }
.sec-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 56ch; margin: 18px 0 0; }
.sec-ink .sec-lead, .page-hero-ink .sec-lead, .cta-band .sec-lead { color: var(--muted-l); }
.sec-head { margin-bottom: 44px; }
.page-title { font-size: clamp(34px, 5vw, 64px); max-width: 18ch; }
.lime { color: var(--lime); }

/* ---------- Knapper ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; line-height: 1.1; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); transition-duration: .05s; }   /* tryk-feedback på både mus og touch */
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(16,19,17,.28); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 22px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .ico { transition: transform .15s; }
/* Hover-effekter KUN på enheder med mus. På touch "hænger" :hover fast efter et tryk (løftet knap, ændret farve),
   indtil man trykker et andet sted — det er dét, der føles klistret/uroligt på mobil. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn-lime:hover { background: var(--lime-2); }
  .btn-ink:hover { background: var(--ink-3); }
  .btn-ghost:hover { border-color: var(--ink); background: rgba(16,19,17,.04); }
  .btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
  .link-arrow:hover .ico { transform: translateX(3px); }
  .nav a:hover { opacity: 1; border-color: var(--lime); }
  .hdr-link:hover { opacity: 1; }
  .courses-strip figure:hover img { transform: scale(1.04); }
  .ftr-col a:hover, .ftr-legal a:hover { color: var(--lime); }
  .logo-wall img:hover { filter: none; opacity: 1; }
  .contact-list a:hover { border-color: var(--ink); }
  .mepr-wrap input[type=submit]:hover, .mepr-wrap .mepr-submit:hover { background: var(--lime-2); transform: translateY(-1px); }
}

/* ---------- Pladsmærke ---------- */
.seats { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.seats i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(16,19,17,.5); animation: pulse 1.8s ease-out infinite; }
.seats.is-out { background: var(--paper-2); color: var(--ink); }
.seats-quiet { background: var(--paper-2); }
.seats-quiet i { animation: none; }
.seats-hero { margin-top: 26px; padding: 9px 16px; font-size: 13.5px; }
@keyframes pulse { to { box-shadow: 0 0 0 8px rgba(16,19,17,0); } }
@media (prefers-reduced-motion: reduce) { .seats i { animation: none; } }

/* ---------- Sektioner ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-paper { background: var(--paper); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-ink .eyebrow { color: var(--lime); }
.sec-ink .sec-title { color: var(--white); }
.sec + .sec-paper.sec-paper { padding-top: 0; }   /* to lyse sektioner efter hinanden → mindre luft */
.sec-ink + .sec-paper, .hero + .sec-paper, .page-hero + .sec-paper { padding-top: clamp(64px, 9vw, 120px); }

/* Reveal-animation KUN på mus-enheder. På iPhone taber WebKit tryk på elementer, mens en forælder
   transform-animerer (→ "jeg skal trykke to gange" på kort/knapper), og indholdet halter efter scroll. */
@media (hover: hover) and (pointer: fine) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}
/* Touch: kun en let fade (ingen transform → ingen tabte tryk), så siden stadig føles levende */
@media (hover: none), (pointer: coarse) {
  .reveal { opacity: 0; transition: opacity .45s ease-out; }
  .reveal.in { opacity: 1; }
  .btn:active, .plan .btn:active { transform: scale(.96); }
}

.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 16.5px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.ticks-ink { color: var(--text); }

/* ---------- Header ---------- */
.hdr { --hdr-h: 74px; position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-l); transition: background .25s, border-color .25s; }
.hdr[data-transparent="1"] { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.hdr[data-transparent="1"].is-scrolled, .hdr.is-open { background: rgba(16,19,17,.94); backdrop-filter: blur(10px); border-color: var(--line-l); }
/* backdrop-filter ville gøre headeren til containing block for den fixed drawer — slå det fra når menuen er åben */
.hdr.is-open, .hdr.is-open.is-scrolled, .hdr[data-transparent="1"].is-open.is-scrolled { background: var(--ink); backdrop-filter: none; }
.hdr-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; height: var(--hdr-h); }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand img { height: 20px; width: auto; }
.brand-sub { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-l); }
.nav { display: flex; gap: 26px; justify-content: center; font-weight: 500; font-size: 15px; }
.nav a { opacity: .85; padding: 8px 0; border-bottom: 1.5px solid transparent; }
.hdr-cta { display: flex; align-items: center; gap: 18px; }
.hdr-link { font-weight: 500; font-size: 15px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.burger { display: none; background: none; border: 0; color: var(--white); padding: 6px; cursor: pointer; }
.burger .ico-close, .hdr.is-open .burger .ico-menu { display: none; }
.hdr.is-open .burger .ico-close { display: block; }
/* Drawer: fuld skærm under headeren */
.drawer { position: fixed; top: var(--hdr-h); left: 0; right: 0; bottom: 0; background: var(--ink); border-top: 1px solid var(--line-l); padding: 8px var(--gutter) 28px; display: flex; flex-direction: column; overflow-y: auto; z-index: 49; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 16px 0; font-family: var(--font-display); font-size: clamp(28px, 7vw, 40px); font-weight: 700; letter-spacing: -.02em; border-bottom: 1px solid var(--line-l); }
.drawer-nav a:active { color: var(--lime); }
.drawer-cta { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer-meta { font-size: 14px; color: var(--muted-l); margin: 6px 0 0; text-align: center; }

/* ---------- Hero (forside) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: var(--white); overflow: hidden; padding-top: 74px; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .78; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,17,.35) 0%, rgba(16,19,17,.05) 35%, rgba(16,19,17,.75) 78%, var(--ink) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-top: 12vh; padding-bottom: 40px; width: 100%; } /* width: flex-kolonne + margin:auto ville ellers krympe og centrere blokken */
.page-hero-inner { width: 100%; }
.hero-title { font-size: clamp(40px, 8.4vw, 112px); line-height: .92; letter-spacing: -.035em; max-width: none; }
.hero-title .lime { white-space: nowrap; } /* "Så meget du vil." skal stå på én linje */
.hero-lead { font-size: clamp(18px, 1.6vw, 22px); color: rgba(255,255,255,.82); max-width: 44ch; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { position: relative; z-index: 1; list-style: none; margin: 0 auto; padding: 22px var(--gutter) 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid var(--line-l); width: 100%; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts b { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 14px; color: var(--muted-l); }

/* ---------- Trin ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: grid; gap: 10px; align-content: start; }
.steps .ico { color: var(--ink); margin-top: 6px; }
.steps h3 { font-size: 24px; }
.steps p { color: var(--muted); margin: 0; font-size: 16px; }
.step-n { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.steps-vertical { grid-template-columns: 1fr; margin-top: 30px; }
.steps-vertical .btn-row { margin-top: 10px; }

/* ---------- Priskort ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.plan-featured { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-6px); }
.plan-flag { position: absolute; top: -13px; left: 24px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 26px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 0; }
.plan-price .amt { font-family: var(--font-display); font-size: 58px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .unit { font-size: 15px; color: var(--muted); line-height: 1.15; }
.plan-featured .plan-price .unit, .plan-featured .plan-note, .plan-featured .plan-list { color: var(--muted-l); }
.plan-note { font-size: 14px; color: var(--muted); margin: 0; }
.plan-list { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 9px; font-size: 15.5px; color: var(--text); flex: 1; }
.plan-list li { padding-left: 22px; position: relative; }
.plan-list li::before { content: "→"; position: absolute; left: 0; color: var(--lime-2); font-weight: 700; }
.plan-featured .plan-list li::before { color: var(--lime); }
.plan-featured .btn-lime { box-shadow: 0 8px 24px rgba(214,243,92,.25); }
.plans-fine { font-size: 13.5px; color: var(--muted); margin: 22px 0 0; max-width: 70ch; }
.plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.plan-current { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.plan-current .plan-flag { background: var(--ink); color: var(--white); }
.plan-featured.plan-current .plan-flag { background: var(--lime); color: var(--ink); }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* ---------- Studiet (forside) ---------- */
.studio-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.studio-text .btn { margin-top: 30px; }
.studio-media { position: relative; aspect-ratio: 1.05; }
.studio-media img { position: absolute; object-fit: cover; border-radius: var(--radius); }
.studio-img-a { width: 78%; height: 68%; top: 0; right: 0; }
.studio-img-b { width: 56%; height: 48%; bottom: 0; left: 0; border: 6px solid var(--ink); box-shadow: var(--shadow); }
.sec-ink .ticks li::before { background: var(--lime); }

/* ---------- Data / Trackman ---------- */
.data-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.data-media { margin: 0; background: var(--paper-2); border-radius: var(--radius); padding: 40px; }
.data-media img { max-height: 420px; width: auto; margin: 0 auto; mix-blend-mode: multiply; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 0; }
.stats div { border-top: 2px solid var(--ink); padding-top: 12px; }
.stats dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 3px; }

/* ---------- Baner (forside) ---------- */
.courses-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.courses-head .btn { margin-bottom: 44px; }
.courses-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.courses-strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.courses-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.courses-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(16,19,17,.85)); font-size: 14px; font-weight: 600; }

/* ---------- Anmeldelser ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .ico { fill: var(--lime); stroke: var(--ink); }
.quote strong { font-family: var(--font-display); font-size: 20px; }
.quote p { margin: 0; color: var(--muted); font-size: 15.5px; }
.quote cite { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- Erhverv-teaser ---------- */
.b2b-teaser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.b2b-teaser-inner img { border-radius: var(--radius-s); aspect-ratio: 3/2; object-fit: cover; }
.b2b-teaser-inner .sec-head { margin-bottom: 24px; }
.b2b-teaser-inner .sec-title { font-size: clamp(26px, 3vw, 38px); }

/* ---------- CTA-bånd ---------- */
.cta-band { background: var(--ink); color: var(--white); padding: clamp(60px, 8vw, 100px) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band .sec-title { color: var(--white); font-size: clamp(30px, 4vw, 48px); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink-2); color: var(--white); padding: 64px 0 28px; border-top: 1px solid var(--line-l); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr-brand img { height: 18px; width: auto; margin-bottom: 18px; }
.ftr-brand p { color: var(--muted-l); font-size: 15px; max-width: 38ch; }
.ftr-hours { display: inline-flex; align-items: center; gap: 8px; color: var(--white) !important; font-weight: 500; }
.ftr-col h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 16px; }
.ftr-col a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; color: rgba(255,255,255,.85); }
.ftr-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-l); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted-l); }
.ftr-legal { display: flex; gap: 18px; }

/* ---------- Side-hero ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero-ink .page-title { color: var(--white); }
.page-hero-img { min-height: 62vh; display: flex; align-items: flex-end; padding-top: 30vh; }
.page-hero-tall { min-height: 78vh; }
.page-hero-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,17,.2), rgba(16,19,17,.85) 85%); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-split { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; }
.page-hero-obj { max-height: 380px; width: auto; justify-self: center; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.page-hero .btn-row { margin-top: 30px; }

/* ---------- Regn selv (/medlem/) ---------- */
.calc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.calc { background: var(--ink-3); border: 1px solid var(--line-l); border-radius: var(--radius); padding: 30px; }
.calc label { font-size: 14px; color: var(--muted-l); }
.calc-val { font-family: var(--font-display); font-size: 44px; font-weight: 700; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--lime); margin: 0 0 26px; }
.calc-row { display: grid; grid-template-columns: 80px 1fr 90px; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14.5px; }
.calc-row b { text-align: right; font-variant-numeric: tabular-nums; }
.calc-track { height: 14px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.calc-bar { height: 100%; border-radius: 999px; transition: width .35s var(--ease); }
.calc-bar-hourly { background: var(--muted-l); }
.calc-bar-member { background: var(--lime); }
.calc-save { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--lime); margin: 20px 0 8px; }
.calc-fine { font-size: 13px; color: var(--muted-l); margin: 0; }

/* ---------- Feature-grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; align-content: start; }
.feature .ico { color: var(--ink); margin-bottom: 8px; }
.feature h3 { font-size: 21px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feature-grid-dark .feature { background: var(--ink-3); border-color: var(--line-l); color: var(--white); }
.feature-grid-dark .feature .ico { color: var(--lime); }
.feature-grid-dark .feature p { color: var(--muted-l); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 19px; font-weight: 600; padding: 18px 34px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--muted); }
.faq a { text-decoration: underline; }

/* ---------- Erhverv ---------- */
.b2b-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.b2b-price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: sticky; top: 94px; }
.b2b-price-label { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.b2b-price-sub { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.b2b-price hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.b2b-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.b2b-row:last-of-type { border: 0; margin-bottom: 18px; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; margin-top: 20px; }
.logo-wall img { max-height: 48px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }

/* ---------- Studiet ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide img { aspect-ratio: 21/9; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-list { display: grid; gap: 10px; margin-top: 10px; }
.contact-list a { display: flex; align-items: center; gap: 12px; font-weight: 500; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); }
.contact-list a:active { background: var(--paper-2); }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-card iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Om os / prose ---------- */
.story { display: grid; grid-template-columns: 1.4fr .8fr; gap: 60px; align-items: start; }
.story-side { position: sticky; top: 94px; display: grid; gap: 18px; }
.story-side img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.social { display: flex; gap: 10px; }
.social a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.prose { font-size: 17.5px; max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose li { color: #2E322F; }
.prose a { text-decoration: underline; text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose-page { padding: clamp(56px, 8vw, 100px) 0; }
.prose-page .page-title { margin-bottom: 30px; }

/* ---------- Fordele ---------- */
.reasons { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.reason { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.reason .step-n { position: static; font-size: 28px; color: var(--lime-2); }
.reason h2 { font-size: 26px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.reason p { margin: 0; color: var(--muted); }

/* ---------- Ordbog ---------- */
.glossary { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.glossary div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.glossary dd { margin: 0; color: var(--muted); }

/* ---------- Baner ---------- */
.course-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; flex: 1; max-width: 420px; color: var(--muted); }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; color: var(--text); }
.course-count { font-size: 14px; color: var(--muted); }
.course-group { margin-bottom: 34px; }
.course-group h2 { font-size: 24px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.course-group h2 small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.course-group ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.course-group li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 15.5px; }

/* ---------- App-sider (book, mine tider, konto) ---------- */
.app-page { padding: 40px 0 80px; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.app-head .page-title { font-size: clamp(30px, 4vw, 44px); }
.app-head .btn-row { margin: 0; }
.app-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.quota { font-size: 14px; color: var(--muted); }
.quota b { color: var(--ink); }
.notice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; justify-items: start; }
.notice-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0; }
.mt-list { display: grid; gap: 10px; }
.mt-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; }
.mt-when { display: grid; }
.mt-date { font-size: 13px; color: var(--muted); }
.mt-time { font-family: var(--font-display); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mt-sim { font-weight: 600; background: var(--paper-2); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.app-fine { color: var(--muted); font-size: 14px; margin: 22px 0 14px; }

/* ---------- Auth / checkout ---------- */
.auth-page { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.auth-card .page-title { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.auth-alt { margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.auth-alt a { text-decoration: underline; }
.checkout-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.checkout-side { position: sticky; top: 94px; }
.checkout-side .seats { margin: 6px 0 10px; }
.checkout-alt { font-size: 14.5px; color: var(--muted); margin-top: 26px; }
.checkout-alt a { text-decoration: underline; }

/* MemberPress-formularer i vores ramme */
.mepr-wrap input[type=text], .mepr-wrap input[type=email], .mepr-wrap input[type=password], .mepr-wrap input[type=tel], .mepr-wrap input[type=number], .mepr-wrap select, .mepr-wrap textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--text); outline: 0; transition: border-color .15s;
}
.mepr-wrap input:focus, .mepr-wrap select:focus, .mepr-wrap textarea:focus { border-color: var(--ink); background: var(--white); }
.mepr-wrap label { font-size: 14px; font-weight: 600; color: var(--text); }
.mepr-wrap .mp-form-row, .mepr-wrap .mepr-form-row, .mepr-wrap .mp_form_row { margin-bottom: 16px; }
.mepr-wrap .mepr-submit, .mepr-wrap input[type=submit], .mepr-wrap button[type=submit], .mepr-wrap .mepr-share-button, .mepr-wrap .mp-button, .mepr-wrap .mepr-account-form .mepr-submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 16px 24px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 16.5px; border: 0; cursor: pointer; transition: background .15s, transform .15s;
}
.mepr-wrap input[type=submit]:active, .mepr-wrap .mepr-submit:active { transform: scale(.98); }
.mepr-wrap .mepr_error, .mepr-wrap .mepr-form-has-errors { color: var(--red); }
.mepr-wrap .mp_wrapper h2, .mepr-wrap .mepr-account-nav a { font-family: var(--font-display); }
.mepr-wrap .mepr-login-actions, .mepr-wrap .mepr-account-nav { font-size: 14px; }
.mepr-wrap .mp-price-str, .mepr-wrap .mepr-price-str { font-size: 14px; color: var(--muted); }
.mepr-wrap .mp_invoice, .mepr-wrap .mp-cart, .mepr-wrap .mp-invoice { background: var(--paper); border-radius: var(--radius-s); padding: 16px; margin-bottom: 20px; }
.mepr-wrap .mepr-account-nav, .mepr-wrap .mepr-nav-links, .mepr-wrap .mp-account-nav, .mepr-wrap ul.mepr-nav, .mepr-wrap .mepr-nav-item:first-child { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.mepr-wrap ul.mepr-nav, .mepr-wrap .mepr-nav-item { list-style: none; padding: 0; margin: 0; }
.mepr-wrap ul.mepr-nav { margin-bottom: 22px; }
.mepr-wrap .mepr-nav-item:first-child { display: contents; }
.mepr-wrap .mepr-account-nav a, .mepr-wrap .mepr-nav-links a, .mepr-wrap .mp-account-nav a, .mepr-wrap .mepr-nav-item a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.mepr-wrap .mepr-active-nav-tab a, .mepr-wrap .mepr-nav-item.mepr-active-nav-tab a { background: var(--ink); color: var(--white); border-color: var(--ink); }
.mepr-wrap .mepr-account-form .mepr-form-row, .mepr-wrap .mp-form-row { margin-bottom: 14px; }
.mepr-wrap .mepr-account-form .mepr-submit { max-width: 320px; }
.mepr-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mepr-wrap th, .mepr-wrap td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }

/* IGBP-pluginets eget pladsmærke (lavet til Divi) — temaet har sit eget i sidebaren */
.pts-checkout .pt-spots-wrap { display: none; }

/* Pinetree Booking-grid: lad pluginnets egne farver stå, men fjern dobbelt ramme */
.app-body .pt-booking .board { border: 0; }
.app-body .pt-booking .pt-login-notice { border: 0; padding: 8px 0; }

/* Forminator i vores kort */
.form-card .forminator-ui .forminator-button-submit { background: var(--ink) !important; border-radius: 999px !important; font-weight: 700 !important; }
.form-card .forminator-ui .forminator-input { border-radius: var(--radius-s) !important; }

/* ---------- Responsivt ---------- */
@media (max-width: 1100px) {
  .studio-grid, .data-grid, .calc-grid, .b2b-grid, .visit-grid, .story, .checkout-wrap, .b2b-teaser-inner, .page-hero-split { grid-template-columns: 1fr; gap: 36px; }
  .b2b-price, .story-side, .checkout-side { position: static; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .page-hero-obj { max-height: 260px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr { --hdr-h: 66px; }
  .hdr-inner { gap: 12px; }
  /* Mobil: logo · [Bliv medlem / Book tid] · burger — de øvrige links ligger i drawer'en */
  .hdr-cta { gap: 0; }
  .hdr-cta .hdr-link { display: none; }
  .hdr-cta .btn { padding: 10px 16px; font-size: 14px; }
  .brand-sub { display: none; }
  .hero { padding-top: 66px; }
  .steps, .plans, .quotes, .feature-grid, .courses-strip { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .glossary div { grid-template-columns: 1fr; gap: 4px; }
  .course-group ul { columns: 1; }
  .reason { grid-template-columns: 1fr; }
  .reason .step-n { font-size: 18px; }
  .mt-card { grid-template-columns: 1fr auto; }
  .mt-card .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(36px, 10.2vw, 56px); }
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .plan-price .amt { font-size: 48px; }
  .cta-band-actions .btn { width: 100%; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .btn-row .btn { width: 100%; }
  .hdr-cta .btn { padding: 9px 13px; font-size: 13.5px; }
  .brand img { height: 17px; }
}

/* Touch-enheder: ingen backdrop-blur (tung at tegne på iPhone → hakkende scroll) og lettere skygger.
   Desktop beholder effekterne. */
@media (hover: none), (pointer: coarse) {
  .hdr[data-transparent="1"].is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .btn-ghost-light { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.1); }
  .plan-featured, .b2b-price, .studio-img-b { box-shadow: 0 10px 24px rgba(16,19,17,.18); }
  .plan-featured .btn-lime { box-shadow: none; }
  html { scroll-behavior: auto; }
}

/* Booking-grid på mobil: pluginnet bryder ud til 100vw (lavet til Divis smalle container).
   Her fjerner vi kortet i stedet, så grid'et får hele bredden uden at stikke ud. */
@media (max-width: 600px) {
  .pts-app .app-body { background: transparent; border: 0; padding: 0; border-radius: 0; }
  .pts-app .app-page { padding-top: 24px; }
  .pts-app .app-body .pt-booking .board { border: 1px solid var(--line); border-radius: var(--radius-s); }
}
