/* Eliana Cruz – Homepage v2 "Formel".
   Die einzige Farbe im System ist die Farbe des gewählten Looks (--look).
   Keine externen Schriften, keine Tracker, kein Fremd-Code. */
:root {
  --ink: #121212;
  --paper: #eeeeeb;
  --night: #101010;
  --look: #d8d2c4;   /* wird per Skript je Look gesetzt */
  --on: #121212;     /* Textfarbe auf --look, wird per Skript gesetzt */
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.04em; line-height: .98; }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: .7rem; }

/* ---------- Kopfzeile ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "ki id nav"; align-items: center; gap: .3rem 1rem; padding: 14px var(--pad); }
.ki { grid-area: ki; justify-self: start; border: 1.5px solid currentColor; border-radius: 99px; padding: .1rem .75rem; font-size: .85rem; white-space: nowrap; }
.id { grid-area: id; display: flex; align-items: center; gap: 1.2rem; }
.mark { display: inline-flex; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.05em; line-height: 1; text-decoration: none; white-space: nowrap; clip-path: inset(-40% -6% -4% -6%); }
.mark span { display: inline-flex; }
.mark i { font-style: normal; display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 55ms + 150ms); transition: transform .32s cubic-bezier(.3, 1.5, .5, 1); }
.mark:hover i, .mark:focus-visible i { transform: translateY(-.14em); transition-delay: calc(var(--i) * 24ms); }
@keyframes rise { from { transform: translateY(150%); opacity: 0; } to { transform: none; opacity: 1; } }
.soc { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.soc a:hover, .soc a:focus-visible { background: var(--on); color: var(--look); transform: translateY(-2px); }
.bar nav { grid-area: nav; justify-self: end; display: flex; gap: 1.4rem; }
.bar nav a { text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.bar nav a:hover { border-bottom-color: currentColor; }

/* ---------- Hero ---------- */
.home { background: var(--look); color: var(--on); transition: background-color .9s ease, color .9s ease; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-width: 1400px; margin: 0 auto; padding: 112px var(--pad) 40px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "top stage" "bottom stage";
  grid-template-rows: auto auto; align-content: center; column-gap: clamp(24px, 5vw, 72px); }
.copy-top { grid-area: top; align-self: end; }
.copy-bottom { grid-area: bottom; align-self: start; }
.stage { grid-area: stage; position: relative; justify-self: end; align-self: center; height: min(calc(100vh - 130px), 720px); height: min(calc(100svh - 130px), 720px); aspect-ratio: 3 / 4; background: rgba(0,0,0,.08); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.stage img.on { opacity: 1; }
h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .92; letter-spacing: -.05em; margin-bottom: 1.1rem; }
.sub { max-width: 30em; font-size: 1.15rem; margin: 0 0 1.8rem; }
.pick { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.3rem; margin: 0 0 1.5rem; }
.pick-label { opacity: .8; }
.pick button { background: none; border: 0; border-bottom: 3px solid transparent; padding: .05rem 0; cursor: pointer; font-size: 1.7rem; font-weight: 600; letter-spacing: -.025em; }
.pick button:hover { border-bottom-color: currentColor; }
.pick button[aria-pressed="true"] { border-bottom-color: currentColor; }
.formula { min-height: 6.8rem; margin: 0 0 1.2rem; }
.parts { list-style: none; margin: 0 0 .55rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.parts li { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px currentColor; flex: none; }
.op { font-weight: 400; opacity: .75; }
.line { margin: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 52px; height: 68px; padding: 0; border: 0; background: rgba(0,0,0,.1); cursor: pointer; opacity: .7; border-radius: 3px; overflow: hidden; transition: opacity .3s, box-shadow .3s; }
.swatches button:hover { opacity: 1; }
.swatches button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px currentColor; }
.swatches img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Alle Looks ---------- */
.looks { background: var(--paper); padding: clamp(48px, 8vw, 110px) 0; }
.head { max-width: 1400px; margin: 0 auto 28px; padding: 0 var(--pad); }
.head p { max-width: 34em; margin: 0; color: #444; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 20px; margin: 0; list-style: none; scrollbar-width: thin; }
.rail li { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
.card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: #d9d9d4; }
.card b { display: block; margin-top: .65rem; font-size: 1.15rem; letter-spacing: -.015em; }
.card span { display: block; font-size: .95rem; color: #444; }
.card:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Über mich ---------- */
.about { background: var(--night); color: #fff; padding: clamp(56px, 9vw, 130px) var(--pad); }
.about-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.about h2 { font-size: clamp(2.5rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: -.05em; margin: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.facts b { display: block; font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: .15rem; }
.facts p { margin: 0; color: #d0d0cc; }

/* ---------- Bald ---------- */
.soon { background: var(--paper); padding: clamp(48px, 8vw, 110px) var(--pad); }
.soon-in { max-width: 1400px; margin: 0 auto; }
.soon ul { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: 960px; }
.soon li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .4rem 2rem; padding: 1.3rem 0; border-top: 1px solid rgba(0,0,0,.25); align-items: baseline; }
.soon li:last-child { border-bottom: 1px solid rgba(0,0,0,.25); }
.soon h3 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -.035em; }
.soon p { margin: 0; color: #333; }
.soon .state { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; }

/* ---------- Fuß ---------- */
.foot { background: var(--look); color: var(--on); padding: clamp(40px, 7vw, 90px) var(--pad) 28px; transition: background-color .9s ease, color .9s ease; overflow: hidden; }
.foot-in { max-width: 1400px; margin: 0 auto; }
.wordmark { font-size: clamp(3rem, 17.5vw, 17rem); line-height: .85; letter-spacing: -.06em; font-weight: 700; margin: 0 0 clamp(24px, 4vw, 48px); white-space: nowrap; }
.links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 0 0 .9rem; }
.links a { text-underline-offset: 4px; }
.fine { margin: 0; font-size: .9rem; opacity: .85; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.plain .bar { position: static; color: var(--ink); }
.doc { max-width: 46rem; margin: 0 auto; padding: 1.5rem var(--pad) 4rem; }
.doc h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); margin-bottom: 1.2rem; }
.doc h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 2rem 0 .5rem; line-height: 1.1; }
.doc p, .doc li { margin: 0 0 .8rem; }
.doc address { font-style: normal; margin: 0 0 1rem; }
.doc a { text-underline-offset: 3px; }
.draft { border: 2px dashed #8a6d00; background: #fff3cf; padding: .9rem 1rem; margin-bottom: 1.6rem; font-size: .95rem; }
.plain .foot { background: var(--night); color: #fff; }
.plain .wordmark { display: none; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "top" "stage" "bottom"; padding-top: 84px; min-height: 0; }
  .stage { justify-self: center; width: min(100%, 440px); height: auto; margin: 1.4rem 0; }
  .about-in { grid-template-columns: 1fr; }
  .soon li { grid-template-columns: 1fr; }
  .formula { min-height: 0; }
}
@media (max-width: 700px) {
  .bar { grid-template-columns: 1fr auto; grid-template-areas: "id id" "ki nav"; justify-items: center; }
  .id { justify-self: center; }
  .ki { justify-self: start; }
  .bar nav { gap: 1.1rem; }
}
@media (max-width: 520px) {
  .hero { padding-top: 128px; }
  .id { gap: .4rem; }
  .soc a { width: 32px; height: 32px; }
  .soc svg { width: 17px; height: 17px; }
  .ki { font-size: .8rem; padding: .1rem .6rem; }
  .bar nav { gap: .8rem; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark i { animation: none; transition: none; }
  .home, .foot, .stage img, .swatches button { transition: none; }
}
