/* Ivrimo – Webseite
   Richtung: Reiseheft aus Israel. Warmes Papier wie Negev-Sand, tiefe Tinte, Israel-Blau (Tchelet)
   als einzige Akzentfarbe, Upa-Orange nur für Upa und kleine Funken. Überschriften in einer
   Serifenschrift aus dem System (New York auf Apple-Geräten), keine Web-Fonts: nichts wird von
   fremden Servern geladen. Bewegung: Auftritt des Hero beim Laden, ruhige Hover-Antworten,
   kleine Schleifen in den Funktionskarten. Kein JavaScript (CSP: script-src 'none'). */

:root {
  --bg: #f5efe4;
  --surface: #ece4d5;
  --card: #fffaf2;
  --ink: #1b1611;
  --ink2: #483e35;
  --line: #ddd1bd;
  --blue: #0038b8;
  --blue-soft: #dfe6f6;
  --btn-bg: #0038b8;
  --btn-ink: #ffffff;
  --btn-hover: #002b8f;
  --orange: #e2731f;
  --night: #0c1733;
  --night-ink: #f1ebe0;
  --night-ink2: #b9c0d3;
  --night-line: #26345a;
  --r: 22px;
  --r-s: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --serif: ui-serif, "New York", "Iowan Old Style", "Charter", Georgia, Cambria, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --he: "SF Hebrew", "Arial Hebrew", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
  --he-display: "New Peninim MT", "Taamey Frank CLM", "Frank Ruhl Libre", "Times New Roman", serif;
  --pad: clamp(88px, 11vh, 132px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12100d;
    --surface: #1b1814;
    --card: #211d18;
    --ink: #f1ebe0;
    --ink2: #b3a898;
    --line: #362f27;
    --blue: #8fb0ff;
    --blue-soft: #1b2440;
    --btn-bg: #8fb0ff;
    --btn-ink: #0c1733;
    --btn-hover: #adc5ff;
    --orange: #f59a4c;
    --night: #0a1129;
    --night-line: #222e52;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[lang="he"] { font-family: var(--he); unicode-bidi: isolate; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .15s var(--ease); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.022em; line-height: 1.06; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.08rem; font-weight: 650; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 99; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: var(--bg); font-family: var(--he-display); font-size: 1.35rem; line-height: 1; padding-top: 2px; }
.top nav { display: flex; align-items: center; gap: 2px; }
.top nav a { position: relative; color: var(--ink2); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 12px 12px; transition: color .15s var(--ease); }
.top nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .15s var(--ease); }
.top nav a:hover { color: var(--ink); }
.top nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top nav a[aria-current="page"] { color: var(--ink); }
.top nav a[aria-current="page"]::after { transform: scaleX(1); height: 2px; }
.top nav a.lang { margin-left: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); transition: background .15s var(--ease), border-color .15s var(--ease); }
.top nav a.lang::after { display: none; }
.top nav a.lang:hover { background: var(--card); border-color: var(--ink2); }

/* Buttons: ein Stil, gefüllt und als Umriss */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease); }
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .09s; }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn.ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.cta-row.center { justify-content: center; }
.fine { color: var(--ink2); font-size: .9rem; }

/* Hero */
.hero { min-height: calc(100svh - 68px); display: flex; align-items: center; padding: 48px 0 56px; position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px 6px 12px; font-weight: 600; font-size: .86rem; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fa57d; box-shadow: 0 0 0 4px color-mix(in srgb, #2fa57d 22%, transparent); }
.hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 4.8vw, 4.3rem); }
.hl { font-style: italic; color: var(--blue); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink2); max-width: 34em; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.hero-disc { position: absolute; width: min(520px, 96%); aspect-ratio: 1; border-radius: 50%; background: var(--surface); }
.hero-disc::after { content: "א"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--he-display); font-size: 30rem; line-height: 1; color: color-mix(in srgb, var(--blue) 10%, transparent); padding-bottom: 40px; }
.hero-art .upa { position: absolute; width: 132px; left: calc(50% - 250px); bottom: 34px; transform: scaleX(-1); }

/* Auftritt beim Laden, einmal */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
.hero .pill { animation: rise .7s var(--ease-enter) both; }
.hero h1 { animation: rise .8s .08s var(--ease-enter) both; }
.hero .lede { animation: rise .8s .2s var(--ease-enter) both; }
.hero .cta-row, .hero .fine { animation: rise .8s .3s var(--ease-enter) both; }
.hero-art .phone { animation: settle 1.1s .15s var(--ease-enter) both; }
.hero-disc { animation: rise 1.2s var(--ease-enter) both; }
.hero-art .bubble { animation: rise .7s .75s var(--ease-enter) both; }
.hero-art .upa { animation: rise .7s .6s var(--ease-enter) both; }

