/* Gemeinsame Gestaltung für angebot.html, onboarding.html, impressum.html, datenschutz.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #17112B; --ink-2: #463F5E; --ink-3: #676081;
  --paper: #FAF7F2; --paper-2: #F1ECE4; --line: #E4DDD2; --white: #fff;
  --lime: #D4F26A; --lime-2: #BFE24A; --violet: #6C4DFF; --violet-text: #5536E0;
  --coral: #FF5A36; --rose: #FF8FB1; --peach: #FFC6A5;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 24px 60px -24px rgba(23,17,43,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 1.0625rem; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; z-index: 2000; }
.skip:focus { left: 12px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-variation-settings: "opsz" 144; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-text); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font-weight: 800; font-size: 1rem; padding: 16px 26px; border-radius: 999px; white-space: nowrap; transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 14px 34px -12px rgba(191,226,74,.8); }
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(191,226,74,.95); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(23,17,43,.7); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(250,247,242,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-big { font-size: 1.12rem; padding: 20px 32px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark { width: 40px; height: 40px; border-radius: 13px; background: var(--lime); color: var(--ink); display: grid; place-items: center; transform: rotate(-6deg); transition: transform .5s var(--spring); flex: none; }
.logo-mark svg { width: 22px; height: 22px; }
.logo:hover .logo-mark { transform: rotate(8deg) scale(1.05); }
.logo-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; color: var(--paper); }
.nav.scrolled, .nav.solid { background: rgba(23,17,43,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a:not(.btn) { color: var(--paper); text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; }
.nav-links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--lime); }
.nav-links .btn { padding: 11px 20px; font-size: .92rem; }

/* Dark band with blobs */
.dark { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; }
.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; opacity: .5; animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } 100% { transform: translate(-30px,30px) scale(.95); } }

/* Page header for sub pages */
.page-head { padding: 140px 0 70px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: 16px; }
.page-head p { color: rgba(250,247,242,.85); margin-top: 14px; max-width: 60ch; font-size: 1.1rem; }
.page-head .eyebrow { color: var(--lime); }

/* Legal pages */
.legal { padding: 70px 0 40px; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; line-height: 1.8; }
.ph { background: #FFF3B0; color: #5A4500; border-radius: 6px; padding: 1px 6px; font-weight: 700; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .92em; white-space: nowrap; }
.draft { display: flex; gap: 16px; align-items: flex-start; background: #FFF1EA; border: 2px solid var(--coral); color: #7A1F08; border-radius: 20px; padding: 20px 22px; font-weight: 600; margin-bottom: 40px; }
.draft strong { display: block; font-size: 1.1rem; font-weight: 800; }
.draft svg { width: 28px; height: 28px; flex: none; margin-top: 2px; }
.todo { background: var(--paper-2); border-left: 4px solid var(--violet); padding: 12px 16px; border-radius: 0 12px 12px 0; font-size: .95rem; margin: 12px 0; color: var(--ink-2); }

/* Footer */
.site-foot { background: var(--ink); color: rgba(250,247,242,.8); padding: 56px 0 36px; margin-top: 100px; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--paper); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.foot-links a { color: var(--paper); font-weight: 600; text-underline-offset: 4px; }
.foot-small { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(250,247,242,.12); font-size: .85rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (max-width: 860px) {
  .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav-inner { height: 66px; }
  .page-head { padding: 110px 0 50px; }
  .legal { padding-top: 44px; }
  .site-foot { margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
