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

body {
    background-color: rgb(231, 231, 231);
}

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

/* Menü */
.menu {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: fixed;
    display: flex;
    margin-left: 1rem;
    padding-top: 1rem;
    z-index: 100;
}

.menu a{
    margin-right: 2rem;
}

.menu a.active {
    font-weight: bold;
}

.menu a:not(.active):hover {
    text-decoration: underline;
}

.burger,
.mobile-menu {
    display: none;
}

.datenschutz {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: smaller;
    position: fixed;
    right: calc(50vw + 2rem);
    padding-top: 1rem;
    z-index: 100;
}

.datenschutz a.active {
    font-weight: bold;
}

.datenschutz a:not(.active):hover {
    text-decoration: underline;
}

/* HOME_Florian Jauk */

.florian {
    position: fixed;
    top: 45vh;
    left: 2rem;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 300%;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.beschreibung_florian {
    top: 0;
    height: 100vh;
    position: sticky;
    border-left: 2px solid black;
}

.beschreibungstext_florian {
    margin-top: 50vh;
    border-top: 2px solid black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    letter-spacing: 0.5px;
}

.beschreibung_florian a {
    text-decoration: underline;
}

.beschreibung_florian a:hover {
    text-decoration: none;
}


/* Arbeiten */

.portfolio_link_position {
    margin-top: 50vh;
    border-top: 2px solid black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio_link {
    border-top: 2px solid black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio_link_caption {
    padding-left: 2rem;
}

.socials {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-left: 2rem;
}

.socials img {
    display: block;
    width: 2rem;
    height: auto;
}

.socials a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.socials a:hover {
    transform: translateY(-3px) scale(1.08);
}

/* Eco Echo */

/* Eco Echo Fonts */
@font-face {
    font-family: "Holstein";
    src:
        url("/assets/fonts/holstein.woff2") format("woff2"),
        url("/assets/fonts/holstein.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Elvenes-RegularDisplay";
    src:
        url("/assets/fonts/Elvenes-RegularDisplay.woff2") format("woff2"),
        url("/assets/fonts/Elvenes-RegularDisplay.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.linie {
    position: fixed;
    top: 50vh;
    left: 0;
    width: 50vw;
    border-top: 2px solid black;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.gestaltung {
    position: sticky;
    top: 2rem;
    padding: 2rem;
    align-self: start;
}

.logo {
    position: fixed;
    bottom: calc(50vh + 1rem);
    left: 2rem;
}

.logo img {
    width: 25vh;
    height: auto;
}

.lead {
    position: fixed;
    top: calc(50vh + 1rem);
    width: 45vw;
    left: 2rem;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 300%;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.inhalt {
    min-width: 0;
    border-left: 2px solid black;
}

.beschreibungstext {
    max-width: 1200px;
    padding: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    letter-spacing: 0.5px;
}

.beschreibungstext a {
    text-decoration: underline;
}

.beschreibungstext a:hover {
    text-decoration: none;
}

.plattformen {
    display: flex;
    gap: 4rem;
    padding: 2rem;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: smaller;
}

.plattformen a {
    text-decoration: underline;
}

.plattformen a:hover {
    text-decoration: none;
}

.rss-abo {
    background-color: black;
    color: rgb(231, 231, 231);
    padding: 0.1rem 0.2rem;
    text-decoration: none;
}

.rss-abo:hover {
    background-color: white;
    color: black;
    text-decoration: none;
}

.eco-echo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    list-style: none;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
}

.eco-echo img {
    margin-bottom: 1rem;
}

.folgentitel {
    font-family: "Elvenes-RegularDisplay";
    font-size: 120%;
}

.folgendetails {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    letter-spacing: 0.5px;
    font-size: smaller;
}

.folgentext {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.spotify-link {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    letter-spacing: 0.5px;
    font-size: smaller;
    text-decoration: underline;
    padding-right: 1rem;
}

.spotify-link:hover {
    text-decoration: none;
}

/* Mehr anzeigen */

.eco-echo summary {
    cursor: pointer;
    list-style: none;
    display: inline-block;
}

/* Standardmäßigen Pfeil entfernen */

.eco-echo summary::-webkit-details-marker {
    display: none;
}


/* Button */

.eco-echo summary {
    border: none;
    text-decoration: underline;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    letter-spacing: 0.5px;
    font-size: smaller;
}

.eco-echo summary:hover {
    text-decoration: none;
}

/* "Mehr anzeigen" zunächst sichtbar */

.schliessen {
    display: none;
}


/* Wenn geöffnet */

.eco-echo details[open] .mehranzeigen {
    display: none;
}

.eco-echo details[open] .schliessen {
    display: inline;
}


/* Zusätzlicher Inhalt */

.folgen-details {
    margin-top: 1rem;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
}

.dank a {
    text-decoration: underline;
}

.dank a:hover {
    text-decoration: none;
}

.music {
    text-decoration: underline;
}

.music:hover {
    text-decoration: none;
}

.songtitle {
    font-family: "Holstein";
    letter-spacing: 0.5px;
}

/* Förderung */

.foerderung {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.foerdertext {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    border-top: 2px solid black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: smaller;
    letter-spacing: 0.5px;
    text-align: center;
}

.foerderlogo {
    margin-bottom: 1rem;
}

.foerderlogo img {
    display: block;
    width: 10vh;
    height: auto;
}

.eco-instagram {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    z-index: 100;
}

.eco-instagram img {
    display: block;
    width: 2rem;
    height: auto;
}

.eco-instagram {
    display: inline-block;
    transition: transform 0.2s ease;
}

.eco-instagram:hover {
    transform: translateY(-3px) scale(1.08);
}

/* Datenschutz + Impressum */

.impressum {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: smaller;
    font-weight: bold;
    left: calc(50vw + 2rem);
    padding-top: 1rem;
    padding-left: 2rem;
}

/* Kleinere Bildschirme */

@media (max-width: 900px) {

    .menu {
        display: none;
    }

    /* Burger */
    .burger {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 300;

        width: 2rem;
        height: 2rem;

        padding: 0;
        border: none;
        background: none;

        flex-direction: column;
        justify-content: center;
        gap: 5px;

        cursor: pointer;
    }

    .burger span {
        display: block;
        width: 100%;
        height: 2px;
        background: black;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    /* Burger wird zu X */
    .burger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .burger.open span:nth-child(1),
    .burger.open span:nth-child(3) {
        width: 75%;
        align-self: center;
    }


    /* Kleines geöffnetes Menü */
    .mobile-menu {
    display: flex;

    position: fixed;
    top: 1rem;
    right: 1rem;

    z-index: 250;

    width: 12rem;

    padding: 2rem 2rem 2rem;

    background-color: rgb(231, 231, 231);
    border: 2px solid black;

    flex-direction: column;
    gap: 1rem;

    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    /* Ausgangszustand */
    opacity: 0;
    transform: translateY(-4rem) translateX(4rem) scale(0.75);
    pointer-events: none;

    transition:
        transform 0.4s ease;
    }

    .mobile-menu.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .mobile-menu a.active {
        font-weight: bold;
    }

    /* Startseite */

    .layout {
        display: block;
        min-height: 0;
    }

    .gestaltung {
        position: static;
        padding: 2rem;
        height: auto;
    }

    .florian {
        position: static;
        font-size: 200%;
    }

    .beschreibung_florian {
        position: static;
        height: auto;
        border-left: none;
    }

    .beschreibungstext_florian {
        position: static;
        margin-top: 0;
        padding-top: 1.5rem !important;
        padding-right: 1.5rem;
    }

    .portfolio_link_position {
        position: static;
        margin-top: 0;
    }

    /* Grundlayout untereinander */
    .layout {
        grid-template-columns: 1fr;
    }

    /* Linke Gestaltung nicht mehr als eigene Hälfte */

    .inhalt {
        border-left: none;
        border-top: 2px solid black;
    }

    .plattformen {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-align: center;
    }

    /* Linke Hälfte / Lead */
    .lead {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        font-size: 200%;
        padding-bottom: 1rem;
    }

    /* Linie nicht mehr bis zur Mitte */
    .linie {
        display: none;
    }

    /* Eco-Echo Folgen untereinander */
    .eco-echo {
        grid-template-columns: 1fr;
    }

    .eco-echo li {
        width: calc(100% - 2rem);
        max-width: 600px;
        justify-self: center;
    }

    .folge-aktion {
        width: 100%;
    }

    .folgen-details {
        width: 100%;
    }

    .menu {
        position: relative;
        flex-wrap: wrap;
    }

    .datenschutz {
        position: fixed;
        bottom: 0.5rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 0;
    }

    .logo {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 1rem 2rem;
    }

    .logo img {
        width: 150px;
    }

    .eco-instagram {
        position: absolute;
        top: 4rem;
        right: 1rem;
        left: auto;
        bottom: auto;
    }

    .foerderlogo {
    margin-bottom: 2rem;
    }

    /* Datenschutz */
    .impressum {
        left: 0;
        padding-left: 2rem;
    }
}