/* Auktionshaussimulator – Landing page
   Palette und Typografie folgen der App: Samtgrün, Mahagoni, Messing,
   Elfenbein, Tinte. Serife für Überschriften und Zahlen, Sans für Fließtext. */

:root {
  --samt: #1F4D3A;
  --samt-dunkel: #143226;
  --samt-hell: #285F49;
  --mahagoni: #5C3A21;
  --mahagoni-hell: #7A4F2E;
  --messing: #C9A24B;
  --messing-hell: #E0BE68;
  --messing-dunkel: #A98436;
  --elfenbein: #F3EAD3;
  --elfenbein-gedimmt: rgba(243, 234, 211, 0.75);
  --elfenbein-leise: rgba(243, 234, 211, 0.55);
  --tinte: #1E1B18;
  --tinte-schwach: rgba(30, 27, 24, 0.66);
  --signalrot: #A3392B;

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --maxw: 1120px;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--elfenbein);
  background-color: var(--samt);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 60%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Feines Papierkorn über allem, wie in der App und im Marketing. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

main, header, footer { position: relative; z-index: 1; }

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

a { color: var(--messing-hell); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -0.005em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--messing); }
.nb { white-space: nowrap; }
p { margin: 0; }

/* ---------- Knöpfe: Kapseln, Messing primär, Mahagoni sekundär ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.2px solid transparent;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); filter: brightness(0.97); }
.btn:focus-visible { outline: 3px solid var(--elfenbein); outline-offset: 3px; }

.btn-brass {
  color: var(--tinte);
  background: linear-gradient(180deg, var(--messing-hell) 0%, var(--messing) 55%, var(--messing-dunkel) 100%);
  border-color: rgba(30, 27, 24, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-mahagoni {
  color: var(--elfenbein);
  background: linear-gradient(180deg, var(--mahagoni-hell), var(--mahagoni));
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.btn-large { min-height: 58px; padding: 0 32px; font-size: 20px; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 16px; }
.btn-icon { width: 40px; height: 40px; flex: none; margin: -8px 0 -8px -10px; }
.btn-small .btn-icon { width: 30px; height: 30px; margin: -6px 0 -6px -6px; }

/* ---------- Kopfzeile ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
  background: rgba(20, 50, 38, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--elfenbein); text-decoration: none; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--messing); }
.brand-word { font-family: var(--serif); font-weight: 700; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Hero ---------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--messing);
  margin-bottom: 18px;
}
.headline {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.08;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  text-wrap: balance;
}
.rule {
  width: 96px;
  height: 3px;
  margin: 22px 0 18px;
  background: linear-gradient(90deg, var(--messing-dunkel), var(--messing-hell), var(--messing-dunkel));
  border-radius: 2px;
}
.sub { font-size: clamp(19px, 2.4vw, 24px); color: var(--elfenbein-gedimmt); }
.lede { margin-top: 16px; font-size: 18px; max-width: 46ch; color: var(--elfenbein-gedimmt); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fineprint { margin-top: 16px; font-size: 14px; color: var(--elfenbein-leise); max-width: 46ch; }

.hero-art { margin: 0; }
.hero-art img,
.tile > img {
  width: 100%;
  border-radius: var(--radius);
  border: 1.5px solid rgba(201, 162, 75, 0.7);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

/* ---------- Abschnitte ---------- */

.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(201, 162, 75, 0.7);
  text-wrap: balance;
}
.section-head p { color: var(--elfenbein-gedimmt); font-size: 18px; }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--messing);
  margin-bottom: 10px;
}

/* Kacheln: Samtfläche mit Messingrand, wie die Bento-Blätter. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; gap: clamp(18px, 3vw, 28px); }
.tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(201, 162, 75, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.tile-text { padding: 0 8px 8px; }
.tile h3 { font-size: clamp(22px, 2.6vw, 27px); line-height: 1.2; margin-bottom: 10px; text-wrap: balance; }
.tile p { color: var(--elfenbein-gedimmt); font-size: 16.5px; }
.muted { color: var(--elfenbein-leise) !important; }

/* Elfenbeinkarte: dunkler Text, Messingrand. */
.tile-card {
  background: var(--elfenbein);
  color: var(--tinte);
  border-color: var(--messing);
  justify-content: center;
}
.tile-card .tile-text { padding: 14px 10px; }
.tile-card h3 { color: var(--tinte); }
.tile-card h3 em { color: var(--mahagoni); }
.tile-card p { color: var(--tinte-schwach); }
.tile-card .label { color: var(--mahagoni); }

.tile-list { justify-content: center; }
.ohne-alles { margin: 18px 0 0; display: grid; gap: 10px; font-family: var(--serif); font-size: 19px; }
.ohne-alles > div { display: flex; align-items: baseline; gap: 10px; }
.ohne-alles dt { font-weight: 600; white-space: nowrap; }
.ohne-alles > div::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 2px dotted rgba(243, 234, 211, 0.3);
  transform: translateY(-5px);
}
.ohne-alles dd { order: 2; margin: 0; white-space: nowrap; color: var(--elfenbein-gedimmt); }
.ohne-alles dd.brass { color: var(--messing); font-weight: 700; }

/* ---------- Bildschirmfotos ---------- */

.section-shots .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.section-shots .section-head h2 { border-bottom: none; padding-bottom: 0; margin-bottom: 8px; }
.section-shots .section-head::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--messing-dunkel), var(--messing-hell), var(--messing-dunkel));
}
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.shot { margin: 0; text-align: center; }
.shot img {
  border-radius: 34px;
  border: 6px solid var(--samt-dunkel);
  outline: 1.5px solid rgba(201, 162, 75, 0.7);
  box-shadow: var(--shadow);
  background: var(--samt-dunkel);
}
.shot figcaption { margin-top: 16px; font-family: var(--serif); font-size: 17px; color: var(--elfenbein-gedimmt); }

/* ---------- Beta ---------- */

.beta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--elfenbein);
  color: var(--tinte);
  border: 1.5px solid var(--messing);
  box-shadow: var(--shadow);
}
.beta-card h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin-bottom: 12px; text-wrap: balance; }
.beta-card .label { color: var(--mahagoni); }
.beta-card p { color: var(--tinte-schwach); }
.beta-card .fineprint { color: var(--tinte-schwach); }
.steps { margin: 20px 0 26px; padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { position: relative; padding-left: 44px; color: var(--tinte-schwach); }
.steps li strong { color: var(--tinte); font-family: var(--serif); font-size: 18px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--tinte);
  background: linear-gradient(180deg, var(--messing-hell), var(--messing-dunkel));
  border: 1px solid rgba(30, 27, 24, 0.25);
}
.beta-icon img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(30, 27, 24, 0.15);
}

/* ---------- Fußzeile ---------- */

.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  display: grid;
  gap: 16px;
  color: var(--elfenbein-leise);
  font-size: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-word { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--elfenbein); }
.footer-tag { color: var(--elfenbein-gedimmt); }
.footer-note { max-width: 62ch; }
.footer-legal a { color: var(--elfenbein-gedimmt); }

/* ---------- Einblenden beim Rollen ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- Schmale Breiten ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .tiles { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand { gap: 10px; }
  .brand-word { font-size: 15px; line-height: 1.05; white-space: normal; }
  .topbar .btn-small { white-space: nowrap; flex: none; }
  .shots { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .btn { white-space: normal; text-align: center; }
  .btn-large { padding: 12px 22px; font-size: 19px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .beta-card { grid-template-columns: minmax(0, 1fr); }
  .beta-icon { order: -1; }
  .beta-card .btn { width: 100%; }
  .ohne-alles { font-size: 17px; }
}
