/* Wohnungsbot NET – Netzwerkseite (Hub). Übergeordnete Identität: Violett → Magenta.
   Jede Stadt-Kachel trägt zusätzlich ihre eigene Stadtfarbe (--c1/--c2/--cg). */

:root {
    --bg:        #0d0a16;
    --bg-2:      #140f22;
    --card:      rgba(255, 255, 255, 0.035);
    --card-hi:   rgba(255, 255, 255, 0.06);
    --border:    rgba(255, 255, 255, 0.09);
    --text:      #eef0f7;
    --muted:     #9a97b5;
    --accent:    #8B5CF6;
    --accent-2:  #EC4899;
    --grad:      linear-gradient(135deg, #8B5CF6, #EC4899);
    --radius:    16px;
    --maxw:      1080px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(1100px 600px at 82% -10%, rgba(236, 72, 153, 0.12), transparent 60%),
        radial-gradient(900px 520px at 0% 0%, rgba(139, 92, 246, 0.16), transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Verlaufs-Text ── */
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ── Navigation ── */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(13, 10, 22, 0.72);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav a.logo { display: flex; align-items: center; text-decoration: none; }
.nav a.logo img { height: 40px; display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
    color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero { padding: 84px 0 60px; text-align: center; }
.hero .eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.12;
    letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero p.lead {
    color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px;
    margin: 0 auto 30px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 700;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: transform 0.15s, opacity 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ── Section-Grundgerüst ── */
.section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ── Feature-Karten ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 22px; transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.feature:hover { background: var(--card-hi); transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
.feature .ficon {
    width: 52px; height: 52px; border-radius: 13px;
    background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.28);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* ── Städte (je Kachel eigene Stadtfarbe via --c1/--c2/--cg) ── */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.city {
    --c1: var(--accent); --c2: var(--accent-2); --cg: rgba(139,92,246,0.14);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    text-decoration: none; color: inherit;
    background: radial-gradient(150px 90px at 50% 24%, var(--cg), transparent 70%), var(--card);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 18px 24px; transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
/* Farbiger Boden-Akzent in Stadtfarbe – auf jeder Kachel sichtbar */
.city::after {
    content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px;
    border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--c1), var(--c2)); opacity: 0.6;
}
.city.live:hover { transform: translateY(-4px); border-color: var(--c1); }
.city.soon { cursor: default; }
.city.soon .cityart { opacity: 0.82; }
.city .cityart { height: 84px; display: flex; align-items: flex-end; margin-bottom: 16px; }
.city h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.city .status {
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px;
}
.city.live .status { color: var(--c1); }
.city.soon .status { color: var(--muted); }
.city .badge {
    position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 20px;
    background: var(--cg); color: var(--c1); border: 1px solid var(--c1);
}
.city.soon .badge { color: var(--muted); border-color: var(--border); background: rgba(255,255,255,0.05); }
.city .arrow { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ── CTA-Band ── */
.band {
    margin: 20px 0; text-align: center;
    background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 46px 26px;
}
.band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.band p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 50px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer img { height: 34px; opacity: 0.85; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 13px; width: 100%; margin-top: 20px; }
.footer-copy a { color: var(--muted); }

/* ── Rechtstexte (Prosa) ── */
.legal { padding: 40px 0 20px; }
.legal .prose { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
.prose h2 { font-size: 1.35rem; font-weight: 700; margin: 30px 0 12px; }
.prose h3 { font-size: 1.08rem; font-weight: 700; margin: 22px 0 8px; color: var(--text); }
.prose p { color: #cfd0e2; margin-bottom: 12px; font-size: 0.98rem; }
.prose ul { color: #cfd0e2; margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-2); text-decoration: none; word-break: break-word; }
.prose a:hover { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; color: #cfd0e2; }
.prose th { background: rgba(255,255,255,0.04); color: var(--text); }
.prose strong { color: var(--text); }
.back-link { display: inline-block; margin-bottom: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 860px) {
    .features { grid-template-columns: 1fr; }
    .cities { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 16px; }
}
@media (max-width: 520px) {
    .cities { grid-template-columns: 1fr; }
    .nav-links a.hide-sm { display: none; }
    .hero { padding: 60px 0 40px; }
}
