/* Yasta – Website. Farben und Schriften wie in der App (mocks/Logo – Icons, Farben, Schrift). */

@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: light;
  --yellow: #FFD100;
  --pink: #F47BB8;
  --lilac: #A98BE0;
  --brown: #5B2E12;
  --ink: #17120C;
  --red: #EB3349;
  --cream: #FFF8DC;
  --paper: #FFFDF5;
  --display: "Anton", "Barlow Condensed", "Arial Narrow", sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 500 18px/1.55 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--yellow); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
  margin: 0;
}
.eyebrow {
  font-family: var(--label);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 0 0 12px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(44px, 7vw, 84px); }
.section-head p { font-size: 20px; margin: 18px 0 0; max-width: 600px; }

/* ---------- Kopfzeile ---------- */
.site-header { background: var(--yellow); position: relative; z-index: 10; }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); }
.nav a {
  font-family: var(--label); font-weight: 700; font-size: 18px; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
}
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.nav .nav-link[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 760px) { .nav .nav-link { display: none; } }

/* ---------- Mobiles Menü ---------- */
.menu-toggle, .menu-close {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px 0 12px; cursor: pointer;
  font-family: var(--label); font-weight: 900; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--yellow); background: var(--ink); border: var(--line); border-radius: 12px;
  box-shadow: 3px 3px 0 var(--brown); transition: transform .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.menu-toggle:active, .menu-close:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--brown); }
.menu-toggle { display: none; }
.burger { display: grid; gap: 4px; width: 20px; }
.burger i { display: block; height: 3px; border-radius: 3px; background: currentColor; }
.burger i:nth-child(2) { width: 70%; }
@media (max-width: 760px) {
  .has-menu .menu-toggle { display: inline-flex; }
  .nav { gap: 10px; }
  .lang summary { min-height: 44px; padding: 0 12px; }   /* gleiche Höhe wie der Menü-Schalter */
}

.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--yellow); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  flex-direction: column;
}
.menu[open] { display: flex; animation: menuIn .32s cubic-bezier(.2, .9, .3, 1.15); }
.menu::backdrop { background: var(--yellow); }
html:has(.menu[open]) { overflow: hidden; }
@media (min-width: 761px) { .menu[open] { display: none; } }

