/*!
 * ==========================================================
 * WFB WebManager
 * Verwaltungs- und Redaktionssystem der Wählergemeinschaft Freier Bürger Sittensen
 *
 * Version: 1.4.4
 * Datei: start-unterseiten.css
 * Stand: 2026-08-04
 *
 * © 2026 Th. Kannenberg
 * Entwickelt mit Unterstützung von OpenAI ChatGPT
 * ==========================================================
 */

*,
*::before,
*::after{box-sizing:border-box}

:root{
    --blau:#0b5184;
    --blau-dunkel:#063d70;
    --gelb:#ffd21a;
    --text:#18364e;
    --rand:#cad7df;
}

body{
    margin:0;
    color:var(--text);
    background:#fff;
    font-family:Arial,Helvetica,sans-serif;
}

.unterseite{
    width:min(900px,100%);
    margin:0 auto;
    padding:clamp(18px,3vw,36px);
}

.unterseite h1{
    margin-top:0;
    color:var(--blau-dunkel);
}

.unterseite p,
.unterseite li{
    line-height:1.7;
}

.hinweisbox{
    padding:18px;
    border:1px solid var(--rand);
    border-radius:13px;
    background:#edf6fb;
}

.downloadliste{
    display:grid;
    gap:12px;
    padding:0;
    list-style:none;
}

.downloadliste li{
    padding:15px;
    border:1px solid var(--rand);
    border-radius:11px;
}

.downloadliste a{
    color:var(--blau);
    font-weight:800;
}


.fehlerbox{
    color:#9b2020;
    background:#fff0f0;
}

.downloadliste,
.entstehungsliste{
    display:grid;
    gap:16px;
    margin-top:18px;
}

.downloadkarte,
.entstehungskarte{
    padding:18px;
    border:1px solid var(--rand);
    border-radius:13px;
    background:#fff;
    box-shadow:0 5px 14px rgb(0 0 0 / 8%);
}

.downloadkarte h2,
.entstehungskarte h2{
    margin-top:0;
    color:var(--blau-dunkel);
}

.downloadbutton{
    display:inline-block;
    margin-top:8px;
    padding:10px 15px;
    color:#08315d;
    background:var(--gelb);
    border-radius:9px;
    font-weight:800;
    text-decoration:none;
}

.entstehungskarte img{
    width:100%;
    max-height:360px;
    object-fit:cover;
    border-radius:12px;
    margin:12px 0;
}

.untertitel{
    color:var(--blau);
    font-weight:700;
}

.langtext{
    line-height:1.7;
}


/* =========================================================
   Version 1.4.4 – Bildergalerie und Bildlauf
========================================================= */

.inhaltsliste {
    display: grid;
    gap: 20px;
    margin-top: 18px;
}

.inhaltskarte {
    overflow: hidden;
}

.bildlauf {
    position: relative;
    margin: 14px 0;
    border-radius: 13px;
    outline: none;
}

.bildlauf:focus-visible {
    box-shadow:
        0 0 0 4px
        rgb(11 81 132 / 25%);
}

.bildlauf__buehne {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    background: #e8edf1;
    border-radius: 13px;
    touch-action: pan-y;
    user-select: none;
}

.bildlauf__bild {
    display: block;
    width: 100%;
    height: min(62vh, 620px);
    object-fit: contain;
    background: #eef2f5;
}

.bildlauf__urheber,
.bildlauf__zaehler {
    position: absolute;
    bottom: 10px;
    padding: 5px 8px;
    color: #fff;
    background: rgb(0 0 0 / 62%);
    border-radius: 7px;
    font-size: .82rem;
}

.bildlauf__urheber {
    right: 10px;
}

.bildlauf__zaehler {
    left: 10px;
}

.bildlauf__steuerung {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 58px;
    padding: 0;
    transform: translateY(-50%);
    color: #fff;
    background: rgb(5 54 91 / 78%);
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 12px;
    cursor: pointer;
    font-size: 2.4rem;
    line-height: 1;
}

.bildlauf__steuerung:hover,
.bildlauf__steuerung:focus-visible {
    background: #0b5184;
}

.bildlauf__steuerung--zurueck {
    left: 10px;
}

.bildlauf__steuerung--weiter {
    right: 10px;
}

@media (max-width: 600px) {
    .bildlauf__bild {
        height: min(54vh, 480px);
    }

    .bildlauf__steuerung {
        width: 40px;
        height: 52px;
    }
}