/* Telefon: die echte App-Oberfläche als HTML */
.phone { position: relative; width: 300px; border-radius: 52px; padding: 11px; background: #15110d; box-shadow: 0 0 0 1px #3a3027 inset, 0 2px 0 1px #00000010, 0 40px 80px -24px rgba(40, 24, 8, .45), 0 18px 36px -18px rgba(40, 24, 8, .35); }
.screen { background: #fff6ec; color: #2b1d16; border-radius: 42px; padding: 14px 16px 22px; min-height: 560px; overflow: hidden; }
.mock-status { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; font-weight: 650; padding: 2px 10px 0; height: 26px; }
.mock-island { width: 92px; height: 26px; border-radius: 999px; background: #15110d; }
.mock-sig { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid #2b1d16; position: relative; }
.mock-sig::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #2b1d16; border-radius: 1px; }
.mock-top { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: #6b5548; margin-top: 16px; }
.mock-bar { flex: 1; height: 10px; background: #f1dcc8; border-radius: 6px; overflow: hidden; }
.mock-bar i { display: block; width: 40%; height: 100%; background: #2fb58a; border-radius: 6px; }
.mock-eyebrow { margin: 20px 0 10px; font-weight: 800; color: #c72b61; font-size: .88rem; }
.mock-card { display: grid; justify-items: center; background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 4px 0 #f1dcc8; }
.mock-letter { font-size: 5.6rem; line-height: 1.1; font-weight: 700; }
.mock-sound { color: #6b5548; }
.mock-name { font-weight: 800; font-size: 1.3rem; }
.mock-tip, .mock-ex { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 18px; padding: 12px; margin-top: 12px; font-size: .8rem; line-height: 1.35; }
.mock-tip b, .mock-ex b { font-size: .68rem; color: #b35a00; letter-spacing: .05em; }
.mock-tip p, .mock-ex p { margin: 2px 0 0; }
.mock-ic { font-size: 1.6rem; }
.mock-ex { justify-content: space-between; }
.mock-ex span { font-size: 1.8rem; font-weight: 700; }

/* Upa */
.upa { width: 110px; height: auto; }
.upa-body { transform-origin: 60px 110px; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg) translateY(-2px); } }

.bubble { position: absolute; left: calc(50% - 236px); bottom: 196px; margin: 0; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 9px 15px; font-weight: 650; box-shadow: 0 12px 28px -12px rgba(40, 24, 8, .3); white-space: nowrap; z-index: 2; }
.bubble [lang="he"] { color: var(--blue); margin-left: 4px; }

/* Abschnitte */
.sec { padding: var(--pad) 0; }
.tint { background: var(--surface); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { margin: 0; max-width: 14ch; }
.sec-head .sec-lede { margin: 0; }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: -8px; }
.sec-lede { font-size: 1.1rem; line-height: 1.6; color: var(--ink2); max-width: 40em; margin-bottom: 32px; }
.center .sec-lede { margin-left: auto; margin-right: auto; }
.feats, .path, .plans, .alpha-sample, .stops { list-style: none; padding: 0; margin: 0; }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.stat { padding: 26px 24px 24px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.stat span { display: block; color: var(--ink2); font-size: .95rem; line-height: 1.4; max-width: 18ch; }

/* Funktionskarten mit kleinen Bildern */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 26px; }
.feat h3, .feat p { padding: 0 12px; }
.feat h3 { margin-top: 22px; }
.feat p { color: var(--ink2); margin: 0; font-size: .97rem; }
.fv { position: relative; height: 150px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; gap: 16px; overflow: hidden; }
.fv-alef [lang="he"] { font-family: var(--he-display); font-size: 5.2rem; line-height: 1; color: var(--blue); }
.fv-arrow { color: var(--ink2); font-size: 1.4rem; }
.fv-ox { font-size: 3rem; }
.fv-bars { display: flex; align-items: center; gap: 4px; height: 64px; }
.fv-bars i { display: block; width: 5px; height: 100%; border-radius: 3px; background: var(--blue); transform-origin: center; animation: eq 3.2s ease-in-out infinite; }
.fv-bars i:nth-child(3n) { animation-delay: -.4s; } .fv-bars i:nth-child(3n+1) { animation-delay: -1.1s; } .fv-bars i:nth-child(4n) { animation-delay: -1.9s; } .fv-bars i:nth-child(5n) { animation-delay: -2.5s; }
.fv-bars i:nth-child(odd) { opacity: .75; }
@keyframes eq { 0%, 100% { transform: scaleY(.22); } 25% { transform: scaleY(.9); } 50% { transform: scaleY(.45); } 75% { transform: scaleY(1); } }
.fv-chip { position: absolute; right: 14px; top: 14px; font-size: .78rem; font-weight: 650; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.fv-nikud { display: grid; place-items: center; }
.fv-w { grid-area: 1 / 1; font-size: 3.4rem; font-weight: 600; line-height: 1; }
.fv-w1 { animation: fadeA 6s ease-in-out infinite; }
.fv-w2 { animation: fadeB 6s ease-in-out infinite; color: var(--blue); }
@keyframes fadeA { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeB { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.fv-chat { flex-direction: column; align-items: stretch; padding: 0 22px; gap: 10px; }
.fv-b { font-size: 1.15rem; font-weight: 600; padding: 7px 14px; border-radius: 16px; max-width: 70%; }
.fv-b1 { align-self: flex-end; background: var(--card); border: 1px solid var(--line); border-bottom-right-radius: 4px; }
.fv-b2 { align-self: flex-start; background: var(--blue); color: var(--bg); border-bottom-left-radius: 4px; animation: pop 3.2s var(--ease-enter) infinite; }
@keyframes pop { 0%, 20% { opacity: 0; transform: translateY(6px); } 32%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fv-mic { gap: 20px; }
.fv-dot { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 1.7rem; z-index: 1; }
.fv-ring { display: none; }
.fv-dot::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--blue); animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.fv-say { font-size: 2.4rem; font-weight: 600; }
.fv-route { flex-direction: column; gap: 0; padding: 0 28px; align-items: stretch; }
.fv-line { position: relative; display: block; height: 2px; background: repeating-linear-gradient(90deg, var(--ink2) 0 6px, transparent 6px 12px); opacity: .55; margin: 0 6px; }
.fv-line::before, .fv-line::after { content: ""; position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.fv-line::before { left: -7px; } .fv-line::after { right: -7px; background: var(--orange); }
.fv-line i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 22%, transparent); animation: travel2 3.6s var(--ease) infinite; }
@keyframes travel2 { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
.fv-stop { position: absolute; bottom: 36px; font-size: .8rem; font-weight: 650; color: var(--ink2); }
.fv-stop:first-of-type { left: 22px; } .fv-stop:last-of-type { right: 22px; }

/* Reise durch Israel: dunkles Band, Stationen wählen, Foto wechselt (ohne Skript) */
.trip { background: var(--night); color: var(--night-ink); }
.trip h2 { color: var(--night-ink); }
.trip .sec-lede { color: var(--night-ink2); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; margin: 0 0 10px; }
.trip .eyebrow { color: #a9c0ff; }
.stops { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; padding-top: 8px; }
.stops::before { content: ""; position: absolute; left: 8px; right: calc(20% - 8px); top: 15px; height: 2px; background: repeating-linear-gradient(90deg, var(--night-line) 0 8px, transparent 8px 16px); }
.stops li { position: relative; padding: 40px 24px 0 0; }
.stops li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid #a9c0ff; }
.stops li:first-child::before { background: #a9c0ff; }
.stops li:last-child::before { background: var(--orange); border-color: var(--orange); }
.stop-n { display: block; font-variant-numeric: tabular-nums; font-size: .82rem; letter-spacing: .06em; color: var(--night-ink2); margin-bottom: 10px; }
.stop-name { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; letter-spacing: -.015em; color: var(--night-ink); }
.stop-he { display: block; font-size: 1.15rem; color: #a9c0ff; margin: 6px 0 14px; text-align: left; }
.stop-cap { font-size: .95rem; line-height: 1.5; color: var(--night-ink2); margin: 0; max-width: 22ch; }
.flag { display: inline-block; width: 40px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 56, 184, .18), 0 3px 8px rgba(0, 40, 120, .12); vertical-align: middle; }
.flag.mini { width: 20px; border-radius: 2px; margin-left: 4px; vertical-align: -2px; }
.flag.wave { transform-origin: left center; animation: wave 2.8s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-3deg) scaleX(.97); } }

/* Lernweg A1–B2 als Zeitleiste */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line); }
.path li { position: relative; padding: 0 22px 0 0; }
.lvl { position: relative; display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--ink); font-weight: 650; font-size: .88rem; margin-bottom: 26px; }
.path li:first-child .lvl { background: var(--blue); border-color: var(--blue); color: var(--bg); }
.path h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -.01em; line-height: 1.2; }
.path p { color: var(--ink2); font-size: .96rem; margin: 0; }

/* Alphabet-Auszug */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { max-width: 13ch; }
.alpha-sample { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; direction: rtl; }
.alpha-sample li { direction: ltr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 16px 18px; text-align: center; transition: transform .18s var(--ease), border-color .18s var(--ease); }
.sl { display: block; font-family: var(--he-display); font-size: 4rem; line-height: 1.1; color: var(--blue); margin-bottom: 8px; }
.sn { display: block; font-weight: 650; }
.ss { display: block; color: var(--ink2); font-size: .9rem; }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 22px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 30px 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1rem; color: var(--ink2); font-weight: 600; margin-bottom: 18px; }
.amount { font-family: var(--serif); font-size: 3.2rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 0 0 18px; }
.plan p:last-child { color: var(--ink2); margin: 0; }
.plan.best { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan.best h3, .plan.best p:last-child { color: color-mix(in srgb, var(--bg) 72%, transparent); }

/* Fragen */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.faq-grid h2 { max-width: 9ch; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary h3 { margin: 0; font-size: 1.08rem; font-weight: 600; transition: color .15s var(--ease); }
.faq summary:hover h3 { color: var(--blue); }
.ans { padding: 0 48px 22px 0; color: var(--ink2); }
.ans p:last-child { margin-bottom: 0; }

/* Bald im App Store + Fußzeile auf einem Grund */
.soon { background: var(--night); color: var(--night-ink); padding-bottom: 80px; }
.soon h2 { color: var(--night-ink); font-size: clamp(2.4rem, 5vw, 4rem); }
.soon .sec-lede { color: var(--night-ink2); }
.soon .mail { color: var(--night-ink); font-weight: 500; }
.soon .mail a { color: #a9c0ff; }
.soon .upa { width: 140px; margin-bottom: 12px; }
.upa-flag { position: relative; display: inline-block; padding-right: 64px; }
.upa-flag .pole { position: absolute; right: 60px; bottom: 14px; width: 4px; height: 132px; border-radius: 2px; background: #c9a27f; }
.upa-flag .flag.big { position: absolute; right: 2px; bottom: 102px; width: 60px; border-radius: 3px; }
body:has(.soon) .foot { background: var(--night); color: var(--night-ink2); border-top-color: var(--night-line); }
body:has(.soon) .foot .brand { color: var(--night-ink); }
body:has(.soon) .foot nav a { color: var(--night-ink2); }
body:has(.soon) .foot nav a:hover { color: var(--night-ink); }
body:has(.soon) .foot .credit a { color: inherit; }

.foot { border-top: 1px solid var(--line); padding: 44px 0 48px; color: var(--ink2); font-size: .93rem; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.foot .brand { font-size: 1.2rem; margin-bottom: 6px; }
.foot .brand-mark { width: 28px; height: 28px; font-size: 1.1rem; border-radius: 8px; }
.foot-id p:last-child { margin: 0; max-width: 46ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { color: var(--ink2); text-decoration: none; padding: 10px 0; position: relative; }
.foot nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .15s var(--ease); }
.foot nav a:hover { color: var(--ink); }
.foot nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.copy { grid-column: 1 / -1; margin: 0; font-size: .86rem; }
.credit { grid-column: 1 / -1; margin: 0; font-size: .76rem; line-height: 1.5; opacity: .85; }
.credit a { color: inherit; }

/* Ratgeber und Rechtstexte */
.doc { padding: 0 0 var(--pad); }
.doc-head { padding: 64px 0 56px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.doc-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.doc-head .lede { max-width: 40em; }
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; align-items: start; }
.doc-body { max-width: 780px; }
.doc h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.2em; }
.doc-body > h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 1.6em; }
.doc li { margin-bottom: .4em; }
.crumbs { font-size: .9rem; color: var(--ink2); margin-bottom: 28px; }
.crumbs a { color: var(--ink2); }
.byline { font-size: .9rem; color: var(--ink2); margin: 0; }
.toc { position: sticky; top: 96px; font-size: .93rem; }
.toc p { font-weight: 650; margin: 0 0 12px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink2); text-decoration: none; line-height: 1.35; transition: color .15s var(--ease), border-color .15s var(--ease); }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.tw { overflow-x: auto; margin: 22px 0 10px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--card); }
table.alpha { width: 100%; border-collapse: collapse; font-size: .96rem; }
.alpha th, .alpha td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.alpha th { background: var(--surface); font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); }
.alpha tr:last-child td { border-bottom: 0; }
.alpha tbody tr { transition: background .15s var(--ease); }
.alpha tbody tr:hover { background: color-mix(in srgb, var(--blue) 5%, transparent); }
.alpha td.L { font-family: var(--he-display); font-size: 2.2rem; color: var(--blue); text-align: center; width: 76px; line-height: 1.2; }
.alpha td.fin [lang="he"] { font-family: var(--he-display); font-size: 1.6rem; }
.hw { font-size: 1.25rem; font-weight: 600; }
.doc [lang="he"] { font-size: 1.12em; }
.cta-box { display: flex; gap: 28px; align-items: center; background: var(--night); color: var(--night-ink); border-radius: var(--r); padding: 36px 40px; margin-top: 64px; }
.cta-box h2 { margin: 0 0 .3em; color: var(--night-ink); }
.cta-box p { color: var(--night-ink2); }
.cta-box .upa { flex: none; }
.legal .wrap { padding-top: 64px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.5rem; }

/* Hover nur bei Maus */
@media (hover: hover) and (pointer: fine) {
  .alpha-sample li:hover { transform: translateY(-2px); border-color: var(--ink2); }
}

/* Tablet */
@media (max-width: 1023px) {
  .wrap { padding: 0 32px; }
  .hero { min-height: 0; padding: 56px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { max-width: 15ch; }
  .hero-art { min-height: 560px; }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 18px; margin-bottom: 40px; }
  .sec-head h2 { max-width: 18ch; }
  .feats { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stops { grid-template-columns: 1fr; padding: 0; gap: 32px; }
  .stops::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--night-line) 0 8px, transparent 8px 16px); }
  .stops li { padding: 0 0 0 44px; }
  .stop-cap { max-width: 40ch; }
  .path { grid-template-columns: 1fr; gap: 28px; }
  .path::before { left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .path li { display: grid; grid-template-columns: 64px 1fr; padding: 0; }
  .path .lvl { grid-row: span 2; justify-self: start; }
  .split, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid h2 { max-width: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .doc-grid { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 48px; }
}

/* Handy */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top-in { height: 60px; }
  .hide-s { display: none; }
  .hero { padding: 36px 0 56px; }
  .pill { margin-bottom: 20px; }
  .lede { font-size: 1.1rem; }
  .cta-row .btn { width: 100%; }
  .hero-art { min-height: 520px; }
  .hero-disc { width: 340px; }
  .hero-disc::after { font-size: 20rem; }
  .phone { width: 262px; border-radius: 46px; }
  .screen { min-height: 500px; border-radius: 36px; }
  .hero-art .upa { width: 92px; left: 0; bottom: 12px; }
  .bubble { display: none; }
  .feats { grid-template-columns: 1fr; }
  .stat { padding: 20px 12px 18px 0; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat b { font-size: 2.1rem; }
  .stop-name { font-size: 1.4rem; }
  .plan { padding: 26px; }
  .faq summary { padding-right: 36px; }
  .ans { padding-right: 0; }
  .doc-head { padding: 40px 0 40px; margin-bottom: 40px; }
  .cta-box { flex-direction: column; text-align: center; padding: 32px 24px; }
  .foot-in { grid-template-columns: 1fr; }
  .alpha th, .alpha td { padding: 8px 10px; }
}

/* Buchstabentabelle auf dem Handy als Karten */
@media (max-width: 640px) {
  .tw { overflow: visible; }
  table.alpha thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.alpha, .alpha tbody { display: block; }
  .alpha tr { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .alpha tr:last-child { border-bottom: 0; }
  .alpha td { display: block; padding: 2px 0; border: 0; grid-column: 2; }
  .alpha td.L { grid-column: 1; grid-row: 1 / span 4; width: auto; align-self: center; font-size: 2.5rem; }
  .alpha td.fin { order: 9; }
  .alpha td.fin.none { display: none; }
  .alpha td.fin::before { content: "Endform: "; color: var(--ink2); font-size: .85rem; font-family: var(--sans); }
  html[lang="en"] .alpha td.fin::before { content: "Final form: "; }
  .alpha td.num::before { content: "Zahlenwert: "; color: var(--ink2); font-size: .85rem; }
  html[lang="en"] .alpha td.num::before { content: "Number value: "; }
  .alpha td.hook { color: var(--ink2); font-size: .92rem; padding-top: 6px; }
  .alpha td.hook::before { content: "Eselsbrücke: "; font-weight: 650; }
  html[lang="en"] .alpha td.hook::before { content: "Memory hook: "; }
}

/* Weniger Bewegung: alles steht, nichts bleibt versteckt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .fv-w2 { opacity: 0; }
  .fv-dot::before { opacity: .4; }
}
