/* ==========================================================
   Neues Layout (Schritt 1): helle Kopfzeile, fester Hero,
   Leistungs-Kacheln, Banner, Kontaktblock.
   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); }

/* ── Kopfzeile ── */
.topbar {
  background: #e8f3fb;
  color: #33404d;
  font-size: .85rem;
  padding: .45rem 0;
  border-bottom: 1px solid #d3e6f4;
}
.topbar-text { color: #44505c; }
.topbar-tel {
  color: var(--blue-d);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: .01em;
}
.topbar-tel:hover { color: var(--red); }

/* ── Navigation hell ── */
.navbar {
  background: #fff !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
  padding: .5rem 0;
}
/* Höhe der Leiste beim Scrollen NICHT ändern (sonst flackert sie an der Schwelle) */
.navbar.scrolled {
  background: #fff !important;
  padding: .35rem 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.navbar-brand img { height: 88px; max-height: 88px; width: auto; border-radius: 0; }
.navbar { padding: .35rem 0; }
.navbar .nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  font-size: .95rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--blue-d) !important;
  background: var(--blue-l);
}
.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; font-weight: 500; }
.dropdown-item:hover { background: var(--blue-l) !important; color: var(--blue-d) !important; }
.ci { color: var(--blue) !important; }

/* ── Hero (hell) ── */
.hero-neu {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(245,196,0,.18) 0, rgba(245,196,0,0) 28%),
    radial-gradient(circle at 96% 8%, rgba(33,150,211,.18) 0, rgba(33,150,211,0) 34%),
    linear-gradient(135deg, #eaf5fc 0%, #ffffff 65%);
  color: var(--dark);
  padding: 4.5rem 0 5rem;
}
.hero-neu-text { max-width: 640px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-d);
  margin-bottom: 1rem;
}
.hero-neu h1 {
  color: var(--dark);
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.hero-neu h1 span { color: var(--blue); }
.hero-neu p {
  color: #4a5560;
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}
.btn-line {
  background: #fff;
  color: var(--blue-d);
  border: 2px solid var(--blue);
  font-weight: 700;
}
.btn-line:hover { background: var(--blue); color: #fff; }
.hero-foto { position: relative; padding: 0 0 2.6rem 2.6rem; }
.hero-foto > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 22px 55px rgba(10,60,110,.22);
  display: block;
}
.hero-logo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #fff;
  border-radius: 22px;
  padding: 1rem 1.2rem;
  box-shadow: 0 14px 36px rgba(10,60,110,.25);
  border-bottom: 5px solid var(--yel);
}
.hero-logo img { width: 100%; height: auto; display: block; }

/* ── Abschnitte ── */
.sek { padding: 4.5rem 0; background: #fff; }
.sek-hell { background: #f1f8fd; }
.bild-rund {
  filter: brightness(1.3) saturate(1.05);
  border-radius: var(--r);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

/* ── Leistungs-Kacheln ── */
.kachel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: var(--dark);
  border: 1px solid #e5e7eb;
  border-top: 5px solid var(--akzent, var(--blue));
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: var(--tr);
}
.kachel:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
  color: var(--dark);
}
.k-blue { --akzent: var(--blue); }
.k-red  { --akzent: var(--red); }
.k-yel  { --akzent: var(--yel); }
.k-grn  { --akzent: #22c55e; }
.k-cyan { --akzent: #06b6d4; }
.kachel-bild { position: relative; display: block; height: 190px; overflow: hidden; }
.kachel-bild img { filter: brightness(1.12); width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.kachel:hover .kachel-bild img { transform: scale(1.06); }
.kachel-ico {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--akzent, var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.k-yel .kachel-ico { color: var(--dark); }
.kachel-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.kachel-body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.kachel-body p { color: #5b6470; font-size: .95rem; margin-bottom: 1rem; flex: 1; }
.kachel-link { font-weight: 700; color: var(--blue-d); font-size: .92rem; }
.kachel:hover .kachel-link i { margin-left: 4px; }

/* ── Banner Wärmepumpe (hell) ── */
.banner-neu {
  background: linear-gradient(135deg, #e6f6ec 0%, #d7f0e1 100%);
  color: var(--dark);
  padding: 3.2rem 0;
  border-top: 1px solid #c6e7d3;
  border-bottom: 1px solid #c6e7d3;
}
.banner-klein {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: .5rem;
}
.banner-neu h2 { color: var(--dark); font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.banner-neu p { color: #44505c; margin: 0; }

/* ── Notfall (hell) ── */
.notfall-neu { background: #fff6d1; padding: 4rem 0; border-top: 1px solid #f1e3a1; }
.notfall-neu h2 { color: var(--dark); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .5rem; }
.notfall-neu p { color: #4a5560; margin-bottom: 1.5rem; }

/* ── Footer (hell) ── */
.footer.bg-d { background: #eef6fc !important; color: var(--dark) !important; border-top: 4px solid var(--blue); }
.footer .text-white, .footer .text-white-50 { color: #44505c !important; }
.footer a, .footer .link-light { color: var(--dark) !important; }
.footer a:hover, .footer .link-light:hover { color: var(--blue-d) !important; }
.footer .text-blue { color: var(--blue-d) !important; }
.footer hr { border-color: rgba(0,0,0,.15) !important; }

/* ── Kleinere Bildschirme ── */
@media (max-width: 991.98px) {
  .hero-neu { padding: 3rem 0 3.5rem; }
  .hero-foto { padding: 0; }
  .hero-foto > img { height: 280px; }
  .navbar .nav-item.ms-lg-2 { margin-top: .5rem; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { height: 64px; max-height: 64px; }
  .sek { padding: 3rem 0; }
}

/* ── Urlaubshinweis ── */
.urlaub-band { background: var(--yel); color: var(--dark); font-size: .92rem; padding: .5rem 0; text-align: center; }
.urlaub-band a { color: var(--dark); font-weight: 800; text-decoration: underline; }
.urlaub-mehr { background: var(--dark); color: #fff; border: 0; border-radius: 999px; padding: .2rem .9rem; font-weight: 700; font-size: .85rem; }
.urlaub-mehr:hover { background: #333; }
.urlaub-modal { border: 0; border-radius: 24px; border-top: 6px solid var(--yel); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.urlaub-modal .modal-header, .urlaub-modal .modal-body { padding-left: 1.6rem; padding-right: 1.6rem; }
.urlaub-notdienst { background: #fff6d1; border-radius: 16px; padding: 1rem 1.1rem; }
