
/* Animation für "Karlsruhe" im Logo */
.animated-karlsruhe {
  display: inline-block;
  font-size: 1.4em;           /* größer als der Rest */
  font-weight: 800;
  margin-left: 4px;
  animation: gentleGlow 2.5s ease-in-out infinite,
             softWave 3s ease-in-out infinite,
             colorShift 4s ease-in-out infinite;
}

@keyframes gentleGlow {
  0%, 100% { text-shadow: 0 0 0px rgba(227,6,19,0); }
  50%      { text-shadow: 0 0 12px rgba(227,6,19,0.8),
                         0 0 24px rgba(227,6,19,0.4); }
}

@keyframes softWave {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-5px); }
}

@keyframes colorShift {
  0%, 100% { color: #E30613; }   /* Rot */
  50%      { color: #004A99; }   /* Blau */
}
.repair-video-container {
  margin: 20px auto;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.repair-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Animation für "Handy Doktor" */
.animated-doctor {
  animation: subtleFloat 2s ease-in-out infinite;
}
.highlight-move {
  display: inline-block;
  animation: gentlePulse 1.5s ease-in-out infinite, colorShift 3s ease-in-out infinite;
}
@keyframes subtleFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}
@keyframes gentlePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #ffffff;
      color: #1e2a3e;
      line-height: 1.5;
    }

    /* Farbschema: Rot, Weiß, Blau */
    :root {
      --primary-red: #E30613;
      --primary-blue: #004A99;
      --white: #FFFFFF;
      --light-gray: #F8F9FA;
      --medium-gray: #E9ECEF;
      --dark-text: #1e2a3e;
      --shadow-sm: 0 8px 20px rgba(0,0,0,0.05);
      --shadow-md: 0 12px 28px rgba(0,0,0,0.08);
      --transition: all 0.3s ease;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 12px 28px;
      border-radius: 48px;
      font-weight: 600;
      transition: var(--transition);
      cursor: pointer;
      border: none;
      font-size: 1rem;
    }
    .btn-primary {
      background: var(--primary-red);
      color: white;
      box-shadow: 0 2px 6px rgba(227,6,19,0.2);
    }
    .btn-primary:hover {
      background: #b90510;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(227,6,19,0.25);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary-blue);
      color: var(--primary-blue);
    }
    .btn-outline:hover {
      background: var(--primary-blue);
      color: white;
    }

    /* Header */
   .top-bar {
  background: var(--primary-blue);
  color: white;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Icons im Top-Bar – Markenfarben */
.top-bar .fa-map-marker-alt { color: #FFD166; }   /* Gelb für Adresse */
.top-bar .fa-phone-alt       { color: #7DFFB0; }   /* Hellgrün für Telefon */
.top-bar .fa-whatsapp        { color: #25D366; }   /* WhatsApp-Grün */
.top-bar .fa-envelope        { color: #FF6B6B; }   /* Rot für E-Mail */

/* ===== TOP BAR – LAYOUT ===== */
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Adress-Bereich (links) */
.top-bar .container > div:first-child {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Kontakt-Links (rechts) */
.top-bar .container > div:last-child {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Links einzeln */
.top-bar a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: white;
  transition: var(--transition);
}
.top-bar a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Icons */
.top-bar i {
  margin-right: 6px;
  font-size: 1.15em;
}



       
.main-header {
      background: white;
      padding: 20px 0;
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .main-header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }
.logo {
  display: flex;
  align-items: center;
  gap: 14px; /* Abstand zwischen Bild und Text */
}

.logo-img {
  height: 90px;      /* vorher 60px – jetzt deutlich größer */
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text h1 {
  font-size: 1.9rem;   /* war 1.6rem */
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}

.logo-text span {
  font-size: 0.9rem;   /* war 0.8rem */
  color: var(--primary-blue);
  font-weight: 500;
}
@media (max-width: 600px) {
  .logo-img {
    height: 65px;      /* war 44px */
  }
  .logo-text h1 {
    font-size: 1.35rem;
  }
  .logo-text span {
    font-size: 0.75rem;
  }
}    
    .nav-links {
      display: flex;
      gap: 32px;
      font-weight: 500;
    }
    .nav-links a {
      transition: var(--transition);
    }
    .nav-links a:hover {
      color: var(--primary-red);
    }
    .mobile-menu-btn {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: var(--primary-blue);
    }
    .repair-search {
      background: var(--light-gray);
      border-radius: 60px;
      padding: 5px 5px 5px 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
      border: 1px solid var(--medium-gray);
    }
    .repair-search input {
      border: none;
      background: transparent;
      padding: 12px 0;
      font-size: 0.9rem;
      width: 220px;
      outline: none;
    }
    .repair-search button {
      background: var(--primary-red);
      border: none;
      color: white;
      border-radius: 40px;
      padding: 8px 20px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }
    .repair-search button:hover {
      background: var(--primary-blue);
    }

    /* Hero Section mit Suchleiste */
    .hero {
      background: linear-gradient(120deg, #F0F4FA 0%, #ffffff 100%);
      padding: 70px 0 80px;
      text-align: center;
    }
    .hero h2 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 20px;
    }
    .hero h2 span {
      color: var(--primary-red);
    }
    .hero p {
      font-size: 1.2rem;
      color: #4a5568;
      max-width: 650px;
      margin: 0 auto 32px;
    }
    .hero-search {
      max-width: 600px;
      margin: 0 auto;
      background: white;
      border-radius: 80px;
      display: flex;
      align-items: center;
      padding: 6px 6px 6px 24px;
      box-shadow: var(--shadow-md);
    }
    .hero-search input {
      flex: 1;
      border: none;
      padding: 16px 0;
      font-size: 1rem;
      outline: none;
    }
    .hero-search button {
      background: var(--primary-red);
      border: none;
      padding: 12px 32px;
      border-radius: 50px;
      color: white;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
    }
    .hero-search button:hover {
      background: var(--primary-blue);
    }

    /* Kategorie Kacheln */
    .categories {
      padding: 70px 0;
      background: white;
    }
    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title h3 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .section-title p {
      color: #5a6874;
      max-width: 640px;
      margin: 0 auto;
    }
    .category-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 30px;
    }
    .cat-card {
      background: var(--light-gray);
      border-radius: 32px;
      padding: 28px 16px;
      text-align: center;
      transition: var(--transition);
      cursor: pointer;
    }
    .cat-card i {
      font-size: 2.8rem;
      color: var(--primary-red);
      margin-bottom: 16px;
    }
    .cat-card h4 {
      font-weight: 700;
      margin-bottom: 8px;
    }
    .cat-card:hover {
      transform: translateY(-6px);
      background: white;
      box-shadow: var(--shadow-md);
      border-bottom: 3px solid var(--primary-red);
    }

    /* Vorteile */
    .benefits {
      background: var(--light-gray);
      padding: 60px 0;
    }
    .benefits-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
    }
    .benefit-item {
      flex: 1;
      min-width: 200px;
      text-align: center;
      background: white;
      padding: 28px 20px;
      border-radius: 32px;
      box-shadow: var(--shadow-sm);
    }
    .benefit-item i {
      font-size: 2.2rem;
      color: var(--primary-blue);
      margin-bottom: 16px;
    }

    /* Zwei große Blöcke (Reparaturen / IRP) */
    .feature-block {
      padding: 80px 0;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .feature-card {
      background: white;
      border-radius: 40px;
      padding: 40px;
      box-shadow: var(--shadow-sm);
      border-left: 6px solid var(--primary-red);
    }
    .feature-card h4 {
      font-size: 1.9rem;
      font-weight: 700;
      margin: 12px 0;
    }
    .feature-card .badge {
      color: var(--primary-blue);
      font-weight: 600;
      letter-spacing: 1px;
    }

    /* Werte / Qualität */
    .values-section {
      background: linear-gradient(110deg, #fff 0%, #F2F6FC 100%);
      padding: 80px 0;
    }
    .values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }
    .value-item {
      background: white;
      border-radius: 28px;
      padding: 32px 24px;
      text-align: center;
      transition: 0.2s;
    }
    .value-item .icon-circle {
      width: 70px;
      height: 70px;
      background: rgba(0,74,153,0.1);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
    }
    .value-item .icon-circle i {
      font-size: 2rem;
      color: var(--primary-blue);
    }
    .value-item h4 {
      font-size: 1.5rem;
      margin-bottom: 16px;
    }

    /* Kontakt + Formular */
    .contact-cta {
      background: var(--primary-blue);
      color: white;
      padding: 60px 0;
    }
    .contact-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .contact-info h3 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .contact-info p {
      margin-bottom: 20px;
      line-height: 1.6;
      opacity: 0.9;
    }
    .contact-info i {
      margin-right: 12px;
    }
    .contact-form input, .contact-form textarea {
      width: 100%;
      padding: 14px 20px;
      margin-bottom: 16px;
      border: none;
      border-radius: 48px;
      font-family: inherit;
      outline: none;
    }
    .contact-form textarea {
      border-radius: 28px;
      resize: vertical;
    }
    .contact-form button {
      background: var(--primary-red);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: 50px;
      font-weight: 700;
      cursor: pointer;
    }

    /* Footer */
    footer {
      background: #0a1a2f;
      color: #cddae9;
      padding: 50px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-col h4 {
      color: white;
      margin-bottom: 20px;
      font-weight: 600;
    }
    .footer-col a {
      display: block;
      margin-bottom: 12px;
      transition: 0.2s;
    }
    .footer-col a:hover {
      color: var(--primary-red);
    }
    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255,255,255,0.1);
      font-size: 0.85rem;
    }
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

    @media (max-width: 900px) {
      .nav-links {
        display: none;
      }
      .mobile-menu-btn {
        display: block;
      }
      .feature-grid, .contact-wrapper {
        grid-template-columns: 1fr;
      }
      .hero h2 {
        font-size: 2rem;
      }
      .hero-search {
        flex-wrap: wrap;
        background: transparent;
        box-shadow: none;
        gap: 12px;
      }
      .hero-search input {
        background: white;
        border-radius: 60px;
        padding: 14px 20px;
        width: 100%;
      }
      .hero-search button {
        width: 100%;
      }
      .repair-search {
        width: 100%;
      }
      .repair-search input {
        width: 100%;
      }
      .main-header .container {
        flex-wrap: wrap;
      }

      /* ===== TOP BAR MOBILE ===== */
      .top-bar {
        font-size: 0.9rem;   /* etwas kleiner auf Mobile */
        padding: 12px 0;
      }
      .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      .top-bar .container > div:first-child {
        white-space: normal;      /* Umbruch erlauben */
        font-size: 0.85rem;
        line-height: 1.3;
      }
      .top-bar .container > div:last-child {
        flex-wrap: wrap;
        gap: 12px 18px;           /* Abstand zwischen den Links */
        justify-content: flex-start;
      }
      .top-bar a {
        font-size: 0.85rem;
      }
      .top-bar i {
        font-size: 1rem;
      }
     }

    /* Mobile Navigation */
    .mobile-nav {
      display: none;
      flex-direction: column;
      background: white;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 28px 24px;
      box-shadow: var(--shadow-md);
      z-index: 99;
      gap: 20px;
      font-weight: 500;
    }
    .mobile-nav.active {
      display: flex;
    }
/* Hero mit Hintergrundvideo */
.hero-video-bg {
  position: relative;
  overflow: hidden;
  background-color: #0a1a2f; /* Fallback-Farbe */
}
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.bg-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dunkler Overlay, damit Text besser lesbar ist */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white; /* Text auf hell setzen */
}
.hero-content h2,
.hero-content p,
.hero-content .hero-search input,
.hero-content .hero-search button {
  color: white; /* Suchleiste ggf. anpassen */
}
.hero-content .hero-search input {
  background: rgba(255,255,255,0.9);
  color: #1e2a3e;
}
.hero-content .hero-search button {
  background: var(--primary-red);
}

/* ===== FOOTER LOGO ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 130px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
}

@media (max-width: 600px) {
  .footer-logo {
    height: 90px;
  }
}
/* RepairDash Buchungs-Widget */
.booking-section {
  padding: 70px 0;
  background: white;
}

.booking-section iframe {
  max-width: 100%;
  min-height: 900px;
}

@media (max-width: 900px) {
  .booking-section iframe {
    min-height: 700px;
  }
}
/* Sanftes Scrollen zum Buchungs-Widget */
html {
  scroll-behavior: smooth;
}
/* CTA-Button im Header statt Suchfeld */
.repair-search-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-red);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(227,6,19,0.25);
}
.repair-search-cta:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,74,153,0.3);
}
@media (max-width: 900px) {
  .repair-search-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* Top-Bar Adresse – sauberer Umbruch */
.top-bar-address {
  display: inline;
}

.top-bar-address > span {
  display: inline-block;
  white-space: nowrap;
}

/* Am Desktop: alles in einer Zeile */
@media (min-width: 901px) {
  .top-bar-address > span {
    margin-right: 4px;
  }
}

/* Auf Mobile: sauberer Umbruch */
@media (max-width: 900px) {
  .top-bar-address {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
  }
  .top-bar-address > span {
    white-space: nowrap;
  }
  .top-bar-address .address-extra {
    width: 100%;   /* „(am Berliner Platz)" rutscht in eigene Zeile */
    margin-top: 2px;
    font-size: 0.9em;
    opacity: 0.9;
  }
}

/* Skip-Link von WordPress/Theme verstecken */
.skip-link,
.screen-reader-text,
a.skip-link,
#skip-link {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* CookieYes Accessibility Widget verstecken */
#cya11y-container,
#cya11y-widget,
[class*="cya11y"],
.cya11y-widget,
.cya11y-trigger {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}
