:root {
  color-scheme: light;
  --sl-magenta: #b00068;
  --sl-magenta-dark: #760044;
  --sl-ink: #24131d;
  --sl-muted: #746674;
  --sl-line: rgba(93, 44, 73, 0.16);
  --sl-cream: #fff8f2;
  --sl-white: #ffffff;
  --sl-max: 1180px;
  --sl-header-height: 94px;
  --sl-header-compact-height: 70px;
  --sl-shadow: 0 18px 58px rgba(67, 24, 48, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--sl-cream);
  scroll-padding-top: var(--sl-header-height);
  scroll-behavior: smooth;
}

body.tierakten-check-page {
  margin: 0;
  min-width: 320px;
  background: var(--sl-cream);
  color: var(--sl-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.tierakten-check-page main {
  background: var(--sl-cream);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  pointer-events: none;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-compact {
  background-color: var(--sl-white);
  border-bottom-color: var(--sl-line);
  box-shadow: 0 1px 0 rgba(36, 19, 29, 0.05);
}

body.tierakten-check-page .site-header.is-compact {
  background-color: var(--sl-white);
  border-bottom-color: var(--sl-line);
  box-shadow: 0 1px 0 rgba(36, 19, 29, 0.05);
}

body.tierakten-check-page .site-header.is-compact::before {
  background-color: var(--sl-white);
  border-bottom-color: var(--sl-line);
  box-shadow: 0 1px 0 rgba(36, 19, 29, 0.05);
}

.nav-wrap,
.section-inner {
  width: min(var(--sl-max), calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  position: relative;
  z-index: 1;
  min-height: var(--sl-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 0.22s ease;
}

.site-header.is-compact .nav-wrap {
  min-height: var(--sl-header-compact-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sl-ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 41px;
  background: transparent;
  overflow: visible;
}

.brand-mark-icon {
  display: block;
  width: 66px;
  height: 41px;
  background-color: var(--sl-magenta);
  mask-image: url("/assets/assets/struppilog_logo_darkPurple.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("/assets/assets/struppilog_logo_darkPurple.png");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.site-header.is-compact .brand-mark,
.site-header.is-compact .brand-mark-icon {
  width: 44px;
  height: 26px;
}

.brand-name {
  display: block;
  color: var(--sl-magenta);
  font-size: 34px;
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: lowercase;
}

.site-header.is-compact .brand-name {
  font-size: 24px;
}

.brand-claim {
  display: block;
  margin-top: 4px;
  color: var(--sl-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.12;
}

.site-header.is-compact .brand-claim {
  margin-top: 5px;
  font-size: 9px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: var(--sl-ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  padding: 0 18px;
  background: var(--sl-magenta);
  color: #fff;
  box-shadow: var(--sl-shadow);
}

.button.secondary {
  padding: 0 16px;
  border-color: var(--sl-line);
  background: #fff;
  color: var(--sl-magenta-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 720px;
  display: grid;
  align-items: end;
  padding: calc(var(--sl-header-height) + 44px) 0 48px;
  background: var(--sl-cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  color: var(--sl-magenta);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 14px 0 16px;
  max-width: 700px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.accent {
  color: var(--sl-magenta);
}

.lead {
  max-width: 560px;
  margin: 0 0 26px;
  color: var(--sl-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.check-section {
  padding: 42px 0 52px;
  background: var(--sl-white);
  border-top: 1px solid var(--sl-line);
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.check-panel,
.result-panel {
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(67, 24, 48, 0.08);
}

.check-panel {
  padding: 18px;
}

.result-panel {
  position: sticky;
  top: calc(var(--sl-header-height) + 18px);
  padding: 22px;
}

.section-title,
.result-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-button {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: var(--sl-cream);
  color: var(--sl-ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.check-button::after {
  content: "+";
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--sl-magenta);
  font-size: 19px;
  line-height: 1;
}

.check-button.is-checked {
  border-color: rgba(176, 0, 104, 0.45);
  background: #fce7f4;
  color: var(--sl-magenta-dark);
}

.check-button.is-checked::after {
  content: "✓";
  background: var(--sl-magenta);
  color: #fff;
  font-size: 16px;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1e4ec;
  margin: 14px 0 16px;
}

.meter-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--sl-magenta);
  transition: width 0.18s ease;
}

.result-text {
  margin: 0 0 18px;
  color: var(--sl-muted);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fineprint {
  margin-top: 16px;
  color: var(--sl-muted);
  font-size: 13px;
  line-height: 1.45;
}

footer {
  padding: 20px 0;
  color: var(--sl-muted);
  font-size: 14px;
}

footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

footer a {
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 900px) {
  .check-layout {
    grid-template-columns: 1fr;
  }

  .result-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --sl-header-height: 82px;
    --sl-header-compact-height: 70px;
  }

  .nav-wrap {
    width: min(100% - 28px, var(--sl-max));
  }

  .brand-mark,
  .brand-mark-icon {
    width: 54px;
    height: 34px;
  }

  .brand-name {
    font-size: 29px;
  }

  .brand-claim,
  .nav-link {
    display: none;
  }

  .button.secondary {
    display: none;
  }

  .button.primary {
    min-height: 44px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero {
    height: min(100dvh, 100svh);
    min-height: unset;
    max-height: min(100dvh, 100svh);
    padding: calc(var(--sl-header-height) + 26px) 0 34px;
  }

  .hero-bg img {
    object-position: 38% top;
  }

  .lead {
    font-size: 18px;
  }

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