:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-end: #edf2f7;
  --intro-bg: #f7f9fc;
  --text: #142033;
  --text-soft: rgba(20, 32, 51, 0.76);
  --muted: #536174;
  --line: rgba(27, 55, 94, 0.12);
  --line-strong: rgba(27, 55, 94, 0.22);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --field-bg: rgba(255, 255, 255, 0.72);
  --field-focus: rgba(255, 255, 255, 0.96);
  --accent: #163e73;
  --accent-soft: rgba(37, 95, 158, 0.12);
  --accent-border: rgba(22, 62, 115, 0.4);
  --accent-border-strong: rgba(22, 62, 115, 0.66);
  --button-bg: linear-gradient(180deg, #255f9e 0%, #163e73 100%);
  --logo-filter: drop-shadow(0 28px 64px rgba(22, 62, 115, 0.16));
  --logo-filter-strong: drop-shadow(0 32px 72px rgba(22, 62, 115, 0.17));
  --shadow-soft: 0 18px 54px rgba(27, 55, 94, 0.075);
  --container: min(1160px, calc(100% - 52px));
  --radius-pill: 999px;
  --radius-soft: 28px;
  --font-sans: Inter, "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --font-mono-de: var(--font-mono);
  --ease-calm: cubic-bezier(.16, 1, .3, 1);
  --ease-polished: cubic-bezier(.19, 1, .22, 1);
  --ease-sweep: cubic-bezier(.22, .86, .18, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070b;
  --bg-end: #05070b;
  --intro-bg: #05070b;
  --text: #eef1f6;
  --text-soft: rgba(238, 241, 246, 0.78);
  --muted: #9da7b8;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(185, 205, 232, 0.24);
  --surface: rgba(14, 19, 29, 0.62);
  --surface-strong: rgba(12, 17, 26, 0.92);
  --field-bg: rgba(238, 241, 246, 0.045);
  --field-focus: rgba(238, 241, 246, 0.075);
  --accent: #608ec7;
  --accent-soft: rgba(96, 142, 199, 0.13);
  --accent-border: rgba(96, 142, 199, 0.52);
  --accent-border-strong: rgba(146, 186, 232, 0.72);
  --button-bg: linear-gradient(180deg, #255f9e 0%, #163e73 100%);
  --logo-filter: drop-shadow(0 34px 78px rgba(0, 0, 0, 0.38));
  --logo-filter-strong: drop-shadow(0 40px 92px rgba(0, 0, 0, 0.42));
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-end) 100%);
  font-family: var(--font-sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  display: none;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--text);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translate3d(0, 0, 0);
}

.brand-intro {
  display: none;
}

.intro-space {
  display: none;
}

.intro-space img {
  display: none;
}

body.is-ready .brand-intro {
  opacity: 0;
  visibility: hidden;
}

body.is-loading .site-header {
  opacity: 0;
  transform: translate3d(0, -28px, 0);
  pointer-events: none;
  will-change: opacity, transform;
}

body.is-loading .hero-copy {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  pointer-events: none;
  will-change: opacity, transform;
}

body.is-loading .site-footer {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  pointer-events: none;
}

body.is-ready .site-header {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition:
    opacity 980ms var(--ease-polished) 190ms,
    transform 980ms var(--ease-polished) 190ms;
}

body.is-ready .hero-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition:
    opacity 1280ms var(--ease-polished) 70ms,
    transform 1380ms var(--ease-polished) 70ms;
}

body.is-ready .site-footer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition:
    opacity 820ms var(--ease-polished),
    transform 820ms var(--ease-polished);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  transition: background 220ms var(--ease-calm), box-shadow 260ms var(--ease-calm), border-color 220ms var(--ease-calm);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 98%, transparent);
  box-shadow: var(--shadow-soft);
}

.scroll-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 32;
  display: grid;
  justify-items: center;
  gap: 10px;
  opacity: 0;
  transform: translate3d(0, -50%, 0);
  pointer-events: none;
  transition: opacity 780ms var(--ease-polished) 520ms;
}

