/* Completely different visual style from the other pages */
:root{
    --bg: #ffffff;
    --panel: #c70000;
    --accent: #ffffff;
    --accent-2: #ff3b3b;
    --muted: #222222;
    --card: #ffffff;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}

body{
    font-family:'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background:linear-gradient(180deg,#071017 0%,#0f1720 100%);
    color:var(--muted);
    -webkit-font-smoothing:antialiased;
}

.container{
    max-width:1100px;
    margin:0 auto;
    padding:0 18px;
}

/* ===== TOPBAR ===== */
.topbar{
    position:fixed;
    left:0;
    right:0;
    top:0;
    height:64px;
    background:linear-gradient(90deg,var(--panel),var(--accent-2));
    display:flex;
    align-items:center;
    z-index:1000;
    box-shadow:0 6px 18px rgba(0,0,0,0.08)
}

.topbar-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:0 18px;
    width:100%;
}

.brand{
    font-size:1.4rem;
    letter-spacing:2px;
    color:var(--accent);
    font-weight:800;
    text-decoration: none;
    display: inline-block;
}

.logo{height:40px;width:auto;display:block}

.top-nav{
    display:flex;
    gap:14px;
    align-items:center;
}

.top-link{
    color:var(--accent);
    text-decoration:none;
    padding:8px 12px;
    border-radius:6px;
    font-weight:700;
}

.top-link:hover{
    background:rgba(255,255,255,0.08);
    color:#111;
}

/* ===== CONTENT ===== */
.content{
    margin:0 auto;
    padding:110px 28px 36px;
    max-width:1100px;
    background:var(--bg);
    min-height:100vh;
}

.hero{
    padding:48px 0;
}

.hero-inner{
    display:flex;
    gap:24px;
    align-items:center;
}

.hero-text h2{
    font-size:2.4rem;
    color:var(--panel);
    margin-bottom:6px;
}

.lead{
    color:var(--muted);
    max-width:640px;
    margin-bottom:12px;
}

.hero-visual{
    width:260px;
    height:160px;
    background:linear-gradient(135deg,var(--accent-2),var(--panel));
    border-radius:12px;
}

.hero-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
}

.btn{
    display:inline-block;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    color:var(--accent);
    background:transparent;
    border:2px solid var(--panel);
    font-weight:700;
}

.btn.primary{
    background:var(--panel);
    color:var(--accent);
}

.section{
    padding:28px 0;
    border-top:1px solid rgba(0,0,0,0.04);
}

.section h3{
    color:var(--panel);
    margin-bottom:12px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:18px;
}

.card{
    background:var(--card);
    padding:18px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.04);
}

.card-img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:12px;
}

/* ===== FOOTER (Stadt / Behörden-Stil) ===== */
.footer{
    background:#2f3437;
    color:#d1d5d8;
    padding:56px 0 48px;
    margin-top:80px;
}

.footer .container{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:64px;
    align-items:flex-start;
}

.footer-left h4,
.footer-center h5{
    font-size:1.4rem;
    color:#ffffff;
    margin-bottom:12px;
}

.footer-left p,
.footer-center p{
    font-size:0.95rem;
    line-height:1.6;
    margin-bottom:10px;
    color:#d1d5d8;
}

.footer-left .contact a{
    color:#d1d5d8;
    text-decoration:none;
}

.footer-left .contact a:hover{
    color:#ffffff;
}

.social{
    display:flex;
    gap:12px;
    margin:16px 0 24px;
}

.social a{
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    text-decoration:none;
    font-weight:700;
}

.social a:hover{
    background:rgba(255,255,255,0.08);
}

/* social icon image */
.social-icon{width:24px;height:24px;display:block;object-fit:contain;border-radius:50%}

.footer-links{
    display:flex;
    flex-direction:column;
    margin-top:16px;
    border-top:1px solid rgba(255,255,255,0.1);
}

.footer-links a{
    padding:12px 0;
    border-bottom:1px solid rgba(255,255,255,0.1);
    color:#d1d5d8;
    text-decoration:none;
    font-weight:500;
}

.footer-links a:hover{
    color:#ffffff;
}

.footer-center input{
    width:100%;
    padding:14px 16px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.2);
    background:#2a2e31;
    color:#ffffff;
}

.footer-center input::placeholder{
    color:#9aa1a6;
}

/* ===== RESPONSIVE ===== */
@media (max-width:900px){
    .topbar{position:relative;height:auto;padding:10px 0}
    .topbar-inner{flex-direction:column;gap:10px;padding:8px}
    .logo{height:36px}
    .brand{font-size:1.05rem}
    .top-nav{width:100%;justify-content:center;flex-wrap:wrap;gap:8px}
    .top-link{padding:8px 10px;font-size:0.95rem}

    .hero-inner{flex-direction:column}
}

@media (max-width:800px){
    .footer .container{
        grid-template-columns:1fr;
        gap:40px;
    }
}
