:root {
  --orange: #f26b1d;
  --orange-dark: #d4560c;
  --cream: #fff7ef;
  --ink: #2b1d14;
  --muted: #6e5a4c;
  --line: #f1dccb;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--orange-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; }
.paw { width: 30px; height: 30px; fill: var(--orange); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--orange); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--cream) 0%, #ffe6d2 100%); padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--orange-dark); font-weight: 700; letter-spacing: .04em; margin: 0 0 8px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; margin: 0 0 20px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: .9rem; margin-top: 16px; }

.btn { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border: 2px solid var(--orange); color: var(--orange-dark); }

/* Phone mockup */
.phone { position: relative; height: 420px; display: flex; justify-content: center; }
.card {
  position: absolute; width: 270px; height: 390px;
  background: #fff; border-radius: 26px;
  box-shadow: 0 24px 60px rgba(150, 70, 20, .25);
  overflow: hidden; transform: rotate(4deg);
  animation: sway 5s ease-in-out infinite;
}
.card-back { transform: rotate(-6deg) translateX(-20px); background: #ffd2b3; animation: none; box-shadow: none; }
.card-photo { height: 250px; background: linear-gradient(135deg, #f7934c, var(--orange)); display: grid; place-items: center; }
.card-photo svg { width: 60%; }
.card-body { padding: 14px 18px 0; display: flex; flex-direction: column; }
.card-body span { color: var(--muted); font-size: .9rem; }
.card-actions { display: flex; justify-content: center; gap: 28px; padding: 14px; }
.round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.pass { color: #9b8b80; background: #fff; }
.like { color: #fff; background: var(--orange); }
@keyframes sway { 0%,100% { transform: rotate(4deg); } 50% { transform: rotate(-1deg) translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .card { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--cream); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 32px; }
h3 { margin: 8px 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.split > div > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; }
.checks li { padding-left: 30px; position: relative; margin: 10px 0; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.stat-box { background: var(--orange); color: #fff; border-radius: var(--radius); padding: 36px; }
.split > .stat-box p { color: #fff; }
.stat-box .stat { font-size: 2.2rem; font-weight: 800; margin: 0; line-height: 1.1; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tile p { color: var(--muted); }
.tile a { font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: var(--muted); }

/* Mobile */
@media (max-width: 820px) {
  .nav { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .phone { height: 400px; }
  .steps, .tiles { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* Motto */
.tagline { font-size: .75rem; font-weight: 700; color: #fff; background: var(--orange); padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; }
.motto { display: inline-block; margin: 0 0 18px; padding: 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 420px) { .tagline { display: none; } }

/* Legal pages */
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 24px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p { color: var(--muted); }
mark.todo { background: #fff3a8; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Team */
.section-lead { color: var(--muted); margin: -16px 0 32px; font-size: 1.05rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.avatar { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #ffd2b3, #f7934c); display: grid; place-items: center; margin-bottom: 18px; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-paw { width: 40%; fill: #fff; opacity: .9; }
.member h3 { margin: 0; font-size: 1.25rem; }
.member .role { color: var(--orange-dark); font-weight: 700; margin: 2px 0 10px; }
.member p { color: var(--muted); margin: 0; }
.member .role + p { margin-top: 0; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } .avatar { aspect-ratio: 1 / 1; } }

/* Beta bar */
.beta-bar { background: var(--ink); color: #fff; text-align: center; font-size: .9rem; padding: 10px 16px; line-height: 1.4; }
.beta-bar a { color: #ffb27d; font-weight: 700; }
.note a { font-weight: 700; }

.member-mail { margin-top: .5rem; font-weight: 700; }
.member-mail a { color: inherit; }

/* Interaktiver Kartenstapel (Startseite) */
.deck { user-select: none; }
.deck .deck-card { animation: none; transform-origin: 50% 0%; height: 380px; top: 22px; width: 280px; }
.phone.deck { height: 490px; }
.deck .card-body strong { font-size: 1.1rem; }
.deck .card-photo { height: 280px; background: #f3e2d4; position: relative; display: block; overflow: hidden; }
.deck .card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.deck .card-body { padding: 12px 18px; }
.deck-actions { position: absolute; bottom: 0; left: 0; right: 0; z-index: 50; }
.stamp { position: absolute; top: 22px; padding: 4px 12px; border: 3px solid; border-radius: 8px; font-weight: 800; letter-spacing: .08em; font-size: 1.3rem; opacity: 0; transition: opacity .15s; background: rgba(255,255,255,.75); z-index: 2; }
.stamp-like { left: 18px; color: #2e9e5b; transform: rotate(-14deg); }
.stamp-nope { right: 18px; color: #d9534f; transform: rotate(14deg); }
.show-like .stamp-like, .show-nope .stamp-nope { opacity: 1; }
.story-photo { margin: 24px auto 32px; max-width: 420px; }
.story-photo img { width: 100%; height: auto; border-radius: 22px; display: block; box-shadow: 0 18px 40px rgba(150,70,20,.18); }
.story-photo figcaption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 8px; }
.friend-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.friend-inner img { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 24px 60px rgba(150,70,20,.2); display: block; }
.friend h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; margin: 0 0 16px; }
@media (max-width: 800px) { .friend-inner { grid-template-columns: 1fr; gap: 24px; } }
