* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f0f4f8;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header,
.site-header {
  background: linear-gradient(180deg, #1e3a5f 0%, #1a2d4f 100%);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switch {
  color: #cce0ff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
  margin-left: 0 !important;
}

.lang-switch:hover {
  background: rgba(79, 195, 247, 0.2);
  border-color: #4fc3f7;
  color: #fff !important;
}

.btn-login {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(90deg, #e53935 0%, #1565c0 100%);
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-left: 0 !important;
  white-space: nowrap;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.45);
}

header:not(.site-header) {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4fc3f7;
  letter-spacing: 1px;
}

nav a {
  color: #cce0ff;
  text-decoration: none;
  margin-left: 24px;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

nav a:hover,
nav a.active {
  background: #4fc3f7;
  color: #1a2d4f;
}

/* MAIN */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #152a45 0%, #1a2d4f 45%, #1565c0 100%);
  color: white;
  padding: 72px 32px;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(33,150,243,0.18), transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 900;
  line-height: 1.15;
  position: relative;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #fff;
  padding: 13px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(21,101,192,0.3);
  border: none;
  cursor: pointer;
  gap: 6px;
}

.btn:hover {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.4);
}

.btn-outline {
  background: transparent;
  color: #1565c0;
  border: 2px solid #1565c0;
  box-shadow: none;
}
.btn-outline:hover {
  background: #1565c0;
  color: #fff;
}

/* SERVICES */
.services h2,
.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: #1a2d4f;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid #eef2f8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(21,101,192,0.1);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1a2d4f;
  font-weight: 700;
}

/* CONTACT */
.contact {
  background: white;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact p {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact a {
  color: #1565c0;
}

/* PAGE HEADER */
.page-header {
  margin-bottom: 0;
  padding: 52px 32px 48px;
  background: linear-gradient(160deg, #152a45 0%, #1e3a5f 55%, #1a3a6e 100%);
  color: #fff;
  text-align: center;
  width: 100%;
}

.page-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}
.page-header p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* PC CARDS */
.pc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pc-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  position: relative;
}

.pc-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pc-badge.baerbar {
  background: #e3f2fd;
  color: #1565c0;
}

.pc-badge.stationaer {
  background: #e8f5e9;
  color: #2e7d32;
}

.pc-card h2 {
  font-size: 1.3rem;
  color: #1a2d4f;
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

th, td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  color: #555;
  font-weight: 600;
  width: 40%;
}

.test-results {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.test-results h3 {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-item {
  font-size: 0.9rem;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.test-item::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.test-item.pass::before {
  content: '✓';
  color: #2e7d32;
}

.test-item.warn::before {
  content: '!';
  color: #e65100;
}

.test-item.fail::before {
  content: '✗';
  color: #c62828;
}

/* FILTER BAR */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: white;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 20px;
}

#search {
  flex: 1;
  min-width: 200px;
  padding: 9px 14px;
  border: 1.5px solid #d0d8e8;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
}

#search:focus {
  border-color: #4fc3f7;
}

.filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1.5px solid #d0d8e8;
  border-radius: 20px;
  background: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #4fc3f7;
  color: #1565c0;
}

.filter-btn.active {
  background: #1a2d4f;
  color: white;
  border-color: #1a2d4f;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
}

#sort {
  padding: 8px 12px;
  border: 1.5px solid #d0d8e8;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.pc-count {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 16px;
}

/* STATUS BADGE */
.status-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.tilgaengelig {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-badge.reserveret {
  background: #fff8e1;
  color: #e65100;
}

.status-badge.solgt {
  background: #fce4ec;
  color: #c62828;
}

.pc-card[data-status="solgt"] {
  opacity: 0.65;
}

.pc-card[data-status="reserveret"] {
  border-left: 4px solid #ffa726;
}

/* CARD FOOTER */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}

.pc-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1565c0;
}

