:root {
  --header-bg-1: rgb(99, 203, 87); /* dunkelblau */
  --header-bg-2: #6ABE58; /* grün */
  --header-text: #ffffff;
  --accent: #10b981;
}

@font-face {
  font-family: 'Cause';
  src: url('../fonts/Cause/static/Cause-Regular.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BitcountGridSingle';
  src: url('../fonts/Bitcount_Grid_Single/static/BitcountGridSingle_Roman-Regular.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

header {
  font-family: 'Cause', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(90deg, var(--header-bg-1), var(--header-bg-2));
  color: var(--header-text);
  box-shadow: 0 2px 10px rgba(2,6,23,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 10px;
  font-size: 1rem;
  max-height: 5rem;
}

header h1 {
  font-family: 'BitcountGridSingle', monospace;
  font-size: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--header-text);
}

.logo img {
  display: block;
  width: 4rem;
  height: auto;
}

nav ul {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

li {
  list-style: none;
}

nav a {
  color: var(--header-text);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.25rem;
  transition: background-color 150ms ease, transform 120ms ease;
  background-color: rgba(255, 255, 255, 0.050);
  display: inline-block;
}

nav a:hover,
nav a:focus {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-0.3rem);
  outline: none;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo img { height: 36px; }
}

header * {
  box-sizing: border-box;
}

.header-login-info {
  text-decoration: none;
  font-size: 1.1rem;
  gap: 0.5rem;
  margin-left: 0.75rem;
  padding: 0.35rem 0.9rem 0.35rem ;
  border: none;
  border-radius: 8px;
  color: var(--header-text);
  background-color: rgba(255,255,255,0.06);
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
}

.header-login-info p {
  margin: 0;
  color: rgba(255,255,255,0.95);
}

.header-login-info:hover,
.header-login-info:focus {
  transform: translateY(-0.1rem);
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
  background-color: rgba(255,255,255,0.10);
  outline: none;
}