/* =========================================================
 *   Bundesbierschutz – styles.css
 *   Mobile First • Clean • No Duplicates
 *   ========================================================= */

/* ---------- CSS Variables ---------- */
:root{
    --bbs-black:#050505;
    --bbs-white:#ffffff;
    --bbs-green:#0b7a3b;
    --bbs-green-2:#0fa85a;
    --bbs-gray:#cfcfcf;

    --card-bg: rgba(255,255,255,.05);
    --stroke: rgba(255,255,255,.14);
    --shadow: 0 12px 40px rgba(0,0,0,.45);
    --radius:18px;
    --max-width:1100px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    -webkit-text-size-adjust:100%;
}

body{
    margin:0;
    min-height:100%;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
    color:var(--bbs-white);
    overflow-x:hidden;
}

/* ---------- Fixed Background (no repeat, mobile-safe) ---------- */
body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    background:
    radial-gradient(1000px 600px at 20% 0%, rgba(11,122,59,.25), transparent 55%),
    radial-gradient(900px 550px at 80% 10%, rgba(15,168,90,.18), transparent 55%),
    linear-gradient(180deg, #050505, #0a0a0a 40%, #050505);
    background-repeat:no-repeat;
    background-size:cover;
}

/* ---------- Generic Elements ---------- */
img, svg{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

p, li{
    font-size:15px;
    line-height:1.65;
    color:rgba(255,255,255,.88);
    overflow-wrap:anywhere;
}

h1{
    font-size:clamp(26px, 6vw, 44px);
    line-height:1.08;
    margin:0;
}

h2{
    font-size:clamp(16px, 4.2vw, 20px);
    margin:0 0 10px;
}

code{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size:12px;
    background:rgba(255,255,255,.06);
    padding:2px 6px;
    border-radius:8px;
    border:1px solid rgba(255,255,255,.08);
}

/* ---------- Layout ---------- */
.wrap{
    max-width:var(--max-width);
    margin:0 auto;
    padding:16px;
}

main{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

/* ---------- Header ---------- */
.site-header{
    display:grid;
    grid-template-columns:72px 1fr;
    gap:12px;
    align-items:center;
    padding:18px;
    border:1px solid var(--stroke);
    border-radius:var(--radius);
    background:var(--card-bg);
    box-shadow:var(--shadow);
}

.logo{
    width:72px;
    height:72px;
    border-radius:50%;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
}

.tagline{
    margin-top:8px;
    font-size:14px;
    color:var(--bbs-gray);
}

/* ---------- Navigation ---------- */
.nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}

.nav a{
    flex:1 1 auto;
    min-width:0;
    padding:10px 12px;
    font-size:14px;
    border-radius:999px;
    border:1px solid var(--stroke);
    text-align:center;
    opacity:.75;
}

.nav a.active{
    opacity:1;
    color:#c8ffd9;
    border-color:var(--bbs-green-2);
    background:rgba(11,122,59,.18);
}

/* ---------- Cards ---------- */
.card{
    min-width:0;
    padding:18px;
    border-radius:var(--radius);
    border:1px solid var(--stroke);
    background:var(--card-bg);
    box-shadow:var(--shadow);
}

.accent{
    border-left:4px solid var(--bbs-green-2);
    padding-left:12px;
    margin:12px 0;
}

/* ---------- Pills ---------- */
.pillrow{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
    margin-bottom:10px;
}

.pill{
    font-size:12px;
    padding:7px 10px;
    border-radius:999px;
    border:1px solid var(--stroke);
    background:rgba(0,0,0,.35);
}

.pill.green{
    border-color:rgba(15,168,90,.55);
    background:rgba(11,122,59,.18);
    color:#c8ffd9;
}

/* ---------- Footer ---------- */
footer{
    margin-top:18px;
    text-align:center;
    font-size:12px;
    color:rgba(255,255,255,.55);
}

/* ---------- Desktop Enhancements ---------- */
@media (min-width:920px){
    main{
        grid-template-columns:1.25fr .75fr;
        gap:18px;
    }

    .site-header{
        grid-template-columns:110px 1fr;
    }

    .logo{
        width:110px;
        height:110px;
    }

    .nav a{
        flex:0 0 auto;
        padding:10px 14px;
        font-size:15px;
    }
}