.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex: none; }
.menu-close { background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.menu-close:active { box-shadow: 1px 1px 0 var(--ink); }
.menu-close svg { width: 20px; height: 20px; }

.menu-nav { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
.menu-nav ol { list-style: none; margin: 0; padding: 0; border-bottom: var(--line); }
.menu-nav li { border-top: var(--line); opacity: 0; animation: menuRow .4s cubic-bezier(.2, .9, .3, 1.2) forwards; animation-delay: calc(.06s + var(--i) * .05s); }
.menu-nav a {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: background .15s, padding .15s;
}
.menu-text { flex: 1; min-width: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 12vw, 64px); line-height: .92; letter-spacing: -.005em; overflow-wrap: anywhere; }
.menu-num {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border: var(--line); border-radius: 12px;
  font: 900 19px/1 var(--label); background: var(--paper); box-shadow: 3px 3px 0 var(--ink);
}
.menu-nav li:nth-child(4n + 1) .menu-num { background: var(--pink); }
.menu-nav li:nth-child(4n + 2) .menu-num { background: var(--lilac); }
.menu-nav li:nth-child(4n + 3) .menu-num { background: var(--paper); }
.menu-nav li:nth-child(4n + 4) .menu-num { background: var(--red); color: var(--paper); }
.menu-nav a > svg { flex: none; width: 30px; height: 30px; transition: transform .15s; }
.menu-nav a:active, .menu-nav a:hover { background: var(--ink); color: var(--yellow); padding-left: 14px; padding-right: 14px; }
.menu-nav a:active .menu-num, .menu-nav a:hover .menu-num { color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.menu-nav a:hover > svg { transform: translateX(4px); }
.menu-nav a[aria-current] .menu-text { text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 6px; }
.menu-nav a:focus-visible { outline-offset: -3px; }

.menu-foot {
  flex: none; display: flex; align-items: flex-end; justify-content: flex-end;
  padding-top: 14px; padding-bottom: max(0px, env(safe-area-inset-bottom)); overflow: hidden;
}
.menu-foot .mascot { flex: none; width: 112px; height: auto; margin-bottom: -38px; transform: rotate(-6deg); }

@keyframes menuIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes menuRow { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer;
  font-family: var(--label); font-weight: 700; font-size: 17px; letter-spacing: .06em;
  border: var(--line); border-radius: 10px; padding: 4px 12px; background: var(--paper);
  display: flex; align-items: center; gap: 6px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 8px; height: 8px; border-right: 2.5px solid; border-bottom: 2.5px solid; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--paper); border: var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 170px;
}
.nav .lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font: 600 16px/1.3 var(--body); letter-spacing: 0; text-transform: none; }
.nav .lang li a:hover, .nav .lang li a[aria-current] { background: var(--yellow); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px); align-items: end;
  padding-top: clamp(28px, 5vw, 64px);
}
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li {
  font-family: var(--label); font-weight: 700; font-size: clamp(17px, 2vw, 22px);
  background: var(--brown); color: var(--paper); padding: 3px 12px 4px; border-radius: 9px;
}
.chips li.amp { background: none; color: var(--brown); padding: 0 2px; }
.hero h1 { font-size: clamp(54px, 6.6vw, 96px); }
.hero .lead {
  font-family: var(--label); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: .05em; text-transform: uppercase; margin: 20px 0 0; color: var(--brown);
}
.hero .intro { font-size: 20px; max-width: 520px; margin: 18px 0 0; }

