/*
Theme Name: W-TEK
Theme URI: https://wtek.no
Author: W-TEK AS
Author URI: https://wtek.no
Description: Eget WordPress-tema for W-TEK basert på heksagon-formspråket. Støtter Custom Post Types for nyheter, partnere og team, samt page templates for tjenester, lagdelt sikkerhet, partnere og kontakt.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary – kun til bruk for W-TEK AS
Text Domain: wtek
Tags: business, portfolio, custom-colors
*/
/* ==========================================================================
   W-TEK – Felles stilark
   Fargepalett:
     Dyp grønn  #1D3C34
     Beige      #FFEEE0
     Oransje    #E46700
   ========================================================================== */
/* WordPress – tvinge full bredde på toppnivå-elementer (kun .entry-content) */
.entry-content > section,
.entry-content > .cta-band,
.wp-block-html > section,
.wp-block-html > .cta-band {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
/* Skjul WP sin standard sidetittel når vi bruker egen hero */
.page .entry-header,
.page-template .entry-header { display: none; }
/* WP nav menu – fjern kuler/marg fra <ul>/<li> som wp_nav_menu produserer */
.nav ul,
.nav ol,
.site-footer .footer-grid ul,
.site-footer .footer-grid ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}
.site-footer .footer-grid li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-grid li a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 238, 224, 0.78);
}
.site-footer .footer-grid li a:hover { color: var(--color-orange); }
@media (max-width: 900px) {
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav li { display: block; }
  .nav li a { padding: 14px; }
}
/* Contact Form 7 – robust styling som matcher dvor som helst inni .contact-form */
.contact-form .wpcf7,
.contact-form .wpcf7 form { display: block; }
.contact-form .wpcf7 p { margin: 0 0 18px; }
/* Etiketter */
.contact-form .wpcf7 label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-green);
  line-height: 1.3;
}
/* Wrap-spanner som CF7 lager rundt felter – la dem ta full bredde */
.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
/* Alle tekst-/select-/textarea-felter */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form input[type="search"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 60, 52, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  background: var(--color-beige);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  margin: 0;
  line-height: 1.4;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="url"]:focus,
.contact-form input[type="number"]:focus,
.contact-form input[type="search"]:focus,
.contact-form input[type="date"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(228, 103, 0, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
/* Samtykke-checkbox – CF7 wrapper i .wpcf7-acceptance > .wpcf7-list-item */
.contact-form .wpcf7-acceptance,
.contact-form .wpcf7-checkbox {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.contact-form .wpcf7-list-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
}
.contact-form .wpcf7-list-item label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
  cursor: pointer;
}
.contact-form .wpcf7-list-item input[type="checkbox"],
.contact-form .wpcf7-list-item input[type="radio"] {
  margin: 4px 0 0 0;
  flex-shrink: 0;
  width: auto;
}
.contact-form .wpcf7-list-item-label { display: inline; }
.contact-form .wpcf7-acceptance a { color: var(--color-orange); }
/* Send-knapp */
.contact-form input[type="submit"],
.contact-form button[type="submit"],
.contact-form .wpcf7-submit {
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  background: var(--color-orange);
  color: var(--color-white);
  border: 2px solid transparent;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover,
.contact-form .wpcf7-submit:hover {
  background: var(--color-orange-dark);
  transform: translateY(-1px);
}
/* Spinner ved siden av knappen */
.contact-form .wpcf7-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}
/* Validering */
.contact-form .wpcf7-not-valid-tip {
  color: #b94300;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}
.contact-form .wpcf7-form-control.wpcf7-not-valid {
  border-color: #b94300 !important;
}
/* Responsmeldinger */
.contact-form .wpcf7-response-output {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm);
  padding: 14px 18px !important;
  margin: 18px 0 0 !important;
  font-size: 0.95rem;
}
.contact-form .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(40, 160, 80, 0.08);
  border-color: #2a8a4a !important;
  color: var(--color-green);
}
.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output {
  background: rgba(228, 103, 0, 0.08);
  border-color: var(--color-orange) !important;
  color: #b94300;
}
/* To-kolonners rad i selve skjemaet (Navn+Firma, E-post+Telefon) */
.contact-form .wpcf7 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .wpcf7 .form-row > p { margin-bottom: 0; }
@media (max-width: 600px) {
  .contact-form .wpcf7 .form-row { grid-template-columns: 1fr; }
}
/* DMARC-embed på forsiden */
.dmarc-embed {
  max-width: 760px;
  margin: 32px auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.dmarc-embed iframe,
.dmarc-embed > div {
  width: 100% !important;
  border: 0;
  display: block;
}
/* Pagination */
.navigation.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.navigation.pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-green);
  font-weight: 600;
  text-decoration: none;
}
.navigation.pagination .page-numbers.current {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.navigation.pagination .page-numbers:hover:not(.current) {
  border-color: var(--color-orange);
  color: var(--color-orange);
}
:root {
  --color-green: #1D3C34;
  --color-green-dark: #122723;
  --color-green-soft: #2a5246;
  --color-beige: #FFEEE0;
  --color-beige-dark: #f4e0cf;
  --color-orange: #E46700;
  --color-orange-dark: #c75900;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-white: #ffffff;
  --color-border: rgba(29, 60, 52, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(29, 60, 52, 0.08);
  --shadow-md: 0 8px 24px rgba(29, 60, 52, 0.12);
  --shadow-lg: 0 20px 50px rgba(29, 60, 52, 0.18);
  --max-width: 1200px;
  --header-height: 80px;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-beige);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--color-green);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-orange);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-green);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}
