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

body {
    text-align: left;
    margin: 0;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    line-height: 145%;
    font-size: 100.01%;
    background-color: #8EB9D0;
    overflow-y: scroll;
}

html, body {
    height: 100%;
    width: 100%;
}

.bonerow {
    display: flex;
    margin-bottom: 12px;
}

.labelwrap {
    /*border: 1px solid blue;*/
    width: 145px;
    min-width: 145px;
    font-size: .9em;
    background-color: #eee;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-right: none;
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    line-height: 30px;
}

.bonetrenner {
    height: 15px;
    width: 100%;
}

.inputwrap {
    /*border: 1px solid green;*/
    width: 100%;
}

.inputwrap input, .inputwrap textarea {
    width: 100%;
    border: 1px solid #ccc;
    min-height: 30px;
    font: inherit;
}

.inputwrap textarea {
    min-height: 150px;
    padding: 8px 10px;
    resize: vertical;
}

.inputwrap [aria-invalid="true"] {
    border-color: #b00020;
    box-shadow: inset 0 0 0 1px #b00020;
}

.labelwrap-captcha {
    border-right: 1px solid #ccc;
    margin-right: 20px;
}

#captcha {
    border: 1px solid #ccc;
    vertical-align: middle;
}

.captcha-reload {
    margin-left: 12px;
    padding: 4px 10px;
    font: inherit;
    font-size: .85em;
    cursor: pointer;
}

.form-errors {
    display: block;
    color: #b00020;
    border: 1px solid #b00020;
    background: #fff5f5;
    padding: 10px 14px;
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    font-size: .9em;
}

.form-errors p {
    margin-bottom: 6px;
}

.form-errors li {
    list-style: disc inside;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    font: inherit;
    font-weight: bold;
    letter-spacing: .4em;
    text-transform: uppercase;
    cursor: pointer;
}

/* Honeypot-Feld: für Menschen unsichtbar */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.credit {
    font-size: 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin-top: 10px;
}

.cta {
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
}

.cta a {
    display: inline-block;
    padding: 10px 18px;
    background-color: #2f6f8f;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.content p.cta a:hover {
    background-color: #24566f;
    text-decoration: none;
}

.inputwrap input {
    padding: 8px 10px;
}

.checkzustimmung {
    padding: 8px 0;
    font-size: 0.75em;
}

.is-send {
    color: #1e6b2e;
    font-weight: bold;
    display: block;
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 34px;
    width: 100%;
}

/* Skip-Link für Tastatur-/Screenreader-Nutzung */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 10px 16px;
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

/* Sichtbarer Fokus für Tastatur-Nutzung (reset.css setzt outline global auf 0) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #1a5fb4;
    outline-offset: 2px;
}

/* Grundlegendes Styling für den Burger-Button */
.burger {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    float: right;
    margin-top: 24px;
    margin-right: 25px;
    display: none;
    background: none;
    border: none;
    padding: 0;
    appearance: none;
}

.burger span {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background-color: black;
    transition: transform 0.5s ease-in-out, top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.burger span:nth-child(1) {
    top: 3px;
}

.burger span:nth-child(2) {
    top: 13px;
}

.burger span:nth-child(3) {
    top: 23px;
}

/* Styling für das X */
.burger.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

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

.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

/* Menü Styling */

#background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: opacity 1s ease-in-out;
}


.contentwrapper {
    padding-top: 60px;
    overflow: auto;
    top: 0;
    z-index: 4;
    width: 100%;
}

.menu_box {
    position: fixed;
    width: 300px;
    top: 100px;
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    font-weight: lighter;
    z-index: 99;
}

.shd {
    box-shadow: 0 0 3px 1px rgba(50, 50, 50, .3);
}

.headline {
    top: 100px;
    height: 80px;
    width: 100%;
    z-index: 5;
    background-color: rgba(240, 240, 240, .8);
    border: 1px solid #fff;
    text-align: left;
    padding-left: 25px;
    margin-bottom: 20px;
}

.menu {
    width: 100%;
    z-index: 5;
    background-color: rgba(240, 240, 240, .8);
    border: 1px solid #fff;
    text-align: left;
}

.menu ul {
    padding: 10px 0;
    font-size: .95em;
}

li {
    list-style: none outside none;
}

.menu li a {
    color: #000;
    display: inline-block;
    font-weight: normal;
    padding: 6px 0 6px 25px;
    width: 100%;
}

