/* ============================================
   REPAIR.CSS — Styles für reparatur.html
   
   Nutzt:
   - home.css Basis-Klassen (.home-quick-info, .home-leistung-card, etc.)
   - Eigene rep-* Klassen für Reparatur-spezifische Elemente
   - Preisliste-prominent Styles (kombiniert für Performance)
   ============================================ */

/* ============================================
   HERO (Reparatur)
   ============================================ */

.rep-hero {
  position: relative;
  background: linear-gradient(135deg, #1a83a4 0%, #2BC4D8 100%);
  color: #fff;
  padding: 140px 0 80px 0;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .rep-hero {
    padding: 120px 0 60px 0;
  }
}

.rep-hero__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rep-hero__tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rep-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #fff;
}

.rep-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.rep-hero__subtitle strong {
  color: #fff;
  font-weight: 700;
}

.rep-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 575px) {
  .rep-hero__cta {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .rep-hero__cta .home-btn {
    width: 100%;
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.rep-section {
  padding: 5rem 0;
  background: #fff;
}

.rep-section--alt {
  background: #f8f9fa;
}

.rep-section--preise {
  background: #f8f9fa;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .rep-section {
    padding: 3rem 0;
  }
}

/* ============================================
   REPARATURABLAUF (Tabs + Steps)
   ============================================ */

.rep-ablauf-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.rep-tab {
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #6c757d;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rep-tab:hover {
  border-color: #2BC4D8;
  color: #1a83a4;
}

.rep-tab--active {
  background: #1a83a4;
  border-color: #1a83a4;
  color: #fff;
}

.rep-tab--active:hover {
  background: #2BC4D8;
  border-color: #2BC4D8;
  color: #fff;
}

.rep-ablauf-content {
  display: none;
}

.rep-ablauf-content--active {
  display: block;
}

/* Steps */

.rep-steps {
  max-width: 800px;
  margin: 0 auto;
}

.rep-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  transition: all 0.2s;
}

.rep-step:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: #2BC4D8;
}

.rep-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a83a4 0%, #2BC4D8 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(26, 131, 164, 0.3);
}

.rep-step__body {
  flex: 1;
}

.rep-step__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.rep-step__body p {
  color: #495057;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.rep-step__body strong {
  color: #2c3e50;
  font-weight: 600;
}

.rep-step__body a {
  color: #1a83a4;
  font-weight: 600;
  text-decoration: underline;
}

.rep-step__body a:hover {
  color: #2BC4D8;
}

/* Disclaimer */

.rep-disclaimer {
  max-width: 800px;
  margin: 2rem auto 0 auto;
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.5;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid #2BC4D8;
}

/* ============================================
   FILIAL-CTA
   ============================================ */

.rep-filiale-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.2s;
  position: relative;
  height: 100%;
}

.rep-filiale-cta:hover {
  color: #1a83a4;
  border-color: #2BC4D8;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 131, 164, 0.15);
}

.rep-filiale-cta strong {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.rep-filiale-cta span {
  color: #6c757d;
  font-size: 0.95rem;
}

.rep-filiale-cta__arrow {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #1a83a4;
  font-weight: 700;
  transition: transform 0.2s;
}

.rep-filiale-cta:hover .rep-filiale-cta__arrow {
  transform: translateX(6px);
}

/* ============================================
   PREISLISTE PROMINENTER MACHEN
   Hervorhebung als "Preisrechner"-Tool
   ============================================ */

/* Wrapper als hervorgehobene Karte */

.preis-wrapper {
  position: relative;
  background: linear-gradient(180deg, #f0fbfc 0%, #ffffff 100%);
  border: 1px solid #d4f0f4;
  border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem;
  margin: 2rem auto;
  box-shadow: 0 10px 40px rgba(26, 131, 164, 0.08), 0 2px 8px rgba(26, 131, 164, 0.04);
  max-width: 1200px;
  overflow: hidden;
}

/* Türkis-Gradient-Border oben */

.preis-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1a83a4 0%, #2BC4D8 50%, #5BD5E0 100%);
  border-radius: 20px 20px 0 0;
}

/* Badge "Preise sofort einsehen" oben rechts */

.preis-wrapper::after {
  content: '✓ Preise sofort einsehen';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: #1a83a4;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(26, 131, 164, 0.25);
}

/* Suchfeld prominenter */

.preis-search {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(26, 131, 164, 0.08);
  transition: all 0.2s ease;
}

.preis-search:focus-within {
  box-shadow: 0 6px 20px rgba(26, 131, 164, 0.15);
  transform: translateY(-1px);
}

.preis-search input {
  border: 2px solid transparent !important;
  background: white !important;
  transition: border-color 0.2s ease;
}

.preis-search input:focus {
  border-color: #2BC4D8 !important;
  outline: none !important;
}

/* Filter-Buttons aufwerten */

.preis-filter button {
  transition: all 0.2s ease;
  font-weight: 500;
}

.preis-filter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 131, 164, 0.15);
}

/* Empty-State zentrieren und aufwerten */

.preis-empty-state {
  background: white;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 1.5rem 0;
  border: 1px dashed #b3e5ec;
}

.preis-empty-state h3 {
  color: #1a83a4;
  font-weight: 600;
}

/* Tabelle-Wrapper aufwerten */

.preis-table-wrapper {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 131, 164, 0.06);
  margin-top: 1rem;
}

/* Info-Boxen am Ende harmonischer */

.preis-info, .preis-qualitaet-info {
  background: white;
  border-left: 4px solid #2BC4D8;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 6px rgba(26, 131, 164, 0.04);
}

.preis-info-title, .preis-qualitaet-info-title {
  color: #1a83a4;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.preis-modell-hinweis {
  background: linear-gradient(135deg, #f0fbfc 0%, #e6f7f9 100%);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid #d4f0f4;
}

.preis-modell-hinweis a {
  color: #1a83a4;
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 575px) {
  .rep-step {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
  }
}

@media (max-width: 575px) {
  .rep-step__number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {
  .rep-tab {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}

/* Preisliste – Tablet (iPad) – Außenabstand zum Bildschirmrand */

@media (max-width: 991px) {
  .preis-wrapper {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    padding: 3rem 2rem 2rem !important;
    max-width: none !important;
    width: auto !important;
  }
}

/* Preisliste – Mobile (iPhone) – Außenabstand zum Bildschirmrand */

@media (max-width: 768px) {
  .preis-wrapper {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    padding: 2.5rem 1.25rem 1.5rem !important;
    border-radius: 16px !important;
    max-width: none !important;
    width: auto !important;
  }
}

@media (max-width: 768px) {
  .preis-wrapper::after {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .preis-search {
    margin-top: 1.5rem;
  }
}

/* Preisliste – Small Mobile */

@media (max-width: 480px) {
  .preis-wrapper::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .preis-wrapper {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    padding: 2rem 1rem 1.25rem !important;
  }
}

