:root {
  --header: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
}

.nav a:hover {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.hero {
  min-height: 100vh;
  padding: calc(var(--header) + 3rem) 0 4rem;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero) center/cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.lead {
  max-width: 36rem;
  font-size: 1.08rem;
  opacity: 0.86;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

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

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.muted {
  opacity: 0.72;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.1rem;
}

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

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

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  background: var(--card);
}

.price {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0.4rem 0 0.8rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  display: block;
  font-size: 0.82rem;
  opacity: 0.72;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--text);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  font: inherit;
}

.form-status {
  min-height: 1.3rem;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
  font-size: 0.92rem;
  opacity: 0.8;
}

.credit {
  opacity: 0.7;
}

.banner {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  border-radius: 0;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.theme-nordkok {
  --bg: #090807;
  --text: #f3ece3;
  --accent: #c8a36a;
  --accent-text: #1a140c;
  --line: rgba(243, 236, 227, 0.12);
  --card: #120f0c;
  --input: #0d0b09;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --hero: url("../assets/projekt-nordkok.png");
  --hero-veil: linear-gradient(180deg, rgba(9, 8, 7, 0.25), rgba(9, 8, 7, 0.86));
  color-scheme: dark;
}

.theme-lumen {
  --bg: #f6f1ea;
  --text: #2b241e;
  --accent: #2b241e;
  --accent-text: #f6f1ea;
  --line: rgba(43, 36, 30, 0.12);
  --card: #fffaf4;
  --input: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --hero: url("../assets/projekt-lumen.png");
  --hero-veil: linear-gradient(180deg, rgba(246, 241, 234, 0.18), rgba(43, 36, 30, 0.55));
  color-scheme: light;
}

.theme-lumen .hero,
.theme-vinden .hero {
  color: #f7f4ef;
}

.theme-klarvik {
  --bg: #071018;
  --text: #eef3f7;
  --accent: #ffffff;
  --accent-text: #071018;
  --line: rgba(238, 243, 247, 0.12);
  --card: #0c1824;
  --input: #08131c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --hero: url("../assets/projekt-klarvik.png");
  --hero-veil: linear-gradient(90deg, rgba(7, 16, 24, 0.88), rgba(7, 16, 24, 0.35));
  color-scheme: dark;
}

.theme-klarvik h1,
.theme-klarvik h2,
.theme-klarvik h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.theme-vinden {
  --bg: #f3f1ec;
  --text: #161616;
  --accent: #161616;
  --accent-text: #f3f1ec;
  --line: rgba(22, 22, 22, 0.12);
  --card: #fff;
  --input: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --hero: url("../assets/projekt-vinden.png");
  --hero-veil: linear-gradient(180deg, rgba(22, 22, 22, 0.15), rgba(22, 22, 22, 0.62));
  color-scheme: light;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.stats strong {
  display: block;
  font-size: 1.6rem;
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .split,
  .stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    right: 1.1rem;
    left: 1.1rem;
    flex-direction: column;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .nav.open {
    display: flex;
  }
}
