:root {
    --bg: rgba(255, 255, 255, 0.7);
    --primary-lite: #87cbb9;
    --primary-dark: #68b39f;
    --accent: #cfa28c;
    --text: #2e2e2e;
    --barlow: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow_condensed/BarlowCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/barlow_condensed/BarlowCondensed-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    text-align: justify;
}

body {
    font-family: var(--barlow);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

nav {
    font-family: var(--barlow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    max-width: 1000px;
    margin: 0 auto;
}

nav:hover {
    background: var(--primary-lite);
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

a {
    text-decoration: none;
}

nav ul li a {
    color: var(--bg);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.2rem;
}

nav div.logo a {
    color: var(--bg);
    font-weight: 500;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

nav div.logo a:hover {
    color: var(--accent);
}

nav ul li a:hover {
    color: var(--accent);
}

header {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.7));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    text-align: center;
}

header a.button {
    background: var(--primary-dark);
    color: var(--bg);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    display: inline-block;
    transition: box-shadow 0.3s;
    font-size: 1.2rem;
}

header a.button:hover {
    background: var(--primary-lite);
    color: var(--accent);
}

section {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 2rem;
    scroll-margin-top: 100px;
}

h1 {
    font-family: var(--barlow);
    font-weight: 500;
    font-style: normal;
    color: var(--primary-dark);
    font-size: 3rem;
    margin-bottom: 0.9rem;
}

h2 {
    font-family: var(--barlow);
    font-weight: 500;
    font-style: normal;
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

h3 {
    font-family: var(--barlow);
    font-weight: 400;
    font-style: normal;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.containers {
    display: grid;
    gap: 1.5rem;
}

.container {
    padding: 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: white;
    transition: box-shadow 0.3s;
    position: relative;
}

.container:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

iframe:hover, div.icons a img:hover{
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
}

.left {
    border-radius: 8px;
    float: left;
    margin: 5px 15px 5px 0px;
    min-width: 100px;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--primary-dark);
    color: var(--bg);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    max-width: 1000px;
    margin: 0 auto;
}

footer:hover {
    background: var(--primary-lite);
    color: var(--accent);
}

p {
    margin-bottom: 1rem;
}

.zeiten ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

iframe {
    display: flex;
    justify-content: center;
    border:4px rgb(135, 203, 185) solid;
    width:100%;
    height:450px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.map-wrapper {
    position: relative;
}

.map-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    z-index: 100;
}

.map-wrapper.active .map-cover {
    display: none;
}

div.icons a img:hover {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 380px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 22px;
}

.icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 380px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 22px;
    filter: brightness(90%) contrast(85%) saturate(80%) grayscale(10%) sepia(10%);
    opacity: 0.85;
}

.menu {
    font-family: var(--barlow);
}

#impressum {
    text-align: left;
}

@media (max-width: 380px) {
    .icons {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        width: 100%;
    }

    h1, h2 {
        text-align: center;
    }
}


