/* ==========================================================================
   UpDownBeat — test build design system
   Direction: late-night studio editorial. Charcoal, bone, amber, jade.
   ========================================================================== */

:root {
  --ink: #08090b;
  --ink-2: #0d0f12;
  --panel: #111418;
  --panel-2: #171b20;
  --bone: #f3eee4;
  --bone-dim: #d8d2c7;
  --muted: #a49f96;
  --muted-2: #78746d;
  --amber: #e9a84e;
  --amber-strong: #f4bd70;
  --amber-soft: rgba(233, 168, 78, 0.13);
  --jade: #6ee7c8;
  --jade-soft: rgba(110, 231, 200, 0.12);
  --line: rgba(243, 238, 228, 0.12);
  --line-soft: rgba(243, 238, 228, 0.07);
  --red: #e2725b;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --sans: "Avenir Next", "PingFang SC", "SF Pro Text", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(233, 168, 78, 0.11), transparent 62%),
    radial-gradient(800px 540px at 92% 8%, rgba(110, 231, 200, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 28%);
}

main,
.site-header,
.site-footer,
.test-strip {
  position: relative;
  z-index: 1;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--amber);
  color: #14100a;
}

:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- test strip ---------- */
.test-strip {
  background: #14110b;
  border-bottom: 1px solid rgba(233, 168, 78, 0.22);
  color: var(--amber-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.test-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
}

.test-strip span:last-child {
  color: var(--muted-2);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 11, 0.78);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.nav-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand em {
  font-style: normal;
  color: var(--amber);
}

.logo-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(233, 168, 78, 0.55);
  background: radial-gradient(circle at 34% 30%, rgba(233, 168, 78, 0.26), rgba(233, 168, 78, 0.02) 62%);
  display: inline-grid;
  place-items: center;
  gap: 2px;
  grid-auto-flow: column;
  box-shadow: 0 0 24px rgba(233, 168, 78, 0.14);
}

.logo-mark i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--amber);
}

.logo-mark i:nth-child(1) {
  height: 8px;
  opacity: 0.7;
}

.logo-mark i:nth-child(2) {
  height: 15px;
}

.logo-mark i:nth-child(3) {
  height: 10px;
  opacity: 0.82;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  color: var(--bone-dim);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--amber);
  transition: right 0.28s var(--ease);
}

.nav-links a:hover {
  color: var(--bone);
}

.nav-links a:hover::after {
  right: 0;
}

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

.nav-login {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 4px;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--bone);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: #191106;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber-strong), var(--amber));
  color: #1a1207;
  box-shadow: 0 10px 34px rgba(233, 168, 78, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(233, 168, 78, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: rgba(243, 238, 228, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  background: #17130c;
  color: var(--bone);
  border-color: rgba(0, 0, 0, 0.28);
}

.btn-dark:hover {
  background: #0d0b07;
}

.btn-sm {
  min-height: 40px;
  padding: 0 17px;
  font-size: 13.5px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber-strong);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(233, 168, 78, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--bone);
  border-color: var(--bone);
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow.jade {
  color: var(--jade);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 6.2vw, 82px);
}

h2 {
  font-size: clamp(32px, 4.4vw, 54px);
}

h3 {
  font-size: 22px;
  line-height: 1.3;
}

.display {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.display em {
  font-style: normal;
  color: var(--amber);
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--bone-dim);
  max-width: 640px;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
  position: relative;
}

.section.tight {
  padding: clamp(52px, 6vw, 86px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 4.5vw, 62px);
}

.section-head .section-title {
  max-width: 720px;
}

.section-head h2 + p {
  margin-top: 16px;
}

.section-head .head-action {
  flex: 0 0 auto;
  padding-bottom: 8px;
}

.section-number {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-bottom: 18px;
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(50px, 7vw, 96px) 0 clamp(40px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  background:
    radial-gradient(closest-side at 62% 36%, rgba(233, 168, 78, 0.18), transparent 72%),
    radial-gradient(closest-side at 34% 72%, rgba(110, 231, 200, 0.1), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 74px);
}

.hero-copy .display {
  margin: 22px 0 24px;
}

.hero-copy .lead {
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
}

.hero-meta {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.hero-meta div {
  min-width: 100px;
}

.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.2;
}

.hero-meta span {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* console */
.console-wrap {
  position: relative;
  perspective: 1400px;
}

.console {
  position: relative;
  border: 1px solid rgba(243, 238, 228, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 18%),
    linear-gradient(160deg, #16191e, #0d0f12 72%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: rotate(-1.1deg);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.022);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3d42;
}

.dots i:first-child {
  background: #6a4438;
}

.dots i:nth-child(2) {
  background: #6a5b38;
}

.console-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--jade);
}

.console-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 10px var(--jade);
  animation: pulse 2.4s infinite;
}

.console-body {
  padding: 18px 18px 16px;
}

.console-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.prompt-input {
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--bone-dim);
  margin-bottom: 14px;
}