/* ---------- Topp-bar ---------- */
.topbar {
  background: var(--color-green-dark);
  color: var(--color-beige);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a {
  color: var(--color-beige);
}
.topbar a:hover {
  color: var(--color-orange);
}
.topbar-left,
.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.topbar .remote-support {
  background: var(--color-orange);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
  font-size: 0.85rem;
}
.topbar .remote-support:hover {
  background: var(--color-orange-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}
.topbar .remote-support::before {
  content: "🖥️";
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .topbar { font-size: 0.78rem; padding: 6px 0; }
  .topbar-left { gap: 10px; }
  .topbar-right { gap: 10px; }
}
/* ---------- Header / navigasjon ---------- */
.site-header {
  background: var(--color-green);
  color: var(--color-beige);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-beige);
  height: 40px;
}
.brand:hover { opacity: 0.85; }
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-text {
  /* Skjul tekst når SVG-logo brukes */
  display: none;
}
.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav a {
  color: var(--color-beige);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.active {
  background: rgba(255, 238, 224, 0.1);
  color: var(--color-beige);
}
.nav .btn {
  margin-left: 12px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 238, 224, 0.3);
  color: var(--color-beige);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-green-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
/* ---------- Knapper ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-orange-dark);
  color: var(--color-white);
}
.btn-secondary {
  background: transparent;
  color: var(--color-beige);
  border-color: var(--color-beige);
}
.btn-secondary:hover {
  background: var(--color-beige);
  color: var(--color-green);
}
.btn-dark {
  background: var(--color-green);
  color: var(--color-beige);
}
.btn-dark:hover {
  background: var(--color-green-dark);
  color: var(--color-beige);
}
.btn-ghost {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}
.btn-ghost:hover {
  background: var(--color-green);
  color: var(--color-beige);
}
/* ---------- Seksjoner ---------- */
section {
  padding: 88px 0;
}
@media (max-width: 700px) {
  section { padding: 56px 0; }
}
.section-light { background: var(--color-beige); }
.section-cream { background: var(--color-beige-dark); }
.section-dark {
  background: var(--color-green);
  color: var(--color-beige);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--color-beige); }
.section-dark .eyebrow { color: var(--color-orange); }
.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}
.section-dark .lead {
  color: rgba(255, 238, 224, 0.8);
}
/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(228, 103, 0, 0.18), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(255, 238, 224, 0.08), transparent 50%),
    var(--color-green);
  color: var(--color-beige);
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--color-beige); }
.hero p.lead {
  color: rgba(255, 238, 224, 0.85);
  max-width: 620px;
  font-size: 1.2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 540px;
}
.hero-stats .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange);
  display: block;
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 238, 224, 0.75);
  margin-top: 6px;
  display: block;
}
.hero-card {
  background: rgba(255, 238, 224, 0.07);
  border: 1px solid rgba(255, 238, 224, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: var(--color-beige); }
.hero-card .check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}
.hero-card .check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 238, 224, 0.9);
}
.hero-card .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}
/* ---------- Kort-grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(228, 103, 0, 0.3);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-beige);
  color: var(--color-green);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card.dark {
  background: var(--color-green-soft);
  color: var(--color-beige);
  border-color: transparent;
}
.card.dark h3 { color: var(--color-beige); }
.card.dark .icon {
  background: var(--color-orange);
  color: var(--color-white);
}
.card .card-link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  color: var(--color-orange);
}
.card .card-link::after {
  content: " →";
  transition: transform 0.2s ease;
  display: inline-block;
}
.card:hover .card-link::after {
  transform: translateX(4px);
}
/* ---------- Sertifiseringer ---------- */
.cert-strip {
  background: var(--color-beige-dark);
  padding: 48px 0;
}
.cert-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cert-strip .cert-title {
  font-weight: 700;
  color: var(--color-green);
  margin: 0;
}
.cert-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-green);
  font-size: 0.95rem;
}
.cert-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-orange);
}
/* ---------- CTA-bånd ---------- */
.cta-band {
  background: var(--color-green);
  color: var(--color-beige);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--color-beige); }
