/* IT Photography & Visual Enhancements */

.hero--photo,
.page-hero--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero--photo {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
}

.hero--photo::before,
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(12, 35, 64, 0.92) 0%,
    rgba(12, 35, 64, 0.78) 45%,
    rgba(26, 58, 92, 0.55) 100%
  );
  z-index: 0;
}

.hero--photo::after,
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(200, 169, 81, 0.15) 0%, transparent 45%);
  z-index: 0;
  pointer-events: none;
}

.hero--photo .container,
.page-hero--photo .container {
  position: relative;
  z-index: 1;
}

.hero--photo .hero-content {
  max-width: 720px;
}

.hero--home {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80");
}

.page-hero--dienstleistungen {
  background-image: url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1920&q=80");
}

.page-hero--fachgebiete {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1920&q=80");
}

.page-hero--methodik {
  background-image: url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1920&q=80");
}

.page-hero--referenzen {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=80");
}

.page-hero--unternehmen {
  background-image: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1920&q=80");
}

.page-hero--kontakt {
  background-image: url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1920&q=80");
}

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.media-split--reverse {
  direction: rtl;
}

.media-split--reverse > * {
  direction: ltr;
}

.media-split-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(12, 35, 64, 0.15);
}

.media-split-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-split-image:hover img {
  transform: scale(1.04);
}

.media-split-image .image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(12, 35, 64, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--color-accent);
}

.card--photo,
.service-card--photo,
.tech-tile--photo {
  padding: 0;
  overflow: hidden;
}

.card--photo .card-image,
.service-card--photo .service-card-image,
.tech-tile--photo .tech-tile-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card--photo .card-image img,
.service-card--photo .service-card-image img,
.tech-tile--photo .tech-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card--photo:hover .card-image img,
.service-card--photo:hover .service-card-image img,
.tech-tile--photo:hover .tech-tile-image img {
  transform: scale(1.08);
}

.card--photo .card-image::after,
.service-card--photo .service-card-image::after,
.tech-tile--photo .tech-tile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 35, 64, 0.5) 0%, transparent 60%);
}

.card--photo .card-body,
.service-card--photo .service-card-body,
.tech-tile--photo .tech-tile-body {
  padding: 1.75rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 3rem 0;
}

.photo-strip-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.9);
}

.photo-strip-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.photo-strip-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(12, 35, 64, 0.85));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.quote-section--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

.quote-section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.93);
}

.quote-section--photo .container {
  position: relative;
  z-index: 1;
}

.case-card--photo {
  display: grid;
  grid-template-columns: 280px 4px 1fr;
}

.case-card-photo {
  overflow: hidden;
}

.case-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.tag-card--visual {
  position: relative;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  color: #fff !important;
  border: none !important;
  overflow: hidden;
}

.tag-card--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.82) 0%, rgba(12, 35, 64, 0.55) 100%);
  transition: background 0.3s ease;
}

.tag-card--visual:hover::before {
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.75) 0%, rgba(200, 169, 81, 0.45) 100%);
}

.tag-card--visual span {
  position: relative;
  z-index: 1;
}

.section-dark--photo {
  position: relative;
  background-size: cover;
  background-position: center;
}

.section-dark--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.92) 0%, rgba(12, 35, 64, 0.85) 100%);
}

.section-dark--photo .container {
  position: relative;
  z-index: 1;
}

.contact-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .case-card--photo {
    grid-template-columns: 4px 1fr;
  }

  .case-card-photo {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero--photo {
    min-height: auto;
  }

  .media-split,
  .media-split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
}