.btn-kontakt {
  display: inline-block;
  background: #1a2d4f;
  color: white;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-kontakt:hover {
  background: #1565c0;
}

.btn-kontakt.venteliste {
  background: #e65100;
}

.btn-kontakt.venteliste:hover {
  background: #bf360c;
}

.btn-kontakt.solgt-btn {
  background: #bbb;
  cursor: default;
}

/* INFO SEKTION */
.info-sektion {
  margin-top: 56px;
  background: white;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.info-sektion h2 {
  font-size: 1.6rem;
  color: #1a2d4f;
  margin-bottom: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.info-item {
  text-align: center;
  padding: 16px;
}

.info-ikon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.info-item h3 {
  font-size: 1rem;
  color: #1a2d4f;
  margin-bottom: 8px;
}

.info-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* INGEN RESULTATER */
.ingen-resultater {
  text-align: center;
  padding: 48px;
  color: #777;
  font-size: 1.1rem;
  background: white;
  border-radius: 10px;
  margin-top: 16px;
}

/* FAVORIT KNAP */
.btn-fav {
  background: none;
  border: 1.5px solid #d0d8e8;
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s;
  color: #aaa;
}

.btn-fav:hover { border-color:#e91e63; color:#e91e63; }
.btn-fav.fav-aktiv { border-color:#e91e63; color:#e91e63; background:#fce4ec; }

/* BESPARELSE BADGE */
.spar-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* FAVORIT TOAST */
.fav-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a2d4f;
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
  pointer-events: none;
}
.fav-toast.vis { opacity: 1; transform: translateX(-50%) translateY(0); }

/* GRADE BADGE */
.grade-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.grade-badge[data-g="A"] { background: #1b5e20; }
.grade-badge[data-g="B"] { background: #2e7d32; }
.grade-badge[data-g="C"] { background: #558b2f; }
.grade-badge[data-g="D"] { background: #f9a825; color: #1a1a1a; }
.grade-badge[data-g="E"] { background: #e65100; }
.grade-badge[data-g="F"] { background: #bf360c; }
.grade-badge[data-g="G"] { background: #b71c1c; }

/* GRADE LEGEND */
.grade-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.grade-chip {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: white;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.grade-chip:hover { transform: scale(1.15); box-shadow: 0 3px 8px rgba(0,0,0,0.2); }
.grade-chip.aktiv-chip { outline: 3px solid #1a2d4f; outline-offset: 2px; }
.grade-chip[data-g="A"] { background: #1b5e20; }
.grade-chip[data-g="B"] { background: #2e7d32; }
.grade-chip[data-g="C"] { background: #558b2f; }
.grade-chip[data-g="D"] { background: #f9a825; color: #1a1a1a; }
.grade-chip[data-g="E"] { background: #e65100; }
.grade-chip[data-g="F"] { background: #bf360c; }
.grade-chip[data-g="G"] { background: #b71c1c; }

.grade-legend-tekst {
  font-size: 0.82rem;
  color: #888;
  margin-left: 4px;
}

/* SKADER LISTE (i modal) */
.skader-sektion { margin-top: 16px; }
.skader-sektion h4 { font-size: 0.9rem; color: #555; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 10px; }
.skade-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 3px 3px 3px 0;
}
.skade-ingen { background: #e8f5e9; color: #2e7d32; }
.skade-let   { background: #fff8e1; color: #e65100; }
.skade-middel { background: #fff3e0; color: #bf360c; }
.skade-svaer { background: #fce4ec; color: #b71c1c; }

body.dark .grade-legend { background: #1a2535; }
body.dark .grade-legend-tekst { color: #778899; }

/* CARD BUTTONS ROW */
.card-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-detaljer {
  padding: 9px 14px;
  border: 1.5px solid #1a2d4f;
  border-radius: 6px;
  background: white;
  color: #1a2d4f;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-detaljer:hover {
  background: #e8eef8;
}

.btn-sammenlign {
  padding: 9px 14px;
  border: 1.5px solid #aaa;
  border-radius: 6px;
  background: white;
  color: #555;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sammenlign:hover {
  border-color: #1a2d4f;
  color: #1a2d4f;
}

.btn-sammenlign.aktiv-sammenlign {
  background: #e8f5e9;
  border-color: #2e7d32;
  color: #2e7d32;
}

/* SAMMENLIGNING BAR */
.sammenlign-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2d4f;
  color: white;
  padding: 14px 24px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}

.sammenlign-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sammenlign-navne {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.sammenlign-navne span {
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.sammenlign-go {
  padding: 9px 20px;
  background: #4fc3f7;
  color: #1a2d4f;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.sammenlign-go:disabled {
  opacity: 0.4;
  cursor: default;
}

.sammenlign-go:not(:disabled):hover {
  background: #81d4fa;
}

.sammenlign-nulstil {
  padding: 9px 16px;
  background: transparent;
  color: #aac4e8;
  border: 1.5px solid #aac4e8;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.sammenlign-nulstil:hover {
  background: rgba(255,255,255,0.1);
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-boks {
  background: white;
  border-radius: 14px;
  padding: 36px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-bred {
  max-width: 1000px;
}

.modal-luk {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

.modal-luk:hover {
  color: #c62828;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 1.6rem;
  color: #1a2d4f;
  margin-bottom: 6px;
}

.modal-pris {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1565c0;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.modal-body h3 {
  font-size: 1rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* SAMMENLIGNING TABEL */
.sam-grid {
  overflow-x: auto;
}

.sam-raekke {
  display: flex;
  border-bottom: 1px solid #eee;
}

.sam-raekke-header {
  border-bottom: 2px solid #1a2d4f;
  margin-bottom: 4px;
}

.sam-label {
  width: 140px;
  min-width: 140px;
  padding: 10px 12px;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

.sam-kolonne-header {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #1a2d4f;
}

.sam-pris {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1565c0;
}

.sam-celle {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: #333;
}

.sam-raekke:nth-child(even) .sam-celle,
.sam-raekke:nth-child(even) .sam-label {
  background: #f8f9fa;
}

/* KONTAKT SIDE */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.kontakt-form-wrap {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.kontakt-form-wrap h2,
.kontakt-info h2 {
  font-size: 1.4rem;
  color: #1a2d4f;
  margin-bottom: 24px;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid #d0d8e8;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4fc3f7;
}

.input-fejl {
  border-color: #c62828 !important;
}

.fejl {
  font-size: 0.82rem;
  color: #c62828;
  min-height: 16px;
}

.btn-send {
  padding: 12px;
  background: #1a2d4f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.btn-send:hover {
  background: #1565c0;
}

.form-succes {
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
}

.kontakt-info {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.info-blok {
  margin-bottom: 22px;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 4px;
}

.info-blok a {
  color: #1565c0;
  text-decoration: none;
}

.aabnings-tabel {
  font-size: 0.95rem;
  margin: 0;
  box-shadow: none;
}

.aabnings-tabel td {
  padding: 5px 16px 5px 0;
  border: none;
}

.kort-placeholder {
  background: #e3f2fd;
  border-radius: 10px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.kort-tekst {
  color: #1565c0;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .card-btns { justify-content: flex-start; }
}

/* HAMBURGER — skjult på desktop; tre streger sættes i nav.js */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 11px;
  line-height: 1;
  color: white;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}
.hamburger:hover { background: rgba(255, 255, 255, 0.14); }
.hamburger.aaben span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.aaben span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.aaben span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.cit-nav-open { overflow: hidden; }

/* DARK MODE TOGGLE */
.dark-toggle {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 8px;
  transition: background 0.2s;
}

.dark-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* DARK MODE */
body.dark {
  background: #122640;
  color: #d0dce8;
}

body.dark header { background: linear-gradient(180deg, #1a3560 0%, #152a45 100%); }
body.dark .card,
body.dark .kontakt-form-wrap,
body.dark .kontakt-info,
body.dark .pc-card,
body.dark .filter-bar,
body.dark .info-sektion,
body.dark .modal-boks,
body.dark .om-tekst,
body.dark .vaerdi-kort,
body.dark .team-kort,
body.dark .tal-sektion,
body.dark .cta-sektion { background: #1a2535; color: #d0dce8; }
body.dark th { color: #99b0c8; }
body.dark td { color: #c0d0e0; border-color: #2a3a4a; }
body.dark .test-results { background: #131f2c; }
body.dark .filter-btn { background: #1a2535; color: #b0c4d8; border-color: #2a3a4a; }
body.dark .filter-btn.active { background: #4fc3f7; color: #122640; }
body.dark #search,
body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea { background: #131f2c; color: #d0dce8; border-color: #2a3a4a; }
body.dark .page-header h1,
body.dark .services h2,
body.dark .pc-card h2,
body.dark .modal-header h2,
body.dark .info-sektion h2,
body.dark .kontakt-form-wrap h2,
body.dark .kontakt-info h2,
body.dark .vaerdier h2,
body.dark .team h2,
body.dark .seneste h2,
body.dark .fordele h2,
body.dark .om-tekst h2 { color: #81d4fa; }
body.dark .kort-placeholder { background: #131f2c; }
body.dark footer { background: linear-gradient(180deg, #152a45 0%, #122640 100%); }
body.dark .footer-bund { border-color: #1a2d4f; }
body.dark .sam-raekke:nth-child(even) .sam-celle,
body.dark .sam-raekke:nth-child(even) .sam-label { background: #131f2c; }
body.dark .billede-placeholder { background: #131f2c; }
body.dark .tal-sektion { background: linear-gradient(135deg, #152a45, #1a2d4f); }
body.dark .service-cta { background: linear-gradient(135deg, #152a45, #1565c0); }
body.dark .service-cta h2,
body.dark .service-cta p { color: #d0dce8; }
body.dark .btn-outline {
  border-color: #4fc3f7;
  color: #4fc3f7;
}
body.dark .nav-ydelser-drop {
  background: #1a2535;
  border: 1px solid #2a3a4a;
}
body.dark .nav-ydelser-drop a { color: #d0dce8; }
body.dark .nav-ydelser-drop a:hover { background: #131f2c; color: #4fc3f7; }

/* Tomme tilstande — webshop, portal, POS m.fl. */
.cit-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(160deg, #f8fafc 0%, #f0f4f8 100%);
  border: 1px dashed #c5d4e8;
  border-radius: 14px;
  color: #667788;
}
.cit-empty-state--kompakt {
  padding: 32px 20px;
  border-radius: 12px;
}
.cit-empty-state--fejl {
  background: linear-gradient(160deg, #fff5f5 0%, #fce8e8 100%);
  border-color: #ef9a9a;
  color: #b71c1c;
}
.cit-empty-ikon {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}
.cit-empty-titel {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2d4f;
  margin: 0 0 6px;
}
.cit-empty-tekst {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  color: inherit;
}
.cit-empty-tekst a {
  color: #1565c0;
  font-weight: 600;
}
body.dark .cit-empty-state {
  background: linear-gradient(160deg, #1a2535 0%, #131f2c 100%);
  border-color: #2a3a4a;
  color: #99b0c8;
}
body.dark .cit-empty-state--fejl {
  background: linear-gradient(160deg, #2a1518 0%, #1a1012 100%);
  border-color: #5c2020;
  color: #ef9a9a;
}
body.dark .cit-empty-titel { color: #81d4fa; }
body.dark .cit-empty-tekst a { color: #4fc3f7; }

/* FOOTER */
footer {
  background: #1a2d4f;
  color: #aac4e8;
  font-size: 0.9rem;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-logo .logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
}

.footer-kolonne h4 {
  color: white;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-kolonne p {
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer-kolonne a {
  display: block;
  color: #aac4e8;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.footer-kolonne a:hover { color: #4fc3f7; }

.footer-bund {
  border-top: 1px solid #253a5a;
  text-align: center;
  padding: 20px 24px 24px;
  font-size: 0.85rem;
  color: #7a9ab8;
  line-height: 1.6;
}

/* TILBAGE TIL TOPPEN */
.til-toppen {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #1a2d4f;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 50;
  line-height: 1;
}

.til-toppen.synlig {
  opacity: 1;
  transform: translateY(0);
}

.til-toppen:hover { background: #1565c0; }

/* HERO BTNS */
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 2px solid #4fc3f7;
  color: #4fc3f7;
}

.btn-outline:hover {
  background: rgba(79,195,247,0.15);
  color: white;
}

/* FORSIDE FORBEDRINGER */
.card-ikon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.fordele {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin: 36px 0;
}

.fordele h2 {
  font-size: 1.6rem;
  color: #1a2d4f;
  margin-bottom: 20px;
}

.fordele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fordel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.fordel-check {
  color: #2e7d32;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.seneste { margin-top: 36px; }
.seneste h2 { font-size: 1.6rem; color: #1a2d4f; margin-bottom: 20px; }

.mini-pc-kort { border-left: 4px solid #1565c0; }

.mini-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mini-badge.baerbar { background: #e3f2fd; color: #1565c0; }
.mini-badge.stationaer { background: #e8f5e9; color: #2e7d32; }

.mini-pris {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1565c0;
  margin: 10px 0;
}

.btn-lille {
  display: inline-block;
  padding: 7px 16px;
  background: #1a2d4f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-lille:hover { background: #1565c0; }

/* OM OS SIDE */
.om-sektion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 36px;
}

.om-tekst h2 {
  font-size: 1.6rem;
  color: #1a2d4f;
  margin-bottom: 16px;
}

.om-tekst p {
  margin-bottom: 12px;
  line-height: 1.7;
  color: #444;
}

.billede-placeholder {
  background: #e3f2fd;
  border-radius: 12px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1565c0;
  font-size: 1rem;
  font-weight: 600;
}

.vaerdier {
  margin-bottom: 36px;
}

.vaerdier h2, .team h2 {
  font-size: 1.6rem;
  color: #1a2d4f;
  margin-bottom: 24px;
}

.vaerdi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.vaerdi-kort {
  background: white;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-align: center;
}

.vaerdi-ikon { font-size: 2rem; margin-bottom: 12px; }
.vaerdi-kort h3 { color: #1a2d4f; margin-bottom: 8px; }
.vaerdi-kort p { font-size: 0.9rem; color: #555; line-height: 1.6; }

.team { margin-bottom: 36px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-kort {
  background: white;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-align: center;
}

.team-avatar {
  width: 64px;
  height: 64px;
  background: #1a2d4f;
  color: #4fc3f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.team-kort h3 { color: #1a2d4f; margin-bottom: 4px; }
.team-titel { font-size: 0.85rem; color: #4fc3f7; font-weight: 600; margin-bottom: 10px; }
.team-kort p { font-size: 0.9rem; color: #555; line-height: 1.6; }

.tal-sektion {
  background: linear-gradient(135deg, #1a2d4f, #1565c0);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 36px;
}

.tal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.tal-nummer {
  font-size: 2.4rem;
  font-weight: 700;
  color: #4fc3f7;
  margin-bottom: 6px;
}

.tal-label { color: #cce0ff; font-size: 0.95rem; }

.cta-sektion {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-align: center;
}

.cta-sektion h2 { font-size: 1.8rem; color: #1a2d4f; margin-bottom: 10px; }
.cta-sektion p { color: #555; margin-bottom: 24px; }

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── MOBIL MENU ─────────────────────────────────────── */
/* Overlay-baggrund */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 305;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.nav-overlay.aktiv {
  display: block;
  opacity: 1;
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
    z-index: 320;
    position: relative;
    margin-left: auto;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 16px;
  }

  .site-header .logo-link {
    flex: 1;
    min-width: 0;
  }

  /* Skjul horisontal nav — vis kun som drawer */
  .site-header nav,
  header nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 320px);
    max-width: 100%;
    background: linear-gradient(180deg, #1e3a5f 0%, #1a2d4f 100%);
    padding: 0 0 32px;
    gap: 2px;
    z-index: 310;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    pointer-events: none;
  }
  .site-header nav.nav-open,
  header nav.nav-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #1e3a5f 0%, #1a2d4f 100%);
    z-index: 2;
  }
  .nav-drawer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .nav-drawer-luk {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
  }
  .nav-drawer-luk:hover { background: rgba(255, 255, 255, 0.18); }

  nav a,
  .nav-ydelser-knap {
    display: flex;
    align-items: center;
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 14px 16px !important;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: none !important;
    transition: background 0.15s, color 0.15s;
    box-sizing: border-box;
  }
  nav a {
    color: rgba(255, 255, 255, 0.9) !important;
  }
  nav a:hover,
  nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
  }
  nav a.active { color: #4fc3f7 !important; font-weight: 600; }

  .nav-ydelser {
    display: block;
    width: 100%;
    margin: 0;
  }
  .nav-ydelser-knap {
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
  }
  .nav-ydelser.open .nav-ydelser-knap {
    background: rgba(79, 195, 247, 0.2);
    color: #fff !important;
  }
  .nav-ydelser-drop {
    display: none;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin: 4px 12px 8px;
    padding: 4px 0;
  }
  .nav-ydelser.open .nav-ydelser-drop { display: block; }
  .nav-ydelser-drop a {
    width: 100%;
    margin: 0 !important;
    padding: 12px 20px !important;
    color: #cce0ff !important;
    font-size: 0.95rem;
  }

  .nav-tools {
    width: calc(100% - 24px);
    margin: 12px 12px 0 !important;
    padding: 16px 0 0 !important;
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .btn-login {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .lang-switch { align-self: stretch; justify-content: center; }
  .dark-toggle { width: 100%; justify-content: center; }

  header { position: sticky; top: 0; }
  .om-sektion { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 993px) {
  .nav-drawer-head { display: none !important; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .tal-sektion { padding: 24px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
}
