/*
Notes:
Mobile width: bis zu 430px
Tablet width: 768px bis zu 800px (portrait)
Tablet width: 1024px bis zu 1280px (landscape)
PC width: grösser 1024px

max-width: is xy pixels wide or less
min-width: is xy pixels wide or wider
 */
/*-----------------------------------------*/
/*Generelles*/
@font-face {
    font-family: 'WorkSans';
    src: url("/fonts/WorkSans-VariableFont_wght.woff2") format('woff2'),
         url("/fonts/WorkSans-VariableFont_wght.woff") format('woff'),
         url("/fonts/WorkSans-VariableFont_wght.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'WorkSans', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 95vh;
}

main{
    flex: 1;
}
/*-----------------------------------------*/

/*Header*/
@media screen and (min-width: 950px){ /*PC + grosse Tablet*/
    body {
        padding-top: 60px;
    }

    #header-container {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }

    .menu-toggle {
        display: none;
    }

    .logo-nav a{
        padding-left: 1rem;
        padding-right: 1rem;
        align-items: center;
        align-content: center;
        height: 100%;
        border: 1px solid black;
    }

    .logo-nav{
        margin: 0 1rem;
        border: 1px solid black;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .navbar {
        width: 100%;
        height: 3rem;
        align-items: center;
        display: flex;
        justify-content: space-between;
        align-content: center;
        background: #fff;
        border-bottom: 2px solid black;
    }

    .logo {
        height: 40px;
        padding-left: 2rem;
    }

    nav a:hover {
        font-weight: bold;
        border-bottom: 3px solid #D52100;
    }
}

@media (max-width: 949px) { /*Handy + kleine Tablet*/
    .navbar {
        position: relative;
        padding: 2.25rem;
    }

    .logo-container {
        position: absolute;
        top: 1rem;
        left: 1rem;
        z-index: 1002;
    }

    .logo {
        height: 40px;
        padding-left: 2rem;
    }

    .logo-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 6rem;
    }

    .logo-nav.open {
        display: flex;
    }

    .logo-nav a {
        padding: 1.2rem;
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
        border-bottom: 2px solid black;
    }

    .menu-toggle {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        background: none;
        border: none;
    }
}

nav a {
    text-decoration: none;
    color: black;
}

nav a.highlight {
    background: #0402FC;
    color: white;
}

.logo-nav a.active {
    font-weight: bold;
    border-bottom: 3px solid #D52100;
}
/*-----------------------------------------*/

/*Footer*/
.footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    display: grid;
    border-top: 2px solid black;
}

.footer-content{
    flex-direction: column;
    display: flex;
}

.footer-content a:link, .footer-content a:visited {
    text-decoration: underline;
    color: black;
}

