/* ----------------------------------------------------------------------------- * 
 * Verwendete Farben
 * #3d464b - dunkelgrau
 * #b1ca34 - gr�n
 * ----------------------------------------------------------------------------- */
 
 
/* quicksand-300 - latin */
@font-face {
 font-family: 'Quicksand';
 font-style: normal;
 font-weight: 300;
 src: url('../fonts/quicksand-v30-latin-300.eot'); /* IE9 Compat Modes */
 src: local(''),
 url('../fonts/quicksand-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../fonts/quicksand-v30-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
 url('../fonts/quicksand-v30-latin-300.woff') format('woff'), /* Modern Browsers */
 url('../fonts/quicksand-v30-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
 url('../fonts/quicksand-v30-latin-300.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-regular - latin */
@font-face {
 font-family: 'Quicksand';
 font-style: normal;
 font-weight: 400;
 src: url('../fonts/quicksand-v30-latin-regular.eot'); /* IE9 Compat Modes */
 src: local(''),
 url('../fonts/quicksand-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../fonts/quicksand-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
 url('../fonts/quicksand-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
 url('../fonts/quicksand-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
 url('../fonts/quicksand-v30-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-500 - latin */
@font-face {
 font-family: 'Quicksand';
 font-style: normal;
 font-weight: 500;
 src: url('../fonts/quicksand-v30-latin-500.eot'); /* IE9 Compat Modes */
 src: local(''),
 url('../fonts/quicksand-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../fonts/quicksand-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
 url('../fonts/quicksand-v30-latin-500.woff') format('woff'), /* Modern Browsers */
 url('../fonts/quicksand-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
 url('../fonts/quicksand-v30-latin-500.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-600 - latin */
@font-face {
 font-family: 'Quicksand';
 font-style: normal;
 font-weight: 600;
 src: url('../fonts/quicksand-v30-latin-600.eot'); /* IE9 Compat Modes */
 src: local(''),
 url('../fonts/quicksand-v30-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../fonts/quicksand-v30-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
 url('../fonts/quicksand-v30-latin-600.woff') format('woff'), /* Modern Browsers */
 url('../fonts/quicksand-v30-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
 url('../fonts/quicksand-v30-latin-600.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-700 - latin */
@font-face {
 font-family: 'Quicksand';
 font-style: normal;
 font-weight: 700;
 src: url('../fonts/quicksand-v30-latin-700.eot'); /* IE9 Compat Modes */
 src: local(''),
 url('../fonts/quicksand-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../fonts/quicksand-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
 url('../fonts/quicksand-v30-latin-700.woff') format('woff'), /* Modern Browsers */
 url('../fonts/quicksand-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
 url('../fonts/quicksand-v30-latin-700.svg#Quicksand') format('svg'); /* Legacy iOS */
}


html, body {
 padding:0;
 margin:0;
 background-color:#b1ca34;
 font-family: 'Quicksand', sans-serif;
 line-height: 1.5em;
 height: 100%;
 color:#3d464b;
}

*, *:before, *:after {
 -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
 -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
 box-sizing: border-box; /* Opera/IE 8+ */
}

.page-wrapper {
 margin: 0;
 height:100%;
}

#mobile-header {
display: none;
}

.nav {
 width:20%;
 float:left;
 text-transform:uppercase;
 margin-top:30px;
 font-size:14px;
 text-align:right;
}

aside {
 width: 30%;
 max-width:350px;
 height:auto !important;
 min-height:100%;
 float:left;
 background-color:#3d464b; 
 padding-top:40px;
 text-align:center;
}
aside img {
max-width: 100%;
height:auto;
}

main {
 padding:5% 2%;
 overflow: auto;
 background-image:url(../../images/kacheln.png);
 background-position:top right;
 background-repeat:no-repeat;
}

iframe .video {
 width:98%;
 height:100%;
 position:absolute;
 top:0;
 left:0;
}


/* ----------------------------------------------------------------------------- *
 * Textauszeichnungen *
 * ----------------------------------------------------------------------------- */

h1 {
 text-transform:uppercase;
 color:#3d464b;
 font-size:1.5em;
 line-height: 2em; 
}

h1:after {
 background: #fff;
 content: "";
 display: block;
 height: 1px;
 position: absolute;
 width: 3em;
}

h2 {
 text-transform:uppercase;
 color:#3d464b;
 font-size:1em; 
 line-height: 1.6em;
}

p {
 color:#3d464b;
 font-size:0.9em;
 font-weight:normal;
 line-height: 1.2em;
}

.edittext {
font-size:11px;
color:#ff00ff;
}

.small {
font-size:11px; 
color:#3d464b;
}

ol {
 list-style:none;
 padding-left: 1.5em; 
 padding-right: 1.5em;
}

ol li {
 border-top: solid 1px #fff;
 padding: 1em 0;
 color:#3d464b;
 font-size:0.9em;
}

ol li:last-child {
 border-bottom: solid 1px #fff;
 padding: 1em 0;
}

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

a:hover {
color:#fff;
}

/* ----------------------------------------------------------------------------- *
 * Navigation *
 * ----------------------------------------------------------------------------- */


.desktop-navigation ul {
list-style:none;
margin:0;
padding:0;
}

.desktop-navigation li {
padding-right:20px;
margin:0px;
letter-spacing:1px;
border-bottom:1px solid #fff;
}

.desktop-navigation li a {
font-size:0.9em;
color:#3d464b;
display:block;
line-height:35px;
margin:0px;
text-align:right;
text-decoration:none;
}

.desktop-navigation li a:active {
color:#3d464b;
text-decoration:none;
border-bottom:0px solid #fff;
}

.desktop-navigation li a:hover {
color:#fff;
text-decoration:none;
}

.desktop-navigation li a:visited {
color:#3d464b;
text-decoration:none;
}

.desktop-navigation li a:visited:hover {
color:#fff;
text-decoration:none;
}


/* ----------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                            *
 *                          740px / 16px/em = 46.25em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (max-width: 740px) {
}


/* ---------------------------------------------------------
   Responsive Navigation und Layout
--------------------------------------------------------- */

/* Mobile Navigation ist auf Desktop ausgeblendet */
.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-backdrop {
    display: none;
}

/* Tablet und Smartphone */
@media screen and (max-width: 1024px) {

    /* Desktop-Navigation ausblenden */
    #navigation {
        display: none;
    }

    /* Menübutton links oben */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 10001;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border: 0;
        background: #3d464b;
        color: #fff;
        font-family: 'Quicksand', sans-serif;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 19px;
    }

    .menu-icon span {
        display: block;
        width: 25px;
        height: 2px;
        background: currentColor;
    }

    /* Abdunklung hinter dem Menü */
    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10002;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Menü fährt von links ein */
    .mobile-menu-panel {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10003;
        width: 50vw;
        max-width: 440px;
        min-width: 250px;
        height: 100vh;
        height: 100dvh;
        padding: 28px 25px;
        overflow-y: auto;
        box-sizing: border-box;
        background: #323333;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
    }

    /* Logo im mobilen Menü */
    .mobile-menu-logo {
        width: 100%;
        height: 100px;
        margin: 12px 0 28px;
        background-image: url("../../images/wurmdkl.jpg");
        background-repeat: no-repeat;
        background-position: left center;
        background-size: contain;
    }

    /* X zum Schließen */
    .mobile-menu-close {
        position: absolute;
        top: 12px;
        right: 15px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 38px;
        line-height: 1;
        cursor: pointer;
    }

    /* Mobile Menüpunkte */
    .mobile-navigation ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-navigation li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        letter-spacing: 1px;
    }

    .mobile-navigation li a {
        display: block;
        padding: 12px 0;
        color: #fff;
        font-family: 'Quicksand', sans-serif;
        font-size: 15px;
        line-height: 1.5;
        text-align: left;
        text-decoration: none;
    }

    .mobile-navigation li a:hover,
    .mobile-navigation li.aktiv > a {
        color: #b1ca34;
    }

    /* Geöffnetes Menü */
    body.mobile-menu-open .mobile-menu-panel {
        transform: translateX(0);
    }

    body.mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

aside {
	width:100%;
	max-width:100%;
	float:none;
	min-height:15%;
	margin:0 auto;
	padding:0;
	position:fixed;
}
aside img {
	width:50%;
	padding-top:50px;
}
aside div.atmopic {
	display:none;
}

    main {
        width: 100%;
        float: none;
        padding: 200px 5% 5%;
    }
}



/* ========================================
   GALERIE SLIDER
======================================== */

.gallery-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
}

.gallery-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Pfeile */

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(50, 51, 51, 0.75);
    color: #fff;

    font-size: 20px;
    cursor: pointer;

    transition: background 0.2s;
}

.gallery-arrow:hover {
    background: #323333;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Navigationspunkte */

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #bbb;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.gallery-dot.active {
    background: #323333;
    transform: scale(1.25);
}

/* Mobile */

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

    .gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-dots {
        gap: 7px;
        margin-top: 15px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }

}

/* Bei reduzierter Animation */

@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        transition: none;
    }
}