body.is-ready .scroll-rail {
  opacity: 0.72;
}

.scroll-rail-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.scroll-rail-track {
  position: relative;
  width: 1px;
  height: 112px;
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-rail-progress {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 0;
  will-change: transform;
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 4px 0;
}

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

.brand img {
  width: 128px;
  filter: var(--logo-filter);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  white-space: nowrap;
}

.nav a,
.footer-inner a,
.mail-link,
.legal-content a {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 240ms var(--ease-calm), text-decoration-color 280ms var(--ease-calm);
}

.nav a {
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible,
.footer-inner a:hover,
.footer-inner a:focus-visible,
.mail-link:hover,
.mail-link:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--line-strong);
  outline: none;
}

.theme-toggle,
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: paint;
}

.theme-toggle {
  width: 84px;
  height: 40px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--field-bg);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 260ms var(--ease-calm), border-color 300ms var(--ease-calm), background-color 300ms var(--ease-calm), box-shadow 340ms var(--ease-calm), transform 340ms var(--ease-calm);
}

.theme-toggle span {
  display: inline-block;
  min-width: 48px;
  text-align: center;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text);
  border-color: var(--accent-border-strong);
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: translate3d(0, -1px, 0);
}

.button:hover,
.button:focus-visible {
  color: #fff;
  border-color: var(--accent-border-strong);
  box-shadow: none;
  outline: none;
  transform: translate3d(0, -1px, 0);
}

.button::after {
  content: "";
  position: absolute;
  inset: -1px auto -1px -48%;
  z-index: 0;
  width: 38%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  background: linear-gradient(104deg,
    transparent 0%,
    rgba(172, 210, 255, 0.06) 27%,
    rgba(241, 248, 255, 0.62) 50%,
    rgba(119, 174, 237, 0.13) 70%,
    transparent 100%);
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.button:hover::after,
.button:focus-visible::after {
  animation: energySweep 780ms var(--ease-sweep) both;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(30px, 4vw, 58px) 0 clamp(76px, 8vw, 112px);
}

main {
  position: relative;
  isolation: isolate;
}

.hero-about-stage {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 56% at 50% 51%, color-mix(in srgb, var(--bg) 42%, transparent), transparent 74%);
}

.thread-sculpture {
  position: fixed;
  top: 72px;
  right: 0;
  left: 0;
  width: 100%;
  height: calc(100svh - 72px);
  margin: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  transition: opacity 1600ms var(--ease-polished) 360ms;
}

body.is-ready .thread-sculpture {
  opacity: 0.95;
}

html[data-theme="light"] body.is-ready .thread-sculpture {
  opacity: 0.72;
}

.thread-sculpture canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-inner {
  --hero-lift: clamp(38px, 6.8vh, 86px);
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate3d(0, calc(-1 * var(--hero-lift)), 0);
}

body.is-loading .hero-inner {
  transform: translate3d(0, clamp(8px, 1.6vh, 18px), 0);
}

body.is-ready .hero-inner {
  transform: translate3d(0, calc(-1 * var(--hero-lift)), 0);
  transition: transform 1560ms var(--ease-polished) 80ms;
}

.about-section,
.product-section {
  position: relative;
  z-index: 3;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--bg) 68%, transparent) 0%,
      color-mix(in srgb, var(--bg) 34%, transparent) 58%,
      transparent 100%
    );
}

.about-section > .container,
.product-heading,
.product-card {
  position: relative;
  z-index: 3;
}

.hero-mark {
  position: relative;
  isolation: isolate;
  width: min(58vw, 520px);
  margin: 0 auto clamp(24px, 3.4vw, 42px);
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-mark:focus-visible {
  border-radius: 8px;
  outline: 1px solid var(--accent-border-strong);
  outline-offset: 10px;
}

.hero-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: brightness(1.12) var(--logo-filter-strong);
}

body.is-loading .hero-mark {
  opacity: 0;
  animation: heroLogoIntro 2180ms var(--ease-polished) 120ms forwards;
  will-change: opacity, transform;
}

.hero-copy {
  max-width: 1100px;
}

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

