/* ==========================================================
   Tekment – ny hjemmeside
   Design system: farver, typografi, komponenter
   ========================================================== */

:root {
  /* Farver – bevaret fra oprindelig brandidentitet */
  --navy: #28546b;
  --navy-dark: #1f4455;
  --navy-light: #3a6d85;
  --green: #7dbb4b;
  --green-dark: #68a13a;
  --green-light: #9bd06a;
  --bg: #f5f7f9;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --border: #e3e6ea;
  --accent: #f4a825;

  /* Typografi */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  /* Afstande */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  background: var(--navy);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-wrap { display: flex; align-items: center; }
.logo { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.main-nav a:hover {
  background: rgba(125,187,75,0.12);
  text-decoration: none;
}
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.main-nav .nav-cta {
  border: 2px solid var(--green);
  padding: 8px 20px;
  border-radius: 24px;
  margin-left: 8px;
}
.main-nav .nav-cta:hover {
  background: var(--green);
  color: var(--navy);
}

/* Sprogvælger – diskret DA | EN i header */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-switch a {
  color: var(--green);
  padding: 4px 6px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-switch a:hover {
  background: rgba(125,187,75,0.12);
  text-decoration: none;
}
.lang-switch a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.lang-switch .lang-sep {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--green);
  font-size: 24px;
  cursor: pointer;
}

/* ==========================================================
   KNAPPER
   ========================================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero .lead {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.5;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-visual img {
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* Variant: mindre hero (til undersider) */
.hero-sm {
  padding: 60px 0 50px;
}
.hero-sm h1 {
  font-size: 42px;
}
.hero-sm .lead {
  font-size: 17px;
}

/* ==========================================================
   PROOF POINTS (tal under hero)
   ========================================================== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.proof {
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.4);
}
.proof .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.proof .unit {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}
.proof .desc {
  font-size: 12px;
  color: var(--navy);
  margin-top: 6px;
  display: block;
  opacity: 0.85;
  line-height: 1.35;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================
   LOGO STRIP
   ========================================================== */
.logo-strip {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.logo-strip .label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.fake-logo {
  font-weight: 700;
  color: #9ba5ab;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* ==========================================================
   SEKTIONER
   ========================================================== */
.section {
  padding: 80px 0;
  background: var(--white);
}
.section-alt { background: var(--bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-head h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-head .sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.section-navy .section-head h2 { color: var(--white); }
.section-navy .section-head .sub { color: rgba(255,255,255,0.75); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================
   FEATURE GRID (forside fordele)
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
}
.feature-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================
   PROJEKT-KORT
   ========================================================== */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.proj-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.proj-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.proj-image {
  background: linear-gradient(135deg, #a8c88a 0%, #7ea864 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-style: italic;
  position: relative;
}
.proj-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.proj-tag.opfoerelse { background: var(--accent); }
.proj-tag.planlagt { background: #5c8bc4; }

.proj-card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}
.proj-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.proj-stats {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.proj-stats > div strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ==========================================================
   TESTIMONIAL
   ========================================================== */
.testimonial {
  background: var(--navy);
  color: var(--white);
  padding: 50px 48px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 20px;
  quotes: "\201C" "\201D";
}
.testimonial blockquote::before {
  content: open-quote;
  font-size: 48px;
  color: var(--green);
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 8px;
}
.testimonial .author { font-size: 14px; color: var(--green); }
.testimonial .author strong {
  color: var(--white);
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}
.testimonial-side {
  text-align: right;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 40px;
}
.testimonial-side .big-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial-side .big-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  line-height: 1.3;
}

/* ==========================================================
   DOKUMENTATION-KORT
   ========================================================== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
  text-decoration: none;
}
.doc-card .doc-icon {
  width: 44px;
  height: 44px;
  background: rgba(125,187,75,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 18px;
}
.doc-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}
.doc-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}
.doc-card .doc-link {
  margin-top: 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ==========================================================
   TEKNIK-BLOK (byggesystem teknisk forklaring)
   ========================================================== */
.tech-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tech-layers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech-layer {
  padding: 18px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--green);
  background: var(--bg);
}
.tech-layer strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}
.tech-layer span {
  color: var(--muted);
  font-size: 13px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-table th {
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
  width: 40%;
}
.spec-table tr:last-child td,
.spec-table tr:last-child th { border-bottom: none; }

/* ==========================================================
   DOKUMENT-LISTE (download af PDF'er)
   ========================================================== */
.download-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.download-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s;
}
.download-list li:hover {
  border-color: var(--green);
}
.download-list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  font-size: 14px;
}
.download-list .file-type {
  background: var(--green);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================
   TIDSLINJE (Om Tekment)
   ========================================================== */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(125,187,75,0.3);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  border: 3px solid var(--navy);
}
.timeline-item h3 {
  color: var(--green);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.timeline-item p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
}

/* Prose (content text on Om-side) */
.prose p { margin-bottom: 16px; line-height: 1.7; font-size: 16px; }
.prose h2 { color: var(--green); font-size: 26px; margin: 40px 0 16px; font-weight: 700; }
.prose h3 { color: var(--green); font-size: 18px; margin: 24px 0 10px; font-weight: 700; }
.prose ul { margin: 0 0 20px 22px; }
.prose ul li { margin-bottom: 8px; line-height: 1.6; }

.section-navy .prose h2 { color: var(--green); }
.section-navy .prose p { color: rgba(255,255,255,0.9); }
.section-navy .prose li { color: rgba(255,255,255,0.85); }

/* ==========================================================
   KONTAKTFORM
   ========================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-card h2 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 700;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row label .req { color: var(--accent); margin-left: 2px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(125,187,75,0.15);
}
.form-row textarea { resize: vertical; min-height: 90px; }

/* Select-element: skjul native pil og tilføj egen SVG-pil for konsistent look */
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2328546b' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-row select:hover { border-color: var(--green); }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  background: var(--bg);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.upload-zone:hover { border-color: var(--green); }
.upload-zone strong { display: block; color: var(--navy); margin-bottom: 4px; }
.upload-zone span { color: var(--muted); font-size: 13px; }
.upload-hint { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 18px; }

.contact-info {
  padding: 10px 0;
}
.contact-info h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}
.contact-info .info-block {
  margin-bottom: 22px;
}
.contact-info .info-block strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-info .info-block span, .contact-info .info-block a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 60px 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   VIDEO / GALLERI BOKSE
   ========================================================== */
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.video-thumb {
  background: var(--navy);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.video-thumb::after {
  content: "▶";
  color: var(--white);
  font-size: 42px;
  background: rgba(125,187,75,0.95);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
}
.video-body { padding: 20px 24px 24px; }
.video-body h3 { color: var(--navy); margin-bottom: 6px; font-size: 17px; }
.video-body p { color: var(--muted); font-size: 13px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col p, .footer-col a, .footer-col span {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}
.footer-col a:hover { color: var(--green); text-decoration: none; }
.footer-col strong { color: var(--white); }

.footer-logo-area { margin-bottom: 16px; }
.footer-logo-area .footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.footer-slogan-line {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .copy { color: rgba(255,255,255,0.55); font-size: 12px; }
.footer-bottom .footer-slogan {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================
   CHAT-WIDGET · CemPU support
   ========================================================== */
.cempu-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}

/* Knap */
.cempu-chat-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 6px 20px rgba(40,84,107,0.18);
  overflow: hidden;
}
.cempu-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(40,84,107,0.25);
  border-color: var(--green);
}
.cempu-chat-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
/* Grøn notifikations-prik */
.cempu-chat-btn::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--green);
  border: 2px solid var(--white);
  border-radius: 50%;
}
.cempu-chat-btn.is-active::after { display: none; }

/* Panel */
.cempu-chat-panel {
  position: absolute;
  bottom: 78px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}
.cempu-chat-panel.is-open {
  display: flex;
  animation: cempu-panel-in 0.2s ease-out;
}
@keyframes cempu-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Panel header */
.cempu-panel-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cempu-panel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cempu-panel-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cempu-panel-title { font-weight: 700; font-size: 15px; line-height: 1.2; }
.cempu-panel-sub {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cempu-panel-sub::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.cempu-panel-close {
  margin-left: auto;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cempu-panel-close:hover { background: rgba(255,255,255,0.2); }

/* Panel body (scrollable) */
.cempu-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: var(--bg);
}

/* Intro-bobbel */
.cempu-intro {
  background: var(--white);
  padding: 14px 16px;
  border-radius: 12px 12px 12px 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.cempu-intro strong { color: var(--navy); display: block; margin-bottom: 2px; }

/* Spørgsmålsknapper */
.cempu-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.cempu-topic {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
}
.cempu-topic:hover {
  border-color: var(--green);
  background: #fafcf6;
}
.cempu-topic .ico {
  width: 28px;
  height: 28px;
  background: rgba(125,187,75,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.cempu-topic .arr { margin-left: auto; color: var(--muted); font-weight: 400; }

/* Svar-bobbel */
.cempu-answer {
  background: var(--white);
  padding: 14px 16px;
  border-radius: 12px 12px 12px 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  display: none;
  animation: cempu-panel-in 0.2s ease-out;
}
.cempu-answer.is-open { display: block; }
.cempu-answer h4 { color: var(--navy); font-size: 14px; margin-bottom: 6px; font-weight: 700; }
.cempu-answer p { margin-bottom: 8px; }
.cempu-answer ul { margin: 6px 0 8px 18px; }
.cempu-answer li { margin-bottom: 3px; }
.cempu-answer .metric {
  display: inline-block;
  background: rgba(125,187,75,0.12);
  color: var(--green-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  margin-right: 4px;
}
.cempu-answer a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.cempu-answer a:hover { text-decoration: underline; }
.cempu-answer .back {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
}

/* Panel footer */
.cempu-panel-footer {
  padding: 14px 18px;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.cempu-panel-footer a {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
.cempu-panel-footer .to-form {
  background: var(--navy);
  color: var(--white);
}
.cempu-panel-footer .to-form:hover { background: var(--navy-dark); color: var(--white); text-decoration: none; }
.cempu-panel-footer .to-mail {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.cempu-panel-footer .to-mail:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }

@media (max-width: 560px) {
  .cempu-chat { bottom: 16px; right: 16px; }
  .cempu-chat-panel { width: calc(100vw - 32px); bottom: 76px; }
}

/* ==========================================================
   PDF-KORT GRID (dokumentationssubsider)
   ========================================================== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pdf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
  text-decoration: none;
}
.pdf-card .pdf-thumb {
  aspect-ratio: 4/3;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pdf-card .pdf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdf-card .pdf-thumb-fallback {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  padding: 20px;
}
.pdf-card .pdf-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.pdf-card h3 {
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}
.pdf-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}
.pdf-card .pdf-link {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  margin-top: 16px;
}

/* ==========================================================
   VIDEOAFSPILLER
   ========================================================== */
.video-wrap {
  background: var(--navy);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 1040px;
  margin: 0 auto;
}
.video-wrap video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ==========================================================
   GALLERI
   ========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  cursor: pointer;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 60px 40px;
}
.lightbox.is-open { display: flex; }
.lightbox-image-wrapper {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.15);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 18px; }
}
@media (max-width: 560px) {
  .pdf-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   BREADCRUMB
   ========================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}
.breadcrumb .sep {
  color: var(--border);
}
.breadcrumb .current {
  color: var(--navy);
  font-weight: 600;
}

/* ==========================================================
   SIMPLE SIDER (privatliv / cookie / tak)
   ========================================================== */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-page h1 {
  color: var(--navy);
  font-size: 36px;
  margin-bottom: 12px;
}
.legal-page .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 30px;
}
.legal-page h2 {
  color: var(--navy);
  font-size: 20px;
  margin: 32px 0 10px;
}
.legal-page p, .legal-page li {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul { margin-left: 22px; }

/* ==========================================================
   RESPONSIVT
   ========================================================== */
@media (max-width: 960px) {
  .hero-inner,
  .tech-block,
  .contact-wrap,
  .testimonial,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16px; }
  .hero-visual { justify-content: center; }
  .testimonial { padding: 32px 28px; }
  .testimonial-side { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding-left: 0; padding-top: 24px; text-align: left; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid, .proj-grid-3 { grid-template-columns: 1fr; }
  .download-list { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-head h2, .cta-banner h2 { font-size: 26px; }

  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 4px;
  }
  .menu-toggle { display: block; }
  .site-header { position: relative; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 28px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .proof .num { font-size: 22px; }
  .feature-grid, .doc-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}

/* ============================================================
   DUAL-NAV (Danmark + Grønland regelsæt)
   Header består af to komplette navigationsrækker:
   - Øverste: Danmark (BR18) – synlig altid, DK-flag ved logo (kun ved åben)
   - Nederste: Grønland (BR2006) – kun synlig når toggle er åben
   "Grønland" i øverste menu er en åbne/lukke-toggle.
   Når åben skjules "Grønland"-knappen og bunden vises.
   ============================================================ */

/* Grønland-toggle i hovedmenu */
.nav-toggle-gr {
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--green);
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-toggle-gr:hover { background: rgba(125,187,75,0.12); }
.nav-toggle-gr::after {
  content: "▾";
  font-size: 0.7em;
  opacity: 0.85;
  margin-left: 2px;
}

/* Flag-badge ved logo */
.nav-flag {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding: 3px 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  vertical-align: middle;
}
.nav-flag svg {
  display: block;
  height: 18px;
  width: auto;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 1px;
}

/* DK-flag i top-række: skjult indtil dual-nav er åbnet */
.header-row-dk .nav-flag-dk { display: none; }
.site-header.gr-open .header-row-dk .nav-flag-dk { display: inline-flex; }

/* Grønland-toggle skjules når dual-nav er åbnet (begge rækker viser
   nu deres respektive regelsæt via flag) */
.site-header.gr-open .nav-toggle-gr { display: none; }

/* GR-række – anden komplet header-row (logo + flag + nav + DA|EN) */
.header-row-gr {
  display: none;
  border-top: 1px dashed rgba(255,255,255,0.18);
  padding-top: 14px;
  margin-top: 10px;
}
.site-header.gr-open .header-row-gr { display: block; }

/* Begge header-rækker bruger samme grundlayout som .header-inner */
.header-row-dk .header-inner,
.header-row-gr .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo + flag side om side */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0;
}

@media (max-width: 1100px) {
  .nav-flag svg { height: 16px; }
  .nav-flag { margin-left: 8px; padding: 2px 4px; }
}