.cta-band .lead { color: var(--color-beige); }
.cta-band .btn {
  margin-top: 18px;
}
/* ---------- Footer ---------- */
.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.footer-certifications a {
  display: inline-flex;
  padding: 0;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.footer-certifications a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.footer-certifications img {
  height: 48px;
  width: auto;
  display: block;
}
.site-footer {
  background: var(--color-green-dark);
  color: rgba(255, 238, 224, 0.78);
  padding: 64px 0 24px;
  font-size: 0.95rem;
}
.site-footer h4 {
  color: var(--color-beige);
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid a {
  color: rgba(255, 238, 224, 0.78);
  display: block;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--color-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255, 238, 224, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom .legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* ---------- Cookie-banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-green-dark);
  color: var(--color-beige);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  z-index: 100;
}
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 0.95rem; }
.cookie-banner .btn { padding: 10px 20px; }
.cookie-banner.is-hidden { display: none; }
/* ---------- Side-hero (innersider) ---------- */
.page-hero {
  background: var(--color-green);
  color: var(--color-beige);
  padding: 80px 0 64px;
  position: relative;
}
.page-hero h1 { color: var(--color-beige); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 238, 224, 0.85); max-width: 720px; }
.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: rgba(255, 238, 224, 0.7);
}
.breadcrumbs a { color: rgba(255, 238, 224, 0.7); }
.breadcrumbs a:hover { color: var(--color-orange); }
.breadcrumbs span { margin: 0 8px; opacity: 0.5; }
/* ---------- Tjenestedetaljer ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 800px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}
.feature-visual {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-soft) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--color-orange);
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(228, 103, 0, 0.25), transparent 60%);
}
.feature-visual span {
  position: relative;
  z-index: 1;
}
ul.checks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
ul.checks li {
  position: relative;
  padding-left: 28px;
}
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--color-orange);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}
/* ---------- Nyheter ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-soft));
  display: grid;
  place-items: center;
  color: var(--color-orange);
  font-size: 2.5rem;
  position: relative;
}
.news-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.news-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card p { color: var(--color-text-muted); font-size: 0.95rem; }
.news-card .card-link { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--color-orange); }
/* ---------- Om oss / verdier / team ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-item {
  padding: 24px;
  border-left: 4px solid var(--color-orange);
  background: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.value-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-card {
  text-align: center;
  background: var(--color-white);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-soft));
  color: var(--color-orange);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
}
.team-card h4 { margin: 0 0 4px; }
.team-card .role { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.timeline {
  border-left: 3px solid var(--color-orange);
  padding-left: 28px;
  display: grid;
  gap: 28px;
}
.timeline-item h4 {
  margin-bottom: 4px;
  color: var(--color-orange);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.timeline-item h3 { margin-bottom: 6px; }
/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info {
  background: var(--color-green);
  color: var(--color-beige);
  padding: 36px;
  border-radius: var(--radius-lg);
}
.contact-info h2 { color: var(--color-beige); margin-bottom: 8px; }
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}
.contact-info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-orange);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.contact-info a { color: var(--color-beige); }
.contact-form {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-green);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid rgba(29, 60, 52, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  background: var(--color-beige);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(228, 103, 0, 0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-consent {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 18px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
/* ---------- Lovtekst-side ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}
.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.legal-content th,
.legal-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 0.95rem;
}
.legal-content th {
  background: var(--color-beige-dark);
  color: var(--color-green);
  font-weight: 700;
}
.legal-content tr:last-child td { border-bottom: none; }
/* ---------- Service-ikon (hex-bakgrunn + SVG i hvit) ---------- */
.service-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-soft) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.service-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(228,103,0,0.35), transparent 60%);
}
.service-icon img {
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 1;
}
/* ---------- Kube-dekorasjon i hero ---------- */
.kube-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
}
.kube-deco.top-right { top: -40px; right: -60px; width: 360px; }
.kube-deco.bottom-left { bottom: -80px; left: -100px; width: 420px; }
.kube-deco.small-right { top: 24px; right: -30px; width: 220px; opacity: 0.12; }
/* ---------- Sammenligningstabell pakker ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--color-orange);
  background: linear-gradient(180deg, var(--color-beige) 0%, var(--color-white) 100%);
}
.price-card .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card .tier {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 8px;
}
.price-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.price-card .tagline {
  color: var(--color-text-muted);
  margin-bottom: 18px;
  min-height: 48px;
}
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.price-card .price-num { font-size: 2.2rem; font-weight: 800; color: var(--color-green); line-height: 1; }
.price-card .price-unit { color: var(--color-text-muted); font-size: 0.95rem; }
.price-card ul.checks {
  margin: 0 0 24px;
  flex: 1;
}
.price-card .btn { width: 100%; }
/* ---------- Sammenligningsmatrise ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th {
  background: var(--color-green);
  color: var(--color-beige);
  font-weight: 700;
}
.compare-table thead th.featured-col {
  background: var(--color-orange);
  color: var(--color-white);
}
.compare-table tbody tr:nth-child(even) { background: var(--color-beige); }
.compare-table tbody td.center,
.compare-table thead th.center { text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--color-orange); font-weight: 700; }
.compare-table .no { color: var(--color-text-muted); }
/* ---------- Artikkel-side ---------- */
.article-hero {
  background: var(--color-green);
  color: var(--color-beige);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.article-hero h1 {
  color: var(--color-beige);
  max-width: 820px;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255,238,224,0.75);
}
.article-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
}
.article-body .lead {
  font-size: 1.3rem;
  color: var(--color-green);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 32px;
}
.article-body h2 {
  font-size: 1.6rem;
  margin-top: 48px;
}
.article-body h3 {
  font-size: 1.2rem;
  margin-top: 32px;
}
.article-body figure {
  margin: 32px 0;
}
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--color-orange);
  background: var(--color-beige-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.15rem;
  color: var(--color-green);
  font-style: italic;
}
.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: normal;
}
/* Featured image på artikkelside */
.article-featured {
  margin: 8px auto 40px;
  max-width: 600px;
  text-align: center;
}
.article-featured img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 480px;
  display: inline-block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.article-featured figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.5;
}
.factbox {
  background: var(--color-green);
  color: var(--color-beige);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 32px 0;
}
.factbox h4 {
  color: var(--color-orange);
  margin-bottom: 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.factbox h3 {
  color: var(--color-beige);
  margin-top: 0;
  margin-bottom: 12px;
}
.factbox ul {
  padding-left: 20px;
  margin: 0;
}
.factbox li { margin-bottom: 6px; }
.article-author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 48px 0 24px;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-soft));
  color: var(--color-orange);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.author-meta strong { display: block; color: var(--color-green); }
