@charset "utf-8";

/* =====================================================
   GRUNDLAGEN
   ===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.5em;

    background-color: #fee296;

    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;

    overflow-x: hidden;
}


/* =====================================================
   HEADER
   ===================================================== */

header {
    width: 100%;
    max-width: 1000px;

    text-align: center;

    margin-top: 1em;
}

header img {
    display: block;

    width: 100%;
    max-width: 1000px;
    height: auto;

    margin: 0 auto;
}


/* =====================================================
   NAVIGATION
   ===================================================== */

nav {
    width: 100%;
}

nav ul {
    display: flex;

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    list-style: none;

    gap: 0.5em;
}

nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav img {
    display: block;

    width: auto;
    max-width: 100%;
    height: 85px;
}


/* =====================================================
   ÜBERSCHRIFT
   ===================================================== */

aside {
    width: 100%;
    max-width: 800px;

    text-align: center;

    margin: 0.5em auto;

    color:dimgray;

    /*-webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #333;*/
}

aside h1 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.2;

    margin: 0.2em 0;
}


/* =====================================================
   MAIN / IMPRESSUM
   ===================================================== */

main {
    width: min(100% - 2em, 850px);

    background-color: rgba(255, 255, 255, 0.25);

    border: thin solid;
    border-radius: 1em;

    padding: 15px;

    margin: 0 auto;

    text-align: left;
}


/* =====================================================
   INHALT
   ===================================================== */

.impressum-content {
    width: 100%;

    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;

    line-height: 1.5;

    color: #666;
}


/* =====================================================
   TITEL
   ===================================================== */

.impressum-content h2 {
    margin-bottom: 15px;

    text-align: center;

    font-size: 2rem;

    color: #444;
}


/* =====================================================
   DATENSCHUTZ-LINK
   ===================================================== */

.datenschutz-link {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    text-align: center;
}

.datenschutz-link img {
    display: block;

    width: 162px;
    height: auto;
}


/* =====================================================
   ABSCHNITTE
   ===================================================== */

.impressum-content section {
    margin-bottom: 20px;
}

.impressum-content h3 {
    margin-bottom: 8px;

    font-size: 1.35rem;

    color: #444;
}

.impressum-content h4 {
    margin: 15px 0 8px;

    font-size: 1.15rem;

    color: #555;
}

.impressum-content p {
    margin-bottom: 10px;

    text-align: left;

    overflow-wrap: break-word;
}


/* =====================================================
   LINKS
   ===================================================== */

.impressum-content a {
    color: #555;

    overflow-wrap: anywhere;
}

.impressum-content a:hover {
    color: #000;
}


/* =====================================================
   FOOTER
   ===================================================== */

footer {
    width: min(100% - 2em, 850px);

    background-color: rgba(215, 215, 215, 0.25);

    border: thin solid;
    border-radius: 1em;

    padding: 10px;

    margin: 0 0 1em;

    text-align:center;
}

footer ul {
    display: flex;

	flex-direction: row;
    flex-wrap: nowrap;

    justify-content: center;
    align-items: center;

    gap: 0.5em;

    list-style: none;
}

footer li {
    list-style: none;
    margin: 0;
	padding: 0;
}

footer img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

footer p {
    margin-top: 0.5em;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 700px) {

    nav img {
        height: auto;
        max-height: 65px;
    }

    main {
        width: calc(100% - 2em);
    }

    .impressum-content {
        font-size: 14px;
    }
}


/* =====================================================
   SMARTPHONE
   ===================================================== */

@media (max-width: 600px) {

    body {
        gap: 0.75em;
    }


    /* Header */

    header {
        width: 100%;
    }


    /* Navigation */

    nav ul {
        gap: 0.1em;
    }

    nav img {
        width: 100%;
        max-width: 90px;
        height: auto;
    }


    /* Überschrift */

    aside {
        width: calc(100% - 1em);

        margin: 0 auto;
    }

    aside h1 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }


    /* Main */

    main {
        width: calc(100% - 1em);

        padding: 10px;
    }


    /* Impressum */

    .impressum-content {
        font-size: 14px;

        line-height: 1.5;
    }

    .impressum-content h2 {
        font-size: 1.6rem;
    }

    .impressum-content h3 {
        font-size: 1.2rem;
    }

    .impressum-content h4 {
        font-size: 1.05rem;
    }


    /* Datenschutz */

    .datenschutz-link {
        flex-direction: column;

        gap: 8px;
    }


    /* Footer */

    footer {
        width: calc(100% - 1em);

        max-height: none;

        padding: 8px;
    }
}


/* =====================================================
   SEHR KLEINE SMARTPHONES
   ===================================================== */

@media (max-width: 400px) {

    body {
        font-size: 13px;
    }

    nav img {
        max-width: 70px;
    }

    main {
        width: calc(100% - 0.5em);

        padding: 8px;
    }

    .impressum-content {
        font-size: 13px;
    }

    .impressum-content h2 {
        font-size: 1.4rem;
    }

    footer {
        width: calc(100% - 0.5em);
    }
}