:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-soft-2: #f1f1f1;
  --panel: #ffffff;
  --panel-strong: #f3f3f3;
  --text: #000000;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 88px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 1.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo,
.footer-logo {
  width: 138px;
  border-radius: 14px;
  background: #ffffff;
}

.site-nav {
  display: none;
}

.site-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--panel-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.header-actions .btn-ghost,
.header-actions .btn-primary {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: none;
  padding: 0.74rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.15s ease;
  background: var(--panel-strong);
  color: var(--text);
}

.btn:hover {
  opacity: 0.88;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary--light {
  background: #ffffff;
  color: #000000;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost--light {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: transparent;
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  gap: 0.24rem;
}

.menu-toggle span {
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__links {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 0 1rem;
}

.mobile-nav__links a {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 0.85rem 0.95rem;
  font-weight: 600;
}

main {
  padding-bottom: 3rem;
}

.hero,
.section {
  padding: 2rem 0;
}

.hero-grid,
.split-layout,
.contact-shell,
.product-grid,
.product-stack,
.grid {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  align-items: stretch;
}

.panel,
.card,
.product-feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel,
.card {
  padding: 1.15rem;
}

.hero-copy {
  display: grid;
  gap: 0;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 10vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-text,
.section-heading p,
.card p,
.section-copy,
.product-feature__overlay p,
.contact-shell p {
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.97rem;
}

.hero-actions,
.cta-strip {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: var(--muted);
  background: var(--bg-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.access-strip {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.access-card {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: var(--bg-soft);
}

.access-card strong {
  font-size: 0.92rem;
}

.access-card span,
.hero-visual__meta span,
.panel-media__note span,
.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.hero-visual {
  padding: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-visual__meta,
.panel-media__note {
  padding: 1rem 1.1rem 1.1rem;
  border-top: 1px solid var(--border);
}

.hero-visual__meta strong,
.panel-media__note strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.section-heading {
  margin-bottom: 1.1rem;
}

.section-heading--light h2,
.section-heading--light p,
.card-dark h3,
.card-dark p,
.card-invert h3,
.card-invert p {
  color: #ffffff;
}

.grid.two {
  grid-template-columns: 1fr;
}

.grid.three {
  grid-template-columns: 1fr;
}

.grid.four {
  grid-template-columns: 1fr;
}

.card:hover,
.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.card-tag,
.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--bg-soft-2);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
}

.inline-link::after {
  content: "→";
}

.product-grid {
  align-items: stretch;
}

.product-feature {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.product-feature img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.product-feature__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #ffffff;
}

.product-feature__overlay p {
  color: rgba(255, 255, 255, 0.76);
}

.product-card {
  display: grid;
  gap: 0.9rem;
  align-items: center;
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.supporter-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 82%);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.supporter-rail::-webkit-scrollbar {
  display: none;
}

.supporter-card {
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.supporter-card img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.section-dark {
  background: #000000;
}

.card-dark,
.card-invert {
  border-color: rgba(255, 255, 255, 0.12);
  background: #111111;
  box-shadow: none;
}

.card-invert {
  background: #171717;
}

.feature-pair {
  margin-top: 1rem;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.clean-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.clean-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-weight: 700;
}

.clean-list--spacious li {
  font-size: 0.94rem;
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion--compact {
  margin-top: 1rem;
}

.accordion details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.accordion details[open] {
  box-shadow: var(--shadow-lg);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--bg-soft-2);
  font-size: 1rem;
  flex: 0 0 auto;
}

.accordion details[open] summary::after {
  content: "–";
  background: var(--text);
  color: var(--bg);
}

.detail-body {
  padding: 0 1.1rem 1rem;
}

.panel-media {
  padding: 0;
  overflow: hidden;
}

.panel-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.section-soft {
  background: var(--bg-soft);
}

.contact-data {
  display: grid;
  gap: 0;
}

.contact-line {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-line strong,
.contact-line strong a {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 6.5rem;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  gap: 1.15rem;
}

.footer-links {
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  margin-top: 0.7rem;
}

.mobile-dock {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: var(--shadow-lg);
}

.mobile-dock a {
  min-height: 52px;
  padding: 0.65rem 0.4rem;
  border-radius: 14px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-dock strong {
  font-size: 0.82rem;
}

.mobile-dock span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

#losninger,
#produkter,
#drivehire,
#kurs,
#sentraldrift,
#om-plukk,
#kontakt {
  scroll-margin-top: 88px;
}

@media (min-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .hero,
  .section {
    padding: 3rem 0;
  }

  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: inline-flex;
  }

  .access-strip,
  .grid.two,
  .grid.three,
  .grid.four,
  .product-stack,
  .contact-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    grid-template-columns: 140px 1fr;
  }

  .supporter-rail {
    grid-auto-columns: minmax(220px, 1fr);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: initial;
    overflow: visible;
  }
}

@media (min-width: 980px) {
  body {
    padding-bottom: 0;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-dock {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .product-stack {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .contact-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    align-items: start;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

body.login-page {
  background: var(--bg-soft);
  padding-bottom: 0;
}

.login-header .nav-shell {
  min-height: 68px;
}

.login-header .header-actions .btn-ghost,
.login-header .header-actions .btn-primary {
  display: inline-flex;
}

.login-main {
  min-height: calc(100vh - 69px);
  display: grid;
  align-items: center;
  padding: 1.25rem 0 2rem;
}

.login-stack {
  display: grid;
  gap: 1rem;
}

.login-card {
  display: grid;
  gap: 0;
}

.login-card h1 {
  max-width: 10ch;
}

.login-card .section-copy {
  max-width: 42ch;
}

.login-grid {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.login-option {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: var(--bg-soft);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.login-option:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-lg);
}

.login-option__copy {
  display: grid;
  gap: 0.16rem;
}

.login-option__copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.login-option__copy span,
.login-footnote,
.login-links a {
  color: var(--muted);
}

.login-option__copy span,
.login-footnote {
  font-size: 0.88rem;
  line-height: 1.55;
}

.login-option__arrow {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-weight: 700;
}

.login-footnote {
  margin-top: 0.95rem;
}

.login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.9rem;
  font-size: 0.88rem;
}

.login-links a:hover {
  color: var(--text);
}

@media (min-width: 720px) {
  .login-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
