/* ==========================================================================
   Rohr- & Abflussreinigung Wolfgang — rohrreinigung.css
   Styles specific to kanalreinigung.php (service page).
   Structurally identical to the other service-page stylesheets —
   shared component classes (.page-hero, .signs-grid, .method-card,
   .price-teaser, .mini-faq, .related-grid) kept in sync on purpose.
   ========================================================================== */

/* ---------- Page hero (shared pattern) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, #022754 0%, #013463 46%, #005399 100%);
  color: #fff;
  overflow: hidden;
  padding: 60px 0 70px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.page-hero .eyebrow {
  color: #ff616a;
}
.page-hero .eyebrow::before {
  background: #ff616a;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(238, 244, 250, 0.85);
  font-size: 1.05rem;
  max-width: 54ch;
}
.page-hero-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(238, 244, 250, 0.65);
  margin-bottom: 18px;
}
.page-hero-crumbs a {
  color: rgba(238, 244, 250, 0.85);
}
.page-hero-crumbs a:hover {
  color: #fff;
}
.page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.page-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.3;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(2, 39, 84, 0) 45%, rgba(2, 39, 84, 0.5) 100%);
}
.page-hero-badge {
  position: absolute;
  left: -18px;
  bottom: 22px;
  background: #fff;
  color: var(--color-navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.page-hero-badge .fab-icon {
  width: 42px;
  height: 42px;
  background: rgba(239, 0, 11, 0.1);
  color: var(--color-red);
}
.page-hero-badge .fab-icon svg {
  width: 20px;
  height: 20px;
}
.page-hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.page-hero-badge span {
  font-size: 0.78rem;
  color: var(--color-text-soft);
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-media {
    max-width: 480px;
    margin-inline: auto;
  }
  .page-hero-badge {
    left: 14px;
  }
}
@media (max-width: 540px) {
  .page-hero-ctas .btn {
    width: 100%;
  }
  .page-hero-badge {
    display: none;
  }
}

/* ---------- Overview (intro text + image) ---------- */
.overview-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.overview-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
      height: 100%;
}
.overview-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.overview-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--color-text-soft);
}
.overview-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  flex: none;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .overview-wrap {
    grid-template-columns: 1fr;
  }
  .overview-media {
    order: -1;
  }
}

/* ---------- Anzeichen (signs) ---------- */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sign-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sign-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.sign-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ice);
  color: var(--color-endeavour);
}
.sign-icon svg {
  width: 22px;
  height: 22px;
}
.sign-card h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.sign-card p {
  font-size: 0.82rem;
  margin: 0;
}

@media (max-width: 900px) {
  .signs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .signs-grid {
    grid-template-columns: 1fr;
  }
}

/* 6-card variant used on Kanalreinigung */
.signs-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .signs-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .signs-grid--6 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Methoden (methods) ---------- */
.methods-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.method-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.method-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.method-body {
  padding: 24px 22px;
}
.method-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.method-body p {
  font-size: 0.9rem;
  margin: 0;
}
.method-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  background: rgba(239, 0, 11, 0.08);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .methods-wrap {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

/* 4-card variant used on Kanalreinigung */
.methods-wrap--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .methods-wrap--4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  .methods-wrap--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ablauf steps (reused rail pattern) ---------- */
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-rail::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--color-line) 0 10px,
    transparent 10px 18px
  );
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
}
.process-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-endeavour);
  color: var(--color-endeavour);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.process-step:nth-child(odd) .process-num {
  border-color: var(--color-red);
  color: var(--color-red);
}
.process-step h4 {
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .process-rail {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .process-rail::before {
    display: none;
  }
}
@media (max-width: 560px) {
  .process-rail {
    grid-template-columns: 1fr;
  }
}

/* 5-step variant used on Kanalreinigung */
.process-rail--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) {
  .process-rail--5 {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
}
@media (max-width: 700px) {
  .process-rail--5 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .process-rail--5 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Price teaser ---------- */
.price-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  position: relative;
  overflow: hidden;
}
.price-teaser::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(239, 0, 11, 0.16);
}
.price-teaser h3 {
  color: #fff;
  position: relative;
  margin-bottom: 6px;
}
.price-teaser p {
  position: relative;
  color: rgba(238, 244, 250, 0.75);
  margin: 0;
  font-size: 0.92rem;
}
.price-teaser-value {
  position: relative;
  text-align: center;
}
.price-teaser-value strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
}
.price-teaser-value span {
  font-size: 0.78rem;
  color: rgba(238, 244, 250, 0.7);
}
.price-teaser-value .btn {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .price-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }
}

