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

:root {
  --blau: #16325c;
  --blau-dunkel: #0e2342;
  --orange: #f39c12;
  --grau: #f4f6f9;
  --text: #2b2b2b;
}

html { scroll-behavior: smooth; }

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

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

.kopf {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 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;
  z-index: 110;
}
.logo span { color: var(--orange); }

.telefon-kopf {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  z-index: 110;
}

/* Hamburger Button */
.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: 4px;
}

nav a {
  display: block;
  color: #dce6f5;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

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

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(14,35,66,.75), rgba(14,35,66,.75)),
              url('../bilder/hero.webp') center/cover no-repeat,
              var(--blau-dunkel);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.hero h1 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 12px; }
.hero p  { font-size: clamp(16px, 2.5vw, 20px); margin-bottom: 28px; }

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.button:hover { background: #d78e0d; }
.button.zweit {
  background: transparent;
  border: 2px solid var(--orange);
  margin-left: 10px;
}
.button.zweit:hover { background: rgba(243,156,18,.2); }

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

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

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

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

.karte {
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.karte h3 {
  color: var(--blau);
  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(--orange);
  font-weight: bold;
}

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

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

.rabatt-badge {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 900;
  border-radius: 12px;
  padding: 6px 26px;
  margin-bottom: 16px;
}

/* ===== KONTAKT-KACHELN ===== */
.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.kontakt-raster a {
  background: #fff;
  border: 2px solid var(--blau);
  border-radius: 8px;
  padding: 26px 12px;
  text-decoration: none;
  color: var(--blau);
  font-weight: bold;
  display: block;
}
.kontakt-raster a:hover { background: var(--blau); color: #fff; }
.kontakt-raster .icon { font-size: 34px; display: block; margin-bottom: 8px; }

.adresse { text-align: center; margin-top: 26px; font-size: 17px; }
.adresse a { color: var(--blau); font-weight: bold; text-decoration: none; }

.whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

/* ===== TEXTSEITEN ===== */
.textseite p { margin-bottom: 16px; max-width: 800px; }

/* ===== FORMULARE ===== */
form label {
  display: block;
  font-weight: bold;
  margin: 14px 0 4px;
  color: var(--blau);
}

form input, form textarea, form select {
  width: 100%;
  padding: 11px;
  border: 1px solid #c3cedd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}

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

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

.footer-inhalt {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  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: #c7d3e3; text-decoration: none; display: block; padding: 3px 0; }
.footer-inhalt a:hover { color: var(--orange); }

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

/* ===== TEAM ===== */
.team-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.team-raster img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.seite-bild {
  display: block;
  width: 100%;
  max-width: 560px;
  border-radius: 8px;
  margin: 0 auto 26px;
}

/* ===== FORMULAR-BOX ===== */
.form-box {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  max-width: 680px;
  margin: 0 auto;
}

/* ===== RESPONSIVE – TABLET ===== */
@media (max-width: 900px) {
  .raster { grid-template-columns: repeat(2, 1fr); }
  .kontakt-raster { grid-template-columns: repeat(2, 1fr); }
  .footer-inhalt { grid-template-columns: repeat(2, 1fr); }
  .team-raster { 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(--blau);
    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; }

  /* 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 */
  .raster { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .footer-inhalt { grid-template-columns: 1fr; text-align: center; }
  .team-raster { grid-template-columns: 1fr; }

  /* 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; }
}
