/*
 * Knivslibning Aarhus — Alternative Modern 2026
 * Clean, editorial, premium service aesthetic.
 * This file is intentionally standalone and does not replace styles.css.
 */

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}

:root {
  --bg: #0b0c0d;
  --bg-soft: #121416;
  --surface: #17191b;
  --surface-2: #1d2023;
  --text: #f4f2ed;
  --muted: #a8a7a3;
  --list-muted: #b8b6b0;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.20);
  --accent: #c9a45f;
  --accent-dark: #b58f4b;
  --accent-olive: #8a927f;
  --shadow-light: 0 12px 35px rgba(0,0,0,.10);
  --shadow-dark: 0 24px 70px rgba(0,0,0,.28);
  --maxw: 1280px;
  --font-serif: 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 18px;
}

body.light-mode {
  --bg: #f7f7f4;
  --bg-soft: #efefeb;
  --surface: #ffffff;
  --surface-2: #f2f2ee;
  --text: #151617;
  --muted: #666764;
  --list-muted: #555653;
  --line: rgba(18,20,22,.11);
  --line-strong: rgba(18,20,22,.20);
  --accent: #9b7536;
  --accent-dark: #7f5d29;
  --accent-olive: #737b69;
  --shadow-light: 0 14px 45px rgba(20,22,24,.08);
  --shadow-dark: 0 26px 80px rgba(20,22,24,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .25s ease, color .25s ease;
}
img { max-width: 100%; }
.container {
  width: min(calc(100% - 48px), var(--maxw));
  margin-inline: auto;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease, border-color .2s ease;
}
a:hover { color: var(--accent); }

h1,h2,h3,h4 {
  margin-top: 0;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.02;
  letter-spacing: -.055em;
}
h1 {
  font-size: clamp(48px, 7.3vw, 104px);
  font-weight: 600;
  max-width: 1050px;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  margin-bottom: 48px;
}
h3 {
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
h4 { font-weight: 600; letter-spacing: -.025em; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
}
.sub {
  max-width: 760px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.section-title {
  display: block;
  width: 100%;
  margin: 0 0 58px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.brand img,
.brand-footer img {
  width: auto;
  height: 36px;
  filter: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-nav {
  display: none;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 12px;
}
.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--accent);
  transition: right .2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] { color: var(--text); }
.main-nav a:hover::after,
.main-nav a[aria-current='page']::after { right: 0; }
@media (min-width:1020px) { .main-nav { display: flex; } }

.badge {
  display: none;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}
.badge:hover { border-color: var(--accent); }
@media (min-width:768px) { .badge { display: inline-flex; } }

.theme-toggle-button,
.menu-toggle-button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.theme-toggle-button:hover,
.menu-toggle-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle-button svg { display: none; }
.theme-toggle-button .sun-icon { display: inline-block; }
body.light-mode .theme-toggle-button .sun-icon { display: none; }
body.light-mode .theme-toggle-button .moon-icon { display: inline-block; }
.menu-toggle-button .close-icon { display: none; }
.menu-toggle-button.is-open .menu-icon { display: none; }
.menu-toggle-button.is-open .close-icon { display: block; }
@media (min-width:1020px) { .menu-toggle-button { display:none; } }

/* Hero */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
.hero {
  min-height: min(820px, calc(100vh - 78px));
  display: flex;
  align-items: flex-end;
  padding: 110px 0 84px;
  border-bottom: 1px solid var(--line);
}
.hero .container,
.page-hero .container {
  position: relative;
  z-index: 3;
}
.hero .container { margin-left: max(24px, calc((100vw - var(--maxw))/2)); }
.hero-image-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .62;
  transform: none;
  filter: saturate(.7) contrast(1.02);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,10,.93) 0%, rgba(8,9,10,.76) 38%, rgba(8,9,10,.18) 76%, rgba(8,9,10,.08) 100%),
    linear-gradient(0deg, rgba(8,9,10,.72) 0%, transparent 55%);
  pointer-events: none;
}
.hero h1,
.hero .sub { color: #f7f5ef; }
.hero .sub { color: rgba(247,245,239,.72); }
body.light-mode .hero h1 { color: #f7f5ef; }
body.light-mode .hero .sub { color: rgba(247,245,239,.76); }
body.light-mode .hero::after {
  background:
    linear-gradient(90deg, rgba(10,11,12,.90) 0%, rgba(10,11,12,.68) 38%, rgba(10,11,12,.12) 78%, rgba(10,11,12,.04) 100%),
    linear-gradient(0deg, rgba(10,11,12,.58) 0%, transparent 55%);
}

.page-hero {
  padding: 120px 0 90px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 33%),
    linear-gradient(135deg, transparent 0%, color-mix(in srgb, var(--surface) 65%, transparent) 100%);
}
.page-hero h1 { max-width: 920px; }
.page-hero .sub { max-width: 720px; }

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  box-shadow: none;
}
.btn-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  box-shadow: none;
}
.hero .btn-accent {
  background: #f5f3ed;
  border-color: #f5f3ed;
  color: #111;
}
.hero .btn-accent:hover { background: var(--accent); border-color: var(--accent); }
.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
}
.hero .btn-secondary { color:#f5f3ed; border-color:rgba(255,255,255,.35); }
.hero .btn-secondary:hover { background:rgba(255,255,255,.10); }
.large-btn { min-height: 54px; padding-inline: 25px; font-size: 14px; }

/* Sections / cards */
.section { padding: 110px 0; }
.services-grid { background: var(--bg-soft); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  grid-column: span 12;
  min-height: 320px;
  padding: clamp(28px,4vw,52px);
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease, background .2s ease;
}
.card:hover {
  border-color: transparent;
  background: var(--surface-2);
  transform: translateY(0);
}
.card--half,
.card--full { grid-column: span 12; }
@media (min-width:900px) {
  .card--half { grid-column: span 6; }
  .card--full { grid-column: span 6; }
}
.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 56px;
  filter: none;
  opacity: .88;
}
.card p { max-width: 65ch; color: var(--muted); }
.list {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--list-muted);
}
.list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 24px;
  font-size: 14px;
}
.list-icon { position:absolute; left:0; color:var(--accent); font-size:12px; }

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.is-visible { opacity:1; transform:translateY(0); }
.grid .card:nth-child(2),
.process-steps .step:nth-child(2) { transition-delay:.06s; }
.grid .card:nth-child(3),
.process-steps .step:nth-child(3) { transition-delay:.12s; }

