/* Grundlayout */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #0a0f1c, #070d1f);
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
.main-header {
    background: linear-gradient(to bottom, #070d1f, #0a122a);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #1a1a2e;
}

.header-container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 42px;
    filter: drop-shadow(0 0 4px rgba(0,191,255,0.5));
}

/* Navigation */
.main-nav a {
    color: #ddd;
    margin-left: 24px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #5aba9b;
}





/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: radial-gradient(circle at center, #0f1e36, #0a0f1c);
}

.hero h1 {
    font-size: 3rem;
    background: linear-gradient(to right, #ffffff, #5aba9b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #cfd8e3;
    font-size: 1.1rem;
    margin: 20px 0;
}

.hero .btn-primary {
    background-color: #5aba9b;
    color: #000;
    border: none;
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 0 8px #5aba9b;
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #4a9e87;
    color: #fff;
}

/* Feature Cards */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 60px 20px;
    background-color: #0a0f1c;
}

.feature-card {
    background-color: #121c2b;
    border-radius: 12px;
    padding: 24px;
    max-width: 260px;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,191,255,0.15);
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 18px rgba(0,191,255,0.3);
}

.feature-card i {
    font-size: 2rem;
    color: #5aba9b;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.95rem;
    color: #cfd8e3;
}

/* Abschnittstitel */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 16px;
    margin-top: 40px;
}

.section-subtitle {
    text-align: center;
    color: #9baec8;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: #060a13;
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 0.9rem;
}


/* Anpassung: Login-Button grün */


/* Anpassung: Hero-Button ohne Unterstrich */
.hero .btn-primary {
    text-decoration: none;
}

/* Registrieren-Link als Button */
a.register-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #5aba9b;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 8px #5aba9b;
    transition: background 0.3s ease;
}

a.register-btn:hover {
    background-color: #4a9e87;
    color: #fff;
}

/* Footer-Link */
footer a {
    color: #5aba9b;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


.login-btn {
    background-color: #5aba9b;
    color: #000 !important;
    border: none;
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 0 8px #5aba9b;
    margin-left: 32px;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background-color: #4a9e87;
    color: #fff;
}



  .error-404 {
    text-align: center;
    padding: 100px 20px;
    animation: fadeIn 1s ease-in-out;
  }

  .error-404 h1 {
    font-size: 6rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #5aba9b, #2f8772);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
  }

  .error-404 p {
    font-size: 1.2rem;
    color: #ccc;
  }

  .error-404 a {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #5aba9b;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
  }

  .error-404 a:hover {
    background-color: #4a9e87;
    color: #fff;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0% { text-shadow: 0 0 10px #5aba9b; }
    50% { text-shadow: 0 0 20px #5aba9b; }
    100% { text-shadow: 0 0 10px #5aba9b; }
  }
  
  .auth-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0f1c, #070d1f);
  color: #fff;
}

.auth-box {
  background-color: #111827;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
}

.auth-box h2 {
  margin-bottom: 20px;
  color: #5aba9b;
  font-size: 1.8rem;
  text-align: center;
}

.auth-box form {
  display: flex;
  flex-direction: column;
}

.auth-box input {
  margin-bottom: 16px;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #1f2937;
  color: #fff;
  font-size: 1rem;
}

.auth-box input::placeholder {
  color: #a0aec0;
}

.auth-box button {
  padding: 12px;
  background-color: #5aba9b;
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.auth-box button:hover {
  background-color: #4aa98a;
}