nav a:hover {
  color: #fce300;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #f5f5f5;
}

header {
  background-color: #000;
  color: #fff;
}

/* Top-Bar */
.top-bar {
  background-color: #111;
  color: #f5c518;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.left-text {
  margin: 0 auto;
}
.top-bar .right-items {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 14px;
}

/* Suchfeld & Buttons als Kästchen */
.top-bar input[type="text"],
.top-bar .icon-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #fff;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9rem;
}
.top-bar input[type="text"] {
  width: 140px;
}
.top-bar input[type="text"]::placeholder {
  color: #ccc;
}
.top-bar .icon-button {
  cursor: pointer;
  background: none;
}

.top-bar .badge {
  background: yellow;
  color: black;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  margin-left: -0.8rem;
  margin-top: -0.4rem;
}

.topbar-frame {
  border-bottom: 1px solid #444;
}

/* Navigation */
.navbar {
  background-color: #111;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 60px;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  height: 60px;
  width: 60px;
}

/* Schiebt nav-right nach ganz rechts */
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.burger-menu {
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu:hover {
  color: #fce300;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .left-text {
    display: none;
  }
  .right-items {
    margin: 0 auto;
  }
  .konto-box {
    position: fixed;
    top: 60px; /* Abstand vom oberen Rand (z. B. unter dem mobilen Header) */
    right: 10px;
    left: 10px;
    width: auto;
    max-width: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
  }

  .icon-button {
    padding: 10px 14px;
    font-size: 16px;
  }

  .konto-button {
    font-size: 16px;
    padding: 12px;
  }

  .konto-box input {
    font-size: 16px;
    padding: 10px;
  }
}


.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 1.6rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.close-button {
  position: absolute;
  top:  -5px;
  right: 4px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
