:root {
  --farbe-primary: #0066cc;
  --farbe-primary-fokus: #0071e3;
  --farbe-navy: #142850;
  --farbe-rot: #c0272d;
  --farbe-ink: #1d1d1f;
  --farbe-ink-muted: #7a7a7a;
  --farbe-flaeche: #ffffff;
  --farbe-flaeche-warm: #fdf6e9;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--schrift);
  color: var(--farbe-ink);
  background: var(--farbe-flaeche);
  line-height: 1.5;
}

.kopfbereich {
  background: var(--farbe-navy);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.kopfbereich a { color: #fff; text-decoration: none; margin-left: 1rem; font-weight: 600; }

.marke { display: flex; align-items: center; gap: 0.6rem; margin-left: 0; }
.logo { height: 40px; width: auto; display: block; }

.menu-knopf {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

@media (max-width: 640px) {
  .menu-knopf { display: block; }

  .kopfbereich nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    margin-top: 0.75rem;
  }

  .kopfbereich nav.offen { display: flex; }

  .kopfbereich nav a { margin: 0.4rem 0; }
}

.hero {
  background: var(--farbe-flaeche-warm);
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.5rem; color: var(--farbe-navy); }

.container { max-width: 780px; margin: 0 auto; padding: 2rem 1.5rem; }

.karte {
  background: var(--farbe-flaeche);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  background: var(--farbe-rot);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.button:hover { background: #a31f24; }

label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }

input[type="text"], input[type="email"], input[type="number"], textarea, select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--farbe-primary-fokus);
  outline-offset: 1px;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.galerie-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

.fehler { color: var(--farbe-rot); font-weight: 600; }
.hinweis { background: #eef6ff; border-radius: 8px; padding: 1rem; }