.author-meta span { color: var(--color-text-muted); font-size: 0.9rem; }
.share-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.share-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-beige-dark);
  color: var(--color-green);
  font-weight: 700;
}
.share-row a:hover { background: var(--color-orange); color: var(--color-white); }
.related-news {
  background: var(--color-beige-dark);
}
/* ---------- Lagdelt sikkerhet (interaktiv) ---------- */
.layered-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) {
  .layered-wrap { grid-template-columns: 1fr; }
}
.layered-svg-wrap {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
@media (max-width: 980px) {
  .layered-svg-wrap { position: static; }
}
.layered-svg-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(228,103,0,0.18), transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.layered-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.layered-svg .ring {
  fill: none;
  stroke-width: 22;
  cursor: pointer;
  transition: stroke 0.25s ease, opacity 0.25s ease, stroke-width 0.25s ease;
}
.layered-svg .ring.removed {
  opacity: 0.14;
  stroke-dasharray: 4 8;
}
.layered-svg .ring.active {
  stroke-width: 28;
  filter: drop-shadow(0 0 12px rgba(228,103,0,0.65));
}
.layered-svg text {
  fill: var(--color-beige);
  font-family: var(--font-display);
  font-weight: 700;
  pointer-events: none;
}
.layered-svg .core {
  fill: var(--color-orange);
}
.layered-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.layered-controls button {
  background: rgba(255,238,224,0.1);
  color: var(--color-beige);
  border: 1px solid rgba(255,238,224,0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.layered-controls button:hover {
  background: rgba(228,103,0,0.25);
  border-color: var(--color-orange);
}
.layered-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.layer-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}
.layer-row:hover {
  border-color: var(--color-orange);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.layer-row.active {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(228,103,0,0.15);
}
.layer-row.removed {
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-color: var(--color-orange);
}
.layer-row .layer-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-beige);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.layer-row.active .layer-num {
  background: var(--color-orange);
}
.layer-row .layer-name {
  font-weight: 700;
  color: var(--color-green);
}
.layer-row .layer-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
  display: block;
  text-decoration: none;
}
.layer-row .nis-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(228,103,0,0.15);
  color: var(--color-orange);
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.layer-detail {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.layer-detail h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.layer-detail h3 .layer-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-orange);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}
.layer-detail .effect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 600px) {
  .layer-detail .effect-grid { grid-template-columns: 1fr; }
}
.layer-detail .effect-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-beige);
}
.layer-detail .effect-box.danger {
  background: #fff3eb;
  border-color: rgba(228,103,0,0.35);
}
.layer-detail .effect-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 8px;
}
.layer-detail .effect-box.danger h4 {
  color: #b94300;
}
.layer-detail .effect-box p {
  margin: 0;
  font-size: 0.95rem;
}
/* NIS2-tabell */
.nis-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.nis-table th, .nis-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.nis-table thead th {
  background: var(--color-green);
  color: var(--color-beige);
  font-weight: 700;
}
.nis-table tbody tr:nth-child(even) { background: var(--color-beige); }
.nis-table .yes { color: var(--color-orange); font-weight: 700; }
/* ---------- Partnerkort ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.partner-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(228, 103, 0, 0.3);
}
.partner-logo {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.partner-logo .partner-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-soft) 100%);
  color: var(--color-beige);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-display);
  flex-shrink: 0;
  margin-right: 14px;
}
.partner-logo .partner-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-green);
  font-family: var(--font-display);
}
.partner-card .partner-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 8px;
}
.partner-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 0;
}
/* Krav-pil-rad */
.criteria-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.criteria-card {
  background: var(--color-beige);
  border-left: 4px solid var(--color-orange);
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.criteria-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--color-green);
}
.criteria-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
/* ---------- Verksted-seksjon ---------- */
.workshop-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.workshop-stat {
  background: rgba(255, 238, 224, 0.08);
  border: 1px solid rgba(255, 238, 224, 0.18);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.workshop-stat .num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}
