/* Elektrotechnik Blaupunkt — Mehrseiten-Erweiterungen */

/* Aktive Navigation */
.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  background: rgba(0, 119, 255, 0.12);
}

.nav a.nav__cta[aria-current="page"] {
  background: linear-gradient(125deg, #0a4db8, #0077ff) !important;
  color: var(--white) !important;
}

/* Innenseiten: kompakter Hero (dunkel) */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 44px) 0 56px;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(0, 119, 255, 0.22), transparent 55%),
    radial-gradient(600px 360px at 5% 20%, rgba(240, 196, 77, 0.08), transparent 50%),
    linear-gradient(165deg, #161a22 0%, #1e242f 45%, #232a36 100%);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.35), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.page-hero .eyebrow {
  color: #6eb0ff;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.page-hero__lead {
  margin: 16px 0 0;
  max-width: 40rem;
  color: rgba(220, 228, 240, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-hero__actions .btn--secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: #eaf0ff;
  background: rgba(255, 255, 255, 0.06);
}

.page-hero__actions .btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
}

/* Leistungen / Bild+Text Showcase */
.section--showcase {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.showcase-intro {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4vw, 3.25rem);
}

.showcase-card {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.1);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .showcase-card {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.25rem;
  }

  .showcase-card:nth-child(even) {
    direction: rtl;
  }

  .showcase-card:nth-child(even) > * {
    direction: ltr;
  }
}

.showcase-card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--beige);
}

.showcase-card__media .img-cover {
  transition: transform 0.75s var(--ease);
}

.showcase-card:hover .showcase-card__media .img-cover {
  transform: scale(1.04);
}

html.motion-reduced .showcase-card:hover .showcase-card__media .img-cover {
  transform: none;
}

.showcase-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(10, 25, 48, 0.82);
  color: #e8f0ff;
  backdrop-filter: blur(8px);
}

.showcase-card__body {
  padding: 0.25rem 0.25rem 0.35rem;
}

@media (min-width: 900px) {
  .showcase-card__body {
    padding: 0.75rem 0.75rem 0.85rem 0.25rem;
  }
}

.showcase-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 119, 255, 0.1);
  color: var(--terracotta);
  margin-bottom: 12px;
}

.showcase-card__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.showcase-card__text {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.showcase-card__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-card__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.showcase-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
}

/* Projekte: Raster statt Slider */
.project-grid--wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 22px;
  overflow: visible;
  scroll-snap-type: none;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.project-grid--wall > .project-card {
  min-width: 0;
  flex: initial;
  scroll-snap-align: unset;
}

.project-detail-cap {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}

/* Kontakt-Teaser (Startseite) */
.contact-teaser {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-teaser {
    grid-template-columns: 0.95fr 1fr;
  }
}

.contact-teaser__card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 77, 184, 0.12);
  background: linear-gradient(145deg, #ffffff, #f3f7fd);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-teaser__card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.contact-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.contact-teaser__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(10, 77, 184, 0.1);
  box-shadow: var(--shadow-sm);
}

.contact-teaser__visual .img-cover {
  min-height: 240px;
  transition: transform 0.8s var(--ease);
}

.contact-teaser__visual:hover .img-cover {
  transform: scale(1.03);
}

html.motion-reduced .contact-teaser__visual:hover .img-cover {
  transform: none;
}

.contact-teaser__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(0deg, rgba(12, 18, 32, 0.92), transparent);
}

/* Über uns: zusätzliches Großbild */
.section--about-wide {
  background: linear-gradient(180deg, #fafcfe 0%, #eef4fc 100%);
}

.section--about-wide .section-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.section--about-wide .section-head .section-head__text {
  margin-inline: auto;
}

.section--about-wide .about-wide-visual.contact-teaser__visual {
  max-width: 52rem;
  margin-inline: auto;
}

.section--about-wide .about-wide-visual .img-cover {
  min-height: min(400px, 58vw);
}

/* Testimonials: Initialen statt Stock-Fotos */
.testimonial__avatar--initial {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #0a4db8, #0077ff);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(0, 77, 184, 0.25);
}

/* Notfall-Seite */
.notfall-hero {
  padding: calc(var(--header-h) + 36px) 0 48px;
  background:
    radial-gradient(700px 380px at 70% -20%, rgba(255, 60, 60, 0.18), transparent 55%),
    radial-gradient(500px 280px at 10% 30%, rgba(0, 119, 255, 0.16), transparent 50%),
    linear-gradient(168deg, #141820 0%, #1a222c 40%, #1e2835 100%);
  color: rgba(255, 255, 255, 0.94);
  position: relative;
  z-index: 1;
}

.notfall-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .notfall-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.notfall-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.notfall-hero__title span {
  color: #7ec8ff;
}

.notfall-hero__lead {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(220, 228, 240, 0.9);
}

.notfall-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 77, 77, 0.18);
  color: #ffb4b4;
  border: 1px solid rgba(255, 120, 120, 0.35);
  margin-bottom: 14px;
}

.notfall-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.25);
  animation: notfall-pulse 1.8s ease-in-out infinite;
}

html.motion-reduced .notfall-pill__dot {
  animation: none;
}

@keyframes notfall-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

.notfall-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.notfall-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 800;
  color: #0c1220;
  background: linear-gradient(135deg, #ffe08a 0%, #ffc53d 50%, #ffa41b 100%);
  box-shadow: 0 16px 40px rgba(255, 180, 60, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.notfall-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(255, 180, 60, 0.45);
}

html.motion-reduced .notfall-phone:hover {
  transform: none;
}

.notfall-phone svg {
  flex-shrink: 0;
}

.notfall-hero__panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg);
}

.notfall-hero__panel-cap {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(220, 230, 248, 0.88);
  background: rgba(0, 0, 0, 0.25);
}

.notfall-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .notfall-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notfall-steps li {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.1);
  box-shadow: var(--shadow-sm);
}

.notfall-steps strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.notfall-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.notfall-warning {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border-left: 4px solid #c93535;
  background: rgba(201, 53, 53, 0.06);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.notfall-warning strong {
  color: var(--ink);
}

/* Bildlegende unter Split-Ansicht */
.split__figure-cap {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 500;
  max-width: 36rem;
}

.split__figure-cap strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
