/* Farben aus dem Design von bs-haustechnik.net übernommen */
:root {
  --navy: #144975;
  --blue: #0c4da2;
  --accent: #00b4ff;
  --ink: #1c1b1b;
  --text: #4a4a4a;
  --muted: #6f6f6f;
  --line: #e2e2e2;
  --bg: #f2f2f2;
  --card: #ffffff;
  --star: #f5b301;
  /* Systemschriften: keine externen Schriftdateien, damit keine Daten an Dritte gehen */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--blue); }

a:focus-visible,
.action:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.topbar {
  background: #565656;
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  text-align: center;
  letter-spacing: 0.02em;
}

.brand {
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: block;
  width: 190px;
  height: auto;
}

.wordmark {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 8px;
}

/* Kopfbereich */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  border-radius: 0 0 14px 14px;
  margin: 0 -16px 16px;
  padding: 26px 20px 22px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 300;
}

.hero h1 strong { font-weight: 700; }

.lead {
  margin: 0 0 20px;
  font-size: 16px;
  opacity: 0.92;
}

.actions {
  display: grid;
  gap: 10px;
}

.action {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}

.action.primary {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.action svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action span { display: flex; flex-direction: column; min-width: 0; }
.action b { font-size: 17px; font-weight: 700; }
.action small { font-size: 14px; opacity: 0.85; overflow-wrap: anywhere; }

/* Inhaltskarten */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
}

.card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
}

.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }

.phones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.phones a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.review { text-align: center; border-top: 4px solid var(--accent); }

.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }
/* Bewusst leere Sterne: neutral, keine Vorgabe einer Sternezahl */
.stars svg { width: 24px; height: 24px; fill: none; stroke: var(--star); stroke-width: 1.6; stroke-linejoin: round; }

.button {
  display: inline-block;
  min-height: 48px;
  padding: 13px 26px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.services { display: grid; gap: 16px; margin-bottom: 14px; }

.service { display: flex; gap: 14px; align-items: flex-start; }

.service svg {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: #e8f1f8;
  border-radius: 8px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 { margin: 2px 0 4px; color: var(--navy); font-size: 17px; }
.service p { margin: 0; font-size: 15px; }

.textlink { font-weight: 600; }
.textlink::after { content: " \2192"; }

.jobs { background: #eaf4fb; border-color: #cfe4f3; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-links a {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer {
  max-width: 560px;
  margin: 8px auto 0;
  padding: 18px 16px 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer p { margin: 0 0 10px; }
footer strong { color: var(--ink); }
footer nav { display: flex; justify-content: center; gap: 22px; }
footer nav a { color: var(--muted); }

/* Unterseiten Impressum und Datenschutz */
.legal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  margin: 16px 0;
}

.legal h1 { margin: 0 0 16px; color: var(--ink); font-size: 26px; }
.legal h2 { margin: 22px 0 8px; color: var(--navy); font-size: 18px; }
.legal p, .legal li { font-size: 15px; }
.legal ul { padding-left: 20px; }

.back {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

.back::before { content: "\2190 "; }

.todo {
  background: #fff3b0;
  padding: 0 4px;
  border-radius: 3px;
}

/* Nur in der Vorschau-Fassung verwendet */
.preview-banner {
  background: #fff3b0;
  color: #5c4700;
  font-size: 14px;
  padding: 10px 16px;
  text-align: center;
}

.preview-note {
  margin-top: 14px !important;
  font-size: 12px;
  color: var(--muted);
}
