
/*
    Dagusta Archiv Styles
    Modernisierte Fassung für HTML5, Bootstrap 5, responsive Ausgabe und Archivseiten
*/

:root
{
    --dagusta-black: #000;
    --dagusta-white: #fff;
    --dagusta-text: #1f1f1f;
    --dagusta-muted: #666;
    --dagusta-light: #efefef;
    --dagusta-border: #ccc;
    --dagusta-accent: #c3880f;
    --dagusta-accent-dark: #8a5f0a;
    --dagusta-pink: #e50046;
    --dagusta-max-width: 1000px;
    --dagusta-content-width: 720px;
    --dagusta-menu-width: 170px;
    --dagusta-font-main: Arial, Helvetica, sans-serif;
    --dagusta-font-display: 'Raleway', Arial, Helvetica, sans-serif;
}

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

html
{
    min-height: 100%;
    background: url(/template/img/bg_html.jpg);
}

body
{
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: var(--dagusta-text);
    font-family: var(--dagusta-font-main);
    font-size: 14px;
    letter-spacing: 0;
}

img
{
    max-width: 100%;
    height: auto;
}

a
{
    color: inherit;
}

button,
input,
textarea,
select
{
    font: inherit;
}

.break
{
    clear: both;
}

.floatL
{
    float: left;
}

/* Header */

