/* ============================================================================
   Kimolo-Website: Ergänzungen zu One UI (one-ui.css). Nur Tokens, keine eigenen Farben.
   Stufen: Kopf und Scroll-Story laut, Inhaltsseiten ausgewogen, Formular ruhig.
   ============================================================================ */

html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--ou-bg); }

.k-icon { width: 20px; height: 20px; flex: none; }
.k-icon--lg { width: 28px; height: 28px; }
.k-skip { position: absolute; left: 12px; top: -60px; z-index: 100; }
.k-skip:focus { top: 12px; }
.k-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- Kopfleiste */
.k-bar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ou-line); background: var(--ou-bg); }
.k-bar .ou-nav { min-height: 64px; }
.k-logo { display: block; width: auto; height: 26px; }
.k-bar .ou-nav__links { margin-inline: auto; }
@media (max-width: 820px) { .k-bar .ou-nav__links { display: none; } .k-bar .ou-btn { margin-left: auto; } }

/* ---------------------------------------------------------------- Kopf (laut) */
.k-hero { overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.k-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (max-width: 920px) { .k-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.k-hero h1 { margin-top: var(--ou-space-3); }
.k-hero .ou-lead { margin-top: var(--ou-space-5); }
.k-hero .ou-cluster { margin-top: var(--ou-space-6); }
.k-hero__note { display: flex; gap: 10px; align-items: center; margin-top: var(--ou-space-5); color: var(--ou-muted); font-size: var(--ou-fs-sm); }
.k-hero__note .ou-hand { flex: none; margin-right: 6px; font-size: .85rem; white-space: nowrap; }

.k-collage { position: relative; padding: 0 0 clamp(56px, 9vw, 96px) clamp(40px, 7vw, 96px); }
.k-collage__stage { aspect-ratio: 16 / 9; rotate: calc(var(--ou-tilt) * 1.2deg); }
.k-collage__phone-wrap { position: absolute; left: 0; bottom: 0; width: clamp(104px, 24%, 172px); }
.k-collage__phone { aspect-ratio: 9 / 19; border: 1px solid var(--ou-line-strong); rotate: calc(var(--ou-tilt) * -3deg); }
.k-collage__sticker-wrap { position: absolute; right: -6px; bottom: clamp(8px, 3vw, 28px); }
.k-collage .ou-sticker { --ou-sticker-rot: 5deg; font-size: var(--ou-fs-sm); }
@media (max-width: 520px) { .k-collage__sticker-wrap { right: 0; bottom: 0; } }

/* ---------------------------------------------------------------- Scroll-Story (laut, 3D) */
.k-story { position: relative; }
.k-story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ou-black); }
.k-story__canvas { display: block; width: 100%; height: 100%; }
.k-story__still { position: absolute; inset: 0; display: none; place-items: center; background: var(--ou-black); }
.k-story__still img { width: min(46%, 300px); }
.k-story.is-still .k-story__still { display: grid; }
.k-story.is-still .k-story__canvas { display: none; }
.k-story__chapters { position: relative; z-index: 3; margin-top: -100vh; margin-top: -100svh; }
.k-chapter { display: grid; align-content: center; min-height: 100vh; min-height: 100svh; padding-block: 80px; }
.k-chapter__text { display: grid; gap: 14px; max-width: 500px; padding: 44px 52px 48px; margin-left: -52px; background: radial-gradient(closest-side, color-mix(in srgb, var(--ou-black) 86%, transparent), color-mix(in srgb, var(--ou-black) 62%, transparent) 62%, transparent); }
.k-chapter__text p:last-child { color: var(--ou-muted); }
@media (max-width: 760px) {
  .k-chapter { align-content: end; padding-bottom: 40px; }
  .k-chapter__text { margin-left: calc(-1 * var(--ou-gutter)); margin-right: calc(-1 * var(--ou-gutter)); padding: 22px var(--ou-gutter) 24px; background: linear-gradient(0deg, color-mix(in srgb, var(--ou-black) 94%, transparent), color-mix(in srgb, var(--ou-black) 74%, transparent) 72%, transparent); }
}
.k-story__progress { position: absolute; right: 16px; top: 50%; z-index: 4; display: grid; gap: 8px; translate: 0 -50%; }
.k-story__progress i { display: block; width: 3px; height: 28px; border-radius: 2px; background: var(--ou-line-strong); }
.k-story__progress i.is-on { background: var(--ou-red); }

/* ---------------------------------------------------------------- Abschnitte (ausgewogen) */
.k-alt { background: var(--ou-surface); }
.k-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: var(--ou-space-7); }
.k-head .ou-lead { margin-top: 4px; }

.k-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .k-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .k-games { grid-template-columns: minmax(0, 1fr); } }
.k-game { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 20px; }
.k-game__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ou-text); }
.k-game h3 { font-family: var(--ou-font-display); font-size: var(--ou-ds-sm); font-weight: 400; line-height: 1; text-transform: uppercase; }
.k-game p { color: var(--ou-muted); font-size: var(--ou-fs-sm); line-height: 1.5; }
.k-game .ou-cluster { gap: 6px; }