.prompt-input .caret {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--amber);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1.15s steps(1) infinite;
}

.console-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}

.console-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 8px 10px 9px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.console-tabs button:hover {
  color: var(--bone-dim);
}

.console-tabs button.is-active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.console-pane {
  display: none;
  min-height: 152px;
}

.console-pane.is-active {
  display: block;
}

.code {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.85;
  color: #c9c4ba;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.code .k {
  color: var(--jade);
}

.code .s {
  color: var(--amber-strong);
}

.code .c {
  color: #77736b;
}

.meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.meter-bar {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.meter-bar i {
  display: block;
  height: 100%;
  width: 94%;
  background: linear-gradient(90deg, var(--jade), var(--amber));
  border-radius: 3px;
}

.meter b {
  color: var(--jade);
  font-weight: 500;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  padding: 0 18px 14px;
  opacity: 0.72;
}

.wave i {
  flex: 1;
  min-width: 2px;
  height: 20%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), rgba(233, 168, 78, 0.25));
  animation: wave 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.09s);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 200, 0.26);
  background: rgba(10, 14, 13, 0.84);
  backdrop-filter: blur(12px);
  color: var(--jade);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.float-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
}

.float-chip.one {
  right: -8px;
  top: 12%;
  animation: float 6s ease-in-out infinite;
}

.float-chip.two {
  left: -14px;
  bottom: 16%;
  border-color: rgba(233, 168, 78, 0.3);
  color: var(--amber-strong);
  animation: float 7s ease-in-out infinite reverse;
}

.float-chip.two::before {
  background: var(--amber);
}

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.012);
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
}

.ticker span::after {
  content: "◆";
  color: var(--amber);
  font-size: 7px;
}

