/* ========== Layout & Reset ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #f7f7f7;
  color: #222;
}

/* ========== Zentrierte Sections ========== */
section:not(.hero) {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* ========== Hero (volle Breite, Inhalt zentriert) ========== */
.hero {
  background-color: #a00;
  background: url('/assets/img/hero-dog.webp') no-repeat center center/cover;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ========== Headings ========== */
section h1,
section h2,
section h3 {
  color: #003c88;
  margin-bottom: 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #f0f0f0;
  line-height: 1.5;
}


/* ========== Footer ========== */
.footer {
  background-color: #2c3e50;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer a {
  color: #aaa;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer .credit {
  font-size: 0.9em;
  color: #888;
  margin-top: 1rem;
}

/* ========== Darkmode ========== */
body.darkmode {
  background-color: #121212;
  color: #e0e0e0;
}

body.darkmode section:not(.hero) {
  background-color: #1e1e1e;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

body.darkmode .hero {
  background-color: #2a2a2a;
}

body.darkmode .hero-subtitle {
  color: #ccc;
}

body.darkmode h1,
body.darkmode h2 {
  color: #fff;
}

body.darkmode table {
  background-color: #2b2b2b;
  color: #ddd;
}

body.darkmode table th {
  background-color: #3a3a3a;
  color: #fff;
}

body.darkmode table td {
  border-color: #444;
}

body.darkmode nav.navbar {
  background-color: #000;
  color: #eee;
}

body.darkmode nav.navbar .nav-links a {
  color: #eee;
}

body.darkmode nav.navbar .nav-links a:hover {
  color: #ddd;
}

body.darkmode .footer {
  background-color: #000;
  color: #aaa;
}

body.darkmode .footer a {
  color: #bbb;
}

body.darkmode .footer a:hover {
  color: #fff;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  nav.navbar .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

/* ========== Bilder & Galerie ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.responsive-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.responsive-gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

