:root {
    --navy: #2c3e6b;
    --navy-light: #3d5289;
    --navy-dark: #16213f;
    --orange: #f5922a;
    --orange-hover: #e07d15;
    --orange-light: #fff7ed;
    --orange-bg: #fef3e2;
    --green: #22a75d;
    --green-light: #ecfdf3;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --radius: 10px;
    --radius-lg: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Public Sans', -apple-system, sans-serif; color: var(--gray-800); line-height: 1.5; background: var(--gray-50); display: flex; flex-direction: column; min-height: 100vh; }

.screen { display: grid; grid-template-columns: 46% 54%; flex: 1; }

.site-footer {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
    padding: 1.1rem 2rem; border-top: 1px solid var(--gray-200); background: white;
    font-size: 0.86rem; color: var(--gray-500);
}
.site-footer a { color: var(--gray-600); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.top-bar {
    display: flex; align-items: center; padding: 0.9rem 2rem; border-bottom: 1px solid var(--gray-200); background: white;
    font-size: 0.85rem;
}
.top-bar a { color: var(--gray-500); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar a:hover { color: var(--navy); }
@media (max-width: 900px) { .top-bar { padding: 0.85rem 1.25rem; } }
@media (max-width: 900px) { .site-footer { padding: 0.85rem 1.25rem; justify-content: center; text-align: center; } }

/* ── Left: Preview panel ── */
.preview-panel {
    background:
        radial-gradient(ellipse 90% 60% at 15% 0%, rgba(245,146,42,0.18), transparent 60%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(61,82,137,0.5), transparent 60%),
        linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: white;
    padding: 3.5rem 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.orb-1 { width: 320px; height: 320px; background: var(--orange); opacity: 0.16; top: -100px; right: -60px; animation: drift1 14s ease-in-out infinite alternate; }
.orb-2 { width: 260px; height: 260px; background: #6d8fd6; opacity: 0.18; bottom: -80px; left: -60px; animation: drift2 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-30px, 40px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(30px, -30px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

.brandmark-chip { display: inline-flex; align-items: center; background: rgba(255,255,255,0.96); padding: 0.6rem 1.05rem; border-radius: 10px; margin-bottom: 3rem; position: relative; z-index: 2; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.logo-img { height: 22px; width: auto; display: block; }
.logo-img-light { height: 27px; width: auto; margin-bottom: 2.25rem; display: block; }

.preview-eyebrow { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; margin-bottom: 0.9rem; font-weight: 600; position: relative; z-index: 2; }
.preview-headline { font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; max-width: 400px; margin-bottom: 0.75rem; position: relative; z-index: 2; }
.preview-headline em { font-style: normal; font-weight: 300; opacity: 0.55; }
.preview-sub { font-size: 0.96rem; opacity: 0.62; max-width: 340px; margin-bottom: 2.75rem; position: relative; z-index: 2; }

.stat-row { display: flex; gap: 1.75rem; margin-bottom: 2.5rem; position: relative; z-index: 2; }
.stat-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.stat-label { font-size: 0.72rem; opacity: 0.55; margin-top: 0.1rem; }

.card-stack { position: relative; z-index: 2; }
.pcard {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 1.05rem 1.2rem;
    margin-bottom: 0.85rem;
    max-width: 370px;
    box-shadow: 0 20px 40px -18px rgba(0,0,0,0.55);
    opacity: 0;
    transform: translateY(14px) rotateX(0deg) rotateY(0deg);
    animation: rise 0.7s cubic-bezier(.16,1,.3,1) forwards;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    will-change: transform;
}
.pcard:nth-child(1) { animation-delay: 0.1s; }
.pcard:nth-child(2) { animation-delay: 0.28s; }
.pcard:nth-child(3) { animation-delay: 0.46s; margin-left: 1.4rem; }
@keyframes rise { to { opacity: 1; transform: translateY(0) rotateX(0deg) rotateY(0deg); } }
@media (prefers-reduced-motion: reduce) { .pcard { animation: none; opacity: 1; transform: none; } }

.pcard-featured { position: relative; z-index: 3; box-shadow: 0 28px 55px -16px rgba(0,0,0,0.6); border-color: rgba(255,255,255,0.22); }

.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.55rem; }
.pcard-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.5; font-weight: 600; }
.pcard-title { font-family: 'Fraunces', serif; font-size: 1.02rem; font-weight: 600; margin-top: 0.2rem; }
.pcard-meta { font-size: 0.8rem; opacity: 0.6; margin-top: 0.1rem; }
.pcard-status { font-size: 0.66rem; font-weight: 700; padding: 0.22rem 0.6rem; border-radius: 20px; white-space: nowrap; display: flex; align-items: center; gap: 0.3rem; }
.pcard-status.ok { background: rgba(34,167,93,0.22); color: #86efac; }
.pcard-status.pending { background: rgba(245,146,42,0.22); color: #fdba74; }
.pulse-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.pcard-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 0.6rem; }
.pcard-bars span { flex: 1; background: linear-gradient(180deg, var(--orange), rgba(245,146,42,0.3)); border-radius: 2px; }
.pcard-earn { font-size: 0.8rem; color: #86efac; font-weight: 700; margin-top: 0.6rem; }
.pcard-profiles { display: flex; align-items: center; justify-content: space-between; margin-top: 0.65rem; }
.avatar-stack { display: flex; align-items: center; }
.avatar {
    width: 27px; height: 27px; border-radius: 50%; border: 2px solid var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 0.63rem; font-weight: 700;
    color: white; margin-left: -8px; flex-shrink: 0;
}
.avatar:first-child { margin-left: 0; }
.pcard-price { font-size: 0.98rem; font-weight: 800; }

.panel-divider { display: flex; align-items: center; gap: 0.7rem; margin: 1.6rem 0 1rem; max-width: 370px; position: relative; z-index: 2; }
.panel-divider::before, .panel-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.15); }
.panel-divider span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.55; font-weight: 700; white-space: nowrap; }

.pcard-business {
    background: rgba(245,146,42,0.09); border-color: rgba(245,146,42,0.3);
    position: relative; z-index: 2; opacity: 1; transform: none; animation: none;
}
.avatar-photo { width: 27px; height: 27px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-dark); margin-left: -8px; flex-shrink: 0; }
.avatar-photo:first-child { margin-left: 0; }
.avatar-more-photo {
    width: 27px; height: 27px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; background: rgba(255,255,255,0.2); color: white;
    border: 2px solid var(--navy-dark); margin-left: -8px; flex-shrink: 0;
}
.pcard-contact { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.85rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-photo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.contact-name { font-size: 0.83rem; font-weight: 700; }
.contact-role { font-size: 0.71rem; opacity: 0.6; }

.stat-row-business { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.95rem; position: relative; z-index: 2; }
.stat-num-b { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.005em; color: #fdba74; }
.stat-label-b { font-size: 0.68rem; opacity: 0.6; margin-top: 0.1rem; }

/* ── Right: Login panel ── */
.login-panel { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-card {
    width: 100%; max-width: 400px; background: white; border-radius: 22px; border: 1px solid var(--gray-200);
    box-shadow: 0 24px 60px -24px rgba(30,45,79,0.18);
    padding: 2.75rem 2.5rem;
}

.login-title { font-family: 'Fraunces', serif; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.login-sub { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.9rem; }

.field-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.4rem; display: block; }
.field-input {
    width: 100%; padding: 0.8rem 0.95rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius);
    font-family: inherit; font-size: 0.92rem; margin-bottom: 1.1rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.field-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(44,62,107,0.08); }

.btn-primary {
    width: 100%; padding: 0.9rem; background: var(--orange); color: white; border: none; border-radius: var(--radius);
    font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer;
    background-image: linear-gradient(100deg, var(--orange) 40%, var(--orange-hover) 50%, var(--orange) 60%);
    background-size: 250% 100%; background-position: 100% 0;
    transition: background-position 0.5s ease, transform 0.15s ease;
}
.btn-primary:hover { background-position: 0% 0; }
.btn-primary:active { transform: scale(0.98); }

.trust-line { display: flex; align-items: center; justify-content: center; gap: 0.35rem; font-size: 0.74rem; color: var(--gray-400); margin-top: 0.85rem; }
.trust-line svg { width: 13px; height: 13px; stroke: var(--gray-400); }

.confirm-box { display: none; background: var(--green-light); border: 1.5px solid #a7f3d0; border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.confirm-box.show { display: block; }
.confirm-box p { font-size: 0.88rem; color: #065f46; margin-bottom: 0.3rem; }
.confirm-box a { font-size: 0.8rem; color: var(--navy); text-decoration: underline; cursor: pointer; }

.divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.9rem 0 1.3rem; }
.divider hr { flex: 1; border: none; border-top: 1px solid var(--gray-200); }
.divider span { font-size: 0.78rem; color: var(--gray-400); white-space: nowrap; }

.register-options { display: grid; gap: 0.65rem; }
.register-card {
    display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.05rem;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius); text-decoration: none; color: inherit;
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.register-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(30,45,79,0.22); }
.register-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.register-icon svg { width: 18px; height: 18px; }
.register-card.hostess .register-icon { background: var(--orange-bg); }
.register-card.hostess .register-icon svg { stroke: var(--orange); }
.register-card.kunde .register-icon { background: #e8ecf6; }
.register-card.kunde .register-icon svg { stroke: var(--navy); }
.register-text-title { font-size: 0.87rem; font-weight: 700; }
.register-text-sub { font-size: 0.75rem; color: var(--gray-500); }
.register-arrow { margin-left: auto; color: var(--gray-300); font-size: 1.1rem; transition: transform 0.18s; }
.register-card:hover .register-arrow { transform: translateX(3px); color: var(--gray-400); }

.footer-note { margin-top: 2rem; font-size: 0.78rem; color: var(--gray-400); text-align: center; }
.footer-note a { color: var(--gray-500); text-decoration: none; }

.mobile-hero {
    display: none;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: white; padding: 1.5rem 1.25rem 1.75rem;
}
.mobile-hero-title { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.9rem; max-width: 300px; }
.mobile-pcard {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg);
    padding: 0.9rem 1.05rem;
}
.mobile-pcard .pcard-top { margin-bottom: 0; }
.mobile-trust { font-size: 0.72rem; opacity: 0.6; margin-top: 0.9rem; }

/* ── Role selector (landing) ── */
.selector-view {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: white; text-align: center;
}
.mosaic-band { width: 100%; margin: 0.25rem 0 1.5rem; }
.mosaic-strip { display: flex; justify-content: center; }
.mosaic-strip img {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--navy-dark); margin-left: -10px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.mosaic-strip img:first-child { margin-left: 0; }
@media (max-width: 640px) {
    .mosaic-strip img { width: 32px; height: 32px; margin-left: -8px; }
}
.selector-content { padding: 0.5rem 1.5rem 3rem; display: flex; flex-direction: column; align-items: center; flex: 1; justify-content: center; }
.selector-logo-chip { display: inline-flex; align-items: center; background: rgba(255,255,255,0.97); padding: 0.55rem 1rem; border-radius: 10px; margin-bottom: 1.75rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.selector-logo { height: 22px; width: auto; display: block; }
.selector-headline { font-family: 'Fraunces', serif; font-size: 2.1rem; font-weight: 600; margin-bottom: 2.25rem; max-width: 480px; }
.selector-tiles { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; max-width: 720px; }
.selector-tile {
    flex: 1 1 280px; max-width: 320px; text-align: left; cursor: pointer; border: none;
    background: white; border-radius: var(--radius-lg); padding: 1.6rem 1.5rem;
    color: var(--gray-800); font-family: inherit; box-shadow: 0 20px 45px -18px rgba(0,0,0,0.4);
    transition: transform 0.18s, box-shadow 0.18s;
}
.selector-tile:hover { transform: translateY(-4px); box-shadow: 0 28px 55px -16px rgba(0,0,0,0.5); }
.selector-tile-icon {
    width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
    box-shadow: 0 8px 16px -6px rgba(0,0,0,0.3);
}
.selector-tile-icon svg { width: 27px; height: 27px; }
.selector-tile.job .selector-tile-icon { background: linear-gradient(140deg, var(--orange) 0%, #e0641a 100%); }
.selector-tile.personal .selector-tile-icon { background: linear-gradient(140deg, var(--navy-light) 0%, var(--navy-dark) 100%); }
.selector-tile-category { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.15rem; }
.selector-tile-you { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.7rem; }
.selector-tile.job .selector-tile-you { color: var(--orange-hover); }
.selector-tile.personal .selector-tile-you { color: var(--navy); }
.selector-tile-teaser { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--gray-100); }
.selector-tile-cta { font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 0.3rem; color: var(--gray-800); }

.selector-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; justify-content: center; }
.selector-stat-num { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600; color: white; }
.selector-stat-label { font-size: 0.76rem; opacity: 0.55; margin-top: 0.15rem; text-align: center; }

/* ── Trust strip ── */
.trust-strip { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 0.45rem 0.9rem 0.45rem 0.7rem; }
.trust-stars { color: var(--orange); font-size: 0.78rem; letter-spacing: 0.02em; }
.trust-badge-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(245,146,42,0.22); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.trust-text { font-size: 0.76rem; color: rgba(255,255,255,0.75); white-space: nowrap; }
.trust-text b { color: white; font-weight: 700; }
.trust-count { opacity: 0.55; }
@media (max-width: 640px) { .trust-strip { gap: 0.6rem; } .trust-item { padding: 0.4rem 0.75rem 0.4rem 0.6rem; } }

.main-view { display: none; flex-direction: column; flex: 1; }
.main-view.show { display: flex; }
.selector-view.hide { display: none; }

body:not(.role-hostess) .hostess-only { display: none !important; }
body:not(.role-kunde) .kunde-only { display: none !important; }

.back-link { font-size: 0.82rem; color: var(--gray-400); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; margin-bottom: 1.5rem; cursor: pointer; }
.back-link:hover { color: var(--navy); }

@media (max-width: 900px) {
    .screen { grid-template-columns: 1fr; }
    .preview-panel { display: none; }
    .mobile-hero { display: block; }
    .login-panel { padding: 1.25rem; }
    .login-card { box-shadow: none; border: none; padding: 1rem 0; }
}

/* ── Ergänzungen gegenüber Konzept v19 (echtes Backend) ─────────────────────
   Nur Zustände, die der statische Entwurf nicht brauchte — kein Redesign. */
.error-box {
    background: #fef2f2; border: 1.5px solid #fecaca; border-radius: var(--radius);
    padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.error-box p { font-size: 0.88rem; color: #991b1b; }
.notice-box {
    background: var(--orange-light); border: 1.5px solid var(--orange-bg); border-radius: var(--radius);
    padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.notice-box p { font-size: 0.88rem; color: #9a3412; }

/* ── Mosaik-Band: Hover-Highlight + Namens-Badge, mobiles Spotlight ─────────
   Ergänzung auf Wunsch von Daniel (11.07.2026): echte (kuratierte) Profil-
   fotos; Desktop-Hover bzw. wanderndes Spotlight auf Touch-Geräten zeigen
   "Laura I., 24". Avatar-Grundmaße bleiben wie im Konzept v19. */
.mosaic-band { margin: 0.25rem 0 0.5rem; padding-bottom: 2.1rem; }
.mosaic-strip .mosaic-item {
    position: relative; display: inline-block; margin-left: -10px; z-index: 1;
}
.mosaic-strip .mosaic-item:first-child { margin-left: 0; }
.mosaic-strip .mosaic-item img { margin-left: 0; display: block; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.mosaic-item .mosaic-label {
    position: absolute; top: calc(100% + 9px); left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(255,255,255,0.97); color: var(--navy-dark);
    font-size: 0.72rem; font-weight: 700; padding: 0.24rem 0.65rem;
    border-radius: 999px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35); z-index: 40;
}
.mosaic-item:hover, .mosaic-item.spotlight { z-index: 30; }
.mosaic-item:hover img, .mosaic-item.spotlight img {
    transform: scale(1.55);
    box-shadow: 0 12px 26px rgba(0,0,0,0.5);
}
.mosaic-item:hover .mosaic-label, .mosaic-item.spotlight .mosaic-label {
    opacity: 1; transform: translateX(-50%) translateY(0);
}
/* Spotlight (mobil, automatisch) bewusst langsamer als der Hover */
.mosaic-item.spotlight img { transition: transform 0.6s ease, box-shadow 0.6s ease; }
.mosaic-item.spotlight .mosaic-label { transition: opacity 0.55s ease, transform 0.55s ease; }
@media (max-width: 640px) {
    .mosaic-strip .mosaic-item { margin-left: -8px; }
    .mosaic-strip .mosaic-item:first-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .mosaic-strip .mosaic-item img,
    .mosaic-item .mosaic-label { transition: none; }
}

/* Echte Profilfotos haben gemischte Seitenverhältnisse (150x101 quer bis
   150x324 hochkant) — ohne object-fit würden sie im 40px-Kreis verzerrt.
   Gesichter sitzen bei Porträts im oberen Drittel → object-position 30%. */
.mosaic-strip .mosaic-item img,
.mosaic-strip img { object-fit: cover; object-position: center 30%; }