.workshop-stat .label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 238, 224, 0.8);
  margin-top: 6px;
}
/* ---------- "Vi løser dette" – problemkort med løsning ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-card .quote-mark {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 4rem;
  font-family: serif;
  color: var(--color-beige-dark);
  line-height: 1;
}
.problem-card .problem {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--color-border);
  font-size: 1.05rem;
}
.problem-card .solution h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem-card .solution p { color: var(--color-text-muted); flex: 1; }
.problem-card .solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-orange);
  font-weight: 600;
  margin-top: 12px;
}
.problem-card .solution-link:hover { color: var(--color-orange-dark); }
/* ---------- Prosess-stripe ---------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}
@media (max-width: 800px) {
  .process-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-strip { grid-template-columns: 1fr; }
}
.process-step {
  text-align: center;
  padding: 24px 18px;
  border: 1px solid rgba(255, 238, 224, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 238, 224, 0.05);
}
.process-step .step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 800;
  margin: 0 auto 14px;
}
.process-step h4 {
  color: var(--color-beige);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 0.92rem;
  color: rgba(255, 238, 224, 0.78);
  margin: 0;
}
/* ---------- Stort kundesitat ---------- */
.testimonial {
  background: var(--color-beige-dark);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 0;
  left: 32px;
  font-size: 7rem;
  font-family: serif;
  color: var(--color-orange);
  line-height: 1;
}
.testimonial blockquote {
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--color-green);
  margin: 0 0 24px;
  font-weight: 500;
}
.testimonial .testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.testimonial .testimonial-author strong {
  color: var(--color-green);
  font-weight: 700;
}
.testimonial .testimonial-author .ta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-soft));
  color: var(--color-orange);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  .testimonial { padding: 48px 24px; }
  .testimonial blockquote { font-size: 1.15rem; }
}
/* ---------- Lagdelt sikkerhet – teaser på forsiden ---------- */
.layered-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .layered-teaser { grid-template-columns: 1fr; }
}
.layered-teaser-visual {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.layered-teaser-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(228,103,0,0.18), transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.layered-teaser-visual svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.layered-teaser-visual svg .ring-static {
  fill: none;
  stroke-width: 22;
}
.layered-teaser-visual svg text {
  fill: var(--color-beige);
  font-family: var(--font-display);
  font-weight: 700;
  pointer-events: none;
}
.layered-teaser-text .check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  gap: 10px;
}
.layered-teaser-text .check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
}
.layered-teaser-text .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
}
.site-footer .remote-support {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.9em;
  line-height: 1;
  width: fit-content;
  transition: background-color .15s ease;
}
.site-footer .remote-support:hover {
  background-color: rgba(255, 255, 255, 0.12);
}
.site-header .btn-primary {
  background-color: #c16a2e;
  border-color: #c16a2e;
}
.site-header .btn-primary:hover {
  background-color: #a85a24;
  border-color: #a85a24;
}
/* ---------- Hjelpere ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-cta { display: flex; gap: 14px; flex-wrap: wrap; }