/**
 * UNDERDOCK - Kundenlogo Ticker Section
 * 
 * Spezifikation:
 * - Position: Nach dem Hero
 * - Section-Höhe: Genau 40px
 * - z-index: Höher als Hero (z-index: 10)
 * - overflow: visible
 * - Element-Spezifikation:
 *   - Breite: 110% der Screenwidth (110vw)
 *   - Rotiert um: -2 Grad (rotate(-2deg)) nach Vorgabe
 *   - Hintergrund: REINES WEISS (#FFFFFF) nach Vorgabe (nicht UD White)
 *   - Shadow: Blur 20px, Farbe #000000 10% (rgba(0, 0, 0, 0.1))
 *   - Padding: Oben & unten 25px
 *   - Layout: Vertical Autolayout mit 0 Spacing dazwischen
 *   - 2 Zeilen:
 *     - Obere Zeile läuft nach LINKS
 *     - Untere Zeile läuft nach RECHTS
 *     - Zeilen haben Spacing & Padding von 10px
 *     - Logos haben feste Höhe von 70px
 */

.logo-section {
  position: relative;
  height: 40px; /* Nach Vorgabe exakt 40px */
  z-index: 10;  /* Höher als Hero (z-index 1-3), unter Header (z-index 20) */
  overflow: visible; /* Nach Vorgabe */
  box-sizing: border-box;
  width: 100%;
}

/* Das um -2 Grad rotierte Banner mit reinem Weiß */
.logo-ticker-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg); /* Spezifikation: -2 Grad rotiert */
  width: 110vw; /* 110% Screenwidth */
  
  background-color: #FFFFFF; /* Spezifikation: Reines Weiß (#FFFFFF), nicht UD White */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Blur 20, #000000 10% */
  
  padding: 25px 0; /* Padding oben und unten 25px */
  display: flex;
  flex-direction: column; /* Vertical Autolayout */
  gap: 0; /* 0 Spacing zwischen den Zeilen */
  
  overflow: hidden;
  user-select: none;
}

/* Einzelne Marquee-Zeile */
.logo-row {
  display: flex;
  overflow: hidden;
  width: 100%;
  padding: 10px 0; /* Zeilen Padding 10px */
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 10px; /* Spacing 10px zwischen den Logos */
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

/* Obere Zeile läuft nach LINKS (Grundgeschwindigkeit etwas geringer: 65s) */
.logo-track--left {
  animation: logoScrollLeft 65s linear infinite;
}

/* Untere Zeile läuft nach RECHTS (Grundgeschwindigkeit etwas geringer: 65s) */
.logo-track--right {
  animation: logoScrollRight 65s linear infinite;
}

/* Logo-Bilder */
.logo-item {
  height: 70px; /* Feste Höhe 70px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 10px;
}

.logo-item img {
  height: 70px; /* Logos alle in einer Höhe von 70px */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: transform 0.2s ease;
}

.logo-item img:hover {
  transform: scale(1.03);
}

/* Keyframe-Animationen für den nahtlosen Endlos-Loop */
@keyframes logoScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes logoScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ====================================================
   KONTAKT BANNER SECTION
   Spezifikation:
   - Position: Zwischen "Unzufrieden mit deiner Agentur" und "Wie können wir dir helfen"
   - Höhe: Genau 40px, z-index: 10, overflow: visible
   - Banner: 110vw Breite, rotiert um -2 Grad
   - Hintergrund: UD Black (#1F1D1E)
   - KEIN Ticker!
   - Horizontal nebeneinander: Telefon und E-Mail
   - Hover: Geringere Opacity
   - Klick: tel: und mailto:
   ==================================================== */
.contact-banner-section {
  position: relative;
  height: 1px; /* Spezifikation: Exakt 1px Höhe, um Blitzer bei jeder Breite zu verhindern */
  z-index: 10;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
}

.contact-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: 110vw;
  height: 200px; /* Spezifikation: Exakt 200px hoch */
  background-color: var(--ud-black);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  box-sizing: border-box;
  user-select: none;
}

.contact-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ud-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 48px; /* Feste Schriftgröße, kein Runterskalieren */
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 1;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.contact-banner__link:hover {
  opacity: 0.6; /* Spezifikation: Bei Hover geringere Opacity */
}

.contact-banner__divider {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: rgba(248, 247, 245, 0.35);
  user-select: none;
}

/* Responsive Anpassung synchron zu den globalen Breakpoints (1199px / 799px / 480px) */
@media (max-width: 1199px) {
  .contact-banner {
    gap: 32px;
  }

  .contact-banner__link,
  .contact-banner__divider {
    font-size: 40px;
  }
}

@media (max-width: 799px) {
  .contact-banner {
    flex-direction: column;
    gap: 14px;
    padding: 0 24px;
  }

  .contact-banner__divider {
    display: none;
  }

  .contact-banner__link {
    font-size: 36px;
  }
}