.content {
    border: 1px solid #fff;
    width: 90%;
    max-width: 600px;
    text-align: left;
    padding: 20px;
    background-color: rgba(255, 255, 255, .9);
    color: #222;
    z-index: 3;
    margin-bottom: 30px;
    margin-left: 35%;
}

p {
    margin-bottom: 30px;
}

strong {
    font-weight: bold;
}

.info {
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    font-size: .9em;
}

.head-borkum {
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    margin-top: 20px;
    padding: 0;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.1em;
}


h1 {
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    margin-bottom: 10px;
    padding: 0;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.1em;
}

h2 {
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 1.0em;
    font-weight: normal;
    line-height: 1.7em;
}

.tagline {
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    margin: 0 0 20px 0;
    padding: 0;
    font-size: .9em;
    font-weight: normal;
    line-height: 1.7em;
}

h3 {
    font-size: 1.2em;
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    margin-bottom: 15px;
    font-weight: bold;
}

hr {
    background-color: transparent;
    margin-bottom: 30px;
    border: 0;
    border-top: 1px solid #fff;
}

a {
    color: #000;
    text-decoration: none;
    outline: none;
}

img {
    border: none;
}

/*Galerie*/

.wrap-box {
    width: 100%;
    height: auto;
    border-top: 1px solid #fff;
    /*border-bottom: 1px solid #fff;*/
    padding: 14px 0 10px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    width: auto;
    height: auto;
    font-size: .75em;
    font-family: "Century Gothic", "Lucida Grande", Arial, sans-serif;
    align-items: center;
}

.image-thumbnail {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: 300ms ease;
    position: relative;
}

.quicklinks {
    line-height:32px
}

.image-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 2px;
}

.image-thumbnail a::after {
    content: "";
    display: block;
    padding-bottom: 57%;
}

.image-thumbnail a img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #fff;
    box-shadow: 0 0 3px 1px rgba(50, 50, 50, .5);
}


@media (hover: hover) {
    .gallery:hover .image-thumbnail:not(:hover) {
        filter: blur(1px) grayscale(1);
        opacity: 0.7;
    }
}

/* Sprungziele nicht unter dem fixierten Kopf verstecken */
.image-thumbnail a,
#main-content,
#kontaktformular {
    scroll-margin-top: 110px;
}

/*        Light Box Styling             */
.light-box {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(70, 70, 70, 0.8);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.light-box:target {
    display: flex;
}

.edges {
    height: auto;
    background-color: #fff;
    padding: 20px;
    margin: 30px auto 5% auto;
    box-shadow: 0 0 30px #333;
    max-width: 96%;
    width: 900px;
}

.title {
    color: #222;
    font-size: 20px;
    text-align: center;
}

.inner-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.inner-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 75vh;
    height: auto;
    border: 1px solid #fff;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 200ms ease;
}

.lightbox-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.lightbox-arrow-prev {
    left: 10px;
}

.lightbox-arrow-next {
    right: 10px;
}

.close-btn,
.next-btn {
    float: right;
}

.close-btn {
    padding: 5px 0;
}

.close-btn,
.next-btn,
.previous-btn {
    font-size: 16px;
}

.close-btn {
    font-size: 50px;
    text-decoration: none;
    cursor: pointer;
}

.close-btn a:hover {
    text-decoration: none;
    color: #000000;
}


span a {
    color: #444;
}

@media only screen and (max-width: 950px) {

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .burger {
        display: block;
    }

    .menu {
        max-height: 0;
        min-height: 0;
        overflow: hidden;
        width: 100%;
        background-color: rgba(240, 240, 240, 1.0);
        border: 1px solid #fff;
        text-align: left;
        position: fixed;
        top: 78px;
        z-index: 8;
        visibility: hidden;
        transition: max-height 1s ease, min-height 1s ease, visibility 0s linear 1s;
    }

    .menu.is-active {
        max-height: 1500px;
        overflow: auto;
        min-height: 100vh;
        visibility: visible;
        transition: max-height 1s ease, min-height 1s ease, visibility 0s linear 0s;
    }

    .headline {
        background-color: rgba(255, 255, 255, .95);
        margin-bottom: 0;
        position: fixed;
        top: 0;
        z-index: 10;
    }

    .contentwrapper {
        padding-top: 0;
    }

    .menu_box {
        position: fixed;
        width: 100%;
        max-width: 100%;
        top: 0;
        margin: 0 auto 20px auto;
    }

    .content {
        width: 90%;
        max-width: 600px;
        margin: 110px auto 30px auto;
    }

}

/* Weniger Bewegung, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
