/* Grundlayout */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #fff;
}

/* Farben */
:root {
  --accent: #0077cc; /* Blau */
  --dark: #0f1a24;  /* Dunkles Blau statt Schwarz */
  --lightgray: #f2f2f2;
}

/* Header */
header {
  background: var(--dark);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 4px solid var(--accent);
}

/* Logo im Header */
header .logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

header .logo-container img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

header .logo-text {
  font-weight: bold;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

/* Navigation */
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-bottom: 2px solid var(--accent);
}

/* Hauptbereich */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.hero-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero-cta a:hover {
  text-decoration: underline;
}

.hero-img {
  background: var(--lightgray);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  padding: 1rem;
}

.hero-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Überschriften */
h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: var(--accent);
}

/* Karten */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1rem;
  background: #fafafa;
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

/* Listen */
.list {
  list-style: none;
  padding-left: 0;
}

.list li::before {
  content: "• ";
  color: var(--accent);
}

/* Logo im Header (bereinigt) */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--lightgray);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Kontaktbox */
.contact-box {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1rem;
  background: #fafafa;
}

.contact-box a {
  color: var(--accent);
  text-decoration: none;
}

/* Footer */
footer {
  background: var(--dark);
  color: #fff;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-top: 4px solid var(--accent);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

footer a:hover {
  border-bottom: 2px solid var(--accent);
}

/* Responsive */
@media (max-width: 768px) {

  /* Hero einspaltig */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Hero-Bild */
  .hero-img {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