/* ---------- workflow ---------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.workflow-step {
  position: relative;
  padding: 30px 26px 32px;
  border-right: 1px solid var(--line-soft);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.workflow-step h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.workflow-step::after {
  content: "→";
  position: absolute;
  right: -7px;
  top: 38px;
  font-size: 12px;
  color: var(--muted-2);
  background: var(--ink);
  padding: 2px 0;
  z-index: 1;
}

.workflow-step:last-child::after {
  display: none;
}

/* ---------- product bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    var(--panel);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s;
}

.tile:hover {
  border-color: rgba(243, 238, 228, 0.24);
  transform: translateY(-4px);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 240px at 20% 0%, rgba(233, 168, 78, 0.11), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.tile:hover::before {
  opacity: 1;
}

.tile-prompt {
  grid-column: span 7;
  min-height: 540px;
  padding: 34px;
}

.tile-kontakt {
  grid-column: span 5;
  min-height: 540px;
  padding: 34px;
}

.tile-master {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 340px;
  padding: 0;
}

.tile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.tile-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.pill.amber {
  border-color: rgba(233, 168, 78, 0.3);
  color: var(--amber-strong);
  background: var(--amber-soft);
}

.pill.jade {
  border-color: rgba(110, 231, 200, 0.28);
  color: var(--jade);
  background: var(--jade-soft);
}

.tile h3 {
  margin: 26px 0 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.tile-kontakt h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 44ch;
}

.tile-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}

.tile-price b {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--bone);
}

.tile-price span {
  color: var(--muted-2);
  font-size: 12px;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--bone);
  font-size: 14px;
  font-weight: 600;
}

.tile-link .arrow {
  color: var(--amber);
  transition: transform 0.25s var(--ease);
}

.tile:hover .tile-link .arrow {
  transform: translateX(4px);
}

.mini-console {
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
  color: #a9a49b;
}

.mini-console .row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.mini-console .tag {
  color: var(--amber);
}

.mini-console .ok {
  color: var(--jade);
}

.tile-kontakt .search-mock {
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 13px 14px;
}

.search-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--bone-dim);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 11px;
}

.search-line::before {
  content: "⌕";
  color: var(--jade);
  font-size: 15px;
}

.result-list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10.5px;
  color: var(--muted);
  padding: 6px 0;
}

.result b {
  color: var(--bone-dim);
  font-weight: 500;
}

.result span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted-2);
}

.tile-master .master-copy {
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.tile-master .master-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.tile-master .master-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 1.2s var(--ease), opacity 0.5s;
}

.tile-master:hover .master-visual img {
  transform: scale(1.035);
  opacity: 0.92;
}

.tile-master .master-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--panel) 0%, rgba(17, 20, 24, 0.35) 34%, transparent 70%);
}

.master-visual .waveform {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  z-index: 2;
  opacity: 0.85;
}

.master-visual .waveform i {
  flex: 1;
  height: 30%;
  background: rgba(243, 238, 228, 0.55);
  border-radius: 1px;
}

/* ---------- feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--ink);
  padding: 30px 28px 34px;
  transition: background 0.3s;
}

.feature:hover {
  background: #0c0e11;
}

.feature .fnum {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.16em;
}

.feature h3 {
  margin: 18px 0 9px;
  font-size: 19px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.media-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.tall {
  aspect-ratio: 3 / 4;
}

.media-frame.wide {
  aspect-ratio: 16 / 7;
}

.media-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.split-copy .lead {
  margin: 18px 0 0;
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--bone-dim);
  font-size: 14px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--jade);
  font-size: 13px;
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}

.plan.featured {
  border-color: rgba(233, 168, 78, 0.42);
  background:
    radial-gradient(480px 240px at 50% 0%, rgba(233, 168, 78, 0.16), transparent 70%),
    linear-gradient(180deg, #1a1712, var(--panel));
  box-shadow: 0 24px 70px rgba(233, 168, 78, 0.08);
}

.plan-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1207;
  font-weight: 700;
}

.plan .plan-name {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan .plan-title {
  font-family: var(--serif);
  font-size: 25px;
  margin: 12px 0 6px;
  color: var(--bone);
}

.plan .plan-desc {
  color: var(--muted);
  font-size: 13px;
  min-height: 44px;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 22px 0 6px;
}

.plan-price .currency {
  font-size: 18px;
  color: var(--muted);
  margin-top: 6px;
}

.plan-price .amount {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.plan-price .period {
  align-self: flex-end;
  color: var(--muted-2);
  font-size: 12px;
  padding-bottom: 7px;
}

.plan-note {
  color: var(--muted-2);
  font-size: 11.5px;
  min-height: 36px;
}

.plan .btn {
  width: 100%;
  margin: 18px 0 22px;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 10px;
}

.plan li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--bone-dim);
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--jade);
  font-size: 12px;
}

.plan li.off {
  color: var(--muted-2);
}

.plan li.off::before {
  content: "—";
  color: var(--muted-2);
}

.price-foot {
  margin-top: 24px;
  text-align: center;
  color: var(--muted-2);
  font-size: 12px;
}

/* ---------- product page hero ---------- */
.page-hero {
  padding: clamp(44px, 6vw, 86px) 0 clamp(50px, 6vw, 80px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 640px;
  background: radial-gradient(closest-side at 68% 30%, rgba(233, 168, 78, 0.16), transparent 70%);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 26px;
}

.crumbs a:hover {
  color: var(--bone);
}

.crumbs span {
  opacity: 0.4;
}

.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  margin: 18px 0 20px;
}

