/* ============================================
   HOME.CSS — Styles für die neue Index-Seite
   
   Konvention:
   - .home-*           für Index-spezifische Klassen
   - Nutzt CSS-Variablen aus base.css
   ============================================ */

/* ========== SKIP-LINK ========== */

.loc-skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 999;
  padding: 1rem 1.5rem;
  background: #1a83a4;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.loc-skip-link:focus {
  top: 0;
}

/* ============================================
   HERO (statisch)
   ============================================ */

.home-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) {
  .home-hero {
    padding: 120px 0 60px 0;
  }
}

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

.home-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);
}

.home-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #fff;
}

.home-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Trust-Banner */

.home-trust {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 100px;
  padding: 0.8rem 1.8rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-trust__stars {
  color: #FFB800;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.home-trust__text {
  color: #2c3e50;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-trust__text strong {
  color: #1a83a4;
  font-weight: 800;
  font-size: 1.2rem;
}

.home-trust__text strong:last-of-type {
  color: #2c3e50;
}

/* CTAs */

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

/* ============================================
   BUTTONS
   ============================================ */

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.home-btn--primary {
  background: #fff;
  color: #1a83a4;
}

.home-btn--primary:hover {
  background: #f8f9fa;
  color: #1a83a4;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.home-btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
}

.home-btn--full {
  width: 100%;
  background: transparent;
  color: #1a83a4;
  border: 2px solid #1a83a4;
}

.home-btn--full:hover {
  background: #1a83a4;
  color: #fff;
}

/* ============================================
   QUICK-INFO BAR
   ============================================ */

.home-quick-info {
  background: #f8f9fa;
  padding: 2rem 0;
}

.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.home-quick-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.home-quick-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home-quick-text {
  display: flex;
  flex-direction: column;
}

.home-quick-text strong {
  color: #2c3e50;
  font-size: 1rem;
  font-weight: 700;
}

.home-quick-text span {
  color: #6c757d;
  font-size: 0.85rem;
}

/* ============================================
   SECTIONS (allgemein)
   ============================================ */

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

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

.home-section--filialen {
  background: #fff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

.home-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.home-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.home-section-subtitle {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.6;
}

/* ============================================
   ÜBER I-RESTORE (SEO-Sektion)
   ============================================ */

.home-about {
  background: #fff;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Sub-Section Items (3 Stück mit Icon + Text) */

.home-about-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.home-about-item:last-child {
  margin-bottom: 0;
}

.home-about-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a83a4 0%, #2BC4D8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 131, 164, 0.25);
}

.home-about-item__icon svg {
  width: 26px;
  height: 26px;
}

.home-about-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.6rem;
}

.home-about-item p {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.home-about-item strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Features-Liste (rechts) */

.home-about-features {
  list-style: none;
  padding: 2rem;
  margin: 0;
  background: linear-gradient(135deg, #f0fafd 0%, #e8f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(43, 196, 216, 0.15);
}

.home-about-features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid rgba(43, 196, 216, 0.1);
}

.home-about-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-about-features li:first-child {
  padding-top: 0;
}

.home-about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 22px;
  height: 22px;
  background: #1a83a4;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.home-about-features li:first-child::before {
  top: 0;
}

.home-about-features li strong {
  display: block;
  color: #2c3e50;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.home-about-features li span {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ============================================
   FILIALEN GRID mit Stadt-Symbolen
   ============================================ */

.home-filialen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.home-filiale-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.home-filiale-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.home-filiale-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.home-filiale-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.home-filiale-card:hover .home-filiale-image img {
  transform: scale(1.05);
}

.home-filiale-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-filiale-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.home-filiale-address {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.home-filiale-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.home-rating-stars {
  color: #FFB800;
  font-size: 1rem;
  letter-spacing: 1px;
}

.home-rating-text {
  color: #6c757d;
  font-size: 0.9rem;
}

.home-rating-text strong {
  color: #2c3e50;
}

/* ============================================
   LEISTUNG CARDS (Was wir reparieren)
   ============================================ */

.home-leistung-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  transition: all 0.2s;
}

.home-leistung-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #2BC4D8;
}

.home-leistung-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  line-height: 1;
  color: #1a83a4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-leistung-icon svg {
  width: 100%;
  height: 100%;
}

.home-leistung-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.home-leistung-card p {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.home-leistung-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.home-leistung-list li {
  padding: 0.4rem 0;
  color: #495057;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.home-leistung-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1a83a4;
  font-weight: 700;
}

.home-leistung-link {
  color: #1a83a4;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.home-leistung-link:hover {
  color: #2BC4D8;
  gap: 0.6rem;
}

/* ============================================
   WERTE CARDS (Warum i-Restore)
   ============================================ */

.home-werte-card {
  text-align: center;
  padding: 1.5rem;
}

.home-werte-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.home-werte-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-werte-subtitle {
  color: #2BC4D8;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-style: italic;
}

.home-werte-card p:last-child {
  color: #495057;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   TEASER (B2B + Care)
   ============================================ */

.home-teaser {
  display: block;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s;
  height: 100%;
  border: 2px solid transparent;
}

.home-teaser--business {
  background: linear-gradient(135deg, #f0fafd 0%, #e0f5f9 100%);
  border-color: rgba(43, 196, 216, 0.2);
}

.home-teaser--business:hover {
  background: linear-gradient(135deg, #2BC4D8 0%, #1a83a4 100%);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(43, 196, 216, 0.3);
}

.home-teaser--business:hover .home-teaser__title, .home-teaser--business:hover .home-teaser__text, .home-teaser--business:hover .home-teaser__list li, .home-teaser--business:hover .home-teaser__cta {
  color: #fff;
}

.home-teaser--care {
  background: linear-gradient(135deg, #fdf3ee 0%, #fbe8de 100%);
  border-color: rgba(194, 65, 12, 0.25);
}

.home-teaser--care:hover {
  background: linear-gradient(135deg, #C2410C 0%, #9A2E07 100%);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(194, 65, 12, 0.3);
}

.home-teaser--care:hover .home-teaser__title, .home-teaser--care:hover .home-teaser__text, .home-teaser--care:hover .home-teaser__list li, .home-teaser--care:hover .home-teaser__cta {
  color: #fff;
}

.home-teaser__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.home-teaser__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.home-teaser__text {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  transition: color 0.3s;
}

.home-teaser__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.home-teaser__list li {
  padding: 0.3rem 0;
  color: #495057;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.3s;
}

.home-teaser__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.home-teaser__cta {
  color: #2c3e50;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s;
}

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

@media (max-width: 768px) {
  .home-trust {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .home-hero__cta {
    flex-direction: column;
    width: 100%;
  }
}

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

@media (max-width: 768px) {
  .home-quick-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .home-filialen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-werte-icon {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .home-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .home-section-title {
    font-size: 1.5rem;
  }
}

/* ============================================   PREISLISTE-TITEL: Umbruch auf großen Screens verhindern   ============================================ */

#preislisten .home-section-header {
  max-width: none;
}

#preislisten .home-section-title {
  max-width: none;
  text-wrap: balance;
  white-space: nowrap;
}

/* Auf Mobile darf wieder normal umbrechen */

@media (max-width: 767px) {
  #preislisten .home-section-title {
    white-space: normal;
  }
}

