@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.75em;

    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;
}

aside h2 {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.3;

    margin: 0.3em 0;
}


/* =====================================================
   MAIN
   ===================================================== */

main {
    width: min(100% - 2em, 850px);

    background-color: rgba(255, 255, 255, 0.33);

    border: thin solid;
    border-radius: 1em;

    padding: 15px;

    text-align: center;

    margin: 0 auto;
}


/* =====================================================
   NEUIGKEITEN
   ===================================================== */

.news-link {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 15px;
}

.news-link img {
    display: block;

    width: 216px;
    max-width: 100%;

    height: auto;
}


/* =====================================================
   VERANSTALTUNGEN
   ===================================================== */

.event-title {
    margin: 10px 0;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: clamp(1rem, 2.5vw, 1.25rem);

    color: #f00;
}


.aktuelles {
    display: flex;

    justify-content: center;
    align-items: center;

    width: fit-content;
    max-width: 100%;

    margin: 10px auto 20px;

    padding: 5px;

    border: double;
    border-color: #f00;

    border-radius: 1em;
    
	color: #f00;
}

.aktuelles img {
    display: block;

    width: 290px;
    max-width: 100%;

    height: auto;
}


/* =====================================================
   TIPPS-GRID
   ===================================================== */

.tips-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    justify-items: center;
    align-items: start;

    gap: 12px;

    margin: 10px auto;
	
	color: #f00;
}

.tips-grid a {
    display: block;

    width: 100%;

    text-align: center;
}

.tips-grid img {
    display: block;

    width: 288px;
    max-width: 100%;

    height: auto;

    margin: 0 auto;

    transition: transform 0.2s ease;
}


/* Kleiner Hover-Effekt */

.tips-grid a:hover img {
    transform: scale(1.03);
}


/* =====================================================
   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: 750px) {

    nav img {
        height: auto;
        max-height: 65px;
    }


    main {
        width: calc(100% - 2em);
    }


    .tips-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }
}


/* =====================================================
   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);
    }

    aside h2 {
        font-size: clamp(0.9rem, 4vw, 1.15rem);
    }


    /* Main */

    main {
        width: calc(100% - 1em);

        padding: 10px;
    }


    /* Neuigkeiten */

    .news-link {
        margin-bottom: 10px;
    }


    /* Veranstaltung */

    .aktuelles {
        width: auto;

        margin-left: auto;
        margin-right: auto;
    }

    .aktuelles img {
        width: 211px;
        max-width: 100%;
    }


    /* Tipps */

    .tips-grid {
        grid-template-columns: 1fr;

        gap: 15px;

        margin-top: 15px;
    }

    .tips-grid a {
        width: 100%;
    }

    .tips-grid img {
        width: 240px;
        max-width: 100%;

        margin: 0 auto;
    }


    /* Footer */

    footer {
        width: calc(100% - 1em);

        max-height: none;

        padding: 8px;
    }

    footer ul {
        flex-direction: row;
    }
}


/* =====================================================
   SEHR KLEINE SMARTPHONES
   ===================================================== */

@media (max-width: 400px) {

    body {
        font-size: 13px;
    }


    nav img {
        max-width: 70px;
    }


    main {
        width: calc(100% - 0.5em);

        padding: 7px;
    }


    .tips-grid {
        gap: 12px;
    }


    .tips-grid img {
        width: 220px;
    }


    footer {
        width: calc(100% - 0.5em);
    }
}
aside .subtitle{font-size:clamp(1rem,2vw,1.35rem);line-height:1.3;margin:.3em 0}
.tips-intro{max-width:760px;margin:0 auto 1.25em;color:#666;line-height:1.55;text-align:center}
.tips-intro h2,.tips-section h2{color:#444;font-size:1.25rem;margin-bottom:.45em}
.featured-links{margin-bottom:1.25em}
.tips-section{width:100%}
.tips-section h2{margin-top:.5em}
.tips-grid a:focus-visible,.news-link a:focus-visible,.aktuelles a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:600px){aside .subtitle{font-size:1rem}.tips-intro{text-align:left}.tips-intro h2,.tips-section h2{text-align:center;font-size:1.1rem}}