.stores { display: flex; flex-wrap: wrap; gap: 18px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.store { position: relative; display: block; }
.store img { height: 54px; width: auto; filter: saturate(.92); }
a.store { border-radius: 10px; }
a.store img { transition: transform .15s ease; }
a.store:hover img { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { a.store img { transition: none; } a.store:hover img { transform: none; } }
.soon {
  position: absolute; top: -12px; right: -12px;
  font-family: var(--label); font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--pink); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 1px 10px 2px; transform: rotate(8deg); box-shadow: 2px 2px 0 var(--ink);
}
.store-note { margin: 16px 0 0; font-size: 16px; font-weight: 600; color: var(--brown); }

.hero-art { position: relative; align-self: end; min-height: 520px; }
.phone {
  position: relative; width: min(320px, 78%); margin-left: auto;
  border: 10px solid var(--ink); border-radius: 48px; overflow: hidden; background: var(--ink);
  box-shadow: 10px 10px 0 rgba(23, 18, 12, .9); aspect-ratio: 1206 / 2622;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero .phone { width: min(300px, 62%); transform: rotate(4deg) translateY(56px); margin-right: 2%; }
.hero .mascot {
  position: absolute; left: -2%; bottom: 0; width: clamp(160px, 17vw, 220px); height: auto; z-index: 2;
  cursor: pointer; touch-action: manipulation;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { min-height: 0; height: 430px; margin-top: 8px; }
  .hero .phone { width: 220px; margin-right: 6%; transform: rotate(4deg) translateY(40px); }
  .hero .mascot { left: 2%; width: 170px; }
}

/* Braunes Band wie im Hauptmotiv */
.band { background: var(--brown); color: var(--paper); position: relative; z-index: 3; }
.band ul { list-style: none; margin: 0; padding: 34px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.band strong { display: block; font-family: var(--label); font-weight: 900; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
.band span { display: block; margin-top: 6px; font-size: 17px; opacity: .92; }
@media (max-width: 760px) { .band ul { grid-template-columns: 1fr; } }

/* ---------- Funktionen ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px 28px;
}
.card h3 { font-family: var(--label); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; margin: 18px 0 10px; }
.card p { margin: 0; font-size: 17.5px; }
.icon {
  width: 58px; height: 58px; border: var(--line); border-radius: 14px; display: grid; place-items: center;
  background: var(--yellow);
}
.icon svg { width: 30px; height: 30px; }
.c-pink .icon { background: var(--pink); }
.c-lilac .icon { background: var(--lilac); }
.c-red .icon { background: var(--red); }
.c-brown .icon { background: var(--brown); color: var(--paper); }

/* ---------- Screenshots ---------- */
.screens { background: var(--lilac); }
.screens .eyebrow { color: var(--ink); }
.shots {
  display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 28px; margin: 0 calc(var(--gutter) * -1); list-style: none;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.shots li { scroll-snap-align: center; flex: 0 0 auto; width: clamp(210px, 20vw, 245px); }
@media (min-width: 1100px) { .shots { justify-content: space-between; margin: 0; padding-left: 6px; padding-right: 10px; scrollbar-width: none; } }
.shots .phone { width: 100%; margin: 0; border-width: 8px; border-radius: 40px; box-shadow: 8px 8px 0 var(--ink); }
.shots li:nth-child(even) .phone { transform: rotate(1.5deg); }
.shots li:nth-child(odd) .phone { transform: rotate(-1.5deg); }
.shots p { margin: 22px 4px 0; font-family: var(--label); font-weight: 700; font-size: 21px; line-height: 1.15; text-transform: uppercase; }
.shots p span { display: block; font-family: var(--body); text-transform: none; font-weight: 500; font-size: 16px; margin-top: 4px; }

/* ---------- Gehört nur dir (Datenschutz-Abschnitt) ---------- */
.own { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.own .eyebrow { color: var(--yellow); }
.own h2 { font-size: clamp(48px, 6vw, 88px); color: var(--paper); }
.own .section-head { margin-bottom: 0; }
.own .section-head p { font-size: 21px; opacity: .92; }
.own-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .own-top { grid-template-columns: 1fr; } }

.own-diagram { margin: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) 92px minmax(0, 1fr); align-items: center; }
@media (max-width: 560px) { .own-diagram { grid-template-columns: 1fr; } }
.device, .vault { position: relative; border-radius: 28px; padding: 40px 18px 18px; }
.device { border: 4px solid var(--yellow); background: rgba(255, 209, 0, .07); }
.vault { border: 3px dashed rgba(255, 253, 245, .45); background: rgba(255, 253, 245, .04); }
.device-tag {
  position: absolute; top: -16px; left: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--label); font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); border-radius: 9px; padding: 4px 10px;
}
.vault .device-tag { background: var(--paper); }
.device-tag svg { width: 18px; height: 18px; }
.device-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.device-items li {
  display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink);
  border-radius: 12px; padding: 12px 14px; font-family: var(--label); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .02em;
}
.device-items svg { width: 22px; height: 22px; flex: none; }
.device-key { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 9px 12px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.device-key svg { width: 22px; height: 22px; flex: none; }
.wire { height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 253, 245, .55) 0 8px, transparent 8px 14px); position: relative; }
.wire span { position: absolute; left: 0; right: 0; top: 12px; text-align: center; line-height: 1.15; font-family: var(--label); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
@media (max-width: 560px) {
  .wire { width: 4px; height: 56px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(255, 253, 245, .55) 0 8px, transparent 8px 14px); }
  .wire span { left: 14px; right: auto; top: 50%; transform: translateY(-50%); white-space: nowrap; text-align: left; }
}
.cipher {
  margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 19px; line-height: 1.5;
  color: var(--pink); word-break: break-all; letter-spacing: .04em; min-height: 4.5em;
}
.vault-note { margin: 12px 0 0; font-size: 15.5px; line-height: 1.35; opacity: .92; }
.vault-note strong { color: var(--yellow); display: block; font-family: var(--label); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }

