/* Johannes · Rent2Rent Live-Webinar – Funnel (Figma „[D] Johannes“ → Hi-fi)
   Farben: Braun #5b3d2e, Creme #faf6f1 / #f4ede2, Sand #d4bca4, Knappheit #b20000
   Schriften: Source Serif 4 (Headlines), Outfit (Text), Inter (Labels) */

:root {
  --brown: #5b3d2e;
  --brown-2: #7a5644;
  --sand: #d4bca4;
  --cream: #faf6f1;
  --cream-2: #f4ede2;
  --ink: #101010;
  --muted: #5d5650;
  --line: #e8ded3;
  --red: #b20000;
  /* Akzent: dunkles Blattgrün (CTAs, Icons, Nummern, Highlights) */
  --green: #2f5d38;
  --green-dark: #1e3f25;
  --green-light: #5d9a5f;
  --font-head: 'Source Serif 4', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 18px 40px -24px rgba(91, 61, 46, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sec { position: relative; padding: 96px 0; }
.center { text-align: center; }

/* ── Typo ── */
.h1, .h2 { font-family: var(--font-body); font-weight: 400; letter-spacing: -0.02em; color: #000; }
.h1 { font-size: 52px; line-height: 1.22; }
.h2 { font-size: 44px; line-height: 1.25; }
/* Highlight: kursives Serif in Sand-Box mit Eckpunkten (wie Figma) */
.hl { position: relative; display: inline-block; padding: 0 .18em; margin: 0 .08em; font-family: var(--font-head); font-style: italic; font-weight: 600; background: rgba(212, 188, 164, .45); border-left: 1.5px solid var(--green); border-right: 1.5px solid var(--green); }
/* Zweiter Akzent (wie bei Vilius): kursive Serif in Blattgrün – sparsam neben dem Marker-Stil .hl */
.acc { font-family: var(--font-head); font-style: italic; font-weight: 600; color: var(--green); letter-spacing: -0.01em; }
.lc-feature .acc { color: #bfe3b5; }
.hl::before, .hl::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hl::before { left: -3.5px; top: -3px; }
.hl::after { right: -3.5px; bottom: -3px; }
.lead { max-width: 720px; margin: 20px auto 0; font-size: 20px; line-height: 1.5; color: #000; }

/* ── Badge (Pill mit Icon-Kreis) ── */
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 100px; background: #fff; border: 1px solid rgba(0, 0, 0, .12); font-size: 16px; font-weight: 500; }
.badge i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-light), var(--green) 55%, var(--green-dark)); box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3px rgba(255, 255, 255, .45); }
.badge svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-head .h2 { margin-top: 20px; }

/* ── Button ── */
/* Grüner Verlaufs-Button mit Glanz, der beim Hover (und alle paar Sekunden) drüberläuft */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 59px; padding: 0 34px; border-radius: 100px; background: linear-gradient(135deg, #6aa86a 0%, var(--green) 45%, var(--green-dark) 100%); color: #fff; font-family: var(--font-body); font-size: 18px; font-weight: 500; text-decoration: none; text-shadow: 0 1px 1px rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 2px var(--green-dark), inset 0 0 0 3px rgba(255, 255, 255, .3), inset 0 10px 18px -10px rgba(255, 255, 255, .45), 0 16px 32px -14px rgba(30, 63, 37, .85); transition: transform .2s var(--ease), filter .2s, box-shadow .2s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 62%); transform: translateX(-120%); animation: btn-sheen 4.5s var(--ease) infinite; }
@keyframes btn-sheen { 0%, 62% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.1) saturate(1.05); box-shadow: inset 0 0 0 2px var(--green-dark), inset 0 0 0 3px rgba(255, 255, 255, .35), inset 0 10px 18px -10px rgba(255, 255, 255, .5), 0 20px 38px -14px rgba(30, 63, 37, .9); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn-block { width: 100%; }

/* Knappheit unter dem Button: Karte mit pulsierendem Balken (Werte in funnel.js → SLOTS) */
.slots { width: 100%; max-width: 340px; margin: 14px auto 0; padding: 12px 14px 13px; border-radius: 16px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(178, 0, 0, .12); box-shadow: 0 10px 26px -16px rgba(178, 0, 0, .45); text-align: left; }
.slots-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--red); }
.slots-top > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.slots-num { color: #8a817a; font-size: 12px; }
.slots-num b { color: var(--ink); }
.slots-bar { position: relative; height: 8px; margin-top: 9px; border-radius: 100px; background: #f3e9e6; overflow: visible; }
.slots-bar i { position: relative; display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff7a6b, #e0261f 55%, #b20000); background-size: 200% 100%; transition: width 1.4s var(--ease); animation: slots-pulse 1.8s ease-in-out infinite, slots-flow 3s linear infinite; }
/* Lichtlauf im Balken */
.slots-bar i::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .7) 50%, transparent 100%); background-size: 40% 100%; background-repeat: no-repeat; animation: slots-shine 2.2s ease-in-out infinite; }
/* leuchtender Punkt am Ende des Balkens */
.slots-bar i::after { content: ''; position: absolute; right: -4px; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateY(-50%); background: #fff; border: 3px solid #e0261f; animation: slots-dot 1.8s ease-in-out infinite; }
@keyframes slots-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 38, 31, .0); } 50% { box-shadow: 0 0 12px 2px rgba(224, 38, 31, .45); } }
@keyframes slots-flow { to { background-position: -200% 0; } }
@keyframes slots-shine { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
@keyframes slots-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 38, 31, .5); } 50% { box-shadow: 0 0 0 7px rgba(224, 38, 31, 0); } }
.form-card .slots { max-width: none; margin-top: 14px; }
.dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: rgba(178, 0, 0, .12); display: grid; place-items: center; flex: none; }
.dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px rgba(178, 0, 0, .7); }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(178, 0, 0, .45); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* ── Header / Hero ── */
.hero { position: relative; overflow: hidden; padding: 32px 0 80px; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
/* Desktop: Skizzen von Häusern und Palmen links/rechts + Dünen unten (wie im Figma). Handy blendet das aus (s. u.). */
.hero-bg { position: absolute; inset: 0; background: url('img/hero-sketch.jpg') 50% 100% / max(100%, 1600px) auto no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(42% 60% at 50% 48%, rgba(250, 246, 241, .75), rgba(250, 246, 241, 0) 100%); }
.hero .wrap { position: relative; }
.logo { position: relative; z-index: 4; display: block; width: fit-content; margin: 0 auto; font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: .14em; color: var(--brown); text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; }
.stage { position: relative; width: 760px; max-width: 100%; height: 430px; margin: 22px auto 0; }
/* iPhone im Hero: Sperrbildschirm mit Airbnb-Benachrichtigungen */
.phone { position: absolute; left: 50%; bottom: -70px; z-index: 1; width: 330px; height: 500px; padding: 9px; border-radius: 48px; transform: translateX(-50%) rotate(-2deg); background: linear-gradient(145deg, #3b3b3d, #111 40%, #2a2a2c); box-shadow: inset 0 0 0 1.5px #5a5a5e, 0 40px 70px -30px rgba(40, 25, 15, .55); }
/* unten weich in den Hintergrund auslaufen (Verlauf statt Maske – Maske + Unschärfe rendert Chrome blass) */
.phone::after { content: ''; position: absolute; left: -20px; right: -20px; bottom: -2px; height: 150px; background: linear-gradient(180deg, rgba(247, 241, 233, 0), #f6efe6 85%); pointer-events: none; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(20, 12, 8, .12), rgba(20, 12, 8, .28)), url('img/phone-wallpaper.jpg') 50% 30% / cover; }
.phone-island { position: absolute; left: 50%; top: 9px; width: 76px; height: 22px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0 26px; font: 600 12px var(--font-ui); }
.phone-icons { display: flex; gap: 3px; align-items: flex-end; }
.phone-icons i { width: 3px; border-radius: 1px; background: #fff; }
.phone-icons i:nth-child(1) { height: 5px; } .phone-icons i:nth-child(2) { height: 7px; } .phone-icons i:nth-child(3) { height: 9px; }
.phone-date { margin-top: 22px; text-align: center; font: 500 13px var(--font-ui); opacity: .9; }
.phone-time { text-align: center; font: 600 70px/1 var(--font-ui); letter-spacing: -0.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.phone-notes { position: absolute; left: 10px; right: 10px; top: 150px; display: flex; flex-direction: column; gap: 6px; }
.note-ios { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 9px 10px; border-radius: 16px; background: rgba(252, 249, 245, .94); color: #1c1c1e; text-align: left; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); animation: note-in .55s var(--ease) both; }
.note-ios.out { animation: note-out .4s var(--ease) both; }
.phone-notes .note-ios { position: absolute; left: 0; right: 0; top: 0; z-index: 3; transform-origin: 50% 100%; transition: top .45s var(--ease), scale .45s var(--ease), opacity .45s; }
.phone-notes .note-ios:nth-child(2) { z-index: 2; top: 11px; scale: .94; opacity: .92; }
.phone-notes .note-ios:nth-child(3) { z-index: 1; top: 22px; scale: .88; opacity: .8; }
.phone-notes .note-ios:nth-child(n+2) > * { visibility: hidden; }
.phone-notes .note-ios:first-child { background: rgba(252, 249, 245, .97); }
.phone-notes .note-ios:nth-child(n+4) { z-index: 0; top: 22px; scale: .84; opacity: 0; }
@keyframes note-in { from { transform: translateY(-18px) scale(.94); } } /* ohne Opacity: Karte ist immer sichtbar */
@keyframes note-out { to { opacity: 0; transform: translateY(8px) scale(.96); } }
.note-ios .app { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: #ff385c; }
.note-ios .app svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note-ios .top { display: flex; justify-content: space-between; font: 500 10px var(--font-ui); color: rgba(28, 28, 30, .6); text-transform: uppercase; letter-spacing: .02em; }
.note-ios b { display: block; margin-top: 1px; font: 600 13px/1.25 var(--font-ui); }
.note-ios span.txt { display: block; font: 400 12.5px/1.3 var(--font-ui); }
.note-ios em { white-space: nowrap; font-style: normal; font-weight: 600; color: #1a7f37; }

.live { position: relative; z-index: 5; display: inline-flex; align-items: center; gap: 10px; margin-top: -18px; padding: 6px 16px 6px 8px; border-radius: 100px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); font-family: var(--font-ui); font-size: 14px; font-weight: 500; box-shadow: 0 8px 22px -10px rgba(178, 0, 0, .35); }
.hero .h1 { position: relative; z-index: 5; max-width: 880px; margin: 24px auto 0; }
.hero .lead, .hero .cta { position: relative; z-index: 5; }
.hero .lead { margin-top: 16px; }
.cta { display: flex; flex-direction: column; align-items: center; margin-top: 32px; }

/* ── Karten ── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.lcard { position: relative; padding: 24px; border-radius: 24px; background: var(--cream); border: 1px solid rgba(0, 0, 0, .1); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.lcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lcard .num { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-light), var(--green) 55%, var(--green-dark)); color: #fff; font-size: 20px; font-weight: 500; }
.lcard img { width: 285px; max-width: 90%; aspect-ratio: 285 / 260; object-fit: contain; margin: 0 auto; }
.lcard h3 { margin-top: 18px; font-size: 24px; line-height: 1.3; font-weight: 500; }
.lcard p { margin-top: 10px; color: var(--muted); }

/* Vorher / Nachher */
.ba-box { padding: 60px; border-radius: 24px; background: linear-gradient(180deg, var(--cream-2), #fff); border: 1px solid rgba(0, 0, 0, .08); }
.ba { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-top: 56px; }
.ba-img { position: relative; aspect-ratio: 546 / 362; border-radius: 24px; overflow: hidden; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ba-img:hover img { transform: scale(1.04); }
.ba-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 45%); }
.chip { position: absolute; z-index: 1; padding: 8px 14px; border-radius: 8px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(12px); color: #fff; font-size: 15px; font-weight: 500; }
.chip.top { left: 20px; top: 20px; }
.chip.bot { left: 20px; bottom: 20px; }
.chip.green { color: #3bff1d; border-color: #22fa00; }
.ba-arrow { width: 56px; margin: 0 auto; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }

/* Testimonials */
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.tcard { padding: 12px; border-radius: 24px; background: var(--cream); border: 1px solid rgba(0, 0, 0, .1); }
.tvid { position: relative; display: block; width: 100%; aspect-ratio: 572 / 300; border-radius: 16px; overflow: hidden; background: #2a201b center / cover no-repeat; }
.tvid::after { content: ''; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%235b3d2e'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.tvid:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.tvid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tcard h3 { margin: 16px 8px 0; font-size: 22px; line-height: 1.3; font-weight: 500; }
.tcard p { margin: 6px 8px 8px; color: var(--muted); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.bcard { padding: 28px; border-radius: 24px; background: var(--cream); border: 1px solid rgba(0, 0, 0, .08); }
.bcard i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-light), var(--green) 55%, var(--green-dark)); }
.bcard i svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bcard h3 { margin-top: 24px; font-size: 18px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.bcard p { margin-top: 8px; color: var(--muted); }

/* ── Opt-in ── */
.optin { overflow: hidden; }
.optin-bg { position: absolute; left: 50%; bottom: 0; width: 1512px; max-width: none; transform: translateX(-50%); opacity: .9; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent); pointer-events: none; }
.countdown { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.cd-box { min-width: 86px; padding: 12px 8px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cd-box b { display: block; font-family: var(--font-head); font-size: 38px; line-height: 1; font-weight: 600; color: var(--brown); font-variant-numeric: tabular-nums; color: var(--green); }
.cd-box small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.form-outer { position: relative; z-index: 1; width: 508px; max-width: 100%; margin: 40px auto 0; padding: 4px; border-radius: 24px; background: linear-gradient(160deg, var(--green-light), var(--green) 45%, var(--sand)); box-shadow: 0 40px 80px -40px rgba(91, 61, 46, .7); }
.form-card { padding: 24px; border-radius: 21px; background: #fff; text-align: center; }
.progress { display: flex; align-items: center; gap: 10px; height: 31px; padding-right: 12px; border-radius: 100px; background: var(--cream-2); border: 1px solid var(--sand); }
.progress .track { flex: 1; height: 100%; border-radius: 100px; overflow: hidden; }
.progress .fill { width: 0; height: 100%; border-radius: 100px; position: relative; overflow: hidden; background: repeating-linear-gradient(115deg, var(--green) 0 16px, var(--green-light) 16px 32px); transition: width 1.1s var(--ease); -webkit-mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .3)); mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .3)); }
.progress .fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); background-size: 200% 100%; animation: shine 2.6s linear infinite; }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.progress b { font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: #573b2c; }
.form-card h3 { margin-top: 24px; font-size: 32px; line-height: 1.25; font-weight: 500; }
.form-card .sub { margin: 12px auto 0; max-width: 380px; color: var(--muted); }
.field { margin-top: 18px; text-align: left; }
.field label { display: block; margin-bottom: 8px; font-size: 16px; }
.input { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); font: 15px var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.input:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(47, 93, 56, .14); }
.input.is-error { border-color: var(--red); background: #fff6f6; }
.err { display: none; margin-top: 6px; font-size: 13px; color: var(--red); }
.input.is-error + .err { display: block; }
.form-card .btn { margin-top: 24px; }
.legal { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #8a817a; }

/* Popup */
.popup { margin: auto; border: 0; padding: 0; background: none; width: 508px; max-width: calc(100vw - 24px); overflow: visible; }
.popup::backdrop { background: rgba(30, 20, 14, .6); backdrop-filter: blur(6px); }
.popup[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.popup .form-outer { margin: 0; }
.popup .close { position: absolute; right: 0; top: -46px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); font-size: 22px; line-height: 1; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }

/* Sticky-CTA unten: schwebt mit pulsierendem Verlaufs-Glow (Handy volle Breite, Desktop mittig) */
.sticky { position: fixed; left: 50%; bottom: 16px; z-index: 40; width: min(420px, calc(100% - 24px)); transform: translate(-50%, 160%); transition: transform .45s var(--ease); text-align: center; }
.sticky.on { transform: translate(-50%, 0); }
.sticky-glow { position: relative; border-radius: 100px; }
.sticky-glow::before { content: ''; position: absolute; inset: -6px; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, #8fd18a, #2f5d38, #c9e7a7, #1e3f25, #8fd18a); background-size: 300% 100%; filter: blur(14px); opacity: .85; animation: glow-move 4s linear infinite, glow-pulse 2s ease-in-out infinite; }
@keyframes glow-move { to { background-position: -300% 0; } }
@keyframes glow-pulse { 0%, 100% { opacity: .55; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.04); } }
.sticky .btn { width: 100%; }
/* kompakter Plätze-Balken unter dem schwebenden Button */
.slots-mini { max-width: none; margin-top: 8px; padding: 8px 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.slots-mini .slots-top { font-size: 12px; }
.slots-mini .slots-num { font-size: 11px; }
.slots-mini .slots-bar { height: 6px; margin-top: 7px; }
.slots-mini .slots-bar i::after { width: 12px; height: 12px; border-width: 2.5px; }

/* ── Footer ── */
.footer { position: relative; overflow: hidden; padding: 60px 0 150px; background: #fff; }
.footer .row { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.footer nav { display: flex; gap: 40px; }
.footer nav a { text-decoration: none; color: var(--muted); }
.footer nav a:hover { color: var(--ink); }
.footer .word { margin-top: 30px; font-family: var(--font-body); font-weight: 800; font-size: 270px; line-height: .8; letter-spacing: -0.04em; text-align: center; background: url('img/apartment.jpg') center 60% / cover; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; user-select: none; }

/* ── Danke-Seite ── */
.topbar { padding: 12px 20px; background: #fdeaea; color: #ff4b53; font-family: var(--font-ui); font-size: 16px; font-weight: 500; text-align: center; }
.ty-hero { position: relative; padding: 40px 0 40px; text-align: center; }
.ty-hero .progress { max-width: 452px; margin: 32px auto 0; }
.ty-hero .h1 { margin-top: 28px; font-family: var(--font-head); font-weight: 600; }
.ty-hero .lead { font-size: 18px; color: var(--muted); }
.steps { position: relative; max-width: 662px; margin: 0 auto; display: grid; gap: 48px; padding-bottom: 40px; }
.steps::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 40px; border-left: 2px dashed var(--sand); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.step .num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-light), var(--green) 55%, var(--green-dark)); color: #fff; font-size: 22px; font-weight: 500; box-shadow: 0 0 0 6px #fff; }
.step.done .num { background: #1faa50; font-size: 0; }
.step.done .num::after { content: '✓'; font-size: 22px; }
.step-card { position: relative; z-index: 1; width: 100%; padding: 4px; border-radius: 26px; background: linear-gradient(180deg, var(--sand), var(--cream)); }
.step-inner { padding: 28px; border-radius: 22px; background: #fff; text-align: center; }
.step-inner h2 { font-size: 24px; line-height: 1.3; font-weight: 500; }
.step-inner > p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.note { display: flex; gap: 10px; margin: 22px 0; padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); text-align: left; font-size: 15px; }
.note svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brown); stroke-width: 1.8; }
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border-radius: 100px; background: linear-gradient(180deg, #2fd366, #1faa50); color: #fff; font: 600 16px var(--font-ui); text-decoration: none; box-shadow: 0 10px 22px -8px rgba(31, 170, 80, .7); }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; }
.cal { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cal a { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease); }
.cal a:hover { transform: translateY(-2px); }
.cal img { width: 40px; height: 40px; }
.ty-video { position: relative; display: block; width: 100%; margin-top: 22px; aspect-ratio: 662 / 374; border-radius: 16px; overflow: hidden; background: #2a201b url('img/ty-video.jpg') center / cover; }
.ty-video::after { content: ''; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%235b3d2e'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ty-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ty-house { position: absolute; left: 50%; top: 260px; width: 1312px; max-width: none; transform: translateX(-50%); opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent); }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .dot::after, .progress .fill::after, .btn::before, .slots-bar i, .slots-bar i::before, .slots-bar i::after, .sticky-glow::before { animation: none; } }

/* ── Modell: Zahlenstrahl mit 3 Schritten ── */
.stages { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 980px; margin: 56px auto 0; padding: 0 0 60px 88px; text-align: left; }
.stg-line { position: absolute; left: 31px; top: 32px; width: 3px; border-radius: 3px; background: var(--line); }
.stg-line i { display: block; width: 100%; height: 0; border-radius: inherit; background: linear-gradient(180deg, var(--green-light), var(--green)); transition: height .6s var(--ease); }
/* Stapel-Effekt: jede Card bleibt etwas tiefer kleben als die vorige, die nächste schiebt sich darüber */
.stg { position: sticky; top: calc(96px + var(--i, 0) * 76px); }
.stg-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 18px 32px 18px 18px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 -6px 30px -18px rgba(91, 61, 46, .35), 0 26px 50px -32px rgba(91, 61, 46, .5); transform-origin: 50% 0; transition: transform .45s var(--ease), filter .45s; }
.stg.under .stg-card { transform: scale(.965); filter: brightness(.97); }
.stg-num { position: absolute; left: -88px; top: 0; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(91, 61, 46, .45); font: 500 26px var(--font-body); color: var(--ink); transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s; }
.stg.on .stg-num { background: linear-gradient(145deg, var(--green-light), var(--green) 55%, var(--green-dark)); border-color: var(--green); color: #fff; transform: scale(1.06); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25), 0 14px 28px -12px rgba(47, 93, 56, .6); }
.stg-kicker { display: inline-block; padding: 4px 12px; border-radius: 20px; background: #e8f1e6; color: var(--green-dark); font: 600 12px var(--font-ui); letter-spacing: .04em; text-transform: uppercase; }
.stg h3 { margin-top: 12px; font-size: 28px; line-height: 1.25; font-weight: 500; }
.stg p { margin-top: 10px; font-size: 17px; color: var(--muted); }
.stg-img { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.stg-img > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.stg:hover .stg-img > img:first-child { transform: scale(1.04); }
.stg-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .3), transparent 45%); pointer-events: none; }
.stg-doc { position: absolute; right: 14px; bottom: 12px; z-index: 2; width: 30%; transform: rotate(-7deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.stg-live > img:first-child { filter: brightness(.6) saturate(1.05); }
.stg-notes { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.stg-notes .note-ios { animation: none; }
.chip.brand { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(145deg, var(--green-light), var(--green) 60%, var(--green-dark)); border-color: rgba(255, 255, 255, .35); backdrop-filter: none; box-shadow: 0 8px 18px -8px rgba(30, 63, 37, .7); }
.chip.brand svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Das lernst du: 4 Bausteine ── */
.learn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; text-align: left; }
.lc { position: relative; padding: 18px 18px 28px; border-radius: 26px; background: var(--cream); border: 1px solid rgba(0, 0, 0, .08); transition: transform .3s var(--ease), box-shadow .3s; }
.lc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lc > h3, .lc > p, .lc > .lc-kicker { margin-left: 10px; margin-right: 10px; }
.lc h3 { margin-top: 14px; font-size: 23px; line-height: 1.3; font-weight: 500; }
.lc p { margin-top: 8px; color: var(--muted); }
.lc-num { position: absolute; left: 30px; top: 30px; z-index: 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 500; }
.lc-art { position: relative; height: 250px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
/* 1 · Listing-Raster: eine Wohnung grün und profitabel */
.art-grid { background: linear-gradient(180deg, #fff, var(--cream-2)); }
.ls-grid { display: grid; grid-template-columns: repeat(3, 92px); gap: 10px; }
.ls { position: relative; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); opacity: .55; filter: grayscale(.6); }
.ls i { display: block; height: 38px; border-radius: 8px; background: linear-gradient(135deg, #e9dfd3, #d9cbbb); }
.ls:nth-child(3n+2) i { background: linear-gradient(135deg, #e4ddd6, #cfc4b8); }
.ls:nth-child(4n) i { background: linear-gradient(135deg, #efe6db, #ddd0c1); }
.ls b { display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: #e4dbd1; }
.ls b + b { width: 60%; margin-top: 4px; }
.ls.win { opacity: 1; filter: none; z-index: 1; transform: scale(1.22); border: 2px solid var(--green); box-shadow: 0 16px 30px -12px rgba(47, 93, 56, .55); }
.ls.win i { background: url('img/room-furnished.jpg') center / cover; }
.ls.win b { background: #cfe3d1; }
.ls-badge { position: absolute; left: 50%; top: -13px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 20px; white-space: nowrap; background: linear-gradient(145deg, var(--green-light), var(--green)); color: #fff; font: 600 9px var(--font-ui); }
.ls-badge svg { width: 9px; height: 9px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.ls-cash { display: block; margin-top: 5px; font: 700 9px var(--font-ui); color: var(--green); text-align: center; }
/* 2 · Airbnb-Inserat */
.art-listing { background: linear-gradient(160deg, #fdf3f1, var(--cream-2)); }
.al-card { width: 250px; padding: 8px 8px 12px; border-radius: 16px; background: #fff; box-shadow: 0 18px 34px -18px rgba(40, 25, 15, .45); transform: rotate(-2deg); }
.al-img { position: relative; height: 128px; border-radius: 11px; background-size: cover; background-position: center; }
.al-fav { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 20px; background: #fff; font: 600 10px var(--font-ui); }
.al-heart { position: absolute; right: 8px; top: 7px; }
.al-heart svg { width: 18px; height: 18px; fill: #ff385c; stroke: #fff; stroke-width: 1.6; }
.al-row { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; padding: 0 3px; font: 600 11.5px var(--font-ui); }
.al-row span { color: #ff385c; font-size: 10px; letter-spacing: 1px; }
.al-sub { padding: 0 3px; margin-top: 2px; font: 400 10.5px var(--font-ui); color: #717171; }
.al-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 9px; padding: 0 3px; }
.al-cal i { height: 9px; border-radius: 3px; background: #eee; }
.al-cal i.b { background: linear-gradient(145deg, var(--green-light), var(--green)); }
/* 3 · Kaufen vs. Rent2Rent */
.art-chart svg { width: auto; height: 84%; max-width: 92%; overflow: visible; }
.art-chart .ax { stroke: #d8cec3; stroke-width: 1.2; }
.art-chart text { font: 500 11px var(--font-ui); fill: var(--muted); }
.art-chart .buy { fill: none; stroke: #b9a898; stroke-width: 3; stroke-dasharray: 6 6; stroke-linecap: round; }
.art-chart .rent { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.art-chart .rent-dot { fill: var(--green); } .art-chart .buy-dot { fill: #b9a898; }
.art-chart .tag text { text-anchor: middle; font-weight: 600; fill: #fff; }
.art-chart .rent-tag rect { fill: var(--green); } .art-chart .buy-tag rect { fill: #b9a898; }
/* 4 · Rentalpreneur-System: hervorgehoben */
.lc-feature { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); border-color: var(--green-dark); color: #fff; box-shadow: 0 24px 48px -26px rgba(30, 63, 37, .8); }
.lc-feature p { color: rgba(255, 255, 255, .78); }
.lc-feature .lc-num { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.lc-kicker { display: inline-block; margin-top: 16px; padding: 4px 12px; border-radius: 20px; background: #dff0d8; color: var(--green-dark); font: 600 12px var(--font-ui); letter-spacing: .04em; text-transform: uppercase; }
.lc-kicker + h3 { margin-top: 10px; }
.art-auto { background: linear-gradient(180deg, #8fd0e0 0%, #cdebe9 45%, #f3e4c6 100%); border-color: rgba(255, 255, 255, .25); align-content: center; gap: 12px; }
.aa-pill { justify-self: center; padding: 6px 14px; border-radius: 20px; background: rgba(255, 255, 255, .85); color: var(--ink); font: 600 12px var(--font-ui); }
.aa-list { display: flex; flex-direction: column; gap: 7px; width: 260px; }
.aa { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 13px; background: rgba(255, 255, 255, .92); color: #1c1c1e; font: 500 12.5px var(--font-ui); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .4); }
.aa i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-light), var(--green)); }
.aa svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.aa.pay { font-weight: 600; color: var(--green-dark); }

/* ── Über Johannes ── */
.about { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 96px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-h { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 64px; line-height: 1.1; letter-spacing: -0.02em; }
.about-h span { color: var(--green-light); }
.about-txt p { margin-top: 24px; max-width: 520px; font-size: 20px; line-height: 1.6; color: rgba(16, 16, 16, .45); }
.about-txt b { font-weight: 600; color: var(--ink); }
.about-pics { position: relative; height: 520px; }
.ap { position: absolute; object-fit: cover; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 30px 50px -28px rgba(40, 25, 15, .55); transition: transform .5s var(--ease); }
.ap-1 { left: 2%; top: 90px; width: 44%; aspect-ratio: 3 / 4; transform: rotate(-6deg); z-index: 1; }
.ap-2 { right: 2%; top: 20px; width: 44%; aspect-ratio: 3 / 4; transform: rotate(7deg); }
.ap-3 { left: 28%; top: 230px; width: 50%; aspect-ratio: 4 / 3.6; transform: rotate(-2deg); z-index: 2; }
.about-pics:hover .ap-1 { transform: rotate(-8deg) translateX(-8px); }
.about-pics:hover .ap-2 { transform: rotate(9deg) translateX(8px); }
.about-flight { position: absolute; left: 0; top: -10px; width: 62%; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.about-flight path:first-child { stroke-dasharray: 4 6; opacity: .55; }
.about-flight .plane { fill: var(--green); stroke: none; }

/* ── Tablet ── */
@media (max-width: 1000px) {
  .cards-3, .benefits { grid-template-columns: 1fr 1fr; }
  .ba-box { padding: 40px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .stg-card { grid-template-columns: 1fr; gap: 18px; padding: 14px 14px 22px; }
  .stg-txt { padding: 0 8px; }
  .stages { max-width: 600px; }
  .learn { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  /* Zahlenstrahl senkrecht: Zahlen links, Karten rechts */
  .about-txt p { margin-left: auto; margin-right: auto; }
  .about-pics { max-width: 520px; width: 100%; margin: 0 auto; }
  .footer .word { font-size: 22vw; }
}

/* ── Handy ── */
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero { padding: 14px 0 44px; background: radial-gradient(120% 55% at 50% 22%, #fbf7f1 0%, var(--cream-2) 70%), var(--cream-2); }
  /* Handy: keine Dünen hinter Subheadline/CTA – durchgehend beige, unten weich in Weiß auslaufend */
  .hero-bg { display: none; }
  .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
  .phone::after { background: linear-gradient(180deg, rgba(244, 237, 226, 0), var(--cream-2) 85%); }
  .stage { height: 222px; margin-top: 26px; }
  .phone { width: 262px; height: 262px; bottom: -34px; padding: 8px; border-radius: 44px; transform: translateX(-50%); }
  .phone-screen { border-radius: 37px; }
  .phone-island { width: 70px; height: 20px; top: 9px; }
  .phone-status { padding: 11px 22px 0 26px; font-size: 11px; }
  .phone-date { margin-top: 10px; font-size: 11px; }
  .phone-time { font-size: 42px; }
  .phone-notes { top: 104px; left: 8px; right: 8px; gap: 6px; }
  .note-ios { grid-template-columns: 26px 1fr; gap: 8px; padding: 8px 10px; border-radius: 15px; }
  .note-ios .app { width: 26px; height: 26px; border-radius: 7px; }
  .note-ios .app svg { width: 16px; height: 16px; }
  .note-ios .top { font-size: 9.5px; }
  .note-ios b { font-size: 12px; }
  .note-ios span.txt { font-size: 11.5px; }
  .stg h3 { font-size: 21px; }
  .stg p { font-size: 16px; }
  .stages { padding-left: 54px; padding-bottom: 40px; gap: 20px; }
  .stg { top: calc(70px + var(--i, 0) * 54px); }
  .stg-line { left: 20px; top: 22px; }
  .stg-num { left: -54px; width: 44px; height: 44px; border-radius: 13px; font-size: 19px; }
  .stg-card { border-radius: 22px; padding: 10px 10px 20px; }
  .stg-img { border-radius: 16px; }
  .lc h3 { font-size: 20px; }
  .lc-art { height: 220px; }
  .ls-grid { grid-template-columns: repeat(3, 80px); gap: 8px; }
  .about { margin-bottom: 64px; }
  .about-h { font-size: 42px; }
  .about-txt p { font-size: 17px; }
  .about-pics { height: 380px; }
  .ap-1 { top: 60px; }
  .ap-3 { top: 170px; }
  .logo img { height: 32px; }
  .live { font-size: 12px; }
  .hero .h1 { margin-top: 14px; }
  .hero .lead { margin-top: 10px; font-size: 15.5px; }
  .cta { margin-top: 18px; }
  .btn { width: 100%; max-width: 360px; font-size: 17px; }
  .cards-3, .benefits, .testis { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .lcard h3, .tcard h3 { font-size: 20px; }
  .ba { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .ba-arrow { transform: rotate(90deg); width: 40px; }
  .ba-box { padding: 32px 16px; }
  .bcard { padding: 22px; }
  .cd-box { min-width: 68px; }
  .cd-box b { font-size: 30px; }
  .form-card { padding: 20px 16px; }
  .form-card h3 { font-size: 26px; }
  .footer .row { flex-direction: column; gap: 14px; }
  .footer nav { gap: 24px; }
  .step-inner { padding: 22px 16px; }
  .step-inner > p { font-size: 16px; }
}
