/*======================================================================================================
Formatierung aller Seiten 
======================================================================================================*/

/* INHALTSVERZEICHNIS */
/* 1. Basis-Einstellungen */
/* 2. Nützliche Klassen */
/* 3. Formatierung des Headers */
/* 4. Formatierung des MENU-Burgers */
/* 5. Formatierung des Link-Containers */

/*==============================
1. Basis-Einstellungen 
 ===============================*/

 /* Umstellung auf Border-Box, damit die Border zur Größe der Box dazugehört */
*,
*::before,
*::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

 /* * {outline: 1px solid red;} */


/* Custom Properties (CSS-Variablen) */
html{
    --schriftfarbe-1: #702d77;
    --schriftfarbe-2: #008cab;
    --schriftfarbe-2L: rgba(0,140,171,0.5);
    --schriftfarbe-3: white;
    --elementfarbe-1: #944b97;
    --elementfarbe-2: lightsteelblue;
    --fondfarbe-1: rgba(149,75,151,0.2);
    --fondfarbe-2: rgba(117,200,218,0.2);
    --fondfarbe-3: white;
    --fondfarbe-4: rgba(149,75,151,0.4);
    --fondfarbe-5: rgba(117,200,218,0.4);
    --fondfarbe-6: rgba(149,75,151,0.9);
    --schriftart-1: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --schriftart-2: Georgia, 'Times New Roman', Times, serif;
    --padding-h-1: 15vw;
}

html{
    scroll-behavior: smooth;
    margin:0 0;
    background-color: var(--fondfarbe-3);
    margin-top: 130px;
}

body{
    margin:0 auto;
    /* hyphens: auto; */
    max-width: 100vw;
    font-family: var(--schriftart-1);
    font-size: 100%;
    line-height: 1.5;
    color: var(--schriftfarbe-1);
}

h1 {font-size: 2.5rem; font-weight: bold; font-family: var(--schriftart-2);}
h2 {font-size: 2.0rem; font-weight: bold; font-family: var(--schriftart-2);}
h3 {font-size: 1.75rem; font-weight: bold; font-family: var(--schriftart-2);padding: 2.5rem 0;}
h4 {font-size: 1.5rem; font-weight: 600; font-family: var(--schriftart-1);padding: 1.5rem 0;}
h5 {font-size: 1.25rem; font-weight: bold;padding: 1.5rem 0;}
h6 {font-size: 1rem; font-weight: bold;}

a{
    text-decoration: none;
    color: var(--schriftfarbe-1);
}



/*==================================
2. Nützliche Klassen 
===================================*/

.flex-c-t{
    display: flex ;
    justify-content:center;
    align-items: flex-start;
}

.flex-c-b{
    display: flex ;
    justify-content:center;
    align-items:flex-end;
}

.flex-c-c{
    display: flex ;
    justify-content:center;
    align-items: center;
}

.flex-sb-c{
    display: flex ;
    justify-content:space-between;
    align-items: center;
}

.grid-2fr{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
}

/* Klassen zum Floaten und Clearen */

.float-links{
    float: left;
    margin: 0 1rem 1rem 0;
}

.float-rechts{
    float: right;
    margin: 0 0 1rem 1rem;
}

.float-stoppen{
    clear: both;
}

/* Bildunterschrift bei Float zentrieren */

figure[class~="float-links"],
figure[class~="float-rechts"]{
    text-align: center;
}

.float-umschliessen{
    display: flow-root;
}

/*=========================
3. Formatierung des Headers
=========================== */

header{
    background-color: var(--fondfarbe-3);
    height: 130px;
    width: 100vw;
    position: fixed;
    top:0;
    margin: 0 0;
    z-index: 1;
    box-shadow: 0px 5px 3px var(--elementfarbe-2);
}

.header-links{
    margin-left: var(--padding-h-1);
}

.header-logo{
    width: auto;
    max-width: 50vw;
    height:120px;
    margin: 0 0;
    padding: 0 0;
}

/*=========================
4. Formatierung des MENU-Burgers
=========================== */

.menu-burger{
    position: fixed;
    top: 15px;
    right: 5vw;
    font-family: var(--schriftart-1);
    padding-right: 0px;
    padding-top: 55px;
    text-align: right;
}

.menu-burger summary{
    background-color:transparent;
    display:inline-block;
    position: absolute;
    top: 0;
    right: 0;
    color: var(--schriftfarbe-1);
    font-size: 2.2em;
    transform: scaleX(-1);
}

.menu-burger summary:hover{
    color: var(--schriftfarbe-2);
    font-weight: bold;
    cursor: pointer;
}

.menu-burger summary::marker{
    color:transparent;
    display: none;
}

.menu-burger summary::-webkit-details-marker{
    display: none;
}

.menu-burger ul{
    width: 10rem;
    background-color: var(--fondfarbe-6);
    list-style: none;
}

.menu-burger li{
    padding: 0.25rem;
}

.menu-burger ul a{
    font-size: 1em;
    text-decoration: none;
    color: var(--schriftfarbe-3);
}

.menu-burger a:hover{
    font-weight: bold;
}


/*=========================
5. Formatierung des Link-Containers
=========================== */

.link-container{
    width: 600px;
    font-size: 1.1em;
    font-weight: 500;
    margin-right: 15vw;
    gap: 0;
}

.link-container a{
    margin-right:   2%;
    margin-left: 2%;
}

.link-container .active-link{
    color: var(--schriftfarbe-2);
    font-weight: bold;
}

.link-container a:hover{
    color: var(--schriftfarbe-2);
}

/*=========================
6. Formatierung des MAIN-Bereiches
=========================== */

.btn{
    display: inline-block;
    background-color: var(--elementfarbe-1);
    color: var(--schriftfarbe-3);
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 2rem 0;
}



/*=========================
Footer-Section
=========================== */

footer{
    text-align: left;
    background-color: var(--fondfarbe-2);
}

.footer-oben{
    gap: 2vw;
    padding: 2rem 0;
}

.footer-links{
    width: 18vw;
}

.footer-links img{
    width: 80%;
}

.footer-mitte{
    width: 30vw;
    height: 30vw;
    background-color: lightgrey;
}

.google-karte{
    width: 100%;
    height: 30vw;
}

.footer-rechts{
    width: 18vw;
}

.footer-unten{
    background-color: var(--elementfarbe-1);
    color: var(--schriftfarbe-3);
    height: 4rem;
    padding: 0 15vw;
    font-size: 0.9em;
}

.footer-unten a{
    text-decoration: none;
    color: var(--schriftfarbe-3);
}