.page-hero .lead {
  max-width: 560px;
}

.page-hero .hero-actions {
  margin-top: 28px;
}

.price-tag-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(233, 168, 78, 0.28);
  border-radius: 999px;
  background: var(--amber-soft);
  font-size: 13px;
  color: var(--bone-dim);
}

.price-tag-inline b {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--amber-strong);
  font-weight: 600;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 12px;
}

.trust-row span::before {
  content: "·";
  margin-right: 7px;
  color: var(--amber);
}

/* showcase panel for product pages */
.showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #15181d, #0b0d10 70%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.showcase-top .label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.showcase-body {
  padding: 20px;
}

.demo-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.demo-tabs::-webkit-scrollbar {
  display: none;
}

.demo-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 9px 12px 11px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.demo-tabs button:hover {
  color: var(--bone-dim);
}

.demo-tabs button.is-active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.demo-pane {
  display: none;
}

.demo-pane.is-active {
  display: block;
}

.demo-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.demo-note b {
  color: var(--jade);
  font-weight: 500;
}

/* search demo */
.search-demo {
  padding: 10px 0 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(110, 231, 200, 0.22);
  border-radius: 11px;
  background: rgba(110, 231, 200, 0.04);
  font-size: 13px;
  color: var(--bone-dim);
}

.search-box::before {
  content: "⌕";
  color: var(--jade);
  font-size: 17px;
}

.cursor {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--jade);
  vertical-align: -2px;
  animation: blink 1.2s steps(1) infinite;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}

.chips span {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 9px;
}

.sound-list {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}

.sound-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  background: #0d0f12;
  font-size: 11.5px;
  color: var(--muted);
}

.sound-row b {
  color: var(--bone-dim);
  font-weight: 500;
}

.sound-row span {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted-2);
}

.sound-row .match {
  color: var(--jade);
  font-family: var(--mono);
  font-size: 9px;
}

/* ---------- marquee quote / principle ---------- */
.principle {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 92px) 0;
}

.principle blockquote {
  margin: 0;
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.principle blockquote em {
  font-style: normal;
  color: var(--amber);
}

.principle .attribution {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line-soft);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 16.5px;
  color: var(--bone);
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--amber-strong);
}

.faq .answer {
  padding: 0 0 26px;
  max-width: 820px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.faq .answer p {
  margin: 0 0 10px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  margin: clamp(60px, 8vw, 110px) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 82% 10%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(120deg, var(--amber-strong), var(--amber) 55%, #c98735);
  color: #171006;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(36px, 5vw, 62px);
}

.cta-inner h2 {
  color: #171006;
  max-width: 640px;
  font-size: clamp(30px, 4vw, 48px);
}

.cta-inner p {
  margin: 14px 0 0;
  color: rgba(23, 16, 6, 0.72);
  max-width: 520px;
  font-size: 14.5px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}

.cta-actions .btn {
  min-width: 210px;
}

.cta-actions .btn-ghost {
  background: rgba(23, 16, 6, 0.08);
  border-color: rgba(23, 16, 6, 0.24);
  color: #241708;
}

.cta-actions .btn-ghost:hover {
  background: rgba(23, 16, 6, 0.14);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 34px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.8fr;
  gap: 36px;
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--bone-dim);
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--amber-strong);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 11px;
}

.footer-bottom .legal {
  display: flex;
  gap: 16px;
}

.footer-bottom a:hover {
  color: var(--bone);
}

/* ---------- checkout ---------- */
.checkout-shell {
  padding: clamp(40px, 5vw, 72px) 0 100px;
}

.checkout-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.checkout-head h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 16px 0 14px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: clamp(24px, 3vw, 34px);
}

.checkout-card + .checkout-card {
  margin-top: 18px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step-label i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--amber);
  color: #1a1207;
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
}

