/* splyff.de – Startseite (DE und EN) */
:root {
  --bg: #FFFDFA;
  --ink: #2B1A17;
  --brown: #471511;
  --muted: #7A6E66;
  --taupe: #8F8379;
  --cream: #F8F4EE;
  --sand: #F1E9DE;
  --line: rgba(71, 21, 17, .09);
  --serif: Charter, "Charter BT", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { padding: 0 16px; overflow-x: clip; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 1  Text */
.hero { max-width: 680px; margin: 0 auto; padding: clamp(64px, 11vw, 128px) 0 0; text-align: center; }
.hero .icon { display: block; width: 84px; height: 84px; margin: 0 auto 30px; border-radius: 22.5%;
  box-shadow: 0 12px 32px -10px rgba(71, 21, 17, .28), 0 1px 2px rgba(71, 21, 17, .08); }
h1 { margin: 0; font-family: var(--serif); font-weight: 900; color: var(--brown);
  font-size: clamp(36px, 6.2vw, 64px); line-height: 1.08; letter-spacing: -.012em; }
h1 .h1-sub { display: block; margin-top: .14em; font-size: .56em; line-height: 1.15; letter-spacing: 0; }
.lead { margin: 20px auto 0; max-width: 28em; font-size: clamp(19px, 2.3vw, 23px); line-height: 1.4; color: var(--ink); }
.story { margin: 22px auto 0; max-width: 33em; font-size: 17px; line-height: 1.62; color: var(--muted); }
.store { display: inline-block; margin-top: 28px; font-size: 18px; font-weight: 600; color: var(--brown); text-decoration: none; }
.store:hover { text-decoration: underline; text-underline-offset: 3px; }
.store span { display: inline-block; margin-left: 3px; transition: transform .3s var(--ease); }
.store:hover span { transform: translateX(3px); }

/* 2  Drei iPhones */
.phones { display: grid; grid-template-columns: 1fr; gap: clamp(96px, 12vw, 144px);
  max-width: 340px; margin: clamp(72px, 10vw, 128px) auto 0; }
.phone { margin: 0; container-type: inline-size; }
/* ohne Gerät: nur der Bildschirm, frei schwebend */
.bezel { border-radius: 13.7cqw;
  box-shadow: 0 0 0 1px rgba(71, 21, 17, .05), 0 36px 64px -30px rgba(43, 26, 23, .34), 0 2px 10px rgba(43, 26, 23, .06); }
.screen { position: relative; aspect-ratio: 402 / 874; border-radius: 13.7cqw; overflow: hidden;
  background: var(--cream); transform: translateZ(0); }
.sb-island { display: none; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Handy: untereinander, etwas schmaler */
@media (max-width: 760px) {
  .phones { max-width: 270px; gap: 80px; }
}

/* Bildschirm in App-Punkten (402 × 874), per Skript auf die Breite skaliert */
.stage { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0;
  color: #181412; font-size: 15px; line-height: 1.2; }
.stage.still * { transition: none !important; }
.sb-time { position: absolute; left: 44px; top: 18px; width: 70px; text-align: center; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.sb-island { position: absolute; left: 139px; top: 11px; width: 124px; height: 36px; border-radius: 18px; background: #000; }
.sb-icons { position: absolute; right: 30px; top: 21px; display: flex; gap: 6px; align-items: center; fill: #181412; color: #181412; }
.hd { position: absolute; left: 24px; right: 24px; top: 62px; height: 44px; display: flex; align-items: center; gap: 10px; }
.hd-av { width: 44px; height: 44px; border-radius: 15px; background: #ECBAD8; color: #471511; display: grid; place-items: center;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 20px; }
.hd-t b { display: block; font-family: var(--serif); font-weight: 900; font-size: 21px; line-height: 1.05; letter-spacing: .01em; }
.hd-t span { font-size: 11.5px; color: rgba(24, 20, 18, .5); }
.hd-btn { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .07); fill: #181412; }
.plus { position: absolute; left: 26px; bottom: 44px; width: 56px; height: 56px; border-radius: 50%; background: #ECBAD8;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(71, 21, 17, .16); }
.wallet { position: absolute; right: 22px; bottom: 47px; height: 50px; padding: 0 18px 0 9px; border-radius: 25px; background: #fff;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.wallet i { width: 32px; height: 32px; border-radius: 9px; background: #ECBAD8; display: grid; place-items: center; }
.wallet b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wallet span { display: block; font-size: 10.5px; color: rgba(24, 20, 18, .5); }
.touch { position: absolute; left: 333px; top: 61px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(24, 20, 18, .16); opacity: 0; pointer-events: none; z-index: 40; }

/* Karten wie in der App (CardFace): Maße in App-Punkten, Kreise per Skript gesetzt */
.pages { position: absolute; left: 0; top: 0; width: 402px; height: 874px; will-change: transform; }
.page { position: absolute; left: 0; top: 0; width: 402px; height: 874px; }
.pc { position: absolute; border-radius: 24px; overflow: hidden; background: rgb(var(--bg)); color: #181412;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .13); will-change: transform, opacity; }
.pc.compact { border-radius: 18px; }
.pc-top { position: absolute; left: 20px; right: 20px; top: 19px; display: flex; gap: 6px; align-items: baseline;
  font-size: 19px; font-weight: 600; line-height: 1.2; z-index: 2; }
.compact .pc-top { left: 14px; right: 14px; top: 13px; font-size: 15px; }
.pc-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-ppl { margin-left: auto; display: flex; gap: 3px; align-items: center; font-size: 13px; font-weight: 700; opacity: .75;
  fill: currentColor; flex: none; }
.pc-ppl svg { width: 17px; height: 12px; }
.compact .pc-ppl { font-size: 11px; }
.compact .pc-ppl svg { width: 14px; height: 10px; }
.pc-amt { position: absolute; left: 20px; bottom: 17px; display: flex; align-items: baseline; gap: 1px;
  font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; z-index: 2; }
.compact .pc-amt { left: 14px; bottom: 11px; font-size: 28px; }
.cur { font-size: .5em; }
.eu { letter-spacing: -.03em; }
.ct { font-size: .34em; }
.pc-art { position: absolute; inset: 0; }
.pc-c { position: absolute; border-radius: 50%; background: rgb(var(--art)); color: rgb(var(--bg));
  display: grid; place-items: center; line-height: 1;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif; font-weight: 700; }

/* iPhone 3: neue Ausgabe (Nachbau des Screenshots) */
.ax { background: #C9C5C0; }
.ax .sb-time, .ax .sb-icons { z-index: 3; }
.ax-sheet { position: absolute; left: 0; right: 0; top: 57px; bottom: 0; background: #F7F3EE; border-radius: 40px 40px 0 0; }
.ax-btn { position: absolute; top: 75px; height: 40px; padding: 0 16px; border-radius: 20px; display: grid; place-items: center;
  font-size: 16px; font-weight: 500; color: #471511; }
.ax-cancel { left: 18px; background: #FBF9F6; box-shadow: inset 0 0 0 1px rgba(71, 21, 17, .1); }
.ax-add { right: 18px; background: #ECBAD8; box-shadow: inset 0 0 0 1px rgba(214, 120, 180, .5); font-weight: 600;
  transition: opacity .25s ease; }
.ax-add.off { opacity: .45; }
.ax-title { position: absolute; left: 140px; right: 140px; top: 85px; text-align: center; font-size: 16px; font-weight: 600; color: #181412; }
.ax-lbl { position: absolute; left: 37px; font-size: 15px; font-weight: 600; color: rgba(24, 20, 18, .42); }
.ax-none { position: absolute; right: 37px; top: 538px; font-size: 14px; font-weight: 600; color: #471511; }
.ax-box { position: absolute; left: 18px; right: 18px; background: #fff; border-radius: 24px; display: flex; gap: 8px;
  align-items: center; padding: 0 19px; }
.ax-chip { padding: 6px 11px 7px; border-radius: 12px; background: #F5F0EA; color: #471511; line-height: 1.2;
  transition: background .25s ease, transform .15s ease; }
.ax-chip.on { background: #E9E1DC; }
.ax-chip b { display: block; font-size: 14px; font-weight: 600; }
.ax-chip span { display: block; font-size: 11px; }
.ax-amtbox { display: block; padding: 0; }
.ax-amt { position: absolute; left: 19px; top: 14px; height: 42px; display: flex; align-items: center;
  font-size: 31px; font-weight: 600; color: #181412; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ax-ph { color: rgba(24, 20, 18, .22); }
.ax-cur { width: 2px; height: 32px; margin: 0 1px; background: #471511; border-radius: 1px; }
.ax-eur { position: absolute; right: 19px; top: 23px; width: 32px; padding-bottom: 8px; border-bottom: 1px solid rgba(24, 20, 18, .12);
  display: flex; gap: 4px; align-items: center; font-size: 19px; color: rgba(71, 21, 17, .45); }
.ax-what { position: absolute; left: 19px; top: 78px; font-size: 15px; color: rgba(24, 20, 18, .28); }
.ax-what.filled { color: #181412; }
.ax-av { position: absolute; top: 443px; width: 44px; text-align: center; }
.ax-av span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 18px; }
.ax-av.on span { box-shadow: 0 0 0 2.5px #F7F3EE, 0 0 0 4.5px #471511; }
.ax-av em { display: block; margin-top: 7px; font-style: normal; font-size: 11px; color: rgba(24, 20, 18, .42); }
.ax-av.on em { color: #181412; font-weight: 600; }
.ax-kb { position: absolute; left: 0; right: 0; top: 580px; bottom: 0; background: rgba(209, 211, 217, .96);
  border-radius: 30px 30px 0 0; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.ax-key { position: absolute; width: 126.5px; height: 45.5px; margin-top: -580px; border-radius: 8px; background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3); display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #181412; transition: background .08s; }
.ax-key b { font-size: 24px; font-weight: 400; line-height: 1; }
.ax-key i { margin-top: 1px; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; }
.ax-key.plain { background: transparent; box-shadow: none; }
.ax-key.plain b { font-size: 22px; }
.ax-key.down { background: #ABAFB8; }

/* 3  Web-Version */
.try { max-width: 600px; margin: clamp(96px, 13vw, 152px) auto 0; }
/* hell und frei schwebend wie die iPhones */
.demo { background: #FFFFFF; color: var(--brown); border-radius: 32px; padding: 36px;
  box-shadow: 0 0 0 1px rgba(71, 21, 17, .05), 0 36px 64px -30px rgba(43, 26, 23, .34), 0 2px 10px rgba(43, 26, 23, .06); }
.caption { margin: 18px 8px 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--taupe); }
.d-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.d-word { font-family: var(--serif); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.d-tag { margin-top: 5px; font-size: 13px; color: rgba(71, 21, 17, .6); }
.d-reset { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; color: rgba(71, 21, 17, .6); cursor: pointer; }
.d-reset:hover { color: var(--brown); }
.d-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.d-card { position: relative; height: 118px; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--c, #FFFDFA);
  color: var(--brown); text-align: left; font: inherit; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(43, 26, 23, .22);
  transition: box-shadow .3s ease, transform .3s var(--ease); }
.d-card:hover { transform: translateY(-1px); }
.d-card[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--brown), 0 8px 18px -10px rgba(71, 21, 17, .2); }
.d-card .nm { display: block; max-width: calc(100% - 48px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 15px; font-weight: 600; line-height: 1.3; }
.d-card .st { display: block; font-size: 12.5px; color: rgba(71, 21, 17, .72); }
.d-card .av { position: absolute; right: 12px; top: 12px; }
.d-card .amt { position: absolute; left: 14px; bottom: 11px; display: flex; align-items: baseline; gap: 1px;
  font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.d-noterow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.d-addp { flex: none; padding: 4px; border: 0; background: none; color: var(--brown); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.d-addp:hover { text-decoration: underline; text-underline-offset: 3px; }
.d-note { margin: 0 4px; min-height: 1.5em; font-size: 14px; line-height: 1.5; color: rgba(71, 21, 17, .7); }
.d-np { display: flex; gap: 8px; margin-top: 12px; }
.d-sec { margin-top: 36px; }
.d-lbl { margin: 0 4px 10px; font-size: 13px; font-weight: 600; color: rgba(71, 21, 17, .6); }
/* keine Kästen in Kästen: Abschnitte nur durch Abstand und feine Linien getrennt */
.d-box { padding: 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.d-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.d-row:first-child { border-top: 0; }
.d-row .tx { flex: 1; min-width: 0; }
.d-row .tx b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; font-weight: 600; }
.d-row .tx span { font-size: 13px; color: rgba(71, 21, 17, .6); }
.d-row .val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-empty { padding: 14px 0; color: rgba(71, 21, 17, .6); font-size: 15px; }
.d-x { flex: none; width: 32px; height: 32px; margin-right: -6px; border: 0; border-radius: 50%; background: none;
  color: rgba(71, 21, 17, .4); font-size: 21px; line-height: 1; cursor: pointer; }
.d-x:hover { background: rgba(71, 21, 17, .06); color: var(--brown); }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--a, var(--brown));
  display: grid; place-items: center; font-size: 15px; font-weight: 700; font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif; }
.av.on-card { width: 40px; height: 40px; background: var(--a); color: var(--c); font-size: 17px; }
.d-form { padding: 16px 4px 18px; }
.d-sub { margin: 0 2px 8px; font-size: 13px; color: rgba(71, 21, 17, .6); }
.d-sub + .d-in, .d-chips + .d-in { margin-top: 0; }
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.d-chip { padding: 8px 12px; border: 0; border-radius: 12px; background: #F7F2EB; color: var(--brown);
  text-align: left; font: inherit; cursor: pointer; transition: box-shadow .25s, background .25s; }
.d-chip b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.d-chip span { display: block; font-size: 12px; color: rgba(71, 21, 17, .6); }
.d-chip[aria-pressed="true"] { background: #EFE6DA; box-shadow: inset 0 0 0 1.5px var(--brown); }
.d-in { display: flex; gap: 10px; }
.d-in input, .d-np input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: 14px;
  background: #F7F2EB; color: var(--brown); font: inherit; font-size: 17px; -webkit-appearance: none; appearance: none; }
.d-in input::placeholder, .d-np input::placeholder { color: rgba(71, 21, 17, .4); }
.d-in input:focus, .d-np input:focus { outline: 2px solid rgba(71, 21, 17, .3); outline-offset: 0; }
.d-in .amt-in { flex: 0 0 112px; text-align: right; font-variant-numeric: tabular-nums; }
.d-pay { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.d-pay-wrap { margin-top: 16px; }
.d-p { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: none;
  color: rgba(71, 21, 17, .65); font: inherit; font-size: 12px; cursor: pointer; }
.d-p i { width: 44px; height: 44px; border-radius: 15px; background: var(--c); color: var(--a, var(--brown));
  display: grid; place-items: center; font-style: normal; font-size: 17px; font-weight: 600; transition: box-shadow .25s; }
.d-p[aria-pressed="true"] { color: var(--brown); font-weight: 600; }
.d-p[aria-pressed="true"] i { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--brown); }
.d-btn { width: 100%; height: 50px; margin-top: 18px; border: 0; border-radius: 25px; background: var(--brown); color: #F6EAD6;
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; transition: opacity .25s; }
.d-btn.sm { width: auto; height: 48px; margin: 0; padding: 0 20px; font-size: 15px; }
.d-btn:disabled { opacity: .3; cursor: default; }
.d-square { padding: 14px 0; font-size: 15px; }
.chg { animation: chg .45s ease; }
@keyframes chg { from { opacity: .25; } to { opacity: 1; } }
@media (max-width: 480px) {
  .demo { padding: 26px 18px; border-radius: 28px; }
  .d-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .d-card { height: 110px; }
  .d-card .amt { font-size: 26px; }
  .d-in .amt-in { flex-basis: 96px; }
}

/* Fuß */
.legal { margin: clamp(96px, 12vw, 140px) 0 0; padding: 0 16px 40px; text-align: center; font-size: 13px; }
.legal a { display: inline-block; margin: 0 9px; color: var(--taupe); text-decoration: none; }
.legal a:hover { color: var(--brown); }

@media (prefers-reduced-motion: reduce) {
  .d-card, .store span { transition: none !important; }
  .chg { animation: none; }
}
.nw { white-space: nowrap; }