/* ---------- Mini FAQ (reused pattern) ---------- */
.mini-faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-navy);
}
.faq-question .icon-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-ice);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  position: relative;
}
.faq-question .icon-plus::before,
.faq-question .icon-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}
.faq-question .icon-plus::before {
  width: 12px;
  height: 2px;
}
.faq-question .icon-plus::after {
  width: 2px;
  height: 12px;
}
.faq-item.is-open .icon-plus::after {
  transform: rotate(90deg) scaleY(0);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-answer-inner {
  padding: 0 22px 22px;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
}

/* ---------- Related services ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-endeavour);
}
.related-card .service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #eaf2fb, #dceafc);
  color: var(--color-endeavour);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.related-card .service-icon svg {
  width: 22px;
  height: 22px;
}
.related-card h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.related-card p {
  font-size: 0.8rem;
  margin: 0;
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band (self-contained copy) ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-red) 0%, #c8000d 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 6px;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.cta-band .btn-primary:hover {
  background: var(--color-navy);
  color: #fff;
}

/* ---------- Trust strip (unique to Kanalreinigung) ---------- */
.trust-strip {
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-item:first-child {
  border-left: 0;
}
.trust-item .trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(239, 0, 11, 0.16);
  color: #ff616a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.trust-item .trust-icon svg {
  width: 20px;
  height: 20px;
}
.trust-item strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}
.trust-item span {
  font-size: 0.78rem;
  color: rgba(238, 244, 250, 0.68);
}

@media (max-width: 900px) {
  .trust-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 560px) {
  .trust-strip .container {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 4px;
  }
  .trust-item:first-child {
    border-top: 0;
  }
}

/* ---------- Kanalarten (duct-type cards, unique) ---------- */
.duct-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.duct-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.duct-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.duct-card-num {
  position: absolute;
  top: -6px;
  right: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  color: var(--color-ice);
  z-index: 0;
  line-height: 1;
}
.duct-card-body {
  position: relative;
  z-index: 1;
}
.duct-card h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.duct-card p {
  font-size: 0.85rem;
  margin: 0;
}
.duct-card-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-endeavour);
  background: var(--color-ice);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

@media (max-width: 900px) {
  .duct-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .duct-types-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Vergleichstabelle Kanal- vs. Rohrreinigung (unique) ---------- */
.compare-wrap {
  max-width: 900px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table caption {
  caption-side: top;
  text-align: left;
  padding: 18px 22px 0;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  background: var(--color-ice);
}
.compare-table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: 0;
}
.compare-table td.is-highlight {
  color: var(--color-red);
  font-weight: 700;
}

@media (max-width: 640px) {
  .compare-wrap {
    overflow-x: auto;
  }
  .compare-table {
    min-width: 560px;
  }
}

/* ---------- Preis-Aufschlüsselung (unique breakdown table) ---------- */
.price-breakdown {
  max-width: 820px;
  margin: 34px auto 0;
  display: grid;
  gap: 10px;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 16px 22px;
}
.price-row-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--color-navy);
}
.price-row-label span {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}
.price-row-value {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-red);
  font-size: 1.02rem;
  white-space: nowrap;
}
.price-breakdown-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin-top: 14px;
}

@media (max-width: 560px) {
  .price-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .price-row-value {
    font-size: 1.1rem;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
