* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dunkel: #1c2833;
  --dunkel2: #0f1923;
  --akzent: #e74c3c;
  --akzent-dunkel: #c0392b;
  --hell: #f4f6f8;
  --text: #2c3e50;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fffefb;
  overflow-x: hidden;
}

/* ===== KOPFZEILE ===== */
header {
  background: var(--dunkel);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.kopf {
  max-width: 1150px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: .5px;
  z-index: 110;
}
.logo span { color: var(--akzent); }

.telefon-kopf {
  color: #e0e6eb;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  z-index: 110;
}
.telefon-kopf:hover { color: var(--akzent); }

/* Hamburger Button (nur mobil sichtbar) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* Navigation Desktop */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

nav a {
  display: block;
  color: #d5dce3;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  transition: .2s;
  white-space: nowrap;
}

nav a:hover, nav a.aktiv {
  background: var(--akzent);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(28,40,51,.75), rgba(28,40,51,.7)),
              url('../bilder/hero1.webp') center/cover no-repeat,
              var(--dunkel);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: clamp(26px, 4.5vw, 44px);
  margin-bottom: 14px;
  line-height: 1.25;
}

.hero p {
  font-size: clamp(16px, 2.4vw, 20px);
  margin-bottom: 32px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #e8edf1;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  background: var(--akzent);
  color: #fff;
  padding: 15px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: .2s;
}
.button:hover { background: var(--akzent-dunkel); transform: translateY(-1px); }
.button.zweit { background: transparent; border: 2px solid rgba(255,255,255,.6); margin-left: 10px; }
.button.zweit:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ===== ABSCHNITTE ===== */
section { max-width: 1150px; margin: 0 auto; padding: 55px 20px; }

section.hell { width: 100%; max-width: none; background: var(--hell); }
section.hell > * { max-width: 1150px; margin-left: auto; margin-right: auto; }

h2 {
  color: var(--dunkel);
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 22px;
  text-align: center;
}

/* ===== LEISTUNGEN ===== */
.leistung-liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.leistung-item {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: .2s;
}
.leistung-item:hover { box-shadow: 0 4px 16px rgba(28,40,51,.1); }
.leistung-item h3 { color: var(--akzent); margin-bottom: 8px; font-size: 18px; }
.leistung-item p { font-size: 15px; }

/* ===== KARTEN-RASTER ===== */
.raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.karte {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(28,40,51,.06);
  border: 1px solid #e2e8f0;
  transition: .2s;
}
.karte:hover { box-shadow: 0 4px 16px rgba(28,40,51,.12); }

section.hell .karte { background: #fff; }

.karte h3 { color: var(--dunkel); margin-bottom: 8px; font-size: 17px; }
.karte ul { list-style: none; }
.karte li { padding: 4px 0 4px 24px; position: relative; }
.karte li::before {
  content: '✦';
  position: absolute; left: 0;
  color: var(--akzent); font-size: 10px; top: 6px;
}

.vorteile .karte { text-align: center; }
.vorteile .karte .icon { font-size: 40px; }

/* ===== TEXTSEITE ===== */
.textseite p { margin-bottom: 16px; max-width: 820px; }
.unterzeile { color: var(--akzent); font-weight: bold; }

.seite-bild {
  display: block; width: 100%; max-width: 600px;
  border-radius: 14px; margin: 0 auto 26px;
  box-shadow: 0 6px 24px rgba(28,40,51,.1);
}

/* ===== CTA-BANNER ===== */
.cta-banner {
  width: 100%; max-width: none;
  background: var(--dunkel);
  color: #fff; text-align: center;
}
.cta-banner > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.cta-banner h2 { color: #fff; }
.cta-banner .button { background: var(--akzent); }
.cta-banner .button:hover { background: #fff; color: var(--dunkel); }

/* ===== KONTAKT-RASTER ===== */
.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.kontakt-raster a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(28,40,51,.08);
  transition: .2s;
}
.kontakt-raster a:hover { box-shadow: 0 4px 14px rgba(28,40,51,.14); }

.adresse { margin: 18px 0; font-size: 15px; line-height: 1.8; text-align: center; }

/* ===== WHATSAPP ===== */
.whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: .2s;
}
.whatsapp:hover { background: #1da851; }

/* ===== FORMULARE ===== */
.form-box {
  background: #fff; padding: 32px; border-radius: 14px;
  box-shadow: 0 4px 20px rgba(28,40,51,.08);
  max-width: 680px; margin: 0 auto;
  border: 1px solid #e2e8f0;
}

form label { display: block; font-weight: bold; margin: 14px 0 4px; color: var(--dunkel); }

form input, form textarea, form select {
  width: 100%; padding: 12px 14px;
  border: 1px solid #d5dce3;
  border-radius: 8px; font-size: 15px; font-family: inherit;
  background: #fdfcfa;
}

form input:focus, form textarea:focus { outline: 2px solid var(--akzent); border-color: var(--akzent); }

/* ===== FUSSZEILE ===== */
footer { background: var(--dunkel2); color: #b0bec5; margin-top: 50px; }

.footer-inhalt {
  max-width: 1150px; margin: 0 auto;
  padding: 42px 20px 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.footer-inhalt h3 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.footer-inhalt a { color: #b0bec5; text-decoration: none; display: block; padding: 3px 0; transition: .15s; }
.footer-inhalt a:hover { color: var(--akzent); }

.unten {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center; padding: 18px 20px; font-size: 13px;
}
.unten a { color: #b0bec5; text-decoration: none; margin: 0 6px; transition: .15s; }
.unten a:hover { color: var(--akzent); }

/* ===== RESPONSIVE – TABLET ===== */
@media (max-width: 900px) {
  .leistung-liste { grid-template-columns: repeat(2, 1fr); }
  .raster { grid-template-columns: repeat(2, 1fr); }
  .footer-inhalt { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE – MOBIL ===== */
@media (max-width: 700px) {
  /* Hamburger sichtbar */
  .hamburger { display: block; }

  /* Navigation als Overlay */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dunkel);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 105;
  }
  nav.offen { opacity: 1; visibility: visible; }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  nav a {
    font-size: 20px;
    padding: 14px 28px;
  }

  /* Kopfzeile */
  .kopf { flex-wrap: nowrap; }
  .telefon-kopf { font-size: 13px; }

  /* Hero */
  .hero { padding: 60px 16px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .button.zweit { margin-left: 0; margin-top: 10px; }

  /* Buttons */
  .button { padding: 14px 28px; font-size: 15px; width: 100%; text-align: center; }

  /* Raster auf 1 Spalte */
  .leistung-liste { grid-template-columns: 1fr; }
  .raster { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .footer-inhalt { grid-template-columns: 1fr; text-align: center; }

  /* Abschnitte */
  section { padding: 40px 16px; }
  h2 { font-size: 22px; }

  /* Bilder */
  .seite-bild { max-width: 100%; border-radius: 10px; }

  /* Formular */
  .form-box { padding: 20px; }

  /* Kontakt */
  .kontakt-raster a { padding: 16px; font-size: 15px; }
}

/* ===== RESPONSIVE – KLEINE MOBILS ===== */
@media (max-width: 400px) {
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 14px; }
  .button { padding: 12px 20px; font-size: 14px; }
  nav a { font-size: 18px; padding: 12px 24px; }
}
