/* =============================================================
   BAUTEC POHLE — Unterseiten-Styles pages.css v2.0
   ============================================================= */

/* ---------- PAGE HERO (kleiner als Haupthero) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blau) 0%, #081830 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,198,39,0.06);
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: rgba(255,255,255,0.9); font-weight: 600; }

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--weiss);
  max-width: 720px;
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--gold); }

.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.page-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- NOTDIENST SEITE SPEZIFISCH ---------- */
.notdienst-big-cta {
  background: linear-gradient(135deg, var(--rot-dunkel) 0%, var(--rot) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--weiss);
  margin-bottom: 48px;
}
.notdienst-big-cta .nd-icon { font-size: 3rem; margin-bottom: 16px; }
.notdienst-big-cta h2 {
  color: var(--weiss);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 10px;
}
.notdienst-big-cta p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }

.tel-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--weiss);
  color: var(--rot);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  padding: 20px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.tel-big:hover {
  color: var(--blau);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.ablauf-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--weiss);
  border-radius: var(--radius-lg);
  box-shadow: var(--schatten);
  position: relative;
}
.ablauf-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 1;
}
.ablauf-step:last-child::after { display: none; }

.ablauf-nummer {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--gold-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 16px;
}
.ablauf-step h3 { font-size: 1rem; margin-bottom: 8px; }
.ablauf-step p { font-size: 0.85rem; color: var(--grau-text); }

.service-gebiet {
  background: var(--grau-hell);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 40px;
}
.service-gebiet h3 { margin-bottom: 16px; }
.gebiet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gebiet-tag {
  background: var(--weiss);
  border: 2px solid var(--grau-mid);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blau);
}

.reparatur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.reparatur-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--schatten);
  font-size: 0.9rem;
  font-weight: 600;
}
.reparatur-icon {
  width: 40px;
  height: 40px;
  background: rgba(200,16,46,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---------- CONTENT LAYOUT ---------- */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.content-grid-sidebar {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.sidebar-box {
  background: var(--grau-hell);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 2px solid var(--grau-mid);
  position: sticky;
  top: 100px;
}
.sidebar-box h3 { font-size: 1.05rem; margin-bottom: 20px; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.sidebar-box .btn { width: 100%; justify-content: center; margin-top: 12px; }

.sidebar-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  color: var(--gold-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
}
.sidebar-tel:hover { color: var(--gold-text); background: #FFCF4D; }

.sidebar-list { list-style: none; margin-top: 16px; }
.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--grau-mid);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li::before { content: '✓'; color: var(--gold-deep); font-weight: 700; }

/* ---------- PROZESS-SCHRITTE ---------- */
.prozess-list { margin: 32px 0; }
.prozess-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--grau-mid);
}
.prozess-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.prozess-nr {
  width: 52px;
  height: 52px;
  background: var(--blau);
  color: var(--weiss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
}
.prozess-item h4 { font-size: 1rem; margin-bottom: 6px; }
.prozess-item p { font-size: 0.9rem; color: var(--grau-text); line-height: 1.6; }

/* ---------- INFOBOXEN ---------- */
.info-box {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-box.blau { background: rgba(14,37,69,0.06); border-left: 4px solid var(--blau); }
.info-box.orange { background: rgba(255,198,39,0.10); border-left: 4px solid var(--gold); }
.info-box.gruen { background: rgba(40,167,69,0.06); border-left: 4px solid #28a745; }
.info-box-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 0.9rem; line-height: 1.6; margin: 0; }
.info-box strong { color: var(--blau); }

/* ---------- PRODUKT-DETAIL TABS ---------- */
.produkt-tabs {
  margin-top: 40px;
}
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--grau-mid);
  margin-bottom: 32px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--grau-text);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--blau); }
.tab-btn.active { color: var(--gold-deep); border-bottom-color: var(--gold); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ---------- MODELL-KARTEN ---------- */
.modell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.modell-card {
  border: 2px solid var(--grau-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.modell-card:hover { border-color: var(--blau); transform: translateY(-4px); box-shadow: var(--schatten-lg); }
.modell-card.empfohlen { border-color: var(--gold); }

.modell-header {
  padding: 20px;
  background: var(--grau-hell);
  border-bottom: 2px solid var(--grau-mid);
  position: relative;
}
.modell-card.empfohlen .modell-header { background: rgba(255,198,39,0.12); border-bottom-color: rgba(255,198,39,0.3); }
.empfohlen-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modell-header h3 { font-size: 1.05rem; margin-bottom: 4px; }
.modell-header span { font-size: 0.82rem; color: var(--grau-text); }

.modell-body { padding: 20px; }
.modell-features { list-style: none; margin-bottom: 16px; }
.modell-features li {
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--grau-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.modell-features li:last-child { border-bottom: none; }
.modell-features li::before { content: '✓'; color: var(--gold-deep); font-weight: 700; flex-shrink: 0; }

/* ---------- WARTUNGS-PLAN-BOXEN ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.plan-card {
  border-radius: var(--radius-lg);
  border: 2px solid var(--grau-mid);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.plan-card:hover { border-color: var(--blau); box-shadow: var(--schatten); }
.plan-card.beliebt { border-color: var(--gold); }
.plan-beliebt-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--gold-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-icon { font-size: 2.2rem; margin-bottom: 12px; }
.plan-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.plan-card p { font-size: 0.85rem; color: var(--grau-text); margin-bottom: 16px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 20px; }
.plan-features li {
  font-size: 0.85rem;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--gold-deep); font-weight: 700; }

/* ---------- VORTEILE GRID ---------- */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.vorteil-item {
  padding: 28px 24px;
  background: var(--weiss);
  border-radius: var(--radius-lg);
  box-shadow: var(--schatten);
  border-top: 4px solid var(--blau);
  transition: var(--transition);
}
.vorteil-item:hover { border-top-color: var(--gold); transform: translateY(-3px); }
.vorteil-icon { font-size: 2rem; margin-bottom: 14px; }
.vorteil-item h3 { font-size: 0.95rem; margin-bottom: 8px; }
.vorteil-item p { font-size: 0.85rem; color: var(--grau-text); line-height: 1.6; }

/* ---------- GALERIE PLATZHALTER ---------- */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.galerie-item {
  aspect-ratio: 4/3;
  background: var(--grau-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--grau-text);
  overflow: hidden;
  transition: var(--transition);
}
.galerie-item:hover { transform: scale(1.02); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- RESPONSIVE ANPASSUNGEN ---------- */
@media (max-width: 1024px) {
  .content-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .content-grid-sidebar { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
}

@media (max-width: 768px) {
  .ablauf-grid { grid-template-columns: 1fr; }
  .ablauf-step::after { display: none; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero-cta { flex-direction: column; }
  .notdienst-big-cta { padding: 28px 20px; }
  .tel-big { font-size: 1.4rem; padding: 14px 24px; }
  .plan-grid { grid-template-columns: 1fr; }
}
