/**
 * Kopf- und Fußzeile wie www.samuelberger.de
 * Farben anpassen: Werte unten in :root
 */
:root {
  --sb-cyan: #dff5f8;
  --sb-cyan-dark: #c8e8ee;
  --sb-nav-active: #5fd4d8;
  --sb-text: #1a2f4a;
  --sb-text-muted: #3d5068;
  --sb-white: #ffffff;
  --sb-max: 1180px;
}

.sb-chrome {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--sb-text);
}

.sb-topbar {
  background: var(--sb-cyan);
  border-bottom: 1px solid var(--sb-cyan-dark);
}

.sb-topbar__tel {
  display: block;
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  text-align: right;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sb-text);
  text-decoration: none;
}

.sb-topbar__tel:hover {
  text-decoration: underline;
}

.sb-header {
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  background: var(--sb-white);
}

.sb-logo {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}

.sb-logo__img {
  display: block;
  height: 76px;
  width: auto;
  max-width: min(340px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.sb-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
}

.sb-nav__link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sb-text-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.sb-nav__link:hover {
  color: var(--sb-text);
  background: #f0f6fa;
}

.sb-nav__link--active {
  background: var(--sb-nav-active);
  color: var(--sb-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sb-header-band {
  height: 6px;
  background: var(--sb-cyan);
  border-top: 1px solid var(--sb-cyan-dark);
}

.sb-main {
  background: linear-gradient(180deg, #eef2f7 0%, #e8edf4 100%);
}

/* Footer */
.sb-footer {
  background: var(--sb-cyan);
  border-top: 1px solid var(--sb-cyan-dark);
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--sb-text);
}

.sb-footer__inner {
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2rem;
}

.sb-footer__top {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .sb-footer__top {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .sb-footer__col--contact {
    text-align: right;
  }

  .sb-footer__col--contact .sb-footer__phone {
    justify-content: flex-end;
  }
}

.sb-footer__brand {
  margin: 0 0 0.15rem;
  font-weight: 600;
}

.sb-footer__brand-name {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.sb-footer__copy {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--sb-text-muted);
}

.sb-footer__h {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.sb-footer__col p {
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.sb-footer__col a {
  color: var(--sb-text);
  font-weight: 600;
  text-decoration: none;
}

.sb-footer__col a:hover {
  text-decoration: underline;
}

.sb-footer__phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sb-footer__phone-icon {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Trustlocal + Google – zentriert wie auf der Hauptseite */
.sb-footer__widgets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding-top: 0.25rem;
}

.sb-footer__widget {
  flex: 0 1 auto;
  min-width: 0;
}

.sb-footer__widget--trust {
  display: flex;
  justify-content: center;
}

.sb-footer__widget--trust .trustlocal-widget {
  display: inline-block;
  max-width: 100%;
}

.sb-google-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: var(--sb-text);
  min-width: 200px;
  max-width: 260px;
}

.sb-google-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sb-google-card__g {
  font-size: 1.5rem;
  font-weight: 800;
  color: #4285f4;
  line-height: 1;
}

.sb-google-card__body {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--sb-text-muted);
}

.sb-google-card__body strong {
  color: var(--sb-text);
  font-size: 0.82rem;
}

.sb-google-card__stars {
  color: #f4b400;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

@media (max-width: 899px) {
  .sb-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sb-nav__list {
    justify-content: flex-start;
  }
}