.eyebrow,
.nav a,
.theme-toggle,
.button,
.focus-card-number,
label {
  font-family: var(--font-mono);
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-weight: 600;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.25rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.8rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.section {
  padding: clamp(76px, 8vw, 118px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 104px;
}

.reveal-section {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 720ms var(--ease-polished), transform 720ms var(--ease-polished);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.narrow {
  max-width: 850px;
}

.about-section p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(30px, 4.8vw, 54px);
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
}

.product-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 74%, transparent 100%);
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 5vw, 76px);
  padding: clamp(30px, 4.5vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 72%, transparent), color-mix(in srgb, var(--surface) 88%, transparent)),
    var(--bg);
  box-shadow: var(--shadow-soft);
}

.product-main {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.product-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(34px, 4vw, 52px);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.product-title-row {
  display: grid;
  gap: 14px;
}

.product-name-line {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(26px, 3.4vw, 48px);
}

.product-title-row h3 {
  font-size: clamp(2.65rem, 5.8vw, 5.7rem);
  font-weight: 600;
  line-height: 0.96;
}

.product-subtitle {
  max-width: 520px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.48;
}

.lokalruf-logo {
  flex: 0 0 auto;
  width: clamp(62px, 6.6vw, 88px);
  margin-bottom: 3px;
  opacity: 0.94;
  filter: drop-shadow(0 12px 28px color-mix(in srgb, var(--accent) 16%, transparent));
}

.product-description {
  max-width: 680px;
  margin-top: clamp(30px, 4vw, 48px);
}

.product-description p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.product-description p + p {
  margin-top: 18px;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}

.product-links .product-link {
  margin-top: 0;
}

.product-link-secondary {
  color: var(--text-soft);
}

.product-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-bottom: 7px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color 240ms var(--ease-calm), border-color 280ms var(--ease-calm);
}

.eyebrow,
.nav a,
.theme-toggle,
.button,
.product-status,
label {
  font-family: var(--font-mono-de);
}

.product-link span {
  color: var(--accent);
  transition: transform 340ms var(--ease-polished);
}

.product-link:hover,
.product-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent-border-strong);
  outline: none;
}

.product-link:hover span,
.product-link:focus-visible span {
  transform: translate3d(3px, -3px, 0);
}

.product-points {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.product-points span {
  padding-top: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.product-points p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.focus-heading {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.focus-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 172px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: background-color 360ms var(--ease-calm), border-color 360ms var(--ease-calm), opacity 820ms var(--ease-polished), transform 820ms var(--ease-polished);
}

.focus-section.is-visible .focus-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.focus-section.is-visible .focus-card:nth-child(2) {
  transition-delay: 70ms;
}

.focus-section.is-visible .focus-card:nth-child(3) {
  transition-delay: 140ms;
}

.focus-section.is-visible .focus-card:nth-child(4) {
  transition-delay: 210ms;
}

.focus-section.is-visible .focus-card:hover {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  transform: translate3d(0, -1px, 0);
  transition-delay: 0ms;
}

.focus-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 620ms var(--ease-polished);
}

.focus-card:hover::after {
  transform: scaleX(1);
}

.focus-card-number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: color 300ms var(--ease-calm), transform 480ms var(--ease-polished);
}

.focus-card:hover .focus-card-number {
  color: var(--text);
  transform: translate3d(4px, 0, 0);
}

.focus-card h3 {
  max-width: 14ch;
  font-size: clamp(1.22rem, 1.58vw, 1.48rem);
  font-weight: 560;
  line-height: 1.14;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.82fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.mail-link {
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 7px;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  text-decoration: none;
}

.mail-link::after,
.mail-link::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
}

.mail-link::after {
  background: var(--line-strong);
  transition: background-color 340ms var(--ease-calm);
}

.mail-link::before {
  z-index: 1;
  width: 34%;
  right: auto;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--accent), color-mix(in srgb, var(--text) 72%, var(--accent)), transparent);
  transform: translate3d(-115%, 0, 0);
}

