/*
Theme Name: Makerspace Service
Theme URI: https://makerspaceservice.dk
Author: Republikken Create
Author URI: https://create.republikken.net
Description: Single-page landing-tema for makerspaceservice.dk — on-site reparation, serviceaftaler og forebyggende vedligehold af 3D-printere og laserskærere for skoler og virksomheder i Storkøbenhavn. Restrained, workmanlike design med coral R-glyph fra Republikken Create.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: makerspaceservice
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");


/* Makerspace Service — restrained, workmanlike */

:root {
  --coral: #ff7052;
  --coral-deep: #e6593b;
  --coral-soft: #ffe7df;
  --ink: #1a1814;
  --ink-2: #5a534b;
  --ink-3: #877f76;
  --paper: #fbfaf6;
  --sand: #f4f1eb;
  --line: rgba(26, 24, 20, 0.08);
  --line-2: rgba(26, 24, 20, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
p { margin: 0; }

/* ----- R glyph (færdigt farvet logo brugt direkte som billede) ----- */
.r {
  display: inline-block;
  background: url('assets/create-r-mark-transparent.png') center / contain no-repeat;
  vertical-align: middle;
}
.r--28 { width: 29px; height: 28px; }
.r--36 { width: 37px; height: 36px; }

/* ----- Typography ----- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(28px, 2.8vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: 20px; }
h4 { font-size: 15px; font-weight: 500; }
.lead { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ----- Layout ----- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.row { display: flex; gap: 24px; }

/* ----- Nav ----- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.top .inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
nav.top .brand {
  display: flex; align-items: center; gap: 10px;
}
nav.top .brand .wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1;
}
nav.top .brand .wordmark .sep { color: var(--coral); margin: 0 2px; font-weight: 500; }
nav.top .brand .wordmark .light { font-weight: 500; color: var(--ink-2); }
nav.top ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 28px;
  font-size: 14.5px; font-weight: 500;
}
nav.top ul a { color: var(--ink-2); transition: color .2s; }
nav.top ul a:hover { color: var(--ink); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14.5px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-deep); }
.btn--ink   { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }

/* ----- Hero ----- */
.hero {
  padding: 120px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero .eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.2vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 14ch;
}
.hero .lead {
  margin-top: 24px;
  max-width: 62ch;
}
.hero .ctas { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }

/* ----- Trust strip (calm) ----- */
.trust { padding: 36px 0; border-bottom: 1px solid var(--line); }
.trust .grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust .stat { display: flex; flex-direction: column; gap: 4px; }
.trust .stat .n {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 22px;
  letter-spacing: -0.015em; color: var(--ink); line-height: 1.1;
}
.trust .stat .l { font-size: 14px; color: var(--ink-2); }

/* ----- "Betro os" institutions ----- */
.betro {
  padding: 44px 0; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.betro .label { color: var(--ink-3); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.betro .list {
  display: flex; flex-wrap: wrap; gap: 32px 40px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: 18px; letter-spacing: -0.01em; color: var(--ink);
}

/* ----- Section header ----- */
.sec-head {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; max-width: 720px;
}
.sec-head .eyebrow { color: var(--ink-3); font-size: 13px; }

/* ----- Services (3 cards, calm) ----- */
.services .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--ink); /* ink-line top edge */
}
.service .num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--coral); letter-spacing: 0.04em;
}
.service h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em; margin: 0; line-height: 1.15;
}
.service p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ----- Process (4 steps, ordered) ----- */
.how .steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.step .num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; margin: 0; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ----- Cases ----- */
.cases .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.case { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ink); }
.case .kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.case h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.case p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.case .metric {
  display: flex; gap: 28px; padding-top: 6px; flex-wrap: wrap;
}
.case .metric > div { display: flex; flex-direction: column; gap: 2px; }
.case .metric .v {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em; color: var(--coral); line-height: 1;
}
.case .metric .k { font-size: 12.5px; color: var(--ink-2); }

/* ----- Why us ----- */
.why { background: var(--sand); }
.why .lay { display: grid; grid-template-columns: 0.9fr 1fr; gap: 56px; align-items: flex-start; }
.why .reasons { display: grid; grid-template-columns: 1fr; gap: 24px; }
.why .reason { padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
.why .reason h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 18px; letter-spacing: -0.02em; margin: 0;
}
.why .reason p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* ----- CTA ----- */
.cta { text-align: left; }
.cta .inner {
  display: flex; flex-direction: column; gap: 20px; max-width: 640px;
}
.cta .ctas { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }

/* ----- Footer ----- */
footer.site {
  background: var(--paper); padding: 56px 0 32px; border-top: 1px solid var(--line);
}
footer.site .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
footer.site .brand-col { display: flex; flex-direction: column; gap: 16px; }
footer.site .brand-col .pitch { font-size: 14px; color: var(--ink-2); line-height: 1.55; max-width: 320px; }
footer.site h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 12px; font-weight: 500;
}
footer.site ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
footer.site ul a { color: var(--ink-2); transition: color .2s; }
footer.site ul a:hover { color: var(--coral); }
footer.site .bot {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ink-3);
  flex-wrap: wrap; gap: 12px;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .trust .grid { grid-template-columns: 1fr; gap: 14px; }
  .services .grid, .cases .grid, .why .lay, footer.site .grid { grid-template-columns: 1fr; gap: 28px; }
  .how .steps { grid-template-columns: repeat(2, 1fr); }
  nav.top ul { display: none; }
  nav.top ul.actions-only { display: flex; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0; }
}

/* ============================================================
   WordPress + tema-tilføjelser (ikke i original handoff-CSS)
   ============================================================ */

/* WP admin bar */
.admin-bar nav.top { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav.top { top: 46px; } }

/* ----- Mobil-menu (handoff manglede den bevidst) ----- */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 4px; background: transparent;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  nav.top ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  nav.top ul.open { display: flex; }
  nav.top ul li { width: 100%; }
  nav.top ul li a { display: block; padding: 14px 32px; }
  nav.top ul li a.btn { margin: 10px 32px; display: inline-block; }
}

/* ----- Kontaktformular (matcher det rolige design: ink-rules, 4px radius) ----- */
.kontakt-lay {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 900px) { .kontakt-lay { grid-template-columns: 1fr; gap: 32px; } }

.kontakt-direkte h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 10px; font-weight: 500;
}
.kontakt-direkte p { font-size: 15px; color: var(--ink-2); margin: 0 0 4px; }
.kontakt-direkte a { color: var(--ink); border-bottom: 1px solid var(--coral); }
.kontakt-direkte a:hover { color: var(--coral-deep); }
.kontakt-direkte .blok { margin-bottom: 28px; }

.ms-form { display: flex; flex-direction: column; gap: 16px; }
.ms-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .ms-form .pair { grid-template-columns: 1fr; } }
.ms-field { display: flex; flex-direction: column; gap: 6px; }
.ms-field label {
  font-size: 12px; font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase;
}
.ms-field input, .ms-field select, .ms-field textarea {
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 4px;
  padding: 12px 13px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ms-field input:focus, .ms-field select:focus, .ms-field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,112,82,0.14);
}
.ms-field textarea { min-height: 130px; resize: vertical; }
.ms-form .note { font-size: 12px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em; }
.ms-alert {
  border: 1px solid var(--coral); background: var(--coral-soft);
  color: var(--coral-deep); padding: 12px 14px; border-radius: 4px; font-size: 14.5px;
}
.ms-alert a { color: var(--coral-deep); border-bottom: 1px solid var(--coral-deep); }
.ms-tak h2 { margin-bottom: 14px; }
.ms-tak p { font-size: 17px; color: var(--ink-2); }
.ms-tak a.inline { color: var(--ink); border-bottom: 1px solid var(--coral); }

/* ----- Serviceaftaler-side (samme rolige sprog: ink-rule top, ingen skygger) ----- */
.aftaler { padding: 88px 0; border-bottom: 1px solid var(--line); }
.aftaler .pris-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .aftaler .pris-grid { grid-template-columns: 1fr; gap: 28px; } }
.plan { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ink); }
.plan.fremhaev { border-top-color: var(--coral); }
.plan .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--coral); letter-spacing: 0.04em; }
.plan .pris-navn { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.plan .pris {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 30px;
  letter-spacing: -0.025em; color: var(--ink); line-height: 1;
}
.plan .pris small { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.plan .pris-desc { font-size: 14.5px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan ul li { font-size: 14.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.plan ul li::before { content: '·'; color: var(--coral); position: absolute; left: 4px; font-weight: 700; }
.plan .btn { align-self: flex-start; margin-top: 8px; }

.aftaler table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.aftaler table th, .aftaler table td {
  text-align: left; padding: 13px 16px; font-size: 14.5px; border-top: 1px solid var(--line);
}
.aftaler table thead th {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500; border-top: 0;
}
.aftaler table td.c, .aftaler table th.c { text-align: center; }
.aftaler table td b { color: var(--ink); }

.faq { border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px;
  letter-spacing: -0.015em; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-3); font-size: 20px; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* Generisk side-hero (serviceaftaler) */
.side-hero { padding: 120px 0 0; }
.side-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.side-hero .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.side-hero h1 { margin-top: 18px; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; }
.side-hero .lead { margin-top: 20px; }


/* === Tilpasninger (Claude) === */
body, h1, h2, h3, h4, h5, h6, p, a, li, ul, ol, blockquote, summary, label,
.btn, .eyebrow, .lead, .wordmark, .wordmark *, .num, .stat, .stat *, .kicker,
.metric, .metric *, .note, .pitch, .reason, .reason *, .service, .service *,
.case, .case *, .step, .step *, input, textarea, select, button {
  font-family: "Montserrat", sans-serif !important;
}
.btn { border-radius: 10px !important; }
.btn--coral, .btn--coral:hover, .btn--coral:focus { color: #ffffff !important; }