.plan-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-option {
  position: relative;
  display: block;
  padding: 16px 16px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.plan-option:hover {
  border-color: rgba(243, 238, 228, 0.26);
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option:has(input:checked) {
  border-color: rgba(233, 168, 78, 0.55);
  background: var(--amber-soft);
}

.plan-option .name {
  display: block;
  font-size: 13.5px;
  color: var(--bone-dim);
}

.plan-option .price {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bone);
}

.plan-option .hint {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--bone);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(233, 168, 78, 0.52);
  background: rgba(0, 0, 0, 0.3);
}

.field .help {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}

.pay-options {
  display: grid;
  gap: 10px;
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.pay-option:has(input:checked) {
  border-color: rgba(110, 231, 200, 0.4);
  background: rgba(110, 231, 200, 0.05);
}

.pay-option input {
  margin-top: 4px;
  accent-color: var(--jade);
}

.pay-option .pay-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--bone-dim);
}

.pay-option .pay-title b {
  font-weight: 600;
  color: var(--bone);
}

.pay-option .pay-desc {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    var(--panel);
  padding: 28px;
}

.summary h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.summary-product {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.summary-product b {
  display: block;
  font-size: 15px;
  color: var(--bone);
}

.summary-product span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.summary-product strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}

.summary-line.total {
  border-bottom: 0;
  padding-top: 18px;
  color: var(--bone);
  font-size: 14px;
}

.summary-line.total strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--amber-strong);
}

.summary .btn {
  width: 100%;
  margin-top: 16px;
}

.summary-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
}

.status-box {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  font-size: 12.5px;
  line-height: 1.65;
}

.status-box.is-visible {
  display: block;
}

.status-box.ok {
  border-color: rgba(110, 231, 200, 0.32);
  background: rgba(110, 231, 200, 0.07);
  color: var(--jade);
}

.status-box.warn {
  border-color: rgba(233, 168, 78, 0.32);
  background: rgba(233, 168, 78, 0.07);
  color: var(--amber-strong);
}

.status-box.error {
  border-color: rgba(226, 114, 91, 0.34);
  background: rgba(226, 114, 91, 0.07);
  color: #f0a191;
}

.mono-box {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mono-box button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
}

.mono-box button:hover {
  color: var(--bone);
  border-color: var(--bone);
}

/* ---------- orders lookup ---------- */
.lookup {
  max-width: 760px;
  margin: 0 auto;
}

.lookup-form {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}

.lookup-form input {
  flex: 1;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--bone);
}

.lookup-form input:focus {
  outline: none;
  border-color: rgba(233, 168, 78, 0.5);
}

.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  margin-top: 18px;
}

.order-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.order-head code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber-strong);
}