#header
{
    width: 100%;
    max-width: var(--dagusta-max-width);
    min-height: 260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

#headerContainer
{
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 24px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#headerContainer a
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

#headerContainer img
{
    display: block;
    width: min(520px, 100%);
    max-height: 150px;
    object-fit: contain;

    margin-bottom: 100px;
}

/* Layout */

#bodyContainer
{
    width: 100%;
    max-width: var(--dagusta-max-width);
    margin: 0 auto;
}

#container
{
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 10px 40px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

#content
{
    position: static;
    flex: 1 1 600px;
    min-width: 0;
    max-width: var(--dagusta-content-width);
    margin-top: -96px;
    font-family: var(--dagusta-font-display);
    font-size: 14px;
}

/* Hauptnavigation */

#menuMain
{
    position: static;
    flex: 0 0 var(--dagusta-menu-width);
    margin-top: -96px;
    padding: 0;
    font-size: 14px;
    line-height: 1.2;
}

#menuMain ul,
#menuSub ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}

#menuMain ul
{
    align-items: flex-start;
    flex-direction: column;
}

#menuMain li,
#menuSub li
{
    margin-bottom: 5px;
    list-style-type: none;
    letter-spacing: 1px;
}

#menuMain li a,
#menuSub li a
{
    display: block;
    padding: 4px 8px;
    color: var(--dagusta-white);
    line-height: 1.2;
    text-decoration: none;
    background: var(--dagusta-black);
}

#menuMain .normal:hover a,
#menuSub .normal:hover a,
#menuMain li a:hover,
#menuSub li a:hover,
#menuMain li a:focus-visible,
#menuSub li a:focus-visible
{
    color: var(--dagusta-accent);
}

#menuMain .active a,
#menuSub .active a,
#menuMain a[aria-current="page"]
{
    color: var(--dagusta-white);
    background: var(--dagusta-accent);
}

#menuMain .navbar-toggler
{
    margin-left: auto;
    background: var(--dagusta-black);
    border: 1px solid var(--dagusta-accent);
    border-radius: 4px;
}

#menuMain .navbar-toggler:focus
{
    box-shadow: 0 0 0 .15rem rgba(195, 136, 15, .35);
}

#menuMain .navbar-toggler-icon
{
    filter: invert(1);
}

.liSpacer
{
    height: 25px;
    padding: 10px 0 0 8px;
}

#buecherlisteButton
{
    position: relative;
    bottom: 0;
}

#facebookMenuButton
{
    display: block;
}

/* Artikel */

#buttonBar
{
    position: absolute;
    width: min(600px, 100%);
    margin-top: -55px;
    padding-left: 10px;
}

#buttonBar button
{
    margin: 0 4px 0 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

#buttonBar img
{
    display: block;
}

.artikel,
.magazine-article
{
    color: var(--dagusta-text);
}

.artikel header
{
    padding-bottom: 20px;
}

.artikel h1
{
    margin: 0;
    padding-bottom: 20px;
    font-family: var(--dagusta-font-display);
    font-size: 24px;
    font-weight: normal;
    line-height: 1.25;
}

.artikel p
{
    margin: 0;
    padding-bottom: 15px;
    font-family: var(--dagusta-font-display);
}

.articleBreadcrumb
{
    margin-bottom: 18px;
    font-size: 12px;
}

.articleBreadcrumb ol
{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.articleBreadcrumb li
{
    list-style-type: none;
}

.articleBreadcrumb li::after
{
    content: "/";
    color: #999;
    padding-left: 6px;
}

.articleBreadcrumb li:last-child::after
{
    content: "";
    padding-left: 0;
}

.articleBreadcrumb a
{
    color: var(--dagusta-accent-dark);
    text-decoration: none;
}

.articleBreadcrumb a:hover,
.articleBreadcrumb a:focus-visible
{
    color: var(--dagusta-accent);
    text-decoration: underline;
}

.articleSummary
{
    margin-bottom: 4px;
}

.articleKicker
{
    margin-bottom: 8px;
    padding-bottom: 0 !important;
    color: var(--dagusta-accent);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.articleLead
{
    font-size: 17px !important;
    line-height: 1.55;
}

.articleMeta
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 10px;
    color: var(--dagusta-muted);
    font-size: 13px;
}

.articleBody
{
    font-size: 16px;
    line-height: 1.65;
}

.articleBody p
{
    font-size: 16px;
    line-height: 1.65;
}

.articleBody a
{
    color: var(--dagusta-accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.articleBody a:hover,
.articleBody a:focus-visible
{
    color: var(--dagusta-accent);
}

.articleBody img
{
    display: block;
    max-width: 100%;
    height: auto;
}

.artikelPic
{
    width: 200px;
    float: left;
    margin: 0 25px 15px 0;
}

.artikelPic img
{
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 5px #333;
}

.artikelHeader
{
    width: auto;
    float: none;
    overflow: hidden;
}

/* Footer */

#footer
{
    width: 100%;
    min-width: 0;
    margin-top: 40px;
    color: #d8d8d8;
    background: linear-gradient(135deg, #141414 0%, #050505 70%);
    border-top: 4px solid var(--dagusta-accent);
}

#footerContainer
{
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 36px 20px 34px;
    display: grid;
    grid-template-columns: 80px 1fr 260px 1.4fr;
    gap: 28px;
    align-items: start;
    font-family: var(--dagusta-font-display);
    font-size: 13px;
    line-height: 1.55;
}

#footerContainer ul
{
    margin: 0;
    padding: 0;
}

#footerContainer li
{
    margin-bottom: 7px;
    list-style-type: none;
}

#footerContainer a
{
    color: #f0f0f0;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

#footerContainer a:hover,
#footerContainer a:focus-visible
{
    color: var(--dagusta-accent);
    text-decoration: none;
}

#footerbox_01,
#footerbox_02,
#footerbox_03,
#footerbox_04,
#footerbox_05
{
    width: auto;
    min-height: 0;
    padding: 0;
    border-right: 0;
}

#footerbox_01 a
{
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}

#footerbox_01 a:hover,
#footerbox_01 a:focus-visible
{
    background: var(--dagusta-accent);
    border-color: var(--dagusta-accent);
}

#footerbox_01 img
{
    width: 26px;
    height: 26px;
    display: block;
}

#footerbox_02 a
{
    display: inline-block;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
}

#footerbox_02 a:hover,
#footerbox_02 a:focus-visible
{
    border-bottom-color: var(--dagusta-accent);
}

#footerbox_03 label
{
    display: block;
    margin-bottom: 8px;
    color: #f0f0f0;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .04em;
    text-transform: uppercase;
}

#footerbox_03 input[type="text"],
#footerbox_03 input[type="search"]
{
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    color: var(--dagusta-white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    outline: none;
}

#footerbox_03 input[type="text"]:focus,
#footerbox_03 input[type="search"]:focus
{
    border-color: var(--dagusta-accent);
    box-shadow: 0 0 0 .15rem rgba(195, 136, 15, .25);
}

#footerbox_03 input[type="submit"]
{
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    margin-top: 8px;
    padding: 8px 12px;
    color: var(--dagusta-black);
    font-weight: bold;
    cursor: pointer;
    background: var(--dagusta-accent);
    border: 1px solid var(--dagusta-accent);
}

#footerbox_03 input[type="submit"]:hover,
#footerbox_03 input[type="submit"]:focus-visible
{
    color: var(--dagusta-white);
    background: transparent;
}

#footerbox_04
{
    display: none;
}

#footerbox_05
{
    color: #bdbdbd;
}

#footerbox_05 p
{
    max-width: 360px;
    margin: 0;
}

#footerbox_05 a
{
    color: var(--dagusta-white);
    font-weight: bold;
    border-bottom: 1px solid rgba(195, 136, 15, .55);
}

#footerbox_05 a:hover,
#footerbox_05 a:focus-visible
{
    color: var(--dagusta-accent);
    border-bottom-color: var(--dagusta-accent);
}

/* Artikellisten */

#articlelist
{
    width: 550px;
    margin: 0;
    padding: 0;
}

#articlelist li
{
    width: 550px;
    min-height: 126px;
    margin-bottom: 15px;
    list-style-type: none;
}

#articlelist li .top
{
    width: 550px;
    height: 13px;
    background: url(/template/img/bg_channellistTop.png) no-repeat;
}

#articlelist li .bottom
{
    width: 550px;
    height: 13px;
    border-left: 1px solid var(--dagusta-light);
    border-right: 1px solid var(--dagusta-light);
    background: url(/template/img/bg_channellistBottom.png) no-repeat;
}

#articlelist li a
{
    display: block;
    width: 550px;
    min-height: 100px;
    color: var(--dagusta-black);
    text-decoration: none;
    border: 1px solid var(--dagusta-light);
}

#articlelist li a:hover,
#articlelist li a:focus-visible
{
    border-color: var(--dagusta-accent);
}

#articlelist li .imgContainer
{
    width: 150px;
    height: 100px;
    float: left;
    overflow: hidden;
}

#articlelist li img
{
    width: 150px;
}

#articlelist li .articlelistText
{
    width: 365px;
    float: left;
    padding: 10px 0 0 25px;
    font-family: var(--dagusta-font-display);
    font-size: 18px;
}

#articlelist li .teasertext
{
    width: 530px;
    padding: 0 10px 5px;
    color: #8c8c8c;
    border-left: 1px solid var(--dagusta-light);
    border-right: 1px solid var(--dagusta-light);
    border-bottom: 1px solid var(--dagusta-light);
}

#articlelist li:hover .teasertext
{
    color: var(--dagusta-black);
}

/* Topthemen */

#topthemen
{
    width: 550px;
    height: 345px;
    padding: 14px 19px 24px;
    font-family: var(--dagusta-font-display);
    background: url(/template/img/bg_topthemen.png) no-repeat;
}

#topthemen .topthemenContainer
{
    width: 550px;
    height: 345px;
    overflow: hidden;
}

#topthemen li
{
    display: block;
    width: 550px;
    height: 345px;
}

#topthemen a
{
    color: var(--dagusta-black);
    text-decoration: none;
}

#topthemen .imgContainer
{
    width: 210px;
    height: 345px;
    float: left;
    overflow: hidden;
    text-align: center;
    background: #999;
}

#topthemen a .imgContainer .overlay
{
    position: absolute;
    width: 210px;
    height: 35px;
    margin-top: 250px;
    padding-top: 10px;
    color: var(--dagusta-white);
    font-size: 18px;
    text-decoration: none;
    background: url(/template/img/bg_topthemenOverlay.png);
}

#topthemen .imgContainer img
{
    min-width: 210px;
    height: 345px;
    float: left;
}

#topthemen .topthemenText
{
    width: 320px;
    height: 325px;
    float: left;
    overflow: hidden;
    padding: 10px;
}

#topthemen .topthemenText h1
{
    font-size: 18px;
    font-weight: normal;
}

#topthemen .topthemenText p
{
    margin-top: 20px;
}

/* Youngest */

#youngest
{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

#youngest a
{
    color: var(--dagusta-black);
    text-decoration: none;
}

#youngest .item
{
    padding: 10px 0 30px 10px;
    list-style-type: none;
}

#youngest h1
{
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: normal;
}

#youngest h1 span
{
    color: #e40045;
}

#youngest p
{
    color: #8c8c8c;
}

#youngest li:hover p
{
    color: var(--dagusta-black);
}

#youngest img
{
    width: 50px;
    float: left;
    padding-right: 10px;
}

/* Pager */

#pager
{
    width: 100%;
    max-width: var(--dagusta-content-width);
    margin: 28px 0 8px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    list-style: none;
}

#pager li
{
    width: auto;
    height: auto;
    float: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 13px;
    letter-spacing: normal;
    text-align: center;
}

#pager li a,
#pager li.active
{
    min-width: 34px;
    min-height: 34px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dagusta-white);
    font-family: var(--dagusta-font-display);
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    background: #555;
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
    transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

#pager li a:hover,
#pager li a:focus-visible
{
    color: var(--dagusta-white);
    background: var(--dagusta-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .22);
}

#pager li.active
{
    color: var(--dagusta-white);
    background: var(--dagusta-pink);
    border-color: var(--dagusta-pink);
}

#pager .normal,
#pager .active
{
    background-image: none;
}

#pager .normal a:hover,
#pager .normal a:focus-visible
{
    color: var(--dagusta-white);
}

/* Banner */

.skyscraperBanner
{
    position: fixed;
    height: 100%;
    margin-left: 830px;
}

.skyscraperBannerSpacer
{
    height: 50%;
    min-height: 300px;
}

.skyscraperBannerContainer
{
    width: 160px;
    height: 600px;
    margin-top: -300px;
    overflow: hidden;
}

.superbannerBanner
{
    position: absolute;
    top: 0;
    width: 100%;
    height: 90px;
}

.superbannerBannerContainer
{
    width: 820px;
    margin: 0 auto;
    padding-right: 80px;
}

/* Brief */

.brief
{
    width: 500px;
    height: 765px;
    margin-left: -5px;
    padding: 47px 50px 39px;
    background: url(/template/img/bg_brief.png) no-repeat;
}

.brief p
{
    padding-bottom: 15px;
}

/* Verlosung / Formulare */

#verlosungForm
{
    padding: 15px 0;
    background: #c9d3d4;
}

.profileForm .fieldset,
.fieldset
{
    width: 100%;
}

.profileForm .fieldset
{
    clear: left;
    margin: 2px;
    padding: 5px;
}

.profileForm .label,
.fieldset .label
{
    min-height: 1px;
    float: left;
    min-width: 125px;
}

.profileForm .label
{
    width: 125px;
    padding: 7px 15px 0 0;
    text-align: right;
}

.profileForm .field,
.fieldset .field
{
    min-height: 1px;
    float: left;
}

.profileForm .field
{
    width: 400px;
}

.fieldset .field
{
    min-width: 140px;
}

.profileForm .fieldset .field input,
.profileForm select,
.profileForm option,
.profileForm .fieldset textarea
{
    height: auto;
    padding: 5px;
    border: 1px solid #f5ede1;
    font-size: 16px;
}

.fieldset .field input[type="text"],
.fieldset .field input[type="email"],
.fieldset .field input[type="password"],
.fieldset .field input[type="submit"],
.fieldset .field input[type="file"],
.fieldset .field select
{
    width: 100%;
    height: 22px;
    border: 1px solid #999;
    font-family: "Karla", Arial, Helvetica, sans-serif;
}

input,
textarea,
option,
select,
input[type="file"]
{
    box-sizing: border-box;
    font-family: "Karla", Arial, Helvetica, sans-serif;
}

/* Responsive */

@media (max-width: 991.98px)
{
    #header
    {
        min-height: 210px;
    }

    #headerContainer
    {
        max-width: 620px;
        padding: 42px 24px 38px;
    }

    #container
    {
        display: block;
        padding: 0 16px 36px;
    }

    #menuMain
    {
        width: 100%;
        margin: -28px 0 28px;
        padding: 8px 0;
    }

    #menuMain ul
    {
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
        padding-top: 10px;
    }

    #menuMain li,
    #menuSub li
    {
        height: auto;
        margin-bottom: 0;
    }

    #menuMain li a,
    #menuSub li a
    {
        display: block;
        min-height: 34px;
        height: auto;
        padding: 9px 11px;
    }

    #facebookMenuButton
    {
        display: none;
    }

    #content
    {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    #buttonBar
    {
        position: static;
        width: auto;
        margin: 0 0 16px;
        padding-left: 0;
    }

    .skyscraperBanner
    {
        display: none;
    }

    #articlelist,
    #articlelist li,
    #articlelist li a,
    #articlelist li .top,
    #articlelist li .bottom,
    #articlelist li .teasertext,
    #topthemen,
    #topthemen .topthemenContainer,
    #topthemen li
    {
        width: 100%;
    }

    #articlelist li .top,
    #articlelist li .bottom
    {
        display: none;
    }

    #articlelist li a
    {
        display: flex;
        gap: 15px;
    }

    #articlelist li .imgContainer
    {
        flex: 0 0 130px;
        width: 130px;
    }

    #articlelist li .articlelistText
    {
        flex: 1 1 auto;
        width: auto;
        padding-left: 0;
    }

    #topthemen
    {
        height: auto;
        padding: 14px;
        background-size: 100% 100%;
    }

    #footerContainer
    {
        grid-template-columns: 70px 1fr 1fr;
        gap: 24px;
    }

    #footerbox_05
    {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px)
{
    body
    {
        font-size: 15px;
    }

    #header
    {
        min-height: 150px;
    }

    #headerContainer
    {
        padding: 32px 18px 28px;
    }

    #headerContainer img
    {
        width: min(360px, 100%);
        max-height: 88px;

        margin-bottom: 10px;
    }

    #menuMain
    {
        margin-top: 0;
    }

    #menuMain li
    {
        margin-bottom: 3px;
    }

    .articleSummary
    {
        display: flex;
        flex-direction: column;
    }

    .artikelPic
    {
        width: 100%;
        float: none;
        margin: 0 0 18px;
    }

    .artikelPic img
    {
        width: 100%;
    }

    .artikel h1
    {
        font-size: 25px;
        line-height: 1.2;
    }

    .articleLead
    {
        font-size: 16px !important;
    }

    .articleBody,
    .articleBody p
    {
        font-size: 16px;
        line-height: 1.6;
    }

    #articlelist li a
    {
        display: block;
    }

    #articlelist li .imgContainer
    {
        width: 100%;
        height: auto;
        float: none;
        margin-bottom: 10px;
    }

    #articlelist li img
    {
        width: 100%;
    }

    #pager
    {
        gap: 6px;
        margin-top: 24px;
    }

    #pager li a,
    #pager li.active
    {
        min-width: 32px;
        min-height: 32px;
        padding: 7px 9px;
        font-size: 12px;
    }

    #topthemen,
    #topthemen .topthemenContainer,
    #topthemen li,
    #topthemen .imgContainer,
    #topthemen .topthemenText
    {
        width: 100%;
        height: auto;
        float: none;
    }

    #topthemen .imgContainer img
    {
        width: 100%;
        min-width: 0;
        height: auto;
        float: none;
    }

    #topthemen a .imgContainer .overlay
    {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 0;
        padding: 8px 10px;
    }

    #footerContainer
    {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 18px;
    }

    #footerbox_01,
    #footerbox_02,
    #footerbox_03,
    #footerbox_04,
    #footerbox_05
    {
        width: 100%;
        min-height: 0;
        padding: 0;
        border-right: 0;
    }

    #footerbox_03 input[type="text"],
    #footerbox_03 input[type="search"],
    #footerbox_03 input[type="submit"]
    {
        width: 100%;
    }

    .profileForm .label,
    .fieldset .label,
    .profileForm .field,
    .fieldset .field
    {
        width: 100%;
        min-width: 0;
        float: none;
        text-align: left;
    }
}