.footer-content h4{
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-content p{
    flex-direction: column;
    display: flex;
}

.aufzahlung a:link, .aufzahlung a:visited {
    text-decoration: none;
    color: black;
}

.aufzahlung{
    list-style-type: none;
    padding: 0;
}

@media screen and (min-width: 950px){ /*PC*/
    .footer{
        grid-template-columns: repeat(5,minmax(0,1fr));
        gap: 5rem;
    }
}

@media (max-width: 949px) and (min-width: 500px) { /*Tablet*/
    .footer{
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 2rem;
    }
}

@media (max-width: 500px) { /*Handy*/
    .footer{
        grid-template-columns: repeat(1,minmax(0,1fr));
        gap: 2rem;
    }
}
/*-----------------------------------------*/

/*h2-Design*/
.h2-highlight{
    padding-left: 2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    color: #D52100;
    font-weight: bold;
    font-size: 1.75rem;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.h2-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

@media screen and (min-width: 950px){ /*PC*/
    .partial-border {
        width: 25vw;
        height: 2px;
        background-color: black;
    }
}

@media (max-width: 949px) and (min-width: 500px) { /*Tablet*/
    .partial-border {
        width: 40vw;
        height: 2px;
        background-color: black;
    }
}

@media (max-width: 500px) { /*Handy*/
    .partial-border {
        width: 100vw;
        height: 2px;
        background-color: black;
    }
}

.h2-title {
    padding-left: 2rem;
    font-size: 1.5rem;
    margin: 0;
}
/*-----------------------------------------*/

/*h3-Design*/
.h3-wrapper {
    padding-top: 1rem;
    padding-left: 2rem;
}
/*-----------------------------------------*/

/*Aktuelles*/
.hero {
    background: lightgray;
}

.hero-bild{
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 950px){ /*PC*/
    .titelbild{
        width: 50vw;
    }
}

@media (max-width: 949px) and (min-width: 501px) { /*Tablet*/
    .titelbild{
        width: 90vw;
    }
}

@media (max-width: 500px) { /*Handy*/
    .titelbild{
        width: 100vw;
    }
}

.intro{
    width: 100%;
}

.intro p{
    padding-left: 2rem;
    padding-bottom: 1rem;
    padding-right: 2rem;
}

.pdf-viewer {
    margin-top: 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: center;
}

.pdf-scroll-wrapper {
    width: 100%;
    max-width: 1000px;
    height: 70vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    background: #f8f8f8;
    margin: 0 auto;
}

.pdf-scroll-wrapper canvas {
    width: 100%;
    height: auto;
    display: block;
}

.pdf-link {
    display: inline-block;
    margin-top: 0.75em;
    font-size: 0.9rem;
    color: #0066cc;
    text-decoration: none;
}

.pdf-link:hover {
    text-decoration: underline;
}
/*-----------------------------------------*/

/*Ueber uns*/
.team-image {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 950px){ /*PC*/
    .bild-alle{
        width: 50vw;
    }
}

@media (max-width: 949px) and (min-width: 500px) { /*Tablet*/
    .bild-alle{
        width: 90vw;
    }
}

@media (max-width: 500px) { /*Handy*/
    .bild-alle{
        width: 100vw;
    }
}

.intro{
    width: 100%;
}

.team-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem;
    justify-items: center;
}

.team p{
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.25rem;
}

@media screen and (min-width: 1025px){ /*PC*/
    .team-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) and (min-width: 500px) { /*Tablet*/
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 500px) { /*Handy*/
    .team-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.vorstand {
    background-color: #F0F0FF;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    width: 150px;
}

.vorstand:hover{
    transform: scale(1.1);
}

.team-member {
    background-color: #FFF6F8;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    width: 150px;
}

.team-member:hover{
    transform: scale(1.1);
}

.team-member img {
    max-width: 150px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.team-bild{
    max-width: 150px;
}

.team-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
/*-----------------------------------------*/

/*Team X*/
.teamX-grid {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    justify-items: center;
    justify-content: center;
}

@media screen and (min-width: 768px) { /*PC und Tablet*/
    .teamX-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) { /*Handy und Tablet*/
    .teamX-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.teamX-member {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 150px;
}

.teamX-member img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}
/*-----------------------------------------*/

/*Archiv*/
.archiv-page p{
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.archiv-grid {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    justify-items: center;
    justify-content: center;
}

@media screen and (min-width: 1025px){ /*PC*/
    .archiv-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) and (min-width: 500px) { /*Tablet*/
    .archiv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) { /*Handy*/
    .archiv-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.archiv-year {
    background-color: #F0F0FF;
    padding: 2rem 1rem 2rem 1rem;
    text-align: center;
    width: 140px;
}

.archiv-year p{
    font-weight: bold;
    font-size: 1.25rem;
}

.archiv-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archiv-link:hover {
    transform: scale(1.1);
}
/*-----------------------------------------*/

/* Jahr Archiv HTML*/
.year-archived p{
    padding-left: 2rem;
    padding-right: 2rem;
}
/*-----------------------------------------*/

/* Jahr Archiv JS*/
.year-archived-block {
    margin-bottom: 2rem;
    padding-top: 1rem;
}

@media screen and (min-width: 768px) { /*PC und Tablet*/
    .year-archived-block p{
        padding-top: 0.5rem;
        padding-left: 2rem;
        padding-right: 3rem;
    }
}

@media screen and (max-width: 767px) { /*Handy und Tablet*/
    .year-archived-block p{
        padding-top: 0.5rem;
        padding-left: 2rem;
        padding-right: 1rem;
    }
}

.year-archived-block a{
    padding-left: 2rem;
}

.year-archived-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio{
    padding-bottom: 1rem;
    font-size: larger;
    font-weight: bold;
}

.videoHoch{
    padding-left: 2rem;
    padding-top: 2rem;
}

@media screen and (min-width: 1025px) { /*PC und Tablet*/
    .videoHoch{
        width: 25%;
    }
}

@media screen and (max-width: 1024px) { /*Handy und Tablet*/
    .videoHoch{
        width: 60%;
    }
}
/*-----------------------------------------*/

/*Mitglied werden*/
.mitglied{
    background-color: white;
    padding: 2rem;
    text-align: center;
}

.vorteile p{
    padding-bottom: 1rem;
    padding-right: 2rem;
    padding-left: 2rem;
}

.mitglied-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0402FC;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid black;
    margin-bottom: 2rem;
}

.mitglied-button:hover{
    transform: scale(1.1);
}

@media screen and (min-width: 768px) { /*PC und Tablet*/
    .mitglied-image{
        width: 50vw;
    }
}

@media screen and (max-width: 767px) { /*Handy und Tablet*/
    .mitglied-image{
        width: 80vw;
    }
}
/*-----------------------------------------*/

/*Recht und Beistand*/
.recht-page p{
    padding-bottom: 1rem;
    padding-right: 2rem;
    padding-left: 2rem;
}

.recht-block {
    padding-top: 1rem;
}

@media screen and (min-width: 1200px) { /*PC*/
    .zum-gesetz {
        padding-right: 4rem;
        display: grid;
        grid-template-columns: auto 10%;
        align-self: center;
    }
}

@media screen and (max-width: 1199px) { /*Handy und Tablet*/
    .zum-gesetz {
        padding-right: 1rem;
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        align-self: center;
    }
}

.gesetz-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    line-height: 2.5;
    font-size: 1rem;
    text-align: center;
    margin: 1.5rem;
}

.gesetz-button:hover {
    background-color: #0402FC;
    color: #fff;
    cursor: pointer;
}

/*-----------------------------------------*/

/*Recht und Beistand*/
.kontakt-form{
    margin-left: 10rem;
    margin-right: 10rem;
    padding-bottom: 1rem;
}
/*-----------------------------------------*/

