/* =============================================================
   myosotis · ink and art
   Design-System "Gothic Bloom"
   dark editorial × minimal-gothic × ein Rosa-Akzent (Lucas Farbe)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Basis – warmes Fast-Schwarz */
  --bg:        #0a0908;
  --bg-soft:   #110f0d;
  --bg-card:   #15120f;
  --line:      #2a2622;

  /* Tinte – Knochen / Elfenbein */
  --ink:       #ece7e1;
  --ink-dim:   #b8b0a6;
  --ink-mute:  #847d73;

  /* Der Bruch – Rosa */
  --rose:      #ff4f87;   /* laut, sparsam */
  --rose-soft: #c98ba0;   /* gedeckt, für Linien/Felder */
  --rose-deep: #2a0f1a;   /* rosa-getöntes Dunkel für Flächen */

  /* Typo */
  --display: "Cormorant", Georgia, serif;
  --serif:   "Cormorant Garamond", Georgia, serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  /* Maße */
  --maxw: 1280px;
  --gut:  clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 350;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--rose); color: #0a0908; }

/* ---------- Grain / Vignette Overlay ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255,79,135,0.06), transparent 60%),
    radial-gradient(140% 100% at 50% 120%, rgba(0,0,0,0.55), transparent 55%);
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typografie ---------- */
.display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 0.98; letter-spacing: -0.01em; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-soft);
}
.lead { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; color: var(--ink-dim); font-weight: 350; }
em, .ital { font-style: italic; }

/* ---------- Layout-Hilfen ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(80px, 12vw, 180px); position: relative; z-index: 3; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  mix-blend-mode: difference;
}
.nav__brand { font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em; text-transform: lowercase; color: #fff; }
.nav__brand b { color: var(--rose); font-weight: 400; }
.nav__links { display: flex; gap: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.nav__links a { position: relative; opacity: 0.8; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* Scroll-Fortschritt (oben) */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--rose); z-index: 60; transition: width .1s linear; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; padding-block: 120px 60px; }
.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(72px, 19vw, 320px);
  line-height: 0.82;
  letter-spacing: -0.02em;
}
.hero__title .rose { color: var(--rose); font-style: italic; }
.hero__sub { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: baseline; }
.hero__tag { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.hero__tag b { color: var(--ink); font-weight: 400; }

/* Choose two worlds */
.gate { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); position: relative; z-index: 3; }
@media (max-width: 760px) { .gate { grid-template-columns: 1fr; } }
.gate__cell {
  background: var(--bg);
  padding: clamp(40px, 7vw, 96px) var(--gut);
  min-height: 46vh;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .5s var(--ease);
  position: relative; overflow: hidden;
}
.gate__cell:hover { background: var(--bg-soft); }
.gate__cell:hover .gate__name { color: var(--rose); }
.gate__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-soft); }
.gate__name { font-family: var(--display); font-weight: 300; font-size: clamp(48px, 8vw, 120px); line-height: 0.9; transition: color .5s var(--ease); }
.gate__desc { color: var(--ink-mute); max-width: 38ch; margin-top: 14px; }
.gate__go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.gate__go .arr { transition: transform .4s var(--ease); }
.gate__cell:hover .gate__go .arr { transform: translateX(8px); color: var(--rose); }

/* ============================================================
   Generic content
   ============================================================ */
.eyebrow-row { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(30px, 5vw, 64px); }
.eyebrow-row .idx { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.1em; }
.h-sec { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 7vw, 110px); line-height: 0.92; }
.h-sec .rose { color: var(--rose); font-style: italic; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr; } }

.prose p { color: var(--ink-dim); max-width: 60ch; margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* Karten / Listen */
.card { background: var(--bg); padding: clamp(28px, 4vw, 48px); }
.card h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.card p { color: var(--ink-mute); }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--rose-soft); letter-spacing: 0.1em; }

