/* Accessibility Helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html, body{
	margin:0;
	padding:0;
    height: 100%;
    width: 100%;
}

body.full-screen {
    overflow: hidden; /* Prevent scrolling for full-screen effect on main page */
}

body {
	color: #fff;
	background-color:#000;
    font-family: 'Arial', sans-serif;
}

/* Background Layers */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.1s linear; /* Fast transition for flickering */
}

/* Fix for mobile portrait to prevent text cutting */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .bg-layer {
        background-size: contain; /* Shows full image, no cutting */
        background-color: #000; /* Blends with black background */
    }
}

#bg-off {
    background-image: url('../img/bg_off.jpg');
    z-index: 1;
}

#bg-on {
    background-image: url('../img/bg_on.jpg');
    z-index: 2;
    opacity: 0;
}

/* Fixed Footer */
.footer-fixed {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 5;
    width: 100%;
}

.footer-fixed:hover {
    opacity: 1;
}

.footer-fixed p, .footer-fixed a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.footer-fixed span {
    color: #fff;
    margin: 0;
}

/* Info Popup Modal */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.info-modal.active {
    opacity: 1;
    visibility: visible;
}

.info-content {
    background-color: rgba(30, 30, 30, 0.95);
    padding: 40px;
    border-radius: 0; /* No rounded corners */
    max-width: 600px; /* Slightly wider to accommodate images */
    width: 90%;
    color: #fff;
    position: relative;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 90vh;
    overflow-y: auto; /* Allow scrolling if content is too long */
}

.modal-images {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.modal-images img {
    width: calc(50% - 5px); /* Exactly half minus half the gap */
    height: auto;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff3300;
}

.info-content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-content a {
    color: #ff3300;
    text-decoration: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
    background: none; /* Reset button */
    border: none; /* Reset button */
}

.close-btn:hover {
    color: #ff3300;
}

/* Logo at the Top */
.logo-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    width: 200px; /* Adjust size as needed */
    transition: opacity 0.1s linear;
    opacity: 0.5; /* Semi-transparent by default */
}

.logo-container img {
    width: 100%;
    height: auto;
}

/* Hamburger Container (Now a button) */
.hamburger-container {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    cursor: pointer;
    padding: 20px;
    opacity: 0.5; /* Semi-transparent by default */
    transition: opacity 0.1s linear;
    background: none; /* Reset button */
    border: none; /* Reset button */
}

.hamburger-container:hover, .hamburger-container:focus {
    opacity: 1; /* Full opacity on hover/focus */
    outline: none;
}

.hamburger {
    width: 40px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #ffffff; /* Explicit white */
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 0; /* Override any global span margin */
}

/* Simple Hover Effect for Hamburger with Glow */
.hamburger:hover span {
    background-color: #ff3300;
    box-shadow: 0 0 10px #ff3300, 0 0 20px #ff3300; /* Added Glow */
}

/* The rest of the original CSS can stay for other pages like Impressum/Datenschutz if needed, 
   but for the main page we'll focus on these. */
.blue {
    background-color: blue;
}

h1 {
    text-transform: uppercase;
    float: left;
    width: auto;
    height: auto;
    margin-top:  0px;
    margin-bottom: 0px;
    font-weight: 800;
    font-size: 2.5rem;
}

nav {
    float: right;
    height: auto;
    width: auto;
    padding-top: 15px;
}
nav >a, nav >span{
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;
}
p {
  margin-top: 0;
  margin-bottom: 0;
}
nav >a{
    text-transform: uppercase;
    color: #fff;
    font-weight: 800;
}
nav >a:hover{
    color: #ff3300;
    text-decoration: none;
}

header {
    float: left;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    color: #fff;
    z-index: 999;
    width: 100%;
}

.root {
    margin: 0 auto 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 2000px;
    height: auto;
}
article > .root {
    padding-top: 75px;
}


.img-std > div{
    height: 400px;
    background-color: #ff3300;
}
.img-std > div > img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.img-std{
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
     padding-top: 10px;
}

.textbox {
    opacity:0;
    width: auto;
    height: auto;
    position:absolute;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: opacity 0.7s ease;
    transition: opacity 0.7s ease;
    text-align:center;
    color:#FFF;
    margin: 10px;
    box-sizing: border-box;
}
.textbox > div{
    margin-top: 5%;
    padding: 5%;
}
.textbox:hover {
    opacity: 1;
}

h3 {
    font-weight: 800;
}

.header {
    float: left;
    height: 600px;
    width: 100%;
    min-height: 100%;
    background-image: url(../img/header.jpg);
    background-position: center, center;
    background-size: cover;
}

article {
    float: left;
    width: 100%;
    z-index: 0;
}

.row {
  margin-right: 0px;
  margin-left: 0px;
}

a {
    /*margin-left: 10px;
    margin-right: 10px;*/
    color: #ff3300;
}
a:hover{
    color: #ff3300;
}



.popup img{
    cursor: pointer
}
.show{
    z-index: 1000;
    display: none;
}
.show .overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
}
.show .img-show{
    max-width: 1000px;
    width: 80%;
    max-height: 750px;
    height: 80%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
    z-index: 1001;
}
.img-show span{
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 99;
    cursor: pointer;
    z-index: 1002;
    color: #FFF;
}
.img-show img{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1001;
}

h2 {
    text-transform: uppercase;
    margin-top:  0px;
    margin-bottom: 0px;
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    width: 100%;
}

.contact {
    text-align: left;
    max-width: 500px;
    width: 100%;
    float: center;
    margin: 0 auto 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-std {
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
     padding-top: 10px;
}

footer {
    float: left;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
}

span {
    margin-left: 10px;
     margin-right: 10px;
}
@media only screen and ( max-width:700px ) {
    nav {
        float: left;
        height: auto;
        padding-top: 15px;
        width: 100%;
        text-align: center;
    }
    nav >a, nav >span{
        float: none;
        margin-left: 5px;
        margin-right: 5px;
        padding: 0;
    }
    h1 {
        width: 100%;
        height: auto;
        text-align: center;
    }
    article > .root {
        padding-top: 110px;
    }
}
