/* ------------------------------------------------------------------------
   Angelista — Onepager
   Palette nach dem Farbnummernsystem für Haar: Naturschwarz (#1B) als Grund,
   Honigblond (#27) als Akzent, Aschtöne als Neutrale.
   ------------------------------------------------------------------------ */

:root {
  color-scheme: light dark;

  --ground: #eeece9;
  --panel: #f9f8f6;
  --ink: #191512;
  --muted: #6f665d;
  --line: #dcd7d1;
  --line-soft: #e6e2dd;
  --gold: #8b6320;
  --gold-bright: #b8892f;
  --gold-wash: #efe3ca;
  --hero-bg: #171310;
  --hero-ink: #f4f0ea;
  --hero-muted: #a89e93;
  --hero-line: #362d25;
  --error: #99332b;
  --ok: #2f6b4f;

  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1080px;
  --measure: 64ch;
  --step: clamp(56px, 9vw, 104px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #141110;
    --panel: #1c1917;
    --ink: #f0ece7;
    --muted: #a1978c;
    --line: #2d2824;
    --line-soft: #241f1c;
    --gold: #d8ab55;
    --gold-bright: #e6bf74;
    --gold-wash: #33290f;
    --hero-bg: #0f0d0c;
    --hero-ink: #f4f0ea;
    --hero-muted: #a89e93;
    --hero-line: #2b2420;
    --error: #e88379;
    --ok: #79c299;
  }
}

:root[data-theme="dark"] {
  --ground: #141110;
  --panel: #1c1917;
  --ink: #f0ece7;
  --muted: #a1978c;
  --line: #2d2824;
  --line-soft: #241f1c;
  --gold: #d8ab55;
  --gold-bright: #e6bf74;
  --gold-wash: #33290f;
  --hero-bg: #0f0d0c;
  --hero-ink: #f4f0ea;
  --hero-muted: #a89e93;
  --hero-line: #2b2420;
  --error: #e88379;
  --ok: #79c299;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 clamp(15px, .95rem + .1vw, 17px)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }
em { font-style: italic; }

a { color: inherit; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--panel);
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--line);
  z-index: 99;
}
.skip:focus { left: 12px; }

.eyebrow {
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  font: 500 .82rem/1 var(--body);
  letter-spacing: .34em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0;
}
.mainnav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.mainnav a {
  font-size: .86rem;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.mainnav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.mainnav a.mainnav__cta {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
@media (max-width: 620px) {
  .mainnav a:not(.mainnav__cta) { display: none; }
}

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

.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__strands {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .85;
}
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 108px) clamp(20px, 5vw, 40px) clamp(44px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero h1 { max-width: 15ch; }
.hero h1 em { color: var(--gold-bright); font-style: italic; }
.hero .lede {
  max-width: 56ch;
  color: var(--hero-muted);
  font-size: 1.05rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: clamp(20px, 4vw, 40px) 0 0;
  border-top: 1px solid var(--hero-line);
  width: 100%;
}
.hero__facts > div {
  padding: 18px clamp(18px, 3vw, 32px) 4px 0;
  flex: 1 1 180px;
  border-right: 1px solid var(--hero-line);
}
.hero__facts > div:last-child { border-right: 0; }
.hero__facts > div + div { padding-left: clamp(18px, 3vw, 32px); }
.hero__facts dt {
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.hero__facts dd { margin: 8px 0 0; font-size: .98rem; }

/* -------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 .9rem/1 var(--body);
  letter-spacing: .02em;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--gold-bright); color: #171310; border-color: var(--gold-bright); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--quiet { color: currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn--quiet:hover { border-color: currentColor; }
.btn[disabled] { opacity: .55; cursor: progress; }

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

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--step) clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }
.section--tone { background: var(--panel); max-width: none; border-top: 1px solid var(--line); }
.section--contact { background: var(--panel); max-width: none; }

/* Abschnitte über die volle Breite brauchen einen eigenen Innencontainer:
   so sitzt der Inhalt mittig und alle Elemente teilen dieselbe linke Kante. */
.section__inner {
  max-width: var(--wrap);
  margin-inline: auto;
}

.section__head { display: flex; flex-direction: column; gap: 14px; max-width: var(--measure); }
.section__head .eyebrow { order: -1; }
.section__lede { color: var(--muted); max-width: 58ch; }

/* Sortiment: Hairlines statt Karten */
.range {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
}
.range__item {
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.range__item h3 { letter-spacing: -.01em; }
.range__item p { color: var(--muted); font-size: .95rem; }
.range__item .range__spec {
  font: 500 .7rem/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Farbnummern */
.swatches {
  list-style: none;
  margin: clamp(32px, 5vw, 52px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 4px;
}
.swatch { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.swatch__chip {
  display: block;
  height: clamp(88px, 14vw, 148px);
  background: linear-gradient(105deg,
    color-mix(in srgb, var(--chip) 82%, #ffffff) 0%,
    var(--chip) 38%,
    color-mix(in srgb, var(--chip) 88%, #000000) 72%,
    var(--chip) 100%);
  border: 1px solid color-mix(in srgb, var(--chip) 70%, var(--line));
}
.swatch__code {
  font: 500 .8rem/1 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.swatch__name { font-size: .78rem; color: var(--muted); }
.footnote { margin-top: 22px; color: var(--muted); font-size: .85rem; max-width: 56ch; }

/* Kundschaft */
.audience {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.audience__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.audience__col p:last-child { color: var(--muted); }
.state {
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}
.state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.state--live { color: var(--ok); }
.state--soon { color: var(--gold); }
.state--soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.channels {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.channel { background: var(--ground); padding: 22px clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 6px; }
.channel p:last-child { color: var(--muted); font-size: .95rem; }
.channel__key {
  font: 500 .7rem/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- Kontakt */

.contact {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__intro { display: flex; flex-direction: column; gap: 16px; }
.contact__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.contact__list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}
.contact__list span {
  font: 500 .68rem/1.8 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  flex: 0 0 88px;
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.field > span b { color: var(--gold); font-weight: 500; }
.field > span i { font-style: normal; color: color-mix(in srgb, var(--muted) 75%, transparent); font-size: .92em; }

.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
}
.form textarea { resize: vertical; line-height: 1.6; }
.form input::placeholder, .form textarea::placeholder { color: color-mix(in srgb, var(--muted) 65%, transparent); }
.form :is(input, select, textarea):focus { border-color: var(--gold); }
.form .is-invalid { border-color: var(--error); }

.field__error { color: var(--error); font-size: .8rem; font-style: normal; display: none; }
.field__error.is-visible { display: block; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--gold); }
.consent .field__error { grid-column: 2; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { color: var(--muted); font-size: .8rem; }

.formstatus {
  display: none;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: var(--ground);
  font-size: .92rem;
}
.formstatus.is-visible { display: block; }
.formstatus.is-ok { border-left-color: var(--ok); color: var(--ok); }
.formstatus.is-error { border-left-color: var(--error); color: var(--error); }

/* --------------------------------------------------------------- Fusszeile */

.footer { border-top: 1px solid var(--line); background: var(--ground); }
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__line { color: var(--muted); font-size: .92rem; max-width: 54ch; }
.footer__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .82rem;
}
.footer__meta a { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
