/* Bent Hansen Malervarer — enkelt erhvervs-layout */

:root {
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-500: #71717a;
  --gray-900: #18181b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --max: 1100px;
  --radius: 8px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--gray-900);
  color: var(--white);
  font-weight: 600;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  color: var(--gray-900);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
}

.nav-desktop a:hover {
  background: var(--gray-100);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  margin-left: 4px;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
  filter: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
  padding: 8px 14px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--gray-200);
  padding: 12px 20px 16px;
  flex-direction: column;
  gap: 2px;
  background: var(--gray-50);
}

.nav-mobile a {
  color: var(--gray-900);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 500;
}

.nav-mobile a:hover {
  background: var(--gray-200);
}

.nav-mobile .nav-cta {
  text-align: center;
  margin-top: 8px;
}

body.nav-open .nav-mobile {
  display: flex;
}

@media (max-width: 820px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

/* Hero */
.hero {
  padding: clamp(40px, 6vw, 72px) 20px clamp(48px, 7vw, 80px);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 40%);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-inner > div:first-child {
  order: unset;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 20ch;
  color: var(--gray-900);
}

.hero-lead {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 36rem;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn:active {
  transform: scale(0.99);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
}

.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.hero-visual {
  order: unset;
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Levering */
.media-split-section {
  padding: clamp(48px, 7vw, 80px) 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.media-split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}

@media (max-width: 900px) {
  .media-split {
    grid-template-columns: 1fr;
  }
}

.media-split__fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.media-split__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.media-split__text h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin: 0 0 12px;
  color: var(--gray-900);
}

.media-split__text p {
  margin: 0;
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36rem;
}

/* Om showcase */
.about-showcase {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.about-showcase img {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(400px, 65vh);
  object-fit: cover;
}

/* Sections */
section {
  padding: clamp(48px, 6vw, 80px) 20px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 32px;
  padding-bottom: 0;
  border-bottom: none;
  text-align: left;
}

.section-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin: 0 0 10px;
  color: var(--gray-900);
}

.section-head p {
  margin: 0;
  color: var(--gray-500);
  max-width: 42rem;
  font-size: 1rem;
}

/* USP */
#fordele {
  background: var(--white);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }
}

.usp-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.usp-card:hover {
  border-color: var(--gray-200);
  transform: none;
  box-shadow: none;
}

.usp-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}

.usp-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.usp-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Produkter */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: none;
  margin: 0;
}

.prod-card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  overflow: hidden;
}

.prod-card:hover {
  transform: none;
  border-color: var(--gray-300, #d4d4d8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prod-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 200px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  border-radius: inherit;
}

.prod-card__link:hover .prod-card__more {
  text-decoration: underline;
}

.prod-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.prod-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.prod-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--gray-900);
}

.prod-card p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.prod-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 0;
  background: none;
  border-radius: 0;
}

/* Om */
#om {
  background: var(--gray-50);
  border-block: 1px solid var(--gray-200);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-text p {
  color: var(--gray-500);
  margin: 0 0 14px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.timeline {
  border-left: 2px solid var(--gray-200);
  padding-left: 20px;
  margin: 0;
  display: block;
}

.timeline li {
  list-style: none;
  position: relative;
  padding-bottom: 20px;
  padding: 0 0 20px 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.timeline li::before {
  display: block;
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--gray-50);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline strong {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-900);
  margin-bottom: 4px;
  background: none;
  -webkit-text-fill-color: unset;
}

.timeline span {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Legacy */
.contact-box {
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

@media (max-width: 640px) {
  .contact-box {
    grid-template-columns: 1fr;
  }
}

.contact-row {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  min-width: 5rem;
}

.contact-val a {
  color: var(--gray-900);
  text-decoration: none;
}

.contact-val a:hover {
  color: var(--accent);
}

.contact-map {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  min-height: 160px;
  min-width: min(100%, 260px);
  background: var(--white);
}

.contact-map a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
  text-align: center;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.875rem;
}

.contact-map a:hover {
  background: var(--gray-50);
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 28px 20px 32px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.site-footer a {
  color: var(--gray-500);
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--accent);
}

/* CTA */
.cta-band {
  padding: clamp(44px, 6vw, 64px) 20px;
  background: var(--gray-50);
  border-block: 1px solid var(--gray-200);
  border-radius: 0;
  max-width: none;
  margin: 0;
}

.cta-band-inner {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.cta-band-inner h2 {
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin: 0 0 10px;
  color: var(--gray-900);
}

.cta-band-inner p {
  margin: 0 0 20px;
  color: var(--gray-500);
  font-size: 1rem;
}

/* Kontakt */
.page-intro {
  padding: clamp(36px, 5vw, 56px) 20px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.page-intro .section-head {
  text-align: left;
}

.page-intro h1 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 10px;
  color: var(--gray-900);
}

.page-intro-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 36rem;
}

.contact-page {
  padding: 0 20px clamp(48px, 6vw, 72px);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 820px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block-title {
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 14px;
  color: var(--gray-900);
}

.address-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: none;
}

.address-card h3 {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

.address-card p {
  margin: 0;
  color: var(--gray-900);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.address-note {
  margin-top: 8px !important;
  font-size: 0.875rem !important;
}

.address-card--map .contact-map-google {
  margin-top: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.address-card--map .contact-map-google iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

@media (min-width: 480px) {
  .address-card--map .contact-map-google iframe {
    height: 260px;
  }
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: none;
}

.contact-form .form-note {
  margin: 0 0 18px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin: 0 0 16px;
  font-size: 0.875rem;
  border: 1px solid var(--gray-200);
}

.form-msg--ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.form-msg--err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.contact-form .btn-primary {
  margin-top: 6px;
}

/* Produktside */
.product-page {
  padding: clamp(24px, 4vw, 40px) 20px clamp(48px, 6vw, 72px);
  background: var(--white);
}

.product-page-inner {
  max-width: 720px;
}

.product-breadcrumb {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.product-breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.product-breadcrumb span[aria-hidden="true"] {
  margin: 0 0.35em;
  color: var(--gray-200);
}

.product-header .prod-tag {
  margin-top: 0;
  margin-bottom: 10px;
}

.product-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.product-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin: 0 0 28px;
  line-height: 1.6;
}

.product-subhead {
  font-size: 1rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--gray-900);
}

.product-sizes {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  color: var(--gray-900);
  line-height: 1.65;
}

.product-sizes li {
  margin-bottom: 6px;
}

.product-variant {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}

.product-variant:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-variant-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--gray-900);
}

.product-datasheet {
  font-weight: 600;
}

.product-body {
  margin-top: 8px;
  color: var(--gray-500);
  line-height: 1.65;
}

.product-body p {
  margin: 0 0 14px;
}

.product-items {
  margin-top: 8px;
}

.product-item-block {
  margin-bottom: 28px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.product-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--gray-900);
}

.product-item-block p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.product-item-more {
  margin: 12px 0 0;
  font-size: 0.875rem;
}

.product-source {
  font-size: 0.875rem;
  margin: 12px 0 0;
}

.product-source--main {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.product-back {
  margin: 28px 0 0;
}
