/* Dark test version of the HATCH! page (hatch-dunkel.html). Loads after style.css and only overrides colours.
   Near-black ground like Baby Audio, each section with its own faint tint and soft light, so sections stay apart. */
:root {
  --ink: #eef2f7;
  --muted: #a3aebd;
  --paper: #111317;
  --casing-pale: #1b2029;
  --rule: rgba(255, 255, 255, .09);
  --link: #9cc0f0;
  --btn: #3c6fb8;
  --btn-deep: #284d82;
  --card: #1a1e25;
}
html { color-scheme: dark; }
body { background: var(--paper); color: var(--ink); }
a, .top nav .dl { color: var(--link); text-decoration-color: rgba(156, 192, 240, .45); }
a:hover { color: #c6dbf7; }
.top nav a { color: var(--ink); }
.wordmark, .brand, .sb-name { color: var(--ink); }
.brand img, .sb-name img, .mark { filter: brightness(0) invert(1); }
:focus-visible { outline-color: var(--link); }

/* buttons */
.btn { background: var(--btn); box-shadow: 0 3px 0 var(--btn-deep); }   /* 07.11.2026 (skeptic): no blue glow */
.btn:hover { background: #4a7cc6; box-shadow: 0 2px 0 var(--btn-deep); }
.btn.light { background: #fff; color: #1d3a5f; box-shadow: 0 3px 0 #0e1d33; }
.ph { color: #17202b; }
.small { color: var(--muted); }

/* ---------- sections: dark, each with its own faint tint ---------- */
.sky {
  background:
    radial-gradient(45% 60% at 72% 45%, rgba(98, 137, 181, .28), rgba(98, 137, 181, 0) 70%),
    radial-gradient(35% 50% at 10% 20%, rgba(143, 205, 184, .08), rgba(143, 205, 184, 0) 70%),
    linear-gradient(180deg, #17202d 0%, #141a23 55%, #121619 100%);
}
.sky .edge polygon:nth-child(1) { fill: #18221d; }
.sky .edge polygon:nth-child(2), .sky .edge polygon:nth-child(3), .sky .edge polygon:nth-child(4) { fill: #15201a; }
.sky .edge polygon:nth-child(5) { fill: #151d19; }
.sky .edge polygon:nth-child(6) { fill: #131a17; }
.hero2 .kicker { background: none; border: 0; padding: 0; box-shadow: none; color: var(--muted); font-weight: 600; }   /* 07.11.2026 (skeptic): plain line, no pill */

.meadow { background: linear-gradient(180deg, #131a17 0%, #121615 100%); }
.how { background: var(--paper); }
.mid-cta {
  background:
    radial-gradient(45% 110% at 12% 50%, rgba(232, 201, 127, .10), rgba(232, 201, 127, 0) 70%),
    radial-gradient(45% 110% at 90% 40%, rgba(143, 205, 184, .10), rgba(143, 205, 184, 0) 70%),
    #15181e;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.workflow { background: linear-gradient(180deg, var(--paper) 0%, #121722 12%, #111a19 42%, #1a1814 68%, #19170f 88%, var(--paper) 100%); }
.flow { --rail: #3a4a60; }
.fork { color: #3a4a60; }
.fork .or { background: var(--paper); color: var(--ink); }
.playable { background: radial-gradient(60% 70% at 50% 40%, rgba(98, 137, 181, .12), rgba(98, 137, 181, 0) 70%), #13161c; }
.last-soft {
  background:
    radial-gradient(40% 90% at 22% 50%, rgba(98, 137, 181, .22), rgba(98, 137, 181, 0) 70%),
    radial-gradient(40% 90% at 85% 40%, rgba(232, 201, 127, .10), rgba(232, 201, 127, 0) 70%),
    #13161b;
}
.last-soft h2 { color: var(--ink); }
.warm { background: linear-gradient(180deg, #1b1815 0%, #1a1517 100%); }
.install, .faq { background: transparent; }
.casing, .casing.bonus { background: linear-gradient(180deg, #1f3554 0%, #1a2d49 70%, #172842 100%); }
.casing .small, .bonus p { color: #c3d3e8; }
.edge[style] polygon:nth-child(1) { fill: #1b2638; }
.edge[style] polygon:nth-child(2), .edge[style] polygon:nth-child(3) { fill: #19233a; }
.edge[style] polygon:nth-child(4) { fill: #1f3554; }
.edge[style] polygon:nth-child(5), .edge[style] polygon:nth-child(6) { fill: #233c5e; }
.foot { background: #0b0d10; color: var(--muted); }

/* ---------- cards, boxes, small parts ---------- */
.card { background: var(--card); border-color: rgba(255, 255, 255, .07); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.mid-grid .video-ph, .video-ph { background: #171b21; border-color: rgba(255, 255, 255, .16); }
.tracks li { border-color: var(--rule); }
.warn { background: var(--casing-pale); }
code { background: var(--casing-pale); color: var(--ink); }
.tag { background: transparent; color: #9fdcc6; border-color: #3d7a66; }
.soon { color: #17202b; }
img.ui { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 36px rgba(0, 0, 0, .45) !important; }
.piano { box-shadow: 0 0 0 4px #33465f, 0 18px 30px rgba(0, 0, 0, .4); }
.tiles2 svg rect[fill="#26313f"] { fill: #2c3a4c; }
.tiles2 svg g[stroke] { stroke: #2e3846; }
.stickybar { background: rgba(17, 19, 23, .88); border-bottom-color: var(--rule); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.steps .n, .node { text-shadow: none; }

/* download window */
.get { background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.get::backdrop { background: rgba(0, 0, 0, .6); }
.get input[type=email], .get-os span { background: #12151a; border-color: #343d4a; color: var(--ink); }
.get-os input:checked + span { background: #1f2b3d; color: #cfe0f7; border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.get-mac { background: #1f2630; }
.get-x { background: #242a33; color: var(--muted); }
.get-ok { border-color: #343d4a; }
.bonus-row input { background: #fff; }

/* light parts that keep dark text */
.bubble, .node, .pause, .steps .n { color: #17202b; }
.optional .node { background: #1a1e25; color: var(--ink); }
.flow video { mix-blend-mode: normal; border-radius: 22px; }
.pause { background: #fff; border-color: #17202b; }

/* round 8 parts */
.cmp-card { background: var(--card); border-color: rgba(255, 255, 255, .08); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.cmp-card.roh .play { background: #5d6878; }
.cmp-card.roh .play svg { color: #eef2f7; }
.cmp-wave { filter: invert(1) hue-rotate(180deg); opacity: .25; }
.cmp-card.hatch .cmp-wave { filter: invert(1) hue-rotate(120deg) saturate(1.5); opacity: .35; }
.compare { background: radial-gradient(60% 60% at 50% 30%, rgba(143, 205, 184, .07), rgba(143, 205, 184, 0) 70%), linear-gradient(180deg, #131a17 0%, #121615 100%); }
.big-video { background: radial-gradient(55% 60% at 50% 35%, rgba(98, 137, 181, .14), rgba(98, 137, 181, 0) 70%), #14171c; }
.last-note { background:
    radial-gradient(40% 90% at 22% 50%, rgba(98, 137, 181, .22), rgba(98, 137, 181, 0) 70%),
    radial-gradient(40% 90% at 85% 40%, rgba(232, 201, 127, .10), rgba(232, 201, 127, 0) 70%),
    linear-gradient(180deg, #13161b 0%, #18161a 100%); }

/* round 9 */
.bonus-card {
  background:
    linear-gradient(135deg, #2a2618, #18272a) padding-box,
    linear-gradient(135deg, #e8c97f, #8fcdb8, #9fc0e6) border-box;
  box-shadow: 0 0 24px rgba(232, 201, 127, .18);
}
.bonus-card:hover { box-shadow: 0 0 32px rgba(232, 201, 127, .28); }
.bc-txt b { color: #fff; }
.bc-sub { color: #c9d1db; }
.bc-box { background: #12151a; border-color: #e8c97f; }
.bonus-card:has(input:checked) { background: linear-gradient(135deg, #332b14, #143029) padding-box, linear-gradient(135deg, #e8c97f, #4fae8e) border-box; box-shadow: 0 0 0 4px rgba(143, 205, 184, .25), 0 0 36px rgba(79, 174, 142, .35); }
.bonus-card input:checked ~ .bc-box { background: #4fae8e; border-color: #4fae8e; color: #0f1a16; }

.last-note { background: linear-gradient(180deg, #111317 0%, #13161c 100%); }
.last-card {   /* 07.11.2026 (skeptic): calm, no coloured light spots, no glow */
  background: #181c23;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.last-card .note-q { background: rgba(255, 255, 255, .05); }
.lc-facts li { background: rgba(255, 255, 255, .07); color: #b8c3d1; }
.bonus-in {
  background:
    radial-gradient(50% 120% at 15% 30%, rgba(156, 192, 240, .2), rgba(156, 192, 240, 0) 70%),
    linear-gradient(135deg, #2b4a73, #213d62) padding-box,
    linear-gradient(135deg, #e8c97f, #8fcdb8, #9fc0e6) border-box;
}

.get-fail { color: #ffb4a8; }

/* "What you get" (29.10.2026) */
.inside { background: linear-gradient(180deg, var(--paper) 0%, #121722 18%, #111a19 55%, #15171d 85%, var(--paper) 100%); }

/* Buying HATCH! (04.11.2026) */
.btn.ghost { background: transparent; color: #cfe0f7; box-shadow: inset 0 0 0 2px rgba(156, 192, 240, .55); }
.btn.ghost:hover { background: rgba(156, 192, 240, .1); color: #fff; box-shadow: inset 0 0 0 2px #9cc0f0; }
.buy-err, .feld-err { color: #ffb4a8; }
.box, pre.cmd { background: var(--casing-pale); }
.key-box { background: #0d0f13; border-color: #343d4a; color: #eef2f7; }
.feld input[type=email] { background: #12151a; border-color: #343d4a; color: var(--ink); }
.feld input[type=email]:focus { border-color: var(--link); box-shadow: 0 0 0 3px rgba(156, 192, 240, .2); }
.shot-ph { border-color: #343d4a; }
.get-opt { border-top-color: var(--rule); }
.get-opt input[type=email] { background: #12151a; border-color: #343d4a; color: var(--ink); }
.page ol > li::marker { color: var(--link); }
.sb-trial, .sb-free { color: var(--link); }

/* Launch price tag on the buy button (04.11.2026) */
.btn-pill { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255, 255, 255, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  padding: .28em .6em; border-radius: 999px; line-height: 1; }   /* 05.11.2026: no yellow (Tim) */
.price-line .later { color: #fff; font-weight: 650; }

/* second buy block under the video (05.11.2026) */
.mid-cta .mid-buy .buy-err { color: #ffb4a8; }

/* HATCH! Free + Expansion (05.11.2026): dark values for the new parts of hatch.html (plain fills, no gradients) */
:root { --x-rand: #6f9bd0; --x-ink: #a9c8f2; --x-feld: rgba(111, 155, 208, .08); }
.fx-sec, .fx-band.fx-evolve { background: #131a17; }
.fx-band { background: var(--paper); }
.fx-band#randomizer { background: #14171c; }
.fx-schild { background: #6f9bd0; color: #0f1726; }
.fx-nein { color: #6b7483; }
.play.leer { background: #3a414c; opacity: .6; }
.play.leer svg { color: #9aa4b2; }
.fxp-col { background: var(--card); border-color: rgba(255, 255, 255, .08); }
.fxp-col.fxp-x { background: #18202c; border-color: var(--x-rand); }
.fxp-more { color: var(--link); }
.bild-ph-in { border-color: #c9a93a; background: rgba(242, 207, 91, .06); }
.get-alt { border-top-color: var(--rule); }

/* 05.11.2026: tag for "Free + Expansion" a little quieter than the Expansion tag */
.fx-tag.fx-tag-beide { opacity: .8; }

/* =========================================================
   05.11.2026 soft transitions (hatch.html): one ground colour (#111317) for every section,
   the green-tinted parts fade in and out over 160 px, no section lines, no glow.
   Neighbouring colours differ by at most a few RGB steps (research _tmp/reihenfolge-05-11/recherche).
   ========================================================= */
.seite-hatch {
  --grund: #111317;
  --tint: #131a17;
}
/* hero: the front hill is the tint, the video section starts in the same colour and fades to the ground */
.seite-hatch .sky .edge polygon:nth-child(6) { fill: var(--tint); }
.seite-hatch .big-video { background: linear-gradient(180deg, var(--tint) 0, var(--grund) 160px, var(--grund) 100%); }
/* Free vs Expansion: tinted, soft in and out */
.seite-hatch .fx-sec { background: linear-gradient(180deg, var(--grund) 0, var(--tint) 160px, var(--tint) calc(100% - 160px), var(--grund) 100%); }
/* presets + Randomizer + library: ground */
.seite-hatch .fx-band, .seite-hatch .fx-band#randomizer { background: var(--grund); border-top: 0; }
/* EVOLVE + before/after: one tinted area, faded in at the top of EVOLVE and out at the end of before/after */
.seite-hatch .fx-band.fx-evolve { background: linear-gradient(180deg, var(--grund) 0, var(--tint) 160px, var(--tint) 100%); }
.seite-hatch .compare { background: linear-gradient(180deg, var(--tint) 0, var(--tint) calc(100% - 160px), var(--grund) 100%); }
/* last call, install, questions: ground; the footer fades in from the ground */
.seite-hatch .last-note, .seite-hatch .last-soft { background: var(--grund); }
.seite-hatch .install { background: transparent; }
.seite-hatch .faq { background: transparent; }
.seite-hatch .foot { background: linear-gradient(180deg, var(--grund) 0, #0b0d10 140px, #0b0d10 100%); }
/* no lines inside the presets section either */
.seite-hatch .fx-duo-teilbereich { border-top: 0; }
/* 05.11.2026: buy window (#kaufDialog) on the dark page */
.get-form > label.kauf-check { background: #12151a; }
.kauf-check:has(input:checked) { border-color: var(--link); }
.kauf-check:has(input:focus-visible) { outline-color: var(--link); }
.kauf-check input { accent-color: var(--btn); }
.kauf-hinweis { color: var(--link); }
.kauf-weiter[aria-disabled=true]:hover { background: var(--btn); }
.kauf-klein a { color: var(--link); }
/* 05.11.2026 ("Warenkorb"): order overview on the dark page */
.kauf-schritte .an .kauf-nr { background: var(--btn); border-color: var(--btn); }
.kauf-nr { border-color: #343d4a; }
.kauf-schritte li + li::before { background: #343d4a; }
.kauf-korb, .kauf-summe { border-color: #2b323c; }
.kauf-bild { background: #12151a; }
.get-form > label.kauf-news { background: none; }
.get-form > label.kauf-check[data-fehlt] { border-color: var(--link); }
.kauf-opt a { color: var(--link); }

/* 08.11.2026 (Tim): no green hills under the hero - a clean fade from the lighter hero into the ground of the next section */
.seite-hatch .sky .edge { display: none; }
.seite-hatch .sky { background:
    radial-gradient(45% 60% at 72% 45%, rgba(98, 137, 181, .28), rgba(98, 137, 181, 0) 70%),
    linear-gradient(180deg, #17202d 0%, #151b25 55%, var(--grund) 100%); }
.seite-hatch .big-video { background: var(--grund); }
