/* ==========================================================================
   Rohr- & Abflussreinigung Wolfgang — rohrreinigung.css
   Styles specific to rohrreinigung.html (service page).
   ========================================================================== */

/* ---------- 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;
  }
}

/* ---------- 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;
  }
}

/* ---------- 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;
  }
}

/* ---------- 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;
}

/* ---------- Grid modifiers (larger sets) ---------- */
.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;
  }
}

.methods-wrap--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) {
  .methods-wrap--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .methods-wrap--4 {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

.process-rail--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 900px) {
  .process-rail--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .process-rail--5 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Quick facts strip (unique to Rohrreinigung) ---------- */
.quick-facts {
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fact-card {
  padding: 26px 20px;
  text-align: center;
  border-left: 1px solid var(--color-line);
}
.fact-card:first-child {
  border-left: 0;
}
.fact-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--color-red);
  line-height: 1.1;
}
.fact-label {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  max-width: 22ch;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .quick-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-card:nth-child(3) {
    border-left: 0;
  }
  .fact-card:nth-child(1),
  .fact-card:nth-child(3) {
    border-top: 0;
  }
  .fact-card:nth-child(2),
  .fact-card:nth-child(4) {
    border-top: 1px solid var(--color-line);
  }
}
@media (max-width: 560px) {
  .quick-facts-grid {
    grid-template-columns: 1fr;
  }
  .fact-card {
    border-left: 0 !important;
    border-top: 1px solid var(--color-line) !important;
  }
  .fact-card:first-child {
    border-top: 0 !important;
  }
}

/* ---------- Ursachen (cause cards, unique) ---------- */
.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cause-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-endeavour);
}
.cause-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #eaf2fb, #dceafc);
  color: var(--color-endeavour);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cause-icon svg {
  width: 24px;
  height: 24px;
}
.cause-card h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.cause-card p {
  font-size: 0.86rem;
  margin: 0;
}

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

/* ---------- Rohrmaterialien (material list, unique) ---------- */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
}
.material-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.material-letter {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.material-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.material-card p {
  font-size: 0.84rem;
  margin: 0;
}

@media (max-width: 720px) {
  .material-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Methodenvergleich: Spirale vs. Hochdruck (unique) ---------- */
.method-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);
}
.method-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.method-compare-table caption {
  caption-side: top;
  text-align: left;
  padding: 18px 22px 0;
}
.method-compare-table th,
.method-compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}
.method-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);
}
.method-compare-table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}
.method-compare-table tbody tr:last-child td,
.method-compare-table tbody tr:last-child th {
  border-bottom: 0;
}
.method-compare-table td.is-highlight {
  color: var(--color-red);
  font-weight: 700;
}

@media (max-width: 640px) {
  .method-compare-wrap {
    overflow-x: auto;
  }
  .method-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;
  }
}

/* ---------- Vorbeugen-Box (unique callout) ---------- */
.prevent-box {
  max-width: 900px;
  margin-inline: auto;
  background: linear-gradient(160deg, #022754 0%, #013463 46%, #005399 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 38px;
}
.prevent-box-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.prevent-box-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 0, 11, 0.18);
  color: #ff616a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prevent-box-icon svg {
  width: 24px;
  height: 24px;
}
.prevent-box-head h3 {
  color: #fff;
  margin-bottom: 6px;
}
.prevent-box-head p {
  color: rgba(238, 244, 250, 0.8);
  margin: 0;
  font-size: 0.92rem;
}
.prevent-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.prevent-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(238, 244, 250, 0.92);
}
.prevent-list svg {
  width: 18px;
  height: 18px;
  color: #ff616a;
  flex: none;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .prevent-box {
    padding: 28px 24px;
  }
  .prevent-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 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);
}
