/* Nurelo Styles */
@font-face {
  font-family: "Karla";
  src: url("/fonts/karla-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  src: url("/fonts/karla-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Kyrillisch und Griechisch: Karla hat diese Zeichen nicht, Manrope passt im Schnitt */
@font-face {
  font-family: "NureloAlt";
  src: url("/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "NureloAlt";
  src: url("/fonts/manrope-greek-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

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

:root {
  --cream: #f2eadd;
  --paper: #fbf7f0;
  --ink: #241b14;
  --ink-2: #5a4a3c;
  --line: #ddd1bf;

  --terra: #bf6d47;   /* Logo, Kacheln */
  --terra-d: #9e4e2e; /* Buttons, Text, Flächen */
  --ochre: #c59045;
  --ochre-d: #8a5f17;
  --olive: #7a734a;
  --olive-d: #5a5533;

  --font: "Karla", "NureloAlt", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --r: 10px;
}

html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  font-family: var(--font); background: var(--cream); color: var(--ink);
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--terra-d); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
h1, h2, h3, p, li, dt, dd, small { hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; }
.lead, .chapter-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 56ch; color: var(--ink-2); }

.kicker { font-size: .86rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; display: flex; gap: .7rem; align-items: center; }
.kicker span { display: inline-grid; place-items: center; min-width: 2.2rem; height: 1.7rem; padding: 0 .5rem; border-radius: 6px; border: 1.5px solid currentColor; font-size: .78rem; }
.kicker.dark { color: var(--terra-d); }
.kicker.light { color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 10px; font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-terra { background: var(--terra-d); color: var(--cream); }
.btn-terra:hover { background: #863f23; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { border-color: var(--cream); color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }

/* Schwebende Navigation */
.nav { position: fixed; inset: 18px 18px auto 18px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 60; pointer-events: none; }
.pill {
  pointer-events: auto; display: flex; align-items: center; gap: 1.2rem; padding: .4rem .5rem .4rem 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  position: relative;
}
.nav-right { padding: 0; background: none; border: 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 1.3rem; padding-right: .6rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.menu-btn { display: none; height: 40px; padding: 0 .9rem; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; place-items: center; font: inherit; font-weight: 700; }

/* Sprachwähler */
.lang { position: static; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; font-size: .86rem; letter-spacing: .06em; color: var(--ink); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lang summary:hover { border-color: var(--ink); }
.lang-list { position: absolute; top: calc(100% + 8px); right: 0; width: min(560px, calc(100vw - 24px)); display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; z-index: 70; }
.lang-list a { display: block; padding: .55rem .8rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lang-list a:hover { background: var(--cream); }
.lang-list a[aria-current] { background: var(--ink); color: var(--cream); }

/* Kacheln */
.tile { z-index: 3; --s: clamp(96px, 15vmin, 156px); --c: var(--terra); --cd: #8a3f22; --glyph: var(--cream);
  position: absolute; left: 0; top: 0; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); will-change: transform; }
.tile.st { --c: var(--olive); --cd: #4b472a; }
.tile.am { --c: var(--ochre); --cd: #8a5f17; }
.tile.hn { --c: var(--terra); --cd: #8a3f22; }
.tile-gl { position: absolute; left: -25%; top: -25%; width: 150%; height: 150%; pointer-events: none; }
.tile3d .tile-body { opacity: 0; }
.tile .tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.tile-body {
  position: absolute; inset: 0; border-radius: 30%; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 25% 12%, color-mix(in srgb, var(--c) 55%, #fff) 0%, var(--c) 48%, var(--cd) 118%);
  box-shadow: inset 0 3px 7px rgba(255,255,255,.55), inset 0 -14px 24px rgba(0,0,0,.2), 0 4px 0 var(--cd);
  filter: grayscale(var(--g, 0));
}
.tile-body::after {
  content: ""; position: absolute; left: 11%; top: 6%; width: 58%; height: 32%; border-radius: 50%;
  background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,0)); filter: blur(2px); pointer-events: none;
}
.tile-body svg { width: 46%; height: 46%; color: var(--glyph); }
.tile.sat { --s: clamp(36px, 5.6vmin, 60px); }
.tile.mini { position: relative; --s: 84px; margin: 0; }
html:not(.js) .tile.big, html:not(.js) .tile.sat { display: none; }

/* Hero */
.hero { background: var(--ink); padding: 0; }
.stage-pin {
  position: relative; margin: 10px; border-radius: 14px; overflow: hidden; min-height: calc(100vh - 20px);
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: clamp(84px, 11vh, 118px) 24px 24px; isolation: isolate;
}
.wordmark {
  position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%); z-index: -1;
  font-size: clamp(9rem, 30vw, 30rem); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: rgba(36,27,20,.055); white-space: nowrap; user-select: none;
}
.hero-copy { text-align: center; max-width: 1100px; position: relative; display: grid; justify-items: center; gap: clamp(.7rem, 2vh, 1.4rem); z-index: 2; }
.hero-copy h1 { align-items: end; font-size: clamp(2.2rem, min(5.2vw, 8vh), 4.8rem); letter-spacing: -.045em; display: grid; }
.hero-copy h1 > span { grid-area: 1 / 1; }
.hero-copy h1 em { font-style: normal; color: var(--terra-d); }
.h1-a { display: none; }
.hero-lower { display: grid; justify-items: center; }
.hero-lower > * { grid-area: 1 / 1; }
.hero-more { display: grid; gap: clamp(.9rem, 2.4vh, 1.6rem); justify-items: center; }
.hero-more .lead { font-size: clamp(1rem, 2.2vh, 1.2rem); max-width: 54ch; }
.scroll-hint { display: none; align-self: start; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.scroll-hint::after { content: ""; display: block; width: 2px; height: 22px; margin: .35rem auto 0; background: var(--ink-2); opacity: .6; }

.hero.pinned { height: 300vh; }
.hero.pinned .stage-pin { position: sticky; top: 0; height: calc(100vh - 20px); min-height: 0; margin-top: 10px; }
.hero.pinned .h1-a { display: block; }
.hero.pinned .scroll-hint { display: block; }
.hero:not(.pinned) .sat { display: none; }

/* App-Fenster */
.win-wrap { position: relative; width: min(940px, 100%); z-index: 1; }
.app-window { background: var(--ink); color: var(--cream); border-radius: 10px; overflow: hidden; position: relative; }
.app-window.dark { background: #1a130d; border: 1px solid rgba(242,234,221,.12); }
.win-bar { display: flex; align-items: center; gap: .4rem; padding: .75rem 1.1rem; font-size: .8rem; color: rgba(242,234,221,.7); }
.win-bar b { font-weight: 600; }
.win-time { margin-left: auto; }
.track { position: relative; height: clamp(76px, 12vh, 130px); margin: 0 1.1rem; border-radius: 6px; background: rgba(242,234,221,.06); display: flex; justify-content: space-between; align-items: flex-end; padding: 0 1rem .5rem; font-size: .72rem; color: rgba(242,234,221,.5); }
.anchor { position: absolute; top: -26%; width: 0; height: 0; }
.anchor[data-anchor="st"] { left: 26%; }
.anchor[data-anchor="am"] { left: 50%; top: -40%; }
.anchor[data-anchor="hn"] { left: 76%; }
.win-rows { display: grid; gap: .5rem; padding: 1rem 1.1rem 1.2rem; }
.win-rows li { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; border-radius: 6px; background: rgba(242,234,221,.06); font-size: .92rem; }
.win-rows time { margin-left: auto; font-size: .78rem; color: rgba(242,234,221,.6); white-space: nowrap; }
.win-rows small { display: block; color: rgba(242,234,221,.6); font-size: .78rem; }
.big-rows li { padding: 1rem 1.1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.st { background: #a5a06a; } .dot.am { background: var(--ochre); } .dot.hn { background: #e0876a; }

/* Kapitel (stapelnd) */
.chapters { background: var(--ink); }
.chapter {
  position: sticky; top: calc(var(--i) * 14px); min-height: 100vh; display: flex; align-items: center;
  border-radius: 14px 14px 0 0; padding: clamp(5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--cream); overflow: hidden;
}
.c-st { background: var(--olive-d); }
.c-am { background: var(--ochre); color: var(--ink); }
.c-hn { background: var(--terra-d); }
.chapter .chapter-lead { color: inherit; opacity: .9; }
.chapter-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.chapter h2 { margin-bottom: 1.4rem; }
.ticks { display: grid; margin-top: 1.8rem; font-weight: 600; }
.ticks li { padding: .75rem 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.ticks li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.chapter-visual { position: relative; padding: 7.5rem 0 0; }
.chapter .tile.chap { --s: clamp(110px, 16vw, 168px); left: auto; right: 4%; top: 0; margin: 0; }
.route { width: 100%; padding: .4rem 1rem 1.2rem; }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; padding: 1.4rem 1.1rem 1.6rem; counter-reset: c; position: relative; }
.chain li { position: relative; padding: 1rem .8rem; border-radius: 6px; background: rgba(242,234,221,.07); font-size: .9rem; }
.chain li:not(:last-child)::after { content: ""; position: absolute; right: -.6rem; top: 50%; width: .6rem; border-top: 2px solid #e0876a; }
.chain b { display: block; font-size: 1rem; }
.chain small { color: rgba(242,234,221,.65); font-size: .78rem; }

/* Plattform */
.platform { background: var(--ink); color: var(--cream); padding: clamp(5rem, 10vw, 8rem) 0; border-radius: 14px 14px 0 0; position: relative; margin-top: -1px; }
.platform-head { display: grid; gap: 0; justify-items: start; max-width: 760px; }
.platform-head img { margin-bottom: 2rem; }
.platform-head h2 { margin-bottom: 1.2rem; }
.platform .chapter-lead { color: rgba(242,234,221,.75); }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2rem; margin-top: 4.5rem; }
.feat-list li { border-top: 1px solid rgba(242,234,221,.2); padding-top: 1.4rem; }
.feat-list span { font-size: .9rem; font-weight: 700; color: var(--ochre); letter-spacing: .1em; }
.feat-list h3 { margin: .6rem 0 .6rem; }
.feat-list p { color: rgba(242,234,221,.7); font-size: 1rem; }
.chip-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; margin-top: 5rem; padding-top: 3rem; border-top: 1px solid rgba(242,234,221,.2); }
.chip-block h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem 1rem; border-radius: 6px; border: 1.5px solid rgba(242,234,221,.3); font-size: .92rem; font-weight: 600; }

/* Ablauf */
.steps-sec { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--cream); border-radius: 14px 14px 0 0; margin-top: -14px; position: relative; }
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 1.2rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1.4rem; border-top: 3px solid var(--ink); }
.steps li::before { content: "0" counter(s); display: block; font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--terra-d); margin-bottom: 1rem; }
.steps p { color: var(--ink-2); margin-top: .5rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 4rem; font-weight: 700; }
.trust li { padding: .5rem 1.1rem; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-size: .92rem; }

/* Preise */
.pricing { padding: 0 0 clamp(5rem, 10vw, 8rem); background: var(--cream); }
.price-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.price-grid h2 { margin-bottom: 1.2rem; }
.price-grid .btn { margin-top: 2rem; }
.price-factors { display: grid; }
.price-factors div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--ink); }
.price-factors div:last-child { border-bottom: 1px solid var(--ink); }
.price-factors dt { font-weight: 800; }
.price-factors dd { margin: 0; color: var(--ink-2); }

/* CTA */
.contact { padding-bottom: 2rem; background: var(--cream); }
.cta-box { background: var(--ink); color: var(--cream); border-radius: 14px; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; display: grid; justify-items: center; gap: 1.4rem; }
.cta-box .lead { color: rgba(242,234,221,.78); }
.cta-tiles { display: flex; gap: 1rem; margin-bottom: 1rem; }
.cta-tiles .tile:nth-child(2) { transform: translateY(-14px) rotate(-4deg); }
.cta-tiles .tile:nth-child(1) { transform: rotate(-8deg); }
.cta-tiles .tile:nth-child(3) { transform: rotate(7deg); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: .6rem; }

/* Footer */
.site-footer { background: var(--cream); padding: 3rem 0 2.2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-grid p { color: var(--ink-2); margin-top: 1rem; max-width: 38ch; }
.foot-grid h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; color: var(--ink-2); font-weight: 700; }
.foot-grid li { margin-bottom: .55rem; }
.foot-grid a { text-decoration: none; color: var(--ink); }
.foot-grid ul a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }

/* Nach oben */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--cream); border: 2px solid var(--cream); border-radius: 10px; visibility: hidden; opacity: 0; }
.to-top.show { visibility: visible; opacity: 1; }
.to-top span { width: 11px; height: 11px; border-left: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: translateY(3px) rotate(45deg); }
.to-top:hover { background: var(--terra-d); }

/* Rechtsseiten */
.legal-head { background: var(--cream); border-bottom: 1px solid var(--line); }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.legal { background: var(--cream); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2rem 0 .5rem; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--terra-d); }
.legal-note { background: var(--paper); border: 1px solid var(--terra-d); border-radius: 6px; padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .95rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .chapter-grid, .chip-block { grid-template-columns: 1fr; }
  .feat-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-height: 900px) { .stage-pin .win-rows li:nth-child(3) { display: none; } }
@media (max-width: 860px), (max-height: 700px) {
  .chapter { position: relative; top: 0; min-height: 0; }
  .stage-pin { min-height: 0; }
}
@media (max-width: 860px) {
  .nav { inset: 12px 12px auto 12px; }
  .nav-right { display: none; }
  .lang-list { left: 0; right: 0; width: auto; grid-template-columns: repeat(2, 1fr); }
  .nav-left { width: 100%; justify-content: space-between; padding-right: .4rem; }
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: .6rem 1rem;
    background: var(--paper); border-radius: 10px; border: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links li:last-child a { border: 0; }
  .stage-pin { padding-top: 96px; gap: 3rem; }
  .win-wrap { margin-top: 3.5rem; }
  .tile { --s: 78px; }
  .track { height: 88px; }
}
@media (max-width: 560px) {
  .feat-list, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain li:not(:last-child)::after { display: none; }
  .cta-actions .btn { width: 100%; }
  .price-factors div { grid-template-columns: 1fr; gap: .2rem; }
  .track span:nth-child(even) { display: none; }
}