.pillars { list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1040px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.pillars li { border-top: 3px solid var(--yellow); padding-top: 22px; }
.pillars .icon { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.pillars h3 { font-family: var(--label); font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; margin: 18px 0 10px; color: var(--paper); }
.pillars p { margin: 0; font-size: 17px; opacity: .9; }

.cloud-callout {
  margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start;
  background: var(--pink); color: var(--ink); border-radius: var(--radius); padding: 26px 28px; box-shadow: 6px 6px 0 var(--yellow);
}
.cloud-callout .icon { background: var(--paper); }
.cloud-callout h3 { font-family: var(--label); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; margin: 4px 0 8px; }
.cloud-callout p { margin: 0; font-size: 18px; max-width: 820px; }
@media (max-width: 600px) { .cloud-callout { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; } }

.ledger { margin: 28px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; } }
.ledger > div { border-radius: var(--radius); padding: 22px 24px; }
.ledger-in { background: rgba(255, 253, 245, .06); border: 2px solid rgba(255, 253, 245, .25); }
.ledger-out { background: var(--paper); color: var(--ink); }
.ledger h3 { font-family: var(--label); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px; }
.ledger-in h3 { color: var(--yellow); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ledger li { position: relative; padding-left: 30px; font-size: 16.5px; }
.ledger-in li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.ledger-out li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 6px; background: var(--red)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFDF5' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.own-android { margin: 22px 0 0; font-weight: 600; opacity: .85; }
.button.yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.own .button:hover { box-shadow: 4px 4px 0 var(--pink); }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  font-family: var(--label); font-weight: 900; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--yellow); border: var(--line); border-radius: 12px;
  transition: transform .15s, box-shadow .15s;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button.light { background: var(--paper); color: var(--ink); }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }
.plan { display: flex; flex-direction: column; }
.plan .tag { align-self: flex-start; font-family: var(--label); font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 8px; border: 2.5px solid var(--ink); }
.plan:nth-child(1) .tag { background: var(--yellow); }
.plan:nth-child(2) .tag { background: var(--pink); }
.plan:nth-child(3) .tag { background: var(--lilac); }
.plan .price { font-family: var(--display); font-weight: 900; font-size: 54px; line-height: 1; margin: 18px 0 2px; }
.plan .period { font-weight: 600; color: var(--brown); font-size: 16px; min-height: 2.6em; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 9px; }
.plan li { padding-left: 26px; position: relative; font-size: 16.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.fineprint { margin: 28px 0 0; font-size: 15.5px; color: var(--brown); max-width: 760px; }

/* ---------- Abschluss ---------- */
.outro { background: var(--yellow); overflow: hidden; }
.outro .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 5vw, 64px); align-items: end; padding-top: clamp(48px, 7vw, 80px); }
.outro .mascot { width: clamp(150px, 18vw, 220px); height: auto; }
.outro-copy { padding-bottom: clamp(48px, 7vw, 80px); }
.outro h2 { font-size: clamp(46px, 7vw, 92px); }
.outro .stores { margin-top: 26px; }
@media (max-width: 700px) { .outro .wrap { grid-template-columns: 1fr; } .outro .mascot { order: 2; margin: 0 auto; width: 150px; } .outro-copy { padding-bottom: 0; } }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 40px; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer img { height: 44px; width: auto; }
.site-footer h2 { font-family: var(--label); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .tagline { margin: 16px 0 0; max-width: 360px; opacity: .85; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 253, 245, .2); padding-top: 22px; margin-top: 8px; opacity: .7; font-size: 14.5px; }

