body {
    background-color: #fff;
    overflow-x:hidden;
    font-family: 'Open Sans', sans-serif;
}

h1 {
    color: #0C4E78;
    font-size: 2rem;
}


.nav-bar {
    height: 70px;
    background-color: #0C4E78;
    text-align: center;
    color:#fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    /*  padding: 10px 20px;*/
}

.menu-button {
    height: 100%;
    border: none;
    background-color: #0C4E78;
    color: #fff;
    text-align: center;
    size: 15px;
    font-size: 15px;
    font-weight: normal;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -5px;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    /*gap:20px*/
}

.nav-button {
    position: relative;
    background: none;
    height: 70px;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: normal;
    padding-left: 8px;
    padding-right: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

/* Linie nur über dem Button */
.nav-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: #f57c00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

/* Hover */
.nav-button:hover {
  background-color: white;
  color: #f57c00;
}

.nav-button:hover::before {
  transform: scaleX(1);
}

/* Optional: aktiv markieren */
.nav-button.active {
  background-color: white;
  color: #f57c00;
}

.nav-button.active::before {
  transform: scaleX(1);
}

.logo {
    max-height: 80%;
    height: auto;
    display: block;
    margin-right: 15px;
}

#login_button {
    margin-left: 80px;
}



/* Submenü */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.submenu li a {
  padding: 10px 15px;
  color: #0e5a7c;
  display: block;
  text-align: left;
}

.submenu li a:hover {
  background-color: #f2f2f2;
}

.has-submenu {
    position: relative;
}

/* Dropdown beim Hover */
.has-submenu:hover .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}





/* Grundlayout */

/*
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a,
.submenu-toggle {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
*/


/* Hover für Desktop */

@media (min-width: 1025px) {
    /*
  .has-submenu:hover .submenu {
    display: block;
  }*/
    .nav-menu{
        display:flex;
    }

    .menu-toggle {
        display: none;
    }

    .small-nav-menu {
        display: none;
    }

    #vertical-menu-div {
        display: none;
    }
}

/* Mobile Styles */

@media (max-width: 1024px) and (min-width: 768px){
    .nav-menu{
        display:none;
    }

    .small-nav-menu {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    #menu-toggle {
        font-size: 50px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        margin-left: 350px;
    }

    #menu-toggle:hover #vertical-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    #vertical-menu {
        display: flex;
        position: absolute;
        top: 0px;
        max-width: 720px;
        height: 100px;
        opacity: 1;
    }

    #vertical-menu-div {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        max-width: 720px;
        top: 0px;
        left: 0px;
        opacity: 1;
    }
/*

  .nav-menu.show {
    display: flex;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
  }

  .submenu.show {
    display: block;
  }

  .menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }*/
}


/* Noch kleiner */
@media (max-width: 767px) {
  .nav-menu{
        display:none;
    }

    .small-nav-menu {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    #menu-toggle {
        font-size: 50px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        margin-left: 150px;
    }

    #menu-toggle:hover #vertical-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    #vertical-menu {
        display: flex;
        position: absolute;
        top: 0px;
        max-width: 720px;
        height: 100px;
        opacity: 1;
    }

    #vertical-menu-div {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        max-width: 720px;
        top: 0px;
        left: 0px;
        opacity: 1;
    }
}







.hero-section {
  text-align: center;
  padding-bottom: 3rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  color: #0e5a7c;
  font-weight: 500;
  text-decoration: none;
}

.hero-section p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #333;
}

.sell-form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.sell-form label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.sell-form select {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.sell-form button {
  background-color: #f57c00;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sell-form button:hover {
  background-color: #e86b00;
}

.partner-logos {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 30px;
  max-width: 100px;
  object-fit: contain;
}


.animated-word {
    position: relative;
    display: inline-block;
    text-decoration: none;
    animation: wordChange 3.5s infinite;
    font-weight: 600;
}

.animated-word::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 3px;
    background-color: #0e5a7c;
    width: 0%;
    animation: underlineGrowShrink 3.5s infinite;
}

@keyframes underlineGrowShrink {
    0%   { width: 0%; }
    70%  { width: 100%; }
    80%  { width: 100%; }
    100% { width: 0%; }
}

@keyframes wordChange {
    0%   { opacity: 0%; }
    5%  { opacity: 100%; }
    95%  { opacity: 100%; }
    100% { opacity: 0%; }
}



#ralf-dorn {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 2rem auto;
  margin-top: -50px;
  max-width: 1200px;
}

#ralf-dorn h1 {
  margin-bottom: -5px;
}

.video-block {
  margin: -0px;
  margin-bottom: -20px;
}


#endgueltiger-verkaufspreis {
    display: none;

    position: relative;
    color: #000;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    min-height: 60px;
    border-radius: 4px;

    background-color: #fff;
    transition: all 0.3s ease;
    z-index: 900;
    padding-bottom: 0.3rem;
}

h2 {
    color: #0C4E78;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

.space {
    min-height: 70px;
}

h3 {
    color: #69A139;
    text-align: center;
    font-size: 3rem;
    padding: 0;
    margin: 0;
}

.disclaimer {
    color: grey;
    text-align: center;
    margin-top: 0.6rem;
    font-size: small;
}


#hertzinfakt {
  height: 50px;
  align-items: center;
  margin-top: -20px;
}

#hertzinfakt_liste {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    /*gap:20px*/
}

.link {
  height: 100%;
  width: auto;
}

.link img {
  height: 100%;
  margin: 10px;
}






#footer-content {
    background-color: #4A4A4A;
    color: #fff;
    position: fixed;
    bottom: -2px;
    left: 0;
    right: 0;
    padding-left: 10px;
    height: 70px;
    align-items: center;
    display: flex;
}


/*Konfetti */
canvas {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none;
  z-index: 100000;
}