@font-face {
    font-family: "Roobert";    
    src: url("../fonts/Roobert-Regular.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
   }

@font-face {
    font-family: "InputMono";    
    src:    url("../fonts/InputMono-Regular.woff2") format('woff2'),
            url("../fonts/InputMono-Regular.woff") format('woff');
    font-weight: normal;
    font-style: normal;
   }

@font-face {
    font-family: "InputMonoBold";    
    src:    url("../fonts/InputMono-Bold.woff2") format('woff2'),
            url("../fonts/InputMono-Bold.woff") format('woff');
    font-weight: normal;
    font-style: normal;
   }

body {
   /* background-image: url("../img/copper.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover; */
    background-color: #555555;
    font-family: 'InputMono','Roobert', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    /*background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23B87333"><path d="M0 1v99c134.3 0 153.7-99 296-99H0Z" opacity=".5"></path><path d="M1000 4v86C833.3 90 833.3 3.6 666.7 3.6S500 90 333.3 90 166.7 4 0 4h1000Z" opacity=".5"></path><path d="M617 1v86C372 119 384 1 196 1h421Z" opacity=".5"></path><path d="M1000 0H0v52C62.5 28 125 4 250 4c250 0 250 96 500 96 125 0 187.5-24 250-48V0Z" opacity=".7"></path></svg>');
    background-repeat: no-repeat;    
    background-size: cover;*/
    background-color: #292929;
    font-family: 'InputMonoBold','Roobert', Arial, sans-serif;
    color: #e8e2db;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    height: 50px;
    top: 0;
    z-index: 1000;
}

header .logo {
    float: left;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #e8e2db;
}

header nav {
    float: right;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #e8e2db;
    text-decoration: none;
    /*font-weight: bold;*/
    transition: color 0.3s ease-in-out;
}

header nav ul li a:hover {
    color: #292929;
}

#teaser-container {
  position: relative;  
  overflow: hidden;
  width: 100%;
}
#teaser-container .teaser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  font-size: 2.7rem;
  margin: 0;
}
#teaser-container .teaser.active {
  opacity: 1;
}

.hero {
    background: #292929;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 3vw;
    margin-bottom: 20px;
}

.hero .btn {
    background: #333;
    color: #e8e2db;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
}

.hero .btn:hover {
    background: #292929;
}

/* Button-Styling */
.changierender-button {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #e8e2db;
    background-color: #dbb999; /* Startfarbe */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    animation: changiere 5s infinite alternate;
}

/* Farbwechseleffekt */
@keyframes changiere {
    0% {
        background-color: #dbb999;
    }
    50% {
        background-color: #B87333; 
    }
    100% {
        background-color: #5c3919;
    }
}

/* Hover-Effekt */
.changierender-button:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

#home {   
   /* background-image: url("../img/copper.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;  */
    background-color: #161616;  
    color: #e8e2db;
    z-index: 500;
}

#content {
    background: #161616; /* Als Fallback für alte Browser */
    background: linear-gradient(rgba(22, 22, 22, 0.5), rgba(22, 22, 22, 0)), linear-gradient(to right, rgba(22, 22, 22, 0.5), rgba(22, 22, 22, 1), rgba(22, 22, 22, 0.5));
    background-blend-mode: multiply;
    color: #e8e2db;
    z-index: 600;
}

#content_imprint {
    /*background: #dbb999; /* Als Fallback für alte Browser */
    /*background: linear-gradient(to bottom, rgba(219, 185, 153, 0.2), rgba(219, 185, 153, 0.5));*/
    color: #e8e2db;
    z-index: 600;
}

#contact {
    background: #161616;
}

section {
    padding: 60px 0;
}

.darkbg {
    /*background: #5c3919; /* Als Fallback für alte Browser */
    /*background: linear-gradient(to bottom, rgba(92, 57, 25, 0.5), rgba(92, 57, 25, 1));   */
    background-color: #333;   
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#services, #imprint {    
    max-width: 100%;
    margin: 0 auto;
}

.services-list, .imprint-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 40px;
}

.service-item {
    flex: 1;
    margin: 10px;
    padding: 20px;
    /*background: #5c3919; /*Fallback*/
    /*background: linear-gradient(to bottom, rgba(92, 57, 25, 0.5), rgba(92, 57, 25, 1));*/
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.imprint-item {
    flex: 1;
    margin: 10px;
    padding: 20px;
    background: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.imprint-item p {
    font-size: 0.75rem;
}

footer {    
    /*color: #e8e2db; */
    color: #292929;
    text-align: center;
    padding: 20px 0;
}

footer a {   
    /*color: #e8e2db; */
    color: #292929;
    text-decoration: none;    
}

footer a:hover {
    /*color: #fff;*/
    color: #555555;
    text-decoration: underline #FFf;;   
}

footer button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #e8e2db;
    cursor: pointer;
}

footer button:hover {
    color: #fff;
    text-decoration: underline #FFf;;   
}

/* Cookie-Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3);
    display: none; /* Initial verstecken, bis das Banner benötigt wird */
    z-index: 1000;
}

.cookie-banner a {
    color: #4caf50;
    text-decoration: underline;
}

.cookie-buttons {
    margin-top: 10px;
}

.cookie-buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: #4caf50;
    border-radius: 5px;
}

.cookie-buttons button:hover {
    background-color: #388e3c;
}

#decline-cookies {
    background-color: #e74c3c;
}

#decline-cookies:hover {
    background-color: #c0392b;
}


.modal {
    display: none; /* Versteckt das Modal initial */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    z-index: 1100;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);    
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767.98px) {
  nav {
    display: none !important;
  }
}