/* Grav-spezifische Styles – kein Override von style.css */

/* ── Overview Hero ── */
.live-overview-hero {
  position: relative;
  padding-top: 72px;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: url('/img/altbau-sanieren-kosten-hero-radex.webp');
  background-size: cover;
  background-position: center;
}
.live-overview-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,24,50,.88) 0%, rgba(10,24,50,.65) 55%, rgba(10,24,50,.25) 100%);
}
.live-overview-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 96px;
}
.live-overview-hero .live-overview-hero-content {
  margin-left: 0;
  padding-left: 80px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.live-overview-hero-content .hero-label {
  display: inline-block;
  background: rgba(200,134,26,.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.live-overview-hero-content h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
}
.live-overview-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.live-overview-hero-content p:last-of-type {
  margin-bottom: 32px;
}
.live-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.live-hero-btns .btn-primary {
  background: var(--gold);
}
.live-hero-btns .btn-primary:hover {
  background: var(--gold-light);
}
.btn-outline-white-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline-white-hero:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* ── Section Header ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-light);
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  padding-bottom: 4px;
}
.section-link:hover { color: var(--gold-light); }

/* ── Baustelle Hero ── */
.baustelle-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}
.baustelle-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.baustelle-hero-fallback {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.baustelle-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,24,50,.88) 0%, rgba(10,24,50,.45) 55%, rgba(10,24,50,.15) 100%);
}
.baustelle-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  padding-bottom: 52px;
  width: 100%;
}
.baustelle-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
  transition: color .18s;
}
.baustelle-hero-back:hover { color: #fff; }
.baustelle-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.baustelle-hero-ort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.baustelle-hero-leistung {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.baustelle-hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 800px;
}
.baustelle-hero-teaser {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── CTA Bottom ── */
.baustelle-cta-bottom {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 16px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 64px 0 80px;
  flex-wrap: wrap;
}
.baustelle-cta-bottom h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.baustelle-cta-bottom p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  max-width: 480px;
}
.btn-primary-lg {
  font-size: 15px !important;
  padding: 14px 28px !important;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .baustelle-hero { min-height: 360px; }
  .baustelle-cta-bottom { padding: 36px 28px; }
}

/* ── Detail Layout spacing ── */
.baustelle-detail-layout { padding: 56px 0 0; }

/* ── Info box dark variant ── */
.info-box-dark {
  background: var(--navy) !important;
  border-color: var(--navy-dark) !important;
}
.info-box-dark h4 { color: rgba(255,255,255,.5) !important; }
.info-box-dark p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ── Breadcrumb & Back ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 24px;
  transition: color .18s;
}
.back-link:hover { color: var(--navy); }

/* ── Status Badges ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
}
.status-laufend    { background: #FFF3CD; color: #856404; }
.status-abgeschlossen { background: #D1FAE5; color: #065F46; }
.status-geplant    { background: #DBEAFE; color: #1E40AF; }

.baustelle-card-ort {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Baustellen Grid ── */
.baustellen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 56px 0;
}

.baustelle-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.baustelle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(27,58,107,.14);
}
.baustelle-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.baustelle-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.baustelle-card-img .no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-pale) 0%, #f0e6d0 100%);
  aspect-ratio: 16/9;
}
.baustelle-card-body { padding: 22px 24px 26px; }
.baustelle-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.baustelle-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.baustelle-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.baustelle-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.baustelle-card-link:hover { color: var(--gold-light); }

/* ── Single Baustelle ── */
.baustelle-detail { padding: 56px 0 80px; }
.baustelle-detail-header { margin-bottom: 36px; }
.baustelle-detail-header .meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.baustelle-detail-header h1 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.baustelle-detail-header .intro {
  font-size: 17px;
  color: var(--text-light);
  max-width: 700px;
  line-height: 1.7;
}

.baustelle-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .baustelle-detail-layout { grid-template-columns: 1fr; }
  .baustellen-grid { grid-template-columns: 1fr; }
}

.baustelle-content h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.baustelle-content h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 24px 0 10px; }
.baustelle-content p  { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 16px; }
.baustelle-content ul,
.baustelle-content ol { margin: 0 0 16px 20px; font-size: 15px; line-height: 1.75; color: var(--text); }

/* ── Sidebar ── */
.baustelle-sidebar .info-box {
  background: var(--gold-pale);
  border: 1px solid rgba(200,134,26,.25);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.baustelle-sidebar .info-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 14px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(200,134,26,.15);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text-light); flex-shrink: 0; }
.info-row .value { font-weight: 600; color: var(--navy); text-align: right; }

/* ── Gallery ── */
.baustelle-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.baustelle-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

/* ── Page wrap ── */
.page-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 72px 80px 60px;
  text-align: left;
}
.page-hero .hero-label {
  display: inline-block;
  background: rgba(200,134,26,.18);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,.72); max-width: 620px; margin: 0; }

/* ── Ratgeber article body ── */
.ratgeber-article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 60px;
}
.ratgeber-article-body p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.ratgeber-article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.ratgeber-article-body img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin: 24px auto;
  display: block;
}
.ratgeber-article-body a {
  color: var(--gold);
  text-decoration: none;
}
.ratgeber-article-body a:hover { text-decoration: underline; }
.ratgeber-article-body ul, .ratgeber-article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.ratgeber-article-body li {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .page-hero { padding: 48px 20px 40px; }
  .page-wrap { padding: 0 16px; }
}