/* ---------- Rechtstexte ---------- */
.legal-hero { background: var(--yellow); padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-bottom: var(--line); }
.legal-hero.t-ios { background: var(--pink); }
.legal-hero.t-android { background: var(--lilac); }
.legal-hero.t-imprint { background: var(--paper); }
.legal-hero.t-faq { background: var(--yellow); }
.legal-hero h1 { font-size: clamp(44px, 7.4vw, 96px); }
.legal-hero .meta { margin: 16px 0 0; font-weight: 600; color: var(--brown); }
.legal-hero.t-ios .meta, .legal-hero.t-android .meta { color: var(--ink); }
.legal-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.legal-switch a { display: inline-block; padding: 6px 14px; border: var(--line); border-radius: 10px; background: var(--paper); text-decoration: none; font-family: var(--label); font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.legal-switch a[aria-current] { background: var(--ink); color: var(--yellow); }

.legal-body .wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: 96px; }
@media (max-width: 900px) { .legal-body .wrap { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 24px; align-self: start; font-size: 15.5px; }
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 { font-family: var(--label); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0 0 0 1.3em; display: grid; gap: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.prose { max-width: 760px; font-size: 17.5px; }
.prose h2 { font-family: var(--label); font-weight: 900; font-size: 32px; line-height: 1.05; text-transform: uppercase; margin: 52px 0 14px; scroll-margin-top: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--label); font-weight: 700; font-size: 23px; text-transform: uppercase; letter-spacing: .02em; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 4px 0; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .summary { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px 10px; margin-bottom: 36px; }
.prose .summary h2 { margin-top: 0; font-size: 26px; }
.prose .note { background: var(--paper); border-left: 6px solid var(--lilac); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 18px; border: var(--line); border-radius: 14px; background: var(--paper); }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1.5px solid rgba(23, 18, 12, .25); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-family: var(--label); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; background: var(--yellow); }
.prose address { font-style: normal; }
/* ---------- FAQ ---------- */
.legal-hero.t-faq .lead { margin: 14px 0 0; max-width: 620px; font-size: clamp(18px, 2vw, 21px); font-weight: 600; }
.faq-chips ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.faq-chips a { display: inline-block; padding: 7px 14px; border: var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-family: var(--label); font-weight: 700; font-size: 16.5px; letter-spacing: .04em; text-transform: uppercase; transition: transform .12s, box-shadow .12s; }
.faq-chips a:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 640px) {
  .faq-chips ul { flex-wrap: nowrap; overflow-x: auto; margin: 22px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .faq-chips ul::-webkit-scrollbar { display: none; }
  .faq-chips li { flex: none; }
  .faq-chips a { font-size: 15px; padding: 6px 12px; white-space: nowrap; }
}
.faq-body .wrap { padding-top: clamp(32px, 5vw, 60px); padding-bottom: 96px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq-group { margin: 0 0 clamp(40px, 6vw, 64px); scroll-margin-top: 16px; }
.prose .faq-group h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: clamp(28px, 4vw, 38px); scroll-margin-top: 16px; }
.faq-num { flex: none; display: inline-grid; place-items: center; width: 50px; height: 50px; border: var(--line); border-radius: 14px; background: var(--yellow); font-size: 22px; letter-spacing: 0; box-shadow: 3px 3px 0 var(--ink); }
.faq-group.c1 .faq-num { background: var(--pink); }
.faq-group.c2 .faq-num { background: var(--lilac); }
.faq-group.c3 .faq-num { background: var(--paper); }
.faq-group > p { margin: -6px 0 16px; color: var(--brown); font-weight: 600; }
.faq-item { background: var(--paper); border: var(--line); border-radius: 16px; margin: 0 0 12px; scroll-margin-top: 16px; transition: box-shadow .15s, transform .15s; }
.faq-item:hover { box-shadow: 3px 3px 0 var(--ink); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 22px; font-weight: 700; font-size: 18.5px; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 2.5px solid var(--ink); border-radius: 50%; font: 900 22px/1 var(--label); transition: transform .2s, background .2s; }
.faq-item[open] summary::after { content: "–"; background: var(--yellow); }
.faq-item summary:focus-visible { outline-offset: -4px; border-radius: 14px; }
.faq-a { padding: 0 22px 8px; border-top: 2px dashed rgba(23, 18, 12, .25); padding-top: 14px; margin: 0 4px; font-size: 17px; }
.faq-a > :last-child { margin-bottom: 12px; }
.prose .faq-a .table-wrap { border-width: 2.5px; }
.prose .faq-a .note { background: var(--cream); }
.faq-contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 28px; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); margin-top: 8px; }
.prose .faq-contact h2 { color: var(--yellow); margin: 0 0 6px; font-size: clamp(28px, 4vw, 36px); }
.faq-contact p { margin: 0; }
.faq-contact .btn-mail { display: inline-block; padding: 12px 20px; border: 3px solid var(--yellow); border-radius: 12px; background: var(--yellow); color: var(--ink); text-decoration: none; font-family: var(--label); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.faq-contact .btn-mail:hover { background: transparent; color: var(--yellow); }
@media (max-width: 640px) { .faq-contact { grid-template-columns: 1fr; } .faq-item summary { padding-left: 16px; font-size: 17.5px; } .faq-a { padding: 12px 14px 6px; } }
.faq > .meta { margin: 28px 0 0; font-size: 15px; color: var(--brown); font-weight: 600; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 14px; }
.plan-grid > div { border: 2.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; background: var(--cream); font-size: 15.5px; }
.plan-grid > div:nth-child(2) { background: #FFF1A8; }
.plan-grid > div:nth-child(3) { background: #F4E9FF; }
.plan-grid strong { display: block; font-family: var(--label); font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.plan-grid .price { display: block; color: var(--brown); font-weight: 600; margin-bottom: 6px; }
.prose .plan-grid ul { margin: 0; padding-left: 1.1em; }
.prose .plan-grid li { margin: 3px 0; }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }

mark.todo { background: #FFE58A; outline: 2px dashed var(--red); padding: 0 4px; border-radius: 4px; }

/* ---------- Maskottchen ---------- */
.mascot .ink { stroke: var(--ink); }
.mascot .fill-paper { fill: var(--paper); }
.m-move, .m-leg, .m-wave-l, .m-wave-r, .m-blink { transform-box: view-box; }
.m-move { transform-origin: 108px 282px; animation: yBob 3.2s ease-in-out infinite; }
.m-leg { transform-origin: 112px 156px; animation: yTap 2.4s ease-in-out infinite; }
.m-blink { transform-box: fill-box; transform-origin: 50% 50%; animation: yBlink 4.2s linear infinite; }
.m-lid, .m-low { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.m-low { transform: translateY(10px); }
.m-arms-happy, .m-mouth-happy { opacity: 0; }
.m-mouth-happy { transition: opacity .25s; }
.m-wave-l { transform-origin: 64px 100px; animation: yWave .6s ease-in-out infinite; }
.m-wave-r { transform-origin: 158px 104px; animation: yWave .6s ease-in-out -.3s infinite; }

.mascot[data-mood="happy"] .m-move { animation: yBounce .8s ease-in-out infinite; }
.mascot[data-mood="happy"] .m-leg { animation-duration: .8s; }
.mascot[data-mood="happy"] .m-lid { transform: translateY(-11px); }
.mascot[data-mood="happy"] .m-low { transform: translateY(0); }
.mascot[data-mood="happy"] .m-arms-bored { opacity: 0; }
.mascot[data-mood="happy"] .m-arms-happy, .mascot[data-mood="happy"] .m-mouth-happy { opacity: 1; }

@keyframes yBob { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.5deg); } }
@keyframes yTap { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-5deg); } }
@keyframes yWave { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes yBlink { 0%, 93%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.1); } }
@keyframes yBounce { 0%, 100% { transform: translateY(0) scaleY(1); } 40% { transform: translateY(-16px) scaleY(1.03); } 80% { transform: translateY(0) scaleY(.97); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot *, .button { animation: none !important; transition: none !important; }
  .menu[open], .menu-nav li { animation: none !important; opacity: 1; }
}