.process-section { background: var(--bg); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas:
    "number title"
    ". text";
  gap: 24px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.step-number {
  grid-area: number;
  display: block;
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.step h3 { grid-area:title; margin:0 0 9px; font-size:clamp(24px,2.5vw,34px); }
.step p { grid-area:text; max-width:720px; margin:0; color:var(--muted); font-size:15px; }
@media (min-width:800px) {
  .step {
    grid-template-columns: 100px minmax(240px, .85fr) 1.15fr;
    grid-template-areas: "number title text";
  }
  .step h3 { margin:0; }
  .step p { padding-top:2px; }
}

/* CTA */
.cta-banner {
  padding: 100px 0;
  background: var(--text);
  border: 0;
  color: var(--bg);
}
body.light-mode .cta-banner { background:#171819; }
.cta-banner h2,
.cta-banner p { color: var(--bg); }
body.light-mode .cta-banner h2,
body.light-mode .cta-banner p { color:#f7f5ef; }
.cta-banner h2 {
  max-width: 900px;
  margin: 0 auto 20px;
  text-align:center;
}
.cta-banner p {
  margin:0 auto;
  max-width:680px;
  text-align:center;
  font-size:17px;
  opacity:.68;
}
.cta-banner .cta { justify-content:center; }
.cta-banner .btn-accent {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--text);
}
body.light-mode .cta-banner .btn-accent { background:#f7f5ef; border-color:#f7f5ef; color:#151617; }
.cta-banner .btn-secondary { border-color:rgba(127,127,127,.55); color:inherit; }
body.light-mode .cta-banner .btn-secondary { color:#f7f5ef; border-color:rgba(255,255,255,.28); }

/* Content / sub pages */
.content-narrow { max-width: 930px; }
.text-center { text-align:center; }
.content-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:60px;
  align-items:start;
}
@media (min-width:900px) {
  .content-grid { grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr); gap:90px; }
}
.prose { max-width: 760px; }
.prose h2 {
  margin: 64px 0 20px;
  text-align:left;
  font-size:clamp(30px,4vw,46px);
}
.prose h2:first-child { margin-top:0; }
.prose p { margin:0 0 22px; color:var(--muted); }
.prose strong { color:var(--text); }
.info-panel,
.price-card {
  padding: clamp(26px,3vw,38px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:none;
}
.info-panel { position:sticky; top:110px; }
.info-panel h2,
.info-panel h3 { letter-spacing:-.035em; }
.pricing-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media (min-width:850px) { .pricing-grid { grid-template-columns:repeat(3,1fr); } }
.price-card { min-height:280px; }
.price-card h2 {
  margin-bottom:24px;
  text-align:left;
  font-size:clamp(28px,3vw,40px);
}
.price-card p:last-child { margin-bottom:0; color:var(--muted); }

/* Footer */
footer {
  padding: 72px 0 34px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.footer-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:42px;
  padding-bottom:48px;
}
@media (min-width:768px) {
  .footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
  .footer-col:nth-child(2) { justify-self:start; }
}
.footer-col h4 {
  margin-bottom:18px;
  color:var(--text);
  font-family:var(--font-sans);
  font-size:13px;
  letter-spacing:.01em;
}
.brand-footer {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:var(--text);
  font-size:15px;
  font-weight:600;
}
.footer-list { margin:0; padding:0; list-style:none; }
.footer-list li { margin-bottom:9px; }
.footer-list a,
.social-footer a { color:var(--muted); }
.footer-list a:hover,
.social-footer a:hover { color:var(--text); }
.social-footer { display:flex; flex-direction:column; gap:10px; }
.social-footer a { display:flex; align-items:center; gap:8px; }
.about-footer { padding-top:26px; }
.about-footer p { font-size:12px; font-style:normal; }
.footer-grid .container.copyright-info { grid-column:1/-1; text-align:left; padding-top:20px; }
.copyright-info {
  margin-top:14px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.portrait { display:block; margin-left:15px; border-radius:50%; }
.small-text { font-size:11px; line-height:1.6; }
.muted-link { color:var(--muted); }
.muted-link:hover { color:var(--text); }

#scrollToTopBtn {
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:100;
  display:flex;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:color-mix(in srgb, var(--surface) 88%, transparent);
  color:var(--text);
  box-shadow:var(--shadow-light);
  opacity:0;
  cursor:pointer;
  backdrop-filter:blur(10px);
  transition:opacity .2s ease, transform .2s ease, border-color .2s ease;
}
#scrollToTopBtn:hover { border-color:var(--accent); transform:translateY(-2px); }

/* Mobile navigation */
@media (max-width:1019px) {
  .nav { position:relative; }
  .main-nav {
    display:flex;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    margin:0;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border:1px solid var(--line);
    border-radius:14px;
    background:color-mix(in srgb, var(--surface) 96%, transparent);
    box-shadow:var(--shadow-dark);
    opacity:0;
    visibility:hidden;
    transform:translateY(-7px);
    backdrop-filter:blur(18px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .main-nav.is-open { opacity:1; visibility:visible; transform:translateY(0); }
  .main-nav a {
    display:block;
    padding:13px 14px;
    border-radius:8px;
    font-size:15px;
  }
  .main-nav a::after { display:none; }
  .main-nav a:hover,
  .main-nav a[aria-current='page'] { background:var(--surface-2); }
}

@media (max-width:700px) {
  .container { width:min(calc(100% - 32px), var(--maxw)); }
  .nav { min-height:70px; }
  .brand span { display:none; }
  .brand img { height:40px; }
  .hero {
    min-height:680px;
    padding:90px 0 58px;
    align-items:flex-end;
  }
  .hero .container { margin-left:16px; }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(8,9,10,.92) 0%, rgba(8,9,10,.64) 56%, rgba(8,9,10,.16) 100%);
  }
  body.light-mode .hero::after {
    background:linear-gradient(0deg, rgba(8,9,10,.88) 0%, rgba(8,9,10,.58) 56%, rgba(8,9,10,.12) 100%);
  }
  h1 { font-size:clamp(44px,14vw,68px); }
  h2 { font-size:clamp(34px,10vw,48px); }
  .section { padding:78px 0; }
  .page-hero { padding:86px 0 64px; }
  .section-title { margin-bottom:36px; padding-bottom:18px; }
  .card { min-height:0; padding:30px 24px; }
  .card-icon { margin-bottom:34px; }
  .step {
    grid-template-columns:48px 1fr;
    grid-template-areas:
      "number title"
      ". text";
    gap:14px;
    padding:30px 0;
  }
  .info-panel { position:static; }
  .cta-banner { padding:78px 0; }
}

@media (max-width:480px) {
  .header-actions { gap:7px; }
  .theme-toggle-button,
  .menu-toggle-button { width:36px; height:36px; }
  .badge { display:none; }
  .main-nav { left:0; right:0; }
  .cta { align-items:stretch; }
  .btn { width:100%; }
  .hero .cta { max-width:340px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
  }
}