/* luftslott.ai — sommerhimmel / air-castle design system
   Static microsite. No inline styles (strict CSP). All color/spacing via tokens. */

:root {
  /* Sky + surfaces */
  --sky-top: oklch(92% 0.06 232);
  --sky-bottom: oklch(98% 0.018 90);
  --cream: oklch(98.5% 0.012 95);
  --surface: oklch(99.5% 0.004 250);
  --line: oklch(91% 0.02 250);

  /* Ink */
  --ink: oklch(30% 0.06 268);
  --ink-soft: oklch(46% 0.045 268);

  /* Accents (semantic) */
  --coral: oklch(69% 0.17 36);
  --coral-deep: oklch(60% 0.19 33);
  --sky-blue: oklch(68% 0.13 236);
  --grass: oklch(72% 0.14 150);
  --sun: oklch(86% 0.14 92);

  /* Shadow */
  --shadow-soft: 0 2px 8px oklch(50% 0.05 268 / 0.08), 0 12px 32px oklch(50% 0.08 268 / 0.10);
  --shadow-lift: 0 4px 12px oklch(55% 0.1 36 / 0.18), 0 18px 40px oklch(55% 0.1 36 / 0.18);

  /* Type */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text-hero: clamp(2.6rem, 1.1rem + 6vw, 5.25rem);
  --text-h2: clamp(1.7rem, 1rem + 2.6vw, 2.7rem);
  --text-lead: clamp(1.12rem, 0.98rem + 0.6vw, 1.4rem);
  --text-sm: 0.92rem;

  /* Space + shape */
  --space-section: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --radius: 18px;
  --radius-lg: 30px;
  --maxw: 1120px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(120% 80% at 80% -10%, oklch(88% 0.09 232) 0%, transparent 55%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 46%, var(--cream) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--coral-deep); text-decoration-thickness: 2px; text-underline-offset: 2px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: oklch(97% 0.02 232 / 0.72);
  border-bottom: 1px solid oklch(90% 0.03 232 / 0.6);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .dotai { color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease;
}
.btn-primary { background: var(--coral); color: oklch(99% 0.01 90); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); background: var(--coral-deep); }
.btn-ghost { background: oklch(99% 0.01 250 / 0.7); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--sky-blue); box-shadow: var(--shadow-soft); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--sky-blue); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 4vw, 4rem); padding-bottom: var(--space-section); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: var(--text-sm); color: var(--ink-soft);
  background: oklch(99% 0.01 250 / 0.7); border: 1px solid var(--line);
  padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.eyebrow .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--grass); }
.hero h1 { font-size: var(--text-hero); font-weight: 800; }
.hero h1 .accent { color: var(--coral); }
.hero .lead { font-size: var(--text-lead); color: var(--ink-soft); margin-top: 1.25rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }
.price-flag { margin-top: 1.6rem; font-size: var(--text-sm); color: var(--ink-soft); }
.price-flag strong { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }

/* Castle illustration */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art svg { width: min(100%, 460px); height: auto; filter: drop-shadow(0 24px 30px oklch(50% 0.08 268 / 0.18)); }
.float { animation: float 5.5s var(--ease) infinite; transform-origin: center bottom; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-0.4deg); } 50% { transform: translateY(-16px) rotate(0.4deg); } }

