/* Raumgast – ergänzt Bootstrap 5.3 */

/* Schriften lokal ausgeliefert (SIL Open Font License, siehe /fonts/LICENSE-OFL.txt) – keine Drittanbieter-Requests */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2-variations"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.woff2") format("woff2-variations"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
    --sp-primary: #3b4fd8;
    --sp-primary-rgb: 59, 79, 216;
    --sp-primary-dark: #2a3aa8;
    --sp-accent: #10b981;
    --sp-ink: #141a33;          /* Nachtblau – gleiche Familie wie der Hero */
    --sp-muted: #5d6478;
    --sp-line: #dfe3ee;
    --sp-surface: #f4f6fb;
    --sp-radius: 14px;
    --sp-font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
    --sp-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-primary: var(--sp-primary);
    --bs-primary-rgb: var(--sp-primary-rgb);
    --bs-link-color: var(--sp-primary);
    --bs-link-color-rgb: var(--sp-primary-rgb);
    --bs-link-hover-color: var(--sp-primary-dark);
    --bs-border-radius: 10px;
    --bs-border-color: var(--sp-line);
    --bs-body-font-family: var(--sp-font-body);
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.6;
    --bs-body-color: var(--sp-ink);
    --bs-secondary-color: var(--sp-muted);
    --bs-emphasis-color: var(--sp-ink);
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4, .navbar-brand, .rg-logo, .sp-display, .sp-h2 {
    font-family: var(--sp-font-display);
    font-optical-sizing: auto;
    letter-spacing: -.02em;
}
h5, h6, .h5, .h6 { font-family: var(--sp-font-body); font-weight: 700; }
.text-secondary { color: var(--sp-muted) !important; }

body { background: #fff; color: var(--sp-ink); }
.bg-surface { background: var(--sp-surface); }

.btn-primary {
    --bs-btn-bg: var(--sp-primary); --bs-btn-border-color: var(--sp-primary);
    --bs-btn-hover-bg: #2f40b5; --bs-btn-hover-border-color: #2f40b5;
    --bs-btn-active-bg: #283799; --bs-btn-disabled-bg: var(--sp-primary); --bs-btn-disabled-border-color: var(--sp-primary);
}
.btn-outline-primary {
    --bs-btn-color: var(--sp-primary); --bs-btn-border-color: var(--sp-primary);
    --bs-btn-hover-bg: var(--sp-primary); --bs-btn-hover-border-color: var(--sp-primary);
}
.text-primary { color: var(--sp-primary) !important; }

.navbar-brand { font-weight: 800; letter-spacing: -.02em; }
.navbar-brand .dot { color: var(--sp-accent); }

/* Hero */
.sp-hero {
    background: radial-gradient(1200px 400px at 10% -10%, rgba(59,79,216,.18), transparent),
                radial-gradient(800px 300px at 90% 0%, rgba(16,185,129,.15), transparent), var(--sp-surface);
    padding: 4.5rem 0 3.5rem;
}
.sp-hero h1 { font-weight: 800; letter-spacing: -.03em; }

.sp-search {
    background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(17,24,39,.08); padding: 1rem;
}
.sp-search .form-label { font-size: .82rem; font-weight: 600; color: var(--sp-muted); margin-bottom: .2rem; }

.sp-type-toggle .btn { border-radius: 999px !important; }

/* Karten */
.sp-card { border: 0; border-radius: var(--sp-radius); transition: transform .15s ease, box-shadow .15s ease; }
.sp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17,24,39,.08); }
.sp-card .ratio { border-radius: var(--sp-radius); overflow: hidden; background: #e5e7eb; }
.sp-card .ratio img { object-fit: cover; }
.sp-card .fav-btn { position: absolute; top: .6rem; right: .6rem; z-index: 2; }
.sp-cover-placeholder { display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 2.5rem; }

.sp-category { border-radius: var(--sp-radius); border: 1px solid #e5e7eb; padding: 1rem; text-decoration: none; color: inherit; display: block; height: 100%; transition: border-color .15s, background .15s; }
.sp-category:hover { border-color: var(--sp-primary); background: rgba(59,79,216,.04); }
.sp-category i { font-size: 1.6rem; color: var(--sp-primary); }

.stars i { color: #f59e0b; }

/* Panels */
.sp-panel { min-height: 100vh; }
.sp-sidebar { width: 250px; background: #0f172a; color: #cbd5e1; }
.sp-sidebar a { color: #cbd5e1; text-decoration: none; display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; border-radius: 8px; font-size: .925rem; }
.sp-sidebar a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sp-sidebar a.active { background: var(--sp-primary); color: #fff; }
.sp-sidebar .section { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; padding: 1rem .9rem .3rem; }
.sp-main { background: var(--sp-surface); min-width: 0; }
.stat-card { border: 0; border-radius: var(--sp-radius); }
.stat-card .value { font-size: 1.6rem; font-weight: 700; }
.stat-card .icon { width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(59,79,216,.1); color: var(--sp-primary); font-size: 1.2rem; }

.card { border-radius: var(--sp-radius); }
.card.shadow-sm { border: 0; }

.table > :not(caption) > * > * { padding: .7rem .75rem; }

.gallery-main { border-radius: var(--sp-radius); overflow: hidden; }
.gallery-main img { object-fit: cover; }
.sticky-booking { position: sticky; top: 1.5rem; }

.timeline { list-style: none; padding-left: 0; }
.timeline li { position: relative; padding-left: 1.6rem; padding-bottom: 1rem; border-left: 2px solid #e5e7eb; margin-left: .4rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.timeline li.statement::before { background: var(--sp-primary); }
.timeline li.status_change::before { background: #f59e0b; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .day { min-height: 92px; background: #fff; border-radius: 8px; padding: .35rem; font-size: .78rem; border: 1px solid #eef0f4; overflow: hidden; }
.cal-grid .day.muted { background: #f9fafb; color: #9ca3af; }
.cal-grid .day.today { border-color: var(--sp-primary); }
.cal-grid .ev { display: block; border-radius: 4px; padding: 1px 4px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; text-decoration: none; }

[wire\:loading], [wire\:loading\.delay] { display: none; }

@media (max-width: 991.98px) {
    .sp-sidebar { width: 100%; }
}

/* =====================================================================
   Navigation (Glas-Effekt)
   ===================================================================== */
.sp-nav { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(17,24,39,.06); }

/* =====================================================================
   Listing-Karte
   ===================================================================== */
.sp-card { background: transparent; }
.sp-card-media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sp-card:hover .sp-card-media img { transform: scale(1.06); }
.sp-card-badges { position: absolute; left: .6rem; bottom: .6rem; top: auto !important; width: auto !important; height: auto !important; display: flex; gap: .35rem; flex-wrap: wrap; }
.sp-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--sp-ink); backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.sp-chip-accent { background: var(--sp-accent); color: #fff; }

/* =====================================================================
   Startseite
   ===================================================================== */
.sp-home { overflow-x: clip; }
.sp-section { padding: 5.5rem 0; position: relative; }
.sp-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.sp-h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .6rem; }
.sp-kicker { display: flex; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 600; color: var(--sp-primary); margin-bottom: .6rem; }
.sp-kicker.light { color: #a5b4fc; }
.sp-band-soft { background: linear-gradient(180deg, var(--sp-surface), #fff); }

/* ---------- Hero ---------- */
.sp-hero2 { position: relative; background: #0b1020; color: #e5e7eb; padding: 3rem 0 6.5rem; overflow: hidden; isolation: isolate; }
.sp-aurora { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; filter: blur(70px); opacity: .85; }
.sp-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: sp-drift 18s ease-in-out infinite alternate; }
.sp-aurora span:nth-child(1) { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; left: -5%; top: -10%; background: radial-gradient(circle, #3b4fd8 0%, transparent 65%); }
.sp-aurora span:nth-child(2) { width: 45vw; height: 45vw; max-width: 620px; max-height: 620px; right: -5%; top: 5%; background: radial-gradient(circle, #10b981 0%, transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.sp-aurora span:nth-child(3) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: 35%; top: 40%; background: radial-gradient(circle, #a855f7 0%, transparent 65%); animation-duration: 26s; animation-delay: -12s; opacity: .7; }
.sp-aurora.small { inset: 0; height: 100%; opacity: .5; }
@keyframes sp-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
    100% { transform: translate3d(-4vw, -3vh, 0) scale(.95); }
}
.sp-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }

.sp-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #d1d5db; margin-bottom: 1.4rem; }
.sp-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sp-accent); box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: sp-pulse 2s infinite; }
@keyframes sp-pulse { 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

.sp-display { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; color: #fff; margin-bottom: 1.3rem; }
.sp-rotator { position: relative; display: inline-grid; vertical-align: bottom; clip-path: inset(-.1em -.4em -.18em -.4em); }
.sp-rotator-sizer { visibility: hidden; grid-area: 1 / 1; }
.sp-rotator-word { grid-area: 1 / 1; background: linear-gradient(90deg, #8b9cff, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(.45em) rotateX(-40deg); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.sp-rotator-word.is-active { opacity: 1; transform: none; }
.sp-lead { font-size: 1.12rem; color: #c7cbd6; max-width: 34rem; line-height: 1.6; }

.sp-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.sp-stat .num { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.sp-stat .lbl { font-size: .9rem; color: #aab1c5; margin-top: .3rem; }

.hero-in { opacity: 0; transform: translateY(24px); animation: sp-rise .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0ms); }
@keyframes sp-rise { to { opacity: 1; transform: none; } }

/* Schaufenster */
.sp-showcase { position: relative; height: 560px; perspective: 1200px; }
.sp-float-card { position: absolute; width: 280px; background: #fff; color: var(--sp-ink); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transition: transform .4s ease, box-shadow .4s ease; opacity: 0; animation: sp-card-in 1s cubic-bezier(.2,.8,.2,1) forwards, sp-float 7s ease-in-out infinite; }
.sp-float-card .img { height: 160px; background-size: cover; background-position: center; }
.sp-float-card .body { padding: .85rem 1rem 1rem; }
.sp-float-card:hover { z-index: 5; box-shadow: 0 40px 80px -20px rgba(0,0,0,.65); }
.sp-float-0 { left: 0; top: 0; --r: -4deg; animation-delay: .35s, 1.3s; z-index: 2; }
.sp-float-1 { right: 0; top: 60px; --r: 3deg; animation-delay: .55s, 2.1s; z-index: 1; }
.sp-float-2 { left: 22%; top: 300px; --r: -1.5deg; animation-delay: .75s, 2.9s; z-index: 3; }
@keyframes sp-card-in { from { opacity: 0; transform: translateY(60px) rotate(var(--r)) scale(.92); } to { opacity: 1; transform: translateY(0) rotate(var(--r)); } }
@keyframes sp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.sp-float-pill { position: absolute; z-index: 6; display: inline-flex; gap: .45rem; align-items: center; padding: .55rem .9rem; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--sp-ink); font-size: .82rem; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; animation: sp-rise .8s ease forwards, sp-float 6s ease-in-out infinite; }
.sp-pill-a { left: -3%; top: 268px; animation-delay: 1.1s, 1.9s; }
.sp-pill-b { right: 0; top: 400px; animation-delay: 1.3s, 2.5s; }

.sp-hero-search { position: relative; z-index: 4; margin-top: 2.5rem; }
.sp-hero2 .sp-search { box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); }
.sp-scroll-hint { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); color: #9ca3af; font-size: 1.4rem; animation: sp-bounce 2s infinite; text-decoration: none; }
.sp-scroll-hint:hover { color: #fff; }
@keyframes sp-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }

/* ---------- Kategorien-Laufband ---------- */
.sp-marquee { overflow: hidden; border-bottom: 1px solid #eef0f4; background: #fff; padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sp-marquee-track { display: flex; gap: .8rem; width: max-content; animation: sp-marquee 40s linear infinite; }
.sp-marquee:hover .sp-marquee-track { animation-play-state: paused; }
@keyframes sp-marquee { to { transform: translateX(-50%); } }
.sp-marquee-item { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid #e5e7eb; color: var(--sp-ink); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: all .2s; }
.sp-marquee-item i { color: var(--sp-primary); }
.sp-marquee-item .count { font-size: .72rem; background: var(--sp-surface); border-radius: 999px; padding: .1rem .5rem; color: var(--sp-muted); }
.sp-marquee-item:hover { border-color: var(--sp-primary); background: rgba(59,79,216,.05); transform: translateY(-2px); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-zoom { transform: scale(.94); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Karussell ---------- */
.sp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: thin; }
.sp-rail-item { scroll-snap-align: start; }
.sp-rail-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; border: 2px dashed #d1d5db; border-radius: var(--sp-radius); color: var(--sp-primary); text-decoration: none; font-weight: 600; min-height: 300px; transition: background .2s; }
.sp-rail-more i { font-size: 2rem; }
.sp-rail-more:hover { background: rgba(59,79,216,.05); }
.sp-rail-btn { width: 44px; height: 44px; box-shadow: 0 4px 14px rgba(17,24,39,.1); }

/* ---------- Feature: zwei Buchungsarten ---------- */
.sp-feature { background: #fff; border: 1px solid #eef0f4; border-radius: 22px; padding: 2rem; box-shadow: 0 20px 50px -30px rgba(17,24,39,.25); }
.sp-feature-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(59,79,216,.1); color: var(--sp-primary); margin-bottom: 1rem; }
.sp-feature-icon.green { background: rgba(16,185,129,.12); color: var(--sp-accent); }

.sp-timeline { margin-top: 1.5rem; }
.sp-timeline-labels { display: grid; grid-template-columns: repeat(6, 1fr); font-size: .72rem; color: var(--sp-muted); margin-bottom: .35rem; }
.sp-timeline-bar { position: relative; height: 46px; border-radius: 12px; background: repeating-linear-gradient(90deg, #f3f4f6 0 calc(10% - 2px), #fff calc(10% - 2px) 10%); border: 1px solid #eef0f4; overflow: hidden; }
.sp-timeline-bar .slot { position: absolute; top: 6px; bottom: 6px; left: calc(var(--s) * 10% + 3px); width: calc(var(--w) * 10% - 6px); border-radius: 8px; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.sp-timeline-bar .slot.taken { background: #cbd5e1; transition-delay: .3s; }
.sp-timeline-bar .slot.mine { background: linear-gradient(90deg, var(--sp-primary), #6d7cf0); transition-delay: .9s; box-shadow: 0 6px 18px rgba(59,79,216,.4); }
.sp-timeline-bar .slot.evening { background: #f59e0b; transition-delay: 1.3s; }
.is-in .sp-timeline-bar .slot { transform: scaleX(1); }
.sp-timeline-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: var(--sp-muted); margin-top: .6rem; }
.sp-timeline-legend .lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.lg.taken { background: #cbd5e1; } .lg.mine { background: var(--sp-primary); } .lg.evening { background: #f59e0b; }

.sp-cal { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; font-size: .78rem; text-align: center; }
.sp-cal .h { color: var(--sp-muted); font-weight: 600; padding-bottom: .2rem; }
.sp-cal .d { padding: .45rem 0; border-radius: 8px; background: #f9fafb; color: #374151; transition: background .4s, color .4s, transform .4s; transition-delay: calc(var(--i) * 45ms); }
.sp-cal .d.weekend { color: var(--sp-primary); font-weight: 600; }
.is-in .sp-cal .d.taken { background: #e5e7eb; color: #9ca3af; text-decoration: line-through; }
.is-in .sp-cal .d.mine { background: var(--sp-accent); color: #fff; font-weight: 700; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(16,185,129,.35); }

/* ---------- Städte ---------- */
.sp-city { position: relative; display: block; height: 220px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(135deg, #3b4fd8, #10b981); }
.sp-city.big { height: 300px; }
.sp-city .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.sp-city:hover .bg { transform: scale(1.08); }
.sp-city .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11,16,32,.8)); }
.sp-city .txt { position: absolute; left: 1.3rem; bottom: 1.1rem; right: 1.3rem; }
.sp-city .name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.sp-city.big .name { font-size: 2rem; }
.sp-city .cnt { font-size: .9rem; opacity: .9; }
.sp-city .cnt i { transition: transform .3s; display: inline-block; }
.sp-city:hover .cnt i { transform: translateX(5px); }

/* ---------- So funktioniert's ---------- */
.sp-band-dark { background: #0b1020; color: #c7cbd6; overflow: hidden; isolation: isolate; }
.sp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.sp-steps-line { position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, #3b4fd8, #10b981); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.8,.2,1) .3s; z-index: 0; }
.sp-steps.is-in .sp-steps-line { transform: scaleX(1); }
.sp-step { position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: all .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 250ms + 200ms); }
.sp-steps.is-in .sp-step { opacity: 1; transform: none; }
.sp-step-num { width: 70px; height: 70px; margin: 0 auto; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, #3b4fd8, #6366f1); box-shadow: 0 15px 35px -10px rgba(59,79,216,.8); }
.sp-step:nth-child(3) .sp-step-num { background: linear-gradient(135deg, #6366f1, #10b981); }
.sp-step:nth-child(4) .sp-step-num { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 15px 35px -10px rgba(16,185,129,.8); }

/* ---------- Bewertungen ---------- */
.sp-quote { background: #fff; border: 1px solid #eef0f4; border-radius: 20px; padding: 1.6rem; margin: 0; box-shadow: 0 20px 40px -30px rgba(17,24,39,.3); }
.sp-quote blockquote { font-size: 1.02rem; line-height: 1.55; }

/* ---------- Vermieter-CTA ---------- */
.sp-cta { position: relative; border-radius: 28px; padding: clamp(2rem, 4vw, 3.5rem); color: #e5e7eb; overflow: hidden; background: linear-gradient(120deg, #1e2a8a, #3b4fd8 45%, #0f9f78); background-size: 200% 200%; animation: sp-gradient 14s ease infinite; }
@keyframes sp-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.sp-checks { list-style: none; padding: 0; margin: 1.2rem 0; }
.sp-checks li { padding-left: 1.8rem; position: relative; margin-bottom: .55rem; }
.sp-checks li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #6ee7b7; }
.sp-mock { background: rgba(255,255,255,.96); border-radius: 18px; padding: 1rem; color: var(--sp-ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transform: rotate(2deg); animation: sp-float 8s ease-in-out infinite; position: relative; }
.sp-mock-head { display: flex; gap: 6px; margin-bottom: .8rem; }
.sp-mock-head span { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.sp-mock-head span:first-child { background: #f87171; } .sp-mock-head span:nth-child(2) { background: #fbbf24; } .sp-mock-head span:nth-child(3) { background: #34d399; }
.sp-mock-stat { background: var(--sp-surface); border-radius: 12px; padding: .7rem .9rem; }
.sp-mock-stat .l { font-size: .72rem; color: var(--sp-muted); }
.sp-mock-stat .v { font-size: 1.4rem; font-weight: 800; }
.sp-mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: .8rem; padding: .6rem; background: var(--sp-surface); border-radius: 12px; }
.sp-mock-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6d7cf0, var(--sp-primary)); transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 110ms + 400ms); }
.is-in .sp-mock-chart span { transform: scaleY(1); }
.sp-mock-toast { position: absolute; left: -2rem; bottom: -1.2rem; background: #111827; color: #fff; font-size: .82rem; padding: .6rem .9rem; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,.35); opacity: 0; transform: translateY(15px); transition: all .6s ease 1.3s; }
.sp-mock-toast i { color: #fbbf24; margin-right: .3rem; }
.is-in .sp-mock-toast { opacity: 1; transform: none; }

.sp-empty-band { padding: 2rem; border: 2px dashed #e5e7eb; border-radius: var(--sp-radius); text-align: center; color: var(--sp-muted); }
.sp-empty-band i { color: var(--sp-primary); margin-right: .3rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 991.98px) {
    .sp-showcase { height: 560px; margin-top: 1rem; max-width: 620px; margin-inline: auto; }
    .sp-steps { grid-template-columns: 1fr; }
    .sp-steps-line { display: none; }
    .sp-section { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
    .sp-stats { gap: 1.2rem; }
    .sp-stat .num { font-size: 1.6rem; }
    .sp-display br { display: none; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
    .reveal, .hero-in, .sp-float-card, .sp-float-pill { opacity: 1 !important; transform: none !important; }
    .sp-marquee-track { animation: none !important; }
}

/* Schaufenster auf mittleren Breiten (Spalte ~470 px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .sp-showcase { height: 520px; }
    .sp-float-card { width: 225px; }
    .sp-float-card .img { height: 125px; }
    .sp-float-card .body { padding: .7rem .8rem .8rem; font-size: .92rem; }
    .sp-float-1 { top: 90px; }
    .sp-float-2 { left: 18%; top: 290px; }
    .sp-pill-a { top: 240px; }
    .sp-pill-b { top: 470px; }
}

/* Kategorie-Galerie auf der Startseite */
.sp-cat-tile { height: 200px; background: #eef1ff; }
.sp-cat-tile.big { height: 280px; }
.sp-cat-tile .bg { background-color: #eef1ff; }
.sp-cat-tile .sp-chip { background: rgba(255,255,255,.92); color: #1f2a44; }
@media (max-width: 575.98px) { .sp-cat-tile { height: 160px; } .sp-cat-tile .name { font-size: 1.1rem; } .sp-cat-tile.big { height: 220px; } }

/* Formulare, Buttons, Karten, Tabellen usw.: siehe rg-ui.css */
.rg-btn-lg { min-height: 52px; border-radius: 14px; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; }

/* Passwortfeld mit Anzeigen-Knopf */
.rg-pass { position: relative; }
.rg-pass .form-control { padding-right: 3.2rem; }
.rg-pass .form-control.is-invalid { background-image: none; }
.rg-pass-toggle {
    position: absolute; top: 50%; right: .4rem; transform: translateY(-50%);
    width: 40px; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--sp-muted); font-size: 1.15rem;
}
.rg-pass-toggle:hover { background: var(--sp-surface); color: var(--sp-ink); }

/* =====================================================================
   Anmelden / Registrieren – geteilter Bildschirm
   ===================================================================== */
.rg-auth { background: #fff; }
.rg-auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.rg-auth-form { display: flex; flex-direction: column; padding: 1.75rem clamp(1.25rem, 5vw, 4.5rem); }
.rg-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rg-logo { font-size: 1.65rem; font-weight: 800; color: var(--sp-ink); text-decoration: none; letter-spacing: -.03em; }
.rg-logo:hover { color: var(--sp-ink); }
.rg-logo span { color: var(--sp-primary); }
.rg-logo i { font-style: normal; color: var(--sp-accent); }
.rg-back { color: var(--sp-muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.rg-back:hover { color: var(--sp-ink); }
.rg-auth-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; }
.rg-auth-card { width: 100%; max-width: 420px; margin: 0 auto; }
.rg-auth-main > .alert { max-width: 420px; margin: 0 auto 1.25rem; width: 100%; }
.rg-auth-title { font-size: clamp(2rem, 1.55rem + 1.3vw, 2.6rem); font-weight: 700; line-height: 1.08; margin-bottom: .6rem; }
.rg-auth-lead { color: var(--sp-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.rg-auth-icon {
    width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--sp-primary-rgb), .1); color: var(--sp-primary); font-size: 1.6rem; margin-bottom: 1.25rem;
}
.rg-field { margin-bottom: 1.15rem; }
.rg-link-small { font-size: .9rem; font-weight: 500; text-decoration: none; }
.rg-check .form-check-label { font-size: .95rem; }
.rg-auth-switch { margin: 1.75rem 0 0; color: var(--sp-muted); }
.rg-auth-switch a, .rg-auth-switch .btn-link { font-weight: 600; text-decoration: none; }
.rg-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.6rem !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }

.rg-option {
    display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: 1rem; cursor: pointer;
    border: 1.5px solid var(--sp-line); border-radius: 12px; transition: border-color .15s, background .15s;
}
.rg-option .form-check-input { flex-shrink: 0; margin-top: .15em; }
.rg-option strong { display: block; font-weight: 600; }
.rg-option small { display: block; color: var(--sp-muted); font-size: .875rem; margin-top: .1rem; }
.rg-option:has(input:checked) { border-color: var(--sp-primary); background: rgba(var(--sp-primary-rgb), .05); }

.rg-social { display: grid; gap: .6rem; }
.rg-social-multi { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.rg-social-btn {
    display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1rem;
    border: 1.5px solid var(--sp-line); border-radius: 12px; color: var(--sp-ink); font-weight: 600; text-decoration: none;
    transition: border-color .15s, background .15s;
}
.rg-social-btn:hover { border-color: #b9c0d1; background: var(--sp-surface); color: var(--sp-ink); }
.rg-social-btn i { font-size: 1.15rem; }
.rg-social-google i { color: #4285f4; }
.rg-social-facebook i { color: #1877f2; }
.rg-social-microsoft i { color: #00a4ef; }
.rg-divider { display: flex; align-items: center; gap: .9rem; margin: 1.5rem 0; color: var(--sp-muted); font-size: .9rem; }
.rg-divider::before, .rg-divider::after { content: ""; flex: 1; height: 1px; background: var(--sp-line); }

.rg-auth-foot { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .875rem; }
.rg-auth-foot a { color: var(--sp-muted); text-decoration: none; }
.rg-auth-foot a:hover { color: var(--sp-ink); text-decoration: underline; }

/* Rechte Seite: eine Hausfassade aus Räumen, die langsam vorbeizieht */
.rg-auth-art {
    position: relative; overflow: hidden; background: var(--sp-ink);
    background-image: radial-gradient(700px 500px at 85% 10%, rgba(59,79,216,.55), transparent 60%),
                      radial-gradient(600px 420px at 10% 95%, rgba(16,185,129,.28), transparent 60%);
}
.rg-facade {
    position: absolute; inset: -12% -8% -12% -4%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
    transform: rotate(-7deg);
}
.rg-facade-col { display: flex; flex-direction: column; gap: 1.4rem; animation: rg-rise 90s linear infinite; }
.rg-col-1 { margin-top: -140px; animation-duration: 110s; }
.rg-col-2 { margin-top: -60px; animation-duration: 100s; }
@keyframes rg-rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.rg-window {
    position: relative; margin: 0; aspect-ratio: 4 / 3.3; border-radius: 20px; overflow: hidden;
    background: #eef1ff; box-shadow: 0 0 0 6px rgba(255,255,255,.07), 0 24px 48px rgba(0,0,0,.35);
}
.rg-window img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-window figcaption {
    position: absolute; left: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .65rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--sp-ink);
    font-size: .8rem; font-weight: 600;
}
.rg-auth-claim {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 7rem clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.2rem);
    background: linear-gradient(180deg, transparent, rgba(20,26,51,.88) 45%, var(--sp-ink));
    color: #fff;
}
.rg-claim-big { font-family: var(--sp-font-display); font-size: clamp(1.9rem, 1.2rem + 1.8vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .7rem; max-width: 14ch; }
.rg-claim-small { color: #c3c9db; font-size: 1.05rem; margin: 0; max-width: 40ch; }

@media (max-width: 991.98px) {
    .rg-auth-grid { grid-template-columns: 1fr; }
    .rg-auth-art { display: none; }
    .rg-auth-main { padding: 2.25rem 0; }
}
@media (prefers-reduced-motion: reduce) {
    .rg-facade-col { animation: none; }
}

/* =====================================================================
   Footer
   ===================================================================== */
.rg-footer { background: var(--sp-ink); color: #c3c9db; padding: 4rem 0 2rem; margin-top: 5rem; }
.rg-footer .rg-logo { color: #fff; }
.rg-footer .rg-logo span { color: #8f9cff; }
.rg-footer-about { max-width: 34ch; margin-top: .9rem; }
.rg-footer h2 { font-family: var(--sp-font-body); font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.rg-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.rg-footer a { color: #c3c9db; text-decoration: none; }
.rg-footer a:hover { color: #fff; text-decoration: underline; }
.rg-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .875rem; color: #8b92a8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* =====================================================================
   Kontobereich (Gast)
   ===================================================================== */
.rg-account-head { background: var(--sp-surface); border-bottom: 1px solid var(--sp-line); padding: 2rem 0 0; }
.rg-account-hello { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.rg-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--sp-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; flex-shrink: 0; }
.rg-account-hello h1 { font-size: 1.6rem; font-weight: 700; margin: 0; }
.rg-account-hello p { margin: 0; color: var(--sp-muted); }
.rg-account-tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; }
.rg-account-tabs::-webkit-scrollbar { display: none; }
.rg-account-tabs a {
    display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .8rem 1rem;
    color: var(--sp-muted); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent;
}
.rg-account-tabs a:hover { color: var(--sp-ink); }
.rg-account-tabs a.active { color: var(--sp-ink); border-bottom-color: var(--sp-primary); }
.rg-account-tabs .count { background: var(--sp-primary); color: #fff; border-radius: 999px; font-size: .72rem; padding: .05rem .45rem; }

/* Navigation */
.sp-nav .rg-logo { font-size: 1.5rem; padding: 0; }
.sp-nav .nav-link { font-weight: 500; color: var(--sp-ink); }
.sp-nav .nav-link:hover { color: var(--sp-primary); }