.k-shots { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.k-shots__wide { display: grid; gap: 16px; }
.k-shots figure { display: grid; gap: 10px; }
.k-shots figcaption { color: var(--ou-muted); font-size: var(--ou-fs-sm); }
.k-shot--wide { aspect-ratio: 16 / 10; }
.k-shot--stage { aspect-ratio: 16 / 9; }
.k-shot--phone { aspect-ratio: 9 / 19; }
@media (max-width: 760px) { .k-shots { grid-template-columns: minmax(0, 1fr); } .k-shots__phone { max-width: 300px; } }

.k-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .k-features { grid-template-columns: minmax(0, 1fr); } }
.k-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding-block: 18px; border-top: 1px solid var(--ou-line); }
.k-feature .k-icon { grid-row: span 2; margin-top: 2px; }
.k-feature b { font-weight: 600; }
.k-feature span { color: var(--ou-muted); font-size: var(--ou-fs-sm); line-height: 1.5; }

.k-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .k-two { grid-template-columns: minmax(0, 1fr); } }
.k-who { display: grid; gap: 12px; padding: 24px; align-content: start; }
.k-who h3 { font-family: var(--ou-font-display); font-size: var(--ou-ds-sm); font-weight: 400; text-transform: uppercase; line-height: 1; }
.k-who p, .k-who li { color: var(--ou-muted); line-height: 1.55; }
.k-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.k-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.k-list .k-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ou-text); }

.k-plan { display: grid; gap: 16px; padding: 26px 24px; align-content: start; }
.k-plan h3 { font-family: var(--ou-font-display); font-size: var(--ou-ds-md); font-weight: 400; text-transform: uppercase; line-height: 1; }
.k-price { display: grid; gap: 4px; padding-block: 14px; border-block: 1px solid var(--ou-line); }
.k-price b { font-family: var(--ou-font-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 400; line-height: 1; }
.k-price span { color: var(--ou-muted); font-size: var(--ou-fs-sm); }
.k-plan > p { color: var(--ou-muted); line-height: 1.55; }
.k-plan .ou-btn { justify-self: start; }
.k-small { margin-top: var(--ou-space-5); max-width: 78ch; color: var(--ou-muted); font-size: var(--ou-fs-sm); line-height: 1.6; }

.k-demo { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px); }
@media (max-width: 760px) { .k-demo { grid-template-columns: minmax(0, 1fr); } }
.k-demo p { color: var(--ou-muted); line-height: 1.55; margin-top: 10px; max-width: 62ch; }

.k-faq { display: grid; max-width: 860px; }
.k-faq details { border-top: 1px solid var(--ou-line); }
.k-faq details:last-child { border-bottom: 1px solid var(--ou-line); }
.k-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary .k-icon { transition: rotate var(--ou-dur) var(--ou-ease); color: var(--ou-muted); }
.k-faq details[open] summary .k-icon { rotate: 180deg; }
.k-faq summary:focus-visible { outline: 2px solid var(--ou-focus); outline-offset: 4px; }
.k-faq details > div { padding-bottom: 20px; color: var(--ou-muted); line-height: 1.6; max-width: 72ch; }

/* ---------------------------------------------------------------- Anfrage (ruhig) */
.k-form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .k-form-grid { grid-template-columns: minmax(0, 1fr); } }
.k-form-side { display: grid; gap: 14px; }
.k-form-side p { color: var(--ou-muted); line-height: 1.6; }
.k-steps { display: grid; gap: 12px; margin-top: 8px; padding: 0; list-style: none; counter-reset: k-step; }
.k-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ou-muted); line-height: 1.5; counter-increment: k-step; }
.k-steps li::before { content: counter(k-step); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ou-line-strong); border-radius: var(--ou-radius-sm); color: var(--ou-text); font-family: var(--ou-font-display); font-size: 1.1rem; }
.k-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 28px); }
.k-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .k-form__row { grid-template-columns: minmax(0, 1fr); } }
.k-form fieldset { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.k-form legend { padding: 0; margin-bottom: 4px; }
.k-radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.k-form .ou-textarea { min-height: 150px; }
.k-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.k-form__foot .ou-hint { max-width: 46ch; line-height: 1.5; }
.k-form__status:empty { display: none; }
.k-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Fuß */
.k-foot { border-top: 1px solid var(--ou-line); padding-block: 36px 56px; }
.k-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.k-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.k-foot a { color: var(--ou-muted); font-size: var(--ou-fs-sm); text-decoration: none; }
.k-foot a:hover { color: var(--ou-text); }
.k-foot small { color: var(--ou-muted); font-size: var(--ou-fs-xs); }

/* ---------------------------------------------------------------- Rechtliches und Danke */
.k-doc { max-width: 760px; padding-block: clamp(40px, 6vw, 80px); }
.k-doc h1 { margin-bottom: var(--ou-space-6); }
.k-doc h2 { margin: var(--ou-space-7) 0 var(--ou-space-3); font-family: var(--ou-font-display); font-size: var(--ou-ds-sm); font-weight: 400; text-transform: uppercase; line-height: 1; }
.k-doc p, .k-doc li { color: var(--ou-muted); line-height: 1.65; }
.k-doc p + p { margin-top: var(--ou-space-3); }
.k-doc ul { display: grid; gap: 8px; padding-left: 20px; }
.k-doc b { color: var(--ou-text); font-weight: 600; }
.k-doc .k-stand { margin-top: var(--ou-space-8); font-size: var(--ou-fs-xs); }
.k-done { display: grid; gap: 18px; justify-items: start; min-height: 60vh; align-content: center; }
.k-foot__inner > div { display: grid; gap: 10px; }