/* Drifting clouds */
.cloud { position: absolute; opacity: 0.85; pointer-events: none; }
.cloud-1 { top: 8%; left: -4%; width: 130px; animation: drift 26s linear infinite; }
.cloud-2 { top: 26%; right: -6%; width: 96px; animation: drift 34s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(40px); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding-block: var(--space-section); }
.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head h2 { font-size: var(--text-h2); font-weight: 700; }
.section-head p { color: var(--ink-soft); font-size: var(--text-lead); margin-top: 0.85rem; }
.kicker { font-family: var(--font-display); font-weight: 700; color: var(--coral-deep); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.35rem; box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.step .num {
  counter-increment: step;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  background: oklch(94% 0.06 232); color: var(--sky-blue); margin-bottom: 1rem;
}
.step:nth-child(2) .num { background: oklch(94% 0.07 36); color: var(--coral-deep); }
.step:nth-child(3) .num { background: oklch(94% 0.07 150); color: var(--grass); }
.step:nth-child(4) .num { background: oklch(95% 0.08 92); color: oklch(58% 0.12 80); }
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* Facts bento */
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-soft); }
.fact .label { font-size: var(--text-sm); color: var(--ink-soft); font-weight: 600; }
.fact .value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 0.3rem; }
.fact.price { grid-column: span 3; background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%); color: oklch(99% 0.01 90); border-color: transparent; }
.fact.price .label { color: oklch(95% 0.03 60); }
.fact.price .value { font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); }
.fact.price .sub { font-size: var(--text-sm); margin-top: 0.35rem; color: oklch(95% 0.03 60); }
.fact.span-3 { grid-column: span 3; }
.fact.span-2 { grid-column: span 2; }

/* Terms */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.term { display: flex; gap: 0.85rem; align-items: flex-start; background: oklch(99% 0.01 250 / 0.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.term .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: oklch(94% 0.06 232); }
.term .ic svg { width: 22px; height: 22px; }
.term h3 { font-size: 1.05rem; font-weight: 700; }
.term p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.25rem; }

/* AI transparency callout */
.ai-note {
  background: linear-gradient(135deg, oklch(34% 0.07 268) 0%, oklch(28% 0.08 270) 100%);
  color: oklch(96% 0.02 250); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem); box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 0.5rem + 2vw, 2rem); align-items: center;
}
.ai-note .badge { width: 64px; height: 64px; border-radius: 18px; background: oklch(99% 0.01 90 / 0.1); display: grid; place-items: center; }
.ai-note .badge svg { width: 36px; height: 36px; }
.ai-note h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); color: oklch(99% 0.01 90); }
.ai-note p { color: oklch(88% 0.03 250); margin-top: 0.6rem; max-width: 60ch; }
.ai-note a { color: var(--sun); }

/* Contact */
.contact { text-align: center; }
.contact .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 1rem + 4vw, 3.5rem); box-shadow: var(--shadow-soft); max-width: 620px; margin-inline: auto;
}
.contact h2 { font-size: var(--text-h2); }
.contact p { color: var(--ink-soft); font-size: var(--text-lead); margin-top: 0.85rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 1.9rem; }
.contact .fineprint { font-size: var(--text-sm); color: var(--ink-soft); margin-top: 1.4rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: var(--space-section); padding-block: 2.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: baseline; }
.site-footer p, .site-footer a { font-size: var(--text-sm); color: var(--ink-soft); }
.site-footer .brand { font-size: 1.1rem; }

/* ---------- Confirmation page ---------- */
.confirm-main { display: grid; place-items: center; min-height: 86vh; padding-block: var(--space-section); }
.confirm-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); box-shadow: var(--shadow-soft);
  max-width: 560px; text-align: center;
}
.confirm-card .mark { width: 96px; height: 96px; margin: 0 auto 1.5rem; }
.confirm-card h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; }
.confirm-card .lead { font-size: var(--text-lead); color: var(--ink-soft); margin-top: 1rem; }
.next { text-align: left; background: oklch(96% 0.03 232 / 0.5); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; margin-top: 2rem; }
.next h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.next ol { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.next li { margin-bottom: 0.4rem; }
.confirm-card .ref { font-size: var(--text-sm); color: var(--ink-soft); margin-top: 1.5rem; font-variant-numeric: tabular-nums; }
.confirm-card .back { margin-top: 1.75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(80%, 320px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact.price, .fact.span-3 { grid-column: span 2; }
  .terms { grid-template-columns: 1fr; }
  .ai-note { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact.price, .fact.span-3, .fact.span-2 { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  .float, .cloud-1, .cloud-2 { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .step { transition: none; }
}