.mail-link:hover::after,
.mail-link:focus-visible::after {
  background: color-mix(in srgb, var(--accent) 52%, var(--line-strong));
}

.mail-link:hover::before,
.mail-link:focus-visible::before {
  animation: mailUnderlineSweep 880ms var(--ease-sweep) forwards;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(28px, 4.2vw, 40px);
  border-radius: var(--radius-soft);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transform: translate3d(0, 0, 0);
}

.contact-form.is-complete .form-submit:not(:disabled) {
  border-color: var(--accent-border-strong);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #d9edff 22%, transparent), 0 12px 34px color-mix(in srgb, var(--accent) 12%, transparent);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.consent,
.form-status,
.form-submit,
.netlify-hidden {
  grid-column: 1 / -1;
}

.netlify-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  transition: border-color 260ms var(--ease-calm), background 300ms var(--ease-calm);
}

input {
  min-height: 44px;
  padding: 0;
}

textarea {
  min-height: 142px;
  resize: vertical;
  padding: 12px 0;
}

input:focus,
textarea:focus {
  border-color: var(--accent-border-strong);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.86rem;
}

.consent input {
  width: 17px;
  min-height: 17px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-status {
  min-height: 1.4em;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.button {
  width: fit-content;
  min-width: 168px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--accent-border-strong);
  color: #fff;
  background: var(--button-bg);
  cursor: pointer;
  backface-visibility: hidden;
  will-change: transform;
  transition: color 260ms var(--ease-calm), border-color 300ms var(--ease-calm), transform 340ms var(--ease-calm);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button-secondary {
  color: var(--text-soft);
  border-color: var(--line-strong);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(240px, 1.2fr) minmax(150px, 0.58fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-logo {
  width: 104px;
  margin-bottom: 12px;
  filter: var(--logo-filter);
  opacity: 0.82;
}

.footer-brand-block p,
.footer-legal-block p,
.footer-links-block a {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-legal-block p + p {
  margin-top: 10px;
}

.footer-brand-block .footer-credit {
  max-width: 260px;
  margin-top: 8px;
  opacity: 0.76;
}

.footer-design-credit {
  max-width: 260px;
  margin-top: 4px !important;
  color: var(--muted);
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
  opacity: 0.58;
}

.footer-legal-block h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}

.footer-links-block {
  display: grid;
  gap: 8px;
}

.footer-links-block a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 240ms var(--ease-calm), text-decoration-color 280ms var(--ease-calm);
}

.footer-links-block a:hover,
.footer-links-block a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--line-strong);
  outline: none;
}

.legal-main {
  padding: clamp(70px, 8vw, 120px) 0 clamp(84px, 9vw, 132px);
}

.legal-hero {
  max-width: 840px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.legal-hero h1 {
  margin-bottom: 22px;
}

.legal-content {
  display: grid;
  gap: 34px;
  max-width: 900px;
}

.legal-content section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 650;
}

.legal-content p + p {
  margin-top: 13px;
}

.thanks-page {
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 128px) 0;
}

.thanks-panel {
  max-width: 780px;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.thanks-panel h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.thanks-panel .button {
  margin-top: 18px;
}

@keyframes heroLogoIntro {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.994);
  }
  58% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  78% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  88% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.006);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes energySweep {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  18% {
    opacity: 0.68;
  }
  76% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate3d(420%, 0, 0);
  }
}

@keyframes mailUnderlineSweep {
  0% {
    opacity: 0;
    transform: translate3d(-115%, 0, 0);
  }

  16% {
    opacity: 0.9;
  }

  84% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate3d(390%, 0, 0);
  }
}