.order-status {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.order-status.paid {
  color: var(--jade);
  border-color: rgba(110, 231, 200, 0.3);
  background: var(--jade-soft);
}

.order-status.pending {
  color: var(--amber-strong);
  border-color: rgba(233, 168, 78, 0.3);
  background: var(--amber-soft);
}

.order-rows {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.order-rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.order-rows b {
  color: var(--bone-dim);
  font-weight: 500;
}

/* ---------- legal pages ---------- */
.legal-page {
  padding: 56px 0 100px;
}

.legal-page .legal-inner {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 8px;
}

.legal-page .legal-meta {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 34px;
}

.legal-page h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.85;
}

.legal-page a {
  color: var(--amber-strong);
  border-bottom: 1px solid rgba(233, 168, 78, 0.35);
}

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- keyframes ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes wave {
  0%, 100% { height: 18%; }
  50% { height: 86%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .console-wrap {
    max-width: 640px;
  }

  .hero-meta {
    margin-top: 44px;
  }

  .tile-prompt,
  .tile-kontakt {
    grid-column: span 12;
    min-height: 0;
  }

  .tile-master {
    grid-template-columns: 1fr;
  }

  .tile-master .master-visual {
    min-height: 260px;
    order: -1;
  }

  .tile-master .master-visual::after {
    background: linear-gradient(180deg, transparent 30%, var(--panel) 100%);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .plan-desc {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions .nav-login {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: calc(var(--header-h) + 32px) 0 auto;
    z-index: 80;
    background: rgba(8, 9, 11, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    padding: 22px var(--gutter) 30px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .mobile-menu a::after {
    content: "→";
    color: var(--amber);
    font-size: 13px;
  }

  .mobile-menu .btn {
    margin-top: 20px;
    width: 100%;
  }

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

  .workflow-step:nth-child(2) {
    border-right: 0;
  }

  .workflow-step:nth-child(2)::after {
    display: none;
  }

  .workflow-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow.workflow-3 {
    grid-template-columns: 1fr 1fr;
  }

  .workflow.workflow-3 .workflow-step:nth-child(2) {
    border-right: 0;
  }

  .workflow.workflow-3 .workflow-step:nth-child(3) {
    grid-column: 1 / -1;
    border-right: 0;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .media-frame.tall {
    aspect-ratio: 4 / 3;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-actions .btn {
    flex: 1;
    min-width: 180px;
  }

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

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

  .summary {
    position: static;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-head .head-action {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .test-strip .wrap {
    min-height: 28px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .test-strip span:last-child {
    display: none;
  }

  .brand {
    font-size: 15.5px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions .btn,
  .page-hero .hero-actions .btn {
    flex: 1;
    min-width: 150px;
  }

  .hero-meta {
    gap: 22px;
  }

  .hero-meta strong {
    font-size: 22px;
  }

  .console {
    transform: none;
  }

  .float-chip {
    display: none;
  }

  .tile-prompt,
  .tile-kontakt {
    padding: 26px 22px;
  }

  .tile-master .master-copy {
    padding: 28px 22px;
  }

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

  .workflow.workflow-3 {
    grid-template-columns: 1fr;
  }

  .workflow.workflow-3 .workflow-step:nth-child(3) {
    grid-column: auto;
  }

  .workflow-step {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 24px 0;
  }

  .workflow-step:nth-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow-step::after {
    display: none;
  }

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

  .feature {
    padding: 24px 22px;
  }

  .plan-picker,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .lookup-form {
    flex-direction: column;
  }

  .lookup-form .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .sound-row {
    grid-template-columns: 1.4fr 1fr;
  }

  .sound-row .match {
    display: none;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   WeChat pay modal
   ========================================================================== */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 6, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pay-modal-panel {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 24px 22px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.pay-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.pay-modal-close:hover {
  color: var(--bone);
}

.pay-modal-panel .eyebrow {
  display: block;
  margin: 0 0 8px;
}

.pay-modal-panel h2 {
  margin: 0;
  font-size: 24px;
}

.pay-modal-amount {
  margin: 8px 0 16px;
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber-strong);
}

.pay-qr-frame {
  display: inline-flex;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}

.pay-qr-frame img {
  display: block;
  width: 240px;
  height: 240px;
  object-fit: contain;
}

.pay-qr-fallback {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.pay-modal-hint {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
}

.pay-modal-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.pay-modal-order span {
  font-size: 12px;
  color: var(--muted-2);
}

.pay-modal-order code {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--amber-soft);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber-strong);
}

.pay-modal-order button,
.pay-modal-wechat button {
  border: 0;
  background: none;
  color: var(--amber-strong);
  font-size: 12.5px;
  cursor: pointer;
}

.pay-modal-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.pay-modal-hours {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
}

.pay-modal-actions {
  margin-top: 16px;
}

.pay-modal-actions .btn {
  width: 100%;
}

.pay-modal-wechat {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.pay-modal-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.pay-modal-contact b {
  display: block;
  font-size: 13.5px;
  color: var(--bone);
}

.pay-modal-contact span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.pay-modal-contact img {
  flex: none;
  width: 120px;
  height: 120px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
}

.pay-modal-wechat b {
  color: var(--bone);
  font-family: var(--mono);
}

@media (max-width: 480px) {
  .pay-modal { padding: 12px; }
  .pay-modal-panel { padding: 24px 18px 18px; }
  .pay-qr-frame img { width: 210px; height: 210px; }
  .pay-modal-amount { font-size: 30px; }
}
