/* 1. Header flach und GRAUER, TRANSPARENTER Hintergrund */
.site-header.cover,
header.cover,
.cover {
    background-image: none !important;
    min-height: 0 !important;
    height: auto !important;
    background-color: rgba(50, 50, 50, 0.75) !important; /* Grau, transparent */
    padding: 0.5rem 0 !important;
}

.bg-gray-transparent {
    background-color: rgba(50, 50, 50, 0.75) !important;
}

/* 2. Das Logo (bleibt gleich, aber ggf. Hintergrund-Transparenz prüfen) */
.site-navigation a img,
.site-navigation img,
.logo img,
header img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 240px !important; /* Deine gewünschte Größe */
    max-width: none !important; /* Verhindert, dass das Theme die Breite beschränkt */
    width: auto !important;
    border: none !important;
    background-color: transparent !important;
}

/* 3. Navigation-Layout (Logo links, Menü rechts) */
.site-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem !important;
}

/* 4. Menü-Text WEISS machen (wichtig bei dunklem Hintergrund!) */
.site-navigation a,
.site-navigation .link {
    color: #ffffff !important; /* Weißer Text */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* Hover-Effekt für die Links (optional, sieht schick aus) */
.site-navigation a:hover {
    color: #cccccc !important; /* Hellgrau beim Drüberfahren */
}

/* 5. Alte Ananke-Abstände neutralisieren */
.pv4, .pv5, .pv6, .pv4-l, .pv5-l, .pv6-l {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Slideshow container */
.slideshow-container {
  max-width: 800px;
  position: relative;
  margin: auto;
  margin-top: 2rem;
  height: 450px; /* Optimal height for a 16:9 aspect ratio at 800px width */
  overflow: hidden; /* Ensures images that are too large are clipped */
  background-color: #000; /* Black frame for smaller/non-widescreen images */
}

/* Hide the images by default */
.mySlides {
  display: none;
  height: 100%;
  /* Add flex for centering */
  justify-content: center;
  align-items: center;
}

/* Style images to be uniform */
.mySlides img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Scales the image to fit within the container, no cropping */
  object-position: center; /* Centers the image within its container */
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Footer link color */
footer, footer a {
    color: #ffffff !important;
}

footer a:hover {
    color: #cccccc !important;
}

/* Use a modern, consistent font across the site */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Widen the main content area to allow text to flow more to the right.
   The theme uses 'measure' classes for readability, which we are overriding here. */
.measure,
.measure-wide {
    max-width: 48rem; /* Default is ~30-34rem, this is wider for more flow */
}

/* Industries page */
.industries-page {
  color: #1b1f24;
}

.industries-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(214, 109, 61, 0.18), transparent 28rem),
    linear-gradient(135deg, #f4efe7 0%, #e9edf2 52%, #dfe6ec 100%);
}

.industries-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 2.75rem 2.75rem;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 85%);
  pointer-events: none;
}

.industries-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  max-width: 78rem;
}

.industries-hero-copy,
.industries-hero-panel {
  padding: 1.5rem;
  border: 1px solid rgba(27, 31, 36, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(27, 31, 36, 0.08);
}

.industries-eyebrow,
.industries-section-kicker {
  margin: 0 0 0.75rem;
  color: #9b4c27;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industries-hero-title,
.industries-section-title {
  margin: 0;
  color: #111;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.industries-hero-title {
  max-width: 10ch;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.industries-hero-text {
  max-width: 42rem;
  margin-top: 1rem;
  color: #38424c;
  font-size: 1.05rem;
}

.industries-hero-text p {
  margin: 0;
}

.industries-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.industries-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.industries-button:hover,
.industries-button:focus {
  transform: translateY(-1px);
}

.industries-button-primary {
  background: #111;
  color: #fff;
}

.industries-button-primary:hover,
.industries-button-primary:focus {
  background: #262b31;
  color: #fff;
}

.industries-button-secondary {
  border-color: rgba(27, 31, 36, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: #111;
}

.industries-button-secondary:hover,
.industries-button-secondary:focus {
  border-color: rgba(27, 31, 36, 0.24);
  color: #111;
}

.industries-stat-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industries-stat-card {
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #f5f7f9 100%);
  border: 1px solid rgba(27, 31, 36, 0.08);
}

.industries-stat-card strong {
  display: block;
  color: #111;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
}

.industries-stat-card span {
  display: block;
  margin-top: 0.45rem;
  color: #5b6570;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.industries-sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.industries-sector-pill {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 31, 36, 0.08);
  color: #29313a;
  font-size: 0.84rem;
  font-weight: 600;
}

.industries-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 auto 1.5rem;
  max-width: 78rem;
}

.industries-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.industries-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.industries-grid-item {
  min-width: 0;
}

.industries-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(27, 31, 36, 0.08);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  box-shadow: 0 16px 38px rgba(27, 31, 36, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.industries-card:hover,
.industries-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(155, 76, 39, 0.2);
  box-shadow: 0 24px 52px rgba(27, 31, 36, 0.12);
}

.industries-card-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.industries-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.industries-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 15, 19, 0.45), rgba(12, 15, 19, 0.05));
}

.industries-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.industries-card:hover .industries-card-media img,
.industries-card:focus-within .industries-card-media img {
  transform: scale(1.04);
}

.industries-card-play {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.industries-card-play-icon {
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.68rem solid #111;
}

.industries-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.industries-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.1rem 1.1rem 1.2rem;
}

.industries-card-kicker {
  margin: 0;
  color: #7a5b4b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industries-card-title {
  margin: 0;
  color: #111;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.industries-card-title a {
  color: inherit;
  text-decoration: none;
}

.industries-card-title a:hover,
.industries-card-title a:focus {
  color: #9b4c27;
}

.industries-card-text {
  margin: 0;
  color: #4d5761;
  font-size: 0.96rem;
  line-height: 1.55;
}

.industries-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.industries-card-cta::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.industries-card:hover .industries-card-cta::after,
.industries-card:focus-within .industries-card-cta::after {
  transform: translateX(2px);
}

@media screen and (min-width: 40em) {
  .industries-hero-shell {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
    align-items: stretch;
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 60em) {
  .industries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 39.99em) {
  .industries-stat-grid {
    grid-template-columns: 1fr;
  }
}
