/* Grundlayout und Farben */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --text: #f5e3c3;
  --muted: #c9b58f;
  --border: #333333;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

/* Header und Navigation */

header {
  background: #000000;
  border-bottom: 1px solid #444444;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}

nav a:hover {
  border-color: var(--text);
}

nav a.active {
  background: var(--text);
  color: #050505;
  font-weight: 600;
}

/* Hauptbereich */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* Hero Bereich Startseite */

.hero {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #141414, #050505);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
  text-align: center;
}

.hero img {
  height: 220px;
  width: auto;
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.9));
}

.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h2 {
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1rem;
  color: #f1e0bc;
}

.hero p.slogan {
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* Buttons */

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--text);
  color: #050505;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

/* Allgemeine Seitenstruktur */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.page-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.page-text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #f1e0bc;
  margin-bottom: 0.8rem;
}

.page-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 320px;
}

/* Grid und Karten */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #101010;
  border-radius: 16px;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid #2b2b2b;
}

.card h2,
.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: #f1e0bc;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--text);
  margin-bottom: 0.9rem;
}

/* Leistungen Galerie */

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.leistung-box {
  background: #101010;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #2b2b2b;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.leistung-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.leistung-box h2 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.leistung-box p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Formulare */

form {
  max-width: 600px;
}

.field {
  margin-bottom: 1rem;
}

form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #444444;
  background: #050505;
  color: var(--text);
  font: inherit;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Tabellen */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #333333;
}

th {
  text-align: left;
  font-weight: 600;
}

/* Footer */

footer {
  border-top: 1px solid #333333;
  padding: 1.5rem 1.5rem 2rem;
  background: #000000;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Responsive Anpassungen */

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    justify-content: flex-start;
  }

  .hero {
    padding: 1.4rem 1rem;
  }

  .hero img {
    height: 180px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }
}
