/* Basis */
html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0f1115;
  color: #eaeaea;
  line-height: 1.6;

  display: flex;
  flex-direction: column;
}

/* Hauptinhalt wächst */
main {
  flex: 1;
}

header {
  padding: 60px 20px;
  margin-top: 0;
  text-align: center;
  background: linear-gradient(135deg, #1f2933, #111827);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

header p {
  font-size: 1.2rem;
  color: #cbd5e1;
}

section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Card mit Heiligenschein */
.card {
  background-color: #1a1f2b;
  will-change: transform;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  background-color: #22283a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 18px 6px rgba(255, 255, 255, 0.35),
    0 0 40px 12px rgba(255, 255, 255, 0.15);
}

.card h3 {
  margin-top: 0;
  color: #60a5fa;
}

/* Button */
.cta {
  text-align: center;
  margin-top: 40px;
}

.cta a {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 25px;
  transition: background-color 0.3s;
}

.cta a:hover {
  background-color: #1d4ed8;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0b0e14;
  color: #9ca3af;
  font-size: 0.9rem;
}

footer a {
  color: #9ca3af;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background-color: #0b0e14;
  border-bottom: 1px solid #1f2933;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.nav-logo:hover {
  color: #60a5fa;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #60a5fa;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  background-color: #1a1f2b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 25px rgba(255, 255, 255, 0.25);
}
