/* Runda — Website-Styles. Warme, ruhige Palette (an die App angelehnt: Creme #F6EFE7, Amber #F4B860).
   Self-contained (keine externen Fonts/Assets) → rendert immer, überall. */

:root {
  --cream: #f6efe7;
  --cream-deep: #efe4d6;
  --ink: #2c2622;
  --ink-soft: #5c5147;
  --muted: #8a7c6d;
  --amber: #f4b860;
  --amber-deep: #e0954a;
  --terracotta: #c06a4b;
  --line: #e4d8c8;
  --card: #fffaf3;
  --shadow: 0 1px 2px rgba(44, 38, 34, 0.04), 0 8px 30px rgba(44, 38, 34, 0.07);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1080px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

/* Feines Korn über allem — Wärme/Tiefe statt flacher Fläche (sehr subtil). */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 239, 231, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; text-decoration: none; }
.wordmark b { color: var(--amber-deep); font-weight: 700; }
.wordmark .tag { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-left: 10px; font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #3a2c15; box-shadow: 0 6px 18px rgba(224, 149, 74, 0.28); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--cream-deep); }
.header-cta { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 44px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(920px 540px at 80% -10%, rgba(244, 184, 96, 0.24), transparent 62%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 18px; }
.eyebrow::before { content: '—'; margin-right: 10px; color: var(--amber-deep); }
h1.display {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.7rem, 5.4vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 22px;
}
h1.display .warm { color: var(--amber-deep); font-style: italic; font-weight: 500; }
.lede { font-size: 1.18rem; color: var(--ink-soft); margin: 0 0 30px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fineprint { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.chip { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.chip .ok { color: #4f9d6b; margin-right: 6px; font-weight: 800; }

/* ---------- Phone mock ---------- */
.phone {
  justify-self: center;
  width: 300px; aspect-ratio: 300 / 610;
  background: linear-gradient(180deg, #fffaf3, #f3e8d8);
  border: 1px solid var(--line);
  border-radius: 40px; padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
}
.phone::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 6px; border-radius: 99px; background: var(--line); }
.screen { height: 100%; border-radius: 26px; background: var(--cream); padding: 30px 18px 18px; display: flex; flex-direction: column; }
.screen .app-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.screen .app-name { font-family: var(--serif); font-weight: 700; }
.screen .app-name b { color: var(--amber-deep); }
.screen .app-time { font-size: 0.75rem; color: var(--muted); }
.screen .app-sub { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 10px 0 12px; }
.play-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px; box-shadow: var(--shadow); margin-top: auto; margin-bottom: auto;
}
.play-card .klass { display: inline-block; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--terracotta); background: #f7e7dc; padding: 4px 10px; border-radius: 999px; }
.play-card .prompt { font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; margin: 14px 0 0; }
.play-card .meta { font-size: 0.72rem; color: var(--muted); margin-top: 14px; }
.screen .app-nav { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
.screen .app-nav span { font-size: 0.66rem; color: var(--muted); }
.screen .app-nav span.active { color: var(--amber-deep); font-weight: 700; }

/* ---------- Sections ---------- */
section.band { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 34em; margin: 0 0 40px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.01em; margin: 0 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps.flow { position: relative; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px 30px; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(44,38,34,0.05), 0 18px 44px rgba(44,38,34,0.11); }
.step .idx {
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.5rem;
  color: var(--amber-deep); line-height: 1; display: block; margin-bottom: 12px; letter-spacing: -0.01em;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.24rem; margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
/* Volley-Verbinder im Zwischenraum — die Karte fliegt hin und her (nur Desktop) */
.steps.flow .step:not(:last-child)::after {
  content: ''; position: absolute; right: -20px; top: 46px; width: 28px; height: 18px; z-index: 2;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='20' viewBox='0 0 30 20' fill='none' stroke='%23e0954a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 13C9 4 20 4 27 11'/%3E%3Cpath d='M22 6l6 5-7 4'/%3E%3C/svg%3E");
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(44,38,34,0.05), 0 18px 44px rgba(44,38,34,0.11); }
.feature-card .mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: #f7e7d6; color: var(--amber-deep); margin-bottom: 18px; }
.feature-card .mark svg { display: block; }
.feature-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; margin: 0 0 8px; }
.feature-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: linear-gradient(180deg, var(--cream), var(--cream-deep)); }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 14px; }
.cta-band p { color: var(--ink-soft); max-width: 32em; margin: 0 auto 26px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--cream-deep); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer .brand { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.site-footer .brand b { color: var(--amber-deep); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .legal-note { color: var(--muted); font-size: 0.85rem; margin-top: 28px; line-height: 1.7; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal .back { display: inline-block; font-size: 0.9rem; color: var(--terracotta); text-decoration: none; margin-bottom: 28px; font-weight: 600; }
.legal .back:hover { text-decoration: underline; }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.01em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 32px; }
.legal .intro { color: var(--ink-soft); }
.legal section { margin: 0 0 28px; }
.legal h2 { font-family: var(--serif); font-size: 1.3rem; margin: 32px 0 10px; }
.legal p { margin: 0 0 12px; color: var(--ink); }

/* ---------- Motion (gestaffelter Load) — respektiert „Bewegung reduzieren" ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy .eyebrow { animation-delay: 0.04s; }
  .hero-copy h1 { animation-delay: 0.12s; }
  .hero-copy .lede { animation-delay: 0.22s; }
  .hero-copy .hero-actions { animation-delay: 0.30s; }
  .hero-copy .fineprint { animation-delay: 0.36s; }
  .hero-copy .chips { animation-delay: 0.42s; }
  .phone { animation: fadeUp 0.9s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone { order: -1; width: 260px; }
  .steps, .features { grid-template-columns: 1fr; }
  .steps.flow .step:not(:last-child)::after { display: none; }
  .site-footer .cols { flex-direction: column; gap: 28px; }
}