/* Feature: Angsthase – sensible, weiche Sektion */
.angst {
  background: linear-gradient(180deg, var(--rose-deep), var(--bg) 80%);
  border-top: 1px solid var(--line);
}
.angst .h-sec .rose { font-style: italic; }
.angst .pill { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); border: 1px solid rgba(255,79,135,.35); border-radius: 999px; padding: 7px 16px; margin-bottom: 28px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.gallery figure { position: relative; overflow: hidden; background: var(--bg-card); border: 1px solid var(--line); }
.gallery figure::after { content: attr(data-cap); position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); opacity: 0; transform: translateY(6px); transition: .4s var(--ease); }
.gallery figure:hover::after { opacity: 1; transform: none; }
.gallery .ph { aspect-ratio: 3/4; width: 100%; display: grid; place-items: center; }
.gallery .ph svg { width: 38%; opacity: .25; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; filter: saturate(.96) contrast(1.02); transition: transform 1.2s var(--ease), filter .6s; }
.gallery figure:hover img { transform: scale(1.04); filter: saturate(1.05) contrast(1.05); }
.gallery .g-wide img, .gallery .g-half img { aspect-ratio: 16/11; }
.g-tall { grid-column: span 4; }
.g-wide { grid-column: span 8; }
.g-sq   { grid-column: span 4; }
.g-half { grid-column: span 6; }
@media (max-width: 860px) { .g-tall, .g-wide, .g-sq, .g-half { grid-column: span 6; } }
@media (max-width: 560px) { .g-tall, .g-wide, .g-sq, .g-half { grid-column: span 12; } }

/* FAQ / Accordion */
.faq__item { border-top: 1px solid var(--line); padding: 28px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; cursor: pointer; }
.faq__q h3 { font-size: clamp(20px, 2.6vw, 30px); font-family: var(--serif); font-weight: 400; }
.faq__q .sign { font-family: var(--mono); color: var(--rose); flex: none; transition: transform .4s var(--ease); }
.faq__item[open] .faq__q .sign { transform: rotate(45deg); }
.faq__a { color: var(--ink-mute); max-width: 64ch; padding-top: 16px; }
.faq__item summary { list-style: none; } .faq__item summary::-webkit-details-marker { display: none; }

/* Liste mit Index (Prozess / Prinzipien) */
.steps { counter-reset: s; }
.steps li { list-style: none; border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--rose-soft); padding-top: 6px; }
.steps h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.steps p { color: var(--ink-mute); max-width: 58ch; }

/* Kontaktformular (Platzhalter) */
.form { display: grid; gap: 22px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  padding: 14px 16px; font-family: var(--sans); font-size: 16px; border-radius: 0;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rose); }
.field textarea { min-height: 140px; resize: vertical; }
.btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--rose); color: var(--ink); padding: 16px 28px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--rose); color: #0a0908; }
.form__note { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: .05em; }
.form__note b { color: var(--rose-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 60px; position: relative; z-index: 3; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand { font-family: var(--display); font-size: clamp(40px, 8vw, 96px); font-weight: 300; line-height: .9; }
.footer__brand .rose { color: var(--rose); font-style: italic; }
.footer__col { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-mute); display: grid; gap: 10px; align-content: start; }
.footer__col a:hover { color: var(--rose); }
.footer__meta { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: .08em; }

/* AVantgarde credit – dezent */
.avantgarde-credit { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-mute); transition: color .3s; }
.avantgarde-credit:hover { color: var(--rose-soft); }

/* ============================================================
   Motion / Reveal
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Vergissmeinnicht – Linienmotiv */
.bloom { position: absolute; pointer-events: none; opacity: .5; z-index: 0; }
.bloom svg path, .bloom svg circle, .bloom svg line { stroke: var(--rose-soft); }
.bloom--tr { top: -40px; right: -30px; width: clamp(140px, 22vw, 320px); }
.bloom--bl { bottom: -60px; left: -40px; width: clamp(160px, 26vw, 380px); transform: rotate(180deg); }

/* Featured artwork (Hero einer Welt) */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature__img { position: relative; border: 1px solid var(--line); overflow: hidden; background: var(--bg-card); }
.feature__img img { width: 100%; display: block; }
.feature__img figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }

/* Preis-Karten */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 640px) { .price { grid-template-columns: 1fr; } }
.price__cell { background: var(--bg); padding: clamp(28px, 4vw, 44px); }
.price__amount { font-family: var(--display); font-size: clamp(44px, 6vw, 76px); font-weight: 300; line-height: 1; }
.price__amount .cur { color: var(--rose); font-style: italic; font-size: .5em; }
.price__name { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 18px; display: block; }
.price__cell ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.price__cell li { color: var(--ink-mute); padding-left: 20px; position: relative; }
.price__cell li::before { content: "—"; position: absolute; left: 0; color: var(--rose-soft); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.chip--rose { color: var(--rose); border-color: rgba(255,79,135,.4); }

/* Back link to hub */
.back { position: fixed; left: var(--gut); bottom: 22px; z-index: 40; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); mix-blend-mode: difference; }
.back:hover { color: var(--rose); }
