/* Organic, dieselben Tokens wie im Design-System der App. */
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Figtree:wght@400;600;700&display=swap');

:root {
  --bg: #f5ead8;
  --surface: #ebddc5;
  --text: #201e1d;
  --accent: #c67139;
  --accent-2: #7a8a5e;
  --divider: rgba(32, 30, 29, 0.16);

  --neutral-100: #f9f4ed;
  --neutral-200: #eee7db;
  --neutral-300: #dcd3c4;
  --neutral-500: #a19786;
  --neutral-600: #82796a;
  --neutral-700: #645c50;

  --accent-200: #ffe1d0;
  --accent-600: #b2622d;
  --accent-700: #8c491a;
  --accent-800: #643312;

  --accent-2-200: #e1eecc;
  --accent-2-700: #56633f;
  --accent-2-800: #3d472b;

  --font-heading: "Caprasimo", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;

  --radius: 28px;
  --shadow-sm: 0 1px 2px rgba(46, 43, 37, 0.14);
  --shadow-md: 0 3px 10px rgba(46, 43, 37, 0.16);
  --shadow-lg: 0 16px 44px rgba(46, 43, 37, 0.22);

  --wrap: 1160px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

a { color: var(--accent-700); text-underline-offset: 3px; }

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

/* Bildmarke und Lockup */
.mark { display: block; }
.mark svg { width: 100%; height: 100%; overflow: visible; }
.lockup { display: flex; align-items: center; gap: 16px; }
.lockup .mark { width: 60px; height: 60px; flex: none; }
.lockup .word { font-family: var(--font-heading); font-size: 38px; line-height: 0.9;
                letter-spacing: -0.02em; text-transform: uppercase; }
.lockup .sub { margin-top: 6px; font-size: 10.5px; font-weight: 600;
               letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.75; }
.lockup.small .mark { width: 32px; height: 32px; }
.lockup.small .word { font-size: 21px; }

/* Hero, zweispaltig */
.hero { background: var(--accent); color: var(--neutral-100); border-radius: 0 0 40px 40px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center;
  padding-top: 54px; padding-bottom: 54px;
}
.hero h1 { font-size: clamp(40px, 5vw, 62px); margin: 26px 0 14px; }
.hero .claim { font-size: clamp(17px, 1.6vw, 20px); color: rgba(249, 244, 237, 0.9);
               max-width: 26rem; margin: 0; }
.hero-shot { justify-self: center; }

/* Telefonrahmen */
.phone { background: var(--text); border-radius: 38px; padding: 7px;
         box-shadow: var(--shadow-lg); width: 250px; }
.phone img { display: block; width: 100%; border-radius: 31px; }
.phone.sm { width: 100%; max-width: 230px; border-radius: 34px; padding: 6px; }
.phone.sm img { border-radius: 28px; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 16px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px;
  background: var(--text); color: var(--neutral-100);
}
.btn.light { background: var(--neutral-100); color: var(--text); }
.btn .sub { font-family: var(--font-body); font-size: 11px; font-weight: 600;
            letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; display: block; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.soon { font-size: 13px; color: rgba(249, 244, 237, 0.75); }

/* Abschnitte. Selektor muss .wrap schlagen, das margin und padding setzt. */
main section.wrap { margin-top: 62px; }
.kicker { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
          text-transform: uppercase; color: var(--neutral-600); margin: 0 0 18px; }

/* Dreier-Raster */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border-radius: var(--radius); padding: 24px 26px; }
.tile .ico { width: 46px; height: 46px; border-radius: 999px; display: flex;
             align-items: center; justify-content: center; margin-bottom: 14px; }
.tile h3 { font-size: 22px; margin: 0 0 5px; }
.tile p { margin: 0; font-size: 14.5px; }
.tile.terracotta { background: var(--accent); color: var(--neutral-100); }
.tile.terracotta .ico { background: rgba(249, 244, 237, 0.2); }
.tile.sand { background: var(--surface); color: var(--text); }
.tile.sand .ico { background: var(--accent-200); color: var(--accent-600); }
.tile.sage { background: var(--accent-2); color: var(--neutral-100); }
.tile.sage .ico { background: rgba(249, 244, 237, 0.2); }

/* Screenshot-Reihe */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
         justify-items: center; }
.shot { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shot span { font-size: 13.5px; font-weight: 600; color: var(--neutral-700); }

/* Inhaltskarte (Datenschutz) */
.card { background: var(--neutral-100); border-radius: var(--radius);
        box-shadow: var(--shadow-sm); padding: 26px 30px; margin-bottom: 16px; }
.card h2 { font-size: 24px; }
.card h3 { font-size: 17px; margin: 20px 0 6px; }
.card p, .card ul { margin: 0 0 12px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 20px; }
.card li { margin-bottom: 5px; }
.meta { font-size: 13px; color: var(--neutral-600); }
.prose { max-width: 760px; }

footer { margin-top: 64px; padding: 30px 0 44px; border-top: 1px solid var(--divider); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer a { color: var(--neutral-700); font-size: 14px; }
footer .spacer { flex: 1; }
footer small { color: var(--neutral-600); font-size: 13px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; padding-bottom: 40px; }
  .hero-shot { justify-self: start; }
  .trio { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .phone { width: 220px; }
}

/* Opener, laeuft einmal pro Sitzung und deckt die Seite waehrenddessen ab.
   Abgespeckte Fassung der App-Animation: Korb zeichnet sich, Gesicht setzt
   sich, Wortmarke steigt hinter dem Korbrand hervor. */
#opener {
  position: fixed; inset: 0; z-index: 100;
  background: var(--accent);
  display: grid; place-items: center;
}
#opener.done { animation: opener-out .45s ease forwards; pointer-events: none; }
@keyframes opener-out { to { opacity: 0; visibility: hidden; } }

.opener-stage { width: min(66vw, 320px); }
.opener-word-clip { overflow: hidden; }
.opener-word {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(34px, 9vw, 58px); line-height: 1.05;
  text-transform: uppercase; letter-spacing: -.02em;
  color: var(--neutral-100); text-align: center;
  transform: translateY(115%);
  animation: opener-rise .55s cubic-bezier(.22,.8,.3,1) 1.05s forwards;
}
@keyframes opener-rise { to { transform: translateY(0); } }

.opener-basket { display: block; width: 100%; margin-top: 6px; }
.opener-basket path {
  stroke: var(--neutral-100); stroke-width: 7;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}
.opener-basket .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.opener-basket .body { animation: opener-draw .65s ease-in-out .2s forwards; }
.opener-basket .rim { animation: opener-draw .4s ease-in-out .05s forwards; }
.opener-basket .belt { animation: opener-draw .35s ease-in-out .6s forwards; }
.opener-basket .smile { stroke-width: 6; animation: opener-draw .3s ease-in-out 1s forwards; }
@keyframes opener-draw { to { stroke-dashoffset: 0; } }

.opener-basket .eye {
  fill: var(--neutral-100); stroke: none;
  transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: opener-pop .25s cubic-bezier(.34,1.56,.64,1) .9s forwards;
}
@keyframes opener-pop { to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) { #opener { display: none; } }
