/* ==========================================================
   Variante 2: hell, großzügig, die drei Logo-Farben als Leitmotiv.
   Wird nach style.css geladen und überschreibt dessen Regeln.
   ========================================================== */

/* ── Ladeanzeige hell ── */
#ppl { background: #fff; }
.pring { border-color: rgba(0,0,0,.1); border-top-color: var(--blue); }

/* ── Notdienst-Band ── */
.notband {
  background: var(--yel);
  color: var(--dark);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  padding: .45rem 0;
}
.notband-tel { color: var(--dark); font-weight: 800; text-decoration: underline; }

/* ── Navigation ── */
.navbar {
  background: #fff !important;
  border-bottom: 1px solid #eceff3;
  padding: .55rem 0;
  box-shadow: none;
}
.navbar.scrolled { background: #fff !important; padding: .3rem 0; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.navbar-brand img { height: 56px; max-height: 56px; }
.navbar .nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  background: transparent !important;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: .85rem; right: .85rem; bottom: .1rem;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--blue-d) !important; }
.navbar-toggler { border: 1px solid rgba(0,0,0,.2) !important; }
.navbar-toggler-icon { filter: none; }
.dropdown-menu { background: #fff !important; border: 1px solid #e5e7eb !important; }
.dropdown-item { color: var(--dark) !important; }
.dropdown-item:hover { background: var(--blue-l) !important; color: var(--blue-d) !important; }

/* ── Buttons ── */
.btn-tel {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  padding: .6rem 1.3rem;
  box-shadow: 0 6px 18px rgba(33,150,211,.35);
}
.btn-tel:hover { background: var(--blue-d); color: #fff; transform: translateY(-2px); }
.btn.btn-lg { padding: .85rem 1.7rem; font-size: 1.02rem; }
.h2-btn-line {
  border-radius: 14px;
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
  font-weight: 700;
}
.h2-btn-line:hover { background: var(--dark); color: #fff; }
.h2-btn-hell { background: #fff; color: var(--dark); border-radius: 14px; font-weight: 700; }
.h2-btn-hell:hover { background: var(--yel); color: var(--dark); }

/* ── Hero ── */
.h2-hero {
  background: linear-gradient(180deg, #eef6fc 0%, #ffffff 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
.h2-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.h2-chips span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid #dbe7f1;
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .82rem;
  font-weight: 600;
  color: #33404d;
}
.h2-chips i { color: var(--blue); }
.h2-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-bottom: 1.2rem;
}
.h2-hero h1 span { color: var(--blue); }
.h2-lead { font-size: 1.15rem; color: #4a5560; max-width: 540px; margin-bottom: 2rem; }
.h2-bildwrap { position: relative; padding-bottom: 2.2rem; }
.h2-bild {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10,30,60,.22);
}
.h2-quadrate {
  position: absolute;
  left: 1.5rem;
  bottom: 0;
  display: flex;
  gap: .7rem;
  background: #fff;
  padding: .7rem;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.h2-quadrate .q {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
}
.q-b { background: var(--blue); }
.q-r { background: var(--red); }
.q-y { background: var(--yel); color: var(--dark) !important; }

/* ── Abschnitte ── */
.h2-sek { padding: 5rem 0; background: #fff; }
.h2-grau { background: #f4f6f8; }
.h2-kopf { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.h2-kopf h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .6rem; }
.h2-kopf p { color: #55606b; font-size: 1.05rem; margin: 0; }

/* ── Große Leistungs-Kacheln (Logo-Farben) ── */
.h2-kachel {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  text-decoration: none;
  color: #fff;
  transition: var(--tr);
  min-height: 290px;
}
.h2-kachel:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0,0,0,.22); color: #fff; }
.h2-kachel.kb { background: linear-gradient(150deg, var(--blue), var(--blue-d)); }
.h2-kachel.kr { background: linear-gradient(150deg, var(--red), var(--red-d)); }
.h2-kachel.ky { background: linear-gradient(150deg, var(--yel), #e0b000); color: var(--dark); }
.h2-kachel.ky:hover { color: var(--dark); }
.h2-ico {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.4rem;
}
.ky .h2-ico { background: rgba(0,0,0,.1); }
.h2-kachel h3 { color: inherit; font-size: 1.7rem; font-weight: 800; margin-bottom: .5rem; }
.h2-kachel p { color: inherit; opacity: .92; flex: 1; margin-bottom: 1.2rem; }
.h2-pfeil { font-weight: 700; font-size: .95rem; }
.h2-kachel:hover .h2-pfeil i,
.h2-breit:hover .h2-pfeil i { margin-left: 5px; }

/* ── Breite Bild-Kacheln ── */
.h2-breit {
  display: block;
  height: 100%;
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(8,14,22,.05) 0%, rgba(8,14,22,.85) 100%),
    var(--bg) center / cover no-repeat;
  color: #fff;
  transition: var(--tr);
  position: relative;
}
.h2-breit:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0,0,0,.28); color: #fff; }
.h2-breit-in { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 260px; padding: 1.8rem; }
.h2-breit h3 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: .3rem; }
.h2-breit p { color: rgba(255,255,255,.88); margin-bottom: .8rem; }
.h2-tag {
  align-self: flex-start;
  background: #22c55e;
  color: #05290f;
  font-weight: 800;
  font-size: .78rem;
  border-radius: 999px;
  padding: .25rem .8rem;
  margin-bottom: .7rem;
}
.h2-tag-c { background: #06b6d4; color: #022a33; }

/* ── Vorteile ── */
.h2-vorteil {
  background: #fff;
  border-radius: 20px;
  padding: 1.7rem 1.5rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.h2-vorteil i { font-size: 1.9rem; color: var(--blue); display: block; margin-bottom: .8rem; }
.h2-vorteil h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.h2-vorteil p { color: #5b6470; font-size: .94rem; margin: 0; }
.h2-vorteil:nth-child(1) i { color: var(--blue); }

/* ── Notfall und Kontakt ── */
.h2-kontakt { background: #14181d; padding: 5rem 0; }
.h2-kontakt h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .8rem; }
.h2-kontakt h2 span { color: var(--yel); }
.h2-kontakt p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 1.5rem; }
.h2-grosstel {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--yel);
  color: var(--dark);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  border-radius: 18px;
  padding: .7rem 1.6rem;
  text-decoration: none;
  transition: var(--tr);
}
.h2-grosstel:hover { background: #ffd633; color: var(--dark); transform: translateY(-3px); }
.h2-karte { background: #fff; border-radius: 24px; padding: 1.2rem 1.6rem; }
.h2-zeile { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #eef0f3; }
.h2-zeile:last-child { border-bottom: 0; }
.h2-zeile > i { font-size: 1.3rem; color: var(--blue); margin-top: .15rem; }
.h2-zeile:nth-child(3) > i { color: var(--red); }
.h2-zeile div { color: #4a5560; font-size: .95rem; line-height: 1.5; }
.h2-zeile strong { color: var(--dark); }

/* ── Kleinere Bildschirme ── */
@media (max-width: 991.98px) {
  .h2-hero { padding: 3rem 0 3.5rem; }
  .h2-bild { height: 300px; }
  .navbar .nav-link::after { display: none; }
  .navbar .nav-item.ms-lg-2 { margin-top: .6rem; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { height: 46px; max-height: 46px; }
  .h2-sek, .h2-kontakt { padding: 3.2rem 0; }
  .h2-quadrate .q { width: 48px; height: 48px; font-size: 1.4rem; }
}