@media (max-width: 900px) {
  .scroll-rail {
    display: none;
  }

  :root {
    --container: min(100% - 32px, 1160px);
  }

  .header-inner {
    min-height: auto;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 9px 0 8px;
  }

  .brand img {
    width: 108px;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    width: 100%;
    gap: clamp(16px, 7vw, 36px);
    padding-top: 0;
    overflow: visible;
  }

  .theme-toggle {
    justify-self: end;
    width: 72px;
    height: 34px;
    font-size: 0.8rem;
  }

  .thread-sculpture {
    top: 104px;
    height: calc(100svh - 104px);
  }

  .hero {
    min-height: calc(100svh - 104px);
    padding-top: clamp(30px, 5vw, 58px);
    padding-bottom: clamp(96px, 11vw, 134px);
  }

  .hero-inner {
    --hero-lift: clamp(28px, 5vh, 56px);
  }

  .hero-mark {
    width: min(74vw, 510px);
  }

  .intro-space {
    width: min(88vw, 620px);
  }

  .contact-layout,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .product-points {
    padding-top: 4px;
  }

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

  .contact-layout {
    gap: 34px;
  }

  .footer-brand-block {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  .header-inner {
    gap: 7px 12px;
    padding: 7px 0 8px;
  }

  .brand img {
    width: 94px;
  }

  .site-header {
  }

  .nav {
    gap: clamp(12px, 5.2vw, 28px);
  }

  .nav a {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .theme-toggle {
    width: 66px;
    height: 32px;
    font-size: 0.74rem;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 76px;
  }

  .thread-sculpture {
    top: 104px;
    height: calc(100svh - 104px);
  }

  .about-section::before {
    background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 78%, transparent), color-mix(in srgb, var(--bg) 56%, transparent));
  }

  .hero-mark {
    width: min(76vw, 390px);
  }

  .intro-space {
    width: min(86vw, 440px);
  }

  .hero-inner {
    --hero-lift: 26px;
  }

  .hero-mark {
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.18rem, 9.4vw, 3.3rem);
    line-height: 1.01;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.8rem);
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 1rem;
  }

  .section {
    padding: 58px 0;
    scroll-margin-top: 122px;
  }

  .about-section p:not(.eyebrow) {
    margin-top: 18px;
  }

  .contact-copy h2 {
    margin-bottom: 16px;
  }

  .contact-form {
    padding: 22px 18px;
    border-radius: 22px;
    box-shadow: none;
  }

  .product-card {
    gap: 34px;
    padding: 28px 22px;
    box-shadow: none;
  }

  .product-heading {
    background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 88%, transparent 100%);
  }

  .product-title-row {
    gap: 16px;
  }

  .lokalruf-logo {
    width: 62px;
  }

  .product-description {
    margin-top: 28px;
  }

  .focus-card {
    min-height: auto;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 6px 0 7px;
  }

  .brand img {
    width: 88px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.76rem;
  }

  .hero {
    min-height: auto;
    padding: 24px 0 72px;
  }

  .hero-mark {
    width: min(74vw, 318px);
  }

  .intro-space {
    width: min(84vw, 360px);
  }

  .hero-inner {
    --hero-lift: 20px;
  }

  .hero-mark {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(2.12rem, 9.2vw, 2.8rem);
  }

  .theme-toggle {
    width: 62px;
    height: 31px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .product-status {
    margin-bottom: 30px;
  }

  .product-title-row h3 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .footer-logo {
    width: 92px;
  }
}

@media (max-width: 360px) {
  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.72rem;
  }

  .hero-mark {
    width: min(74vw, 300px);
  }

  .intro-space {
    width: min(84vw, 340px);
  }

  .contact-form {
    padding: 20px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  body.is-loading {
    overflow: auto;
  }

  .brand-intro {
    display: none;
  }

  .thread-sculpture {
    position: absolute;
    top: 0;
    transition: none;
  }

  body.is-ready .thread-sculpture {
    opacity: 0.95;
  }

  html[data-theme="light"] body.is-ready .thread-sculpture {
    opacity: 0.62;
  }

  body.is-loading .site-header,
  body.is-loading .hero-copy,
  body.is-loading .site-footer,
  .reveal-section,
  .focus-card {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }
}


/* Three-role typography system: display, reading, and technical labels. */
.nav a,
.theme-toggle,
.button,
label,
input,
textarea {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.eyebrow,
.product-status,
.focus-card-number,
.scroll-rail-index,
.product-link,
.product-points span {
  font-family: var(--font-mono);
}
