/* Gedeeld door de dienstpagina's (badkamerrenovatie + totaalrenovatie).
   Astro: src/styles/service-page.css of een ServicePageLayout. */

/* ==========================================================================
   Basis: variabelen, reset en typografie
   ========================================================================== */
.bathroom-page h2.eyebrow {
  font-family: var(--sans);
}
.bathroom-page strong {
  font-weight: 600;
}
.bathroom-page h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* ==========================================================================
   Header
   ========================================================================== */
.bathroom-page .header {
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 0;
  height: 86px;
  border-bottom: 1px solid var(--line);
}
.bathroom-page .header.scrolled {
  height: 76px;
}
.bathroom-page .light-logo {
  display: none;
}
.bathroom-page .dark-logo {
  display: block;
}
@media (max-width: 900px) {
  .bathroom-page .header {
    height: 80px;
  }
  .bathroom-page .header.scrolled {
    height: 68px;
  }
}
@media (max-width: 700px) {
  .bathroom-page .header {
    height: 75px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.bath-hero h1 {
  font-size: 0.8125rem;
  letter-spacing: 0.19em;
  margin-bottom: 22px;
  color: var(--accent);
}
.bath-hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 700px;
  background: var(--base);
}
.bath-hero-copy {
  padding: 60px 9% 60px 12.6%;
  align-self: center;
  min-width: 0;
}
.bath-hero-title {
  color: var(--ink);
}
.bath-hero .hero-actions {
  margin-top: 0;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}
.bath-hero .outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.bath-hero .outline:hover {
  background: #3029270a;
}
.bath-hero-figure {
  margin: 0;
  position: relative;
  min-height: 700px;
  overflow: hidden;
}
.bath-hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
}
.bath-hero-figure:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--hero-bottom-gradient);
}
.breadcrumbs {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  max-width: calc(100% - 48px);
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}
.breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.totaal-page .bath-hero-figure img {
  object-position: 48% center;
}
.total-hero-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 25px;
}
@media (min-width: 1600px) {
  .bath-hero-copy {
    padding-left: max(12.6%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 1150px) {
  .bath-hero-copy {
    padding: 40px 8% 45px 10%;
  }
}
@media (max-width: 900px) {
  .bath-hero .hero-actions {
    max-width: none;
  }
}
@media (max-width: 700px) {
  .bath-hero h1 {
    font-size: 0.6875rem;
    margin-bottom: 18px;
  }
  .bath-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .bath-hero-copy {
    padding: 28px 6% 38px;
    order: 1;
  }
  .bath-hero-figure {
    min-height: 0;
    height: 330px;
    order: 0;
  }
  .bath-hero-figure img {
    object-position: center 50%;
  }
  .breadcrumbs {
    left: 6%;
    top: 18px;
    padding: 0;
    font-size: 0.6875rem;
  }
  .bath-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .bath-hero-title br:first-child {
    display: initial;
  }
  .totaal-page .bath-hero-figure img {
    object-position: center;
  }
  .totaal-page .bath-hero-title {
    font-size: clamp(2.2325rem, 8.835vw, 3.515rem);
  }
}
@media (max-width: 370px) {
  .bath-hero .hero-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Secties en koppen
   ========================================================================== */
.bathroom-page .section p strong {
  color: var(--accent);
}
.body-copy > p:not(.eyebrow) {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-top: 24px;
}
.bath-section-title {
  font: 400 clamp(2.4rem, 4.5vw, 4.1rem)/1.12 var(--serif);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.bathroom-page .body-copy > p.bath-section-title,
.bathroom-page .faq > div > p.bath-section-title {
  font: 400 clamp(2.4rem, 4.5vw, 4.1rem)/1.12 var(--serif);
  margin-top: 0;
}
.totaal-page .section-head h2 {
  hyphens: none;
  overflow-wrap: normal;
}
@media (max-width: 700px) {
  .body-copy > p:not(.eyebrow) {
    font-size: 0.875rem;
    margin-top: 22px;
  }
  .bath-section-title,
  .bathroom-page .body-copy > p.bath-section-title {
    font-size: 2.6rem;
  }
  .bath-section-title,
  .bathroom-page .body-copy > p.bath-section-title,
  .bathroom-page .faq > div > p.bath-section-title {
    font-size: 2.47rem;
  }
  #ontwerp .section-head h2 {
    hyphens: none;
    overflow-wrap: normal;
  }
}

/* ==========================================================================
   Realisaties (projectgalerij)
   ========================================================================== */
.process-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 24px;
  margin-top: 50px;
}
.process-gallery .bath-figure img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.process-gallery .bath-figure:first-child img {
  object-position: center 52%;
}
@media (max-width: 700px) {
  .process-gallery {
    gap: 14px;
    margin-top: 38px;
  }
  .process-gallery .bath-figure img {
    height: 230px;
  }
}

/* ==========================================================================
   Veelgestelde vragen
   ========================================================================== */
.bathroom-page details {
  border-bottom: 1px solid var(--line);
}
.bathroom-page details:first-of-type {
  border-top: 1px solid var(--line);
}
.detail-content {
  padding: 0 10px 24px 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.detail-content p {
  font-size: 0.875rem;
  margin: 0 0 16px;
}
.detail-content p:last-child {
  margin-bottom: 0;
}
.detail-content a {
  color: var(--accent);
  text-decoration: underline;
}
.bathroom-page .faq-list .detail-content p {
  padding: 0;
  margin-bottom: 16px;
}
.bathroom-page .faq-list .detail-content p:last-child {
  margin-bottom: 0;
}
.bathroom-page .faq .bath-figure {
  margin-top: 35px;
}
.bathroom-page .faq .bath-figure img {
  height: 270px;
  object-fit: cover;
}
.bathroom-page .faq > * {
  min-width: 0;
}
.totaal-page .faq .text-link {
  display: inline-block;
  margin-top: 28px;
}
@media (max-width: 700px) {
  .bathroom-page summary {
    font-size: 0.875rem;
    padding: 22px 0;
  }
  .bathroom-page .faq .bath-figure {
    width: 100vw;
    margin-left: -6vw;
    margin-right: -6vw;
  }
  .bathroom-page .faq .bath-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  .bathroom-page .faq .bath-figure figcaption {
    padding-inline: 6vw;
  }
}

/* ==========================================================================
   Offerteformulier en contact
   ========================================================================== */
.form-notice {
  font-size: 0.75rem;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: var(--base);
  border-left: 2px solid var(--accent);
}
.form-notice a {
  text-decoration: underline;
}
.contact h2 {
  font-size: clamp(2.8rem, 3.7vw, 3.7rem);
  overflow-wrap: normal;
  hyphens: none;
}
.contact h2 span,
.contact h2 em {
  display: block;
  white-space: nowrap;
}
.totaal-page .contact h2 span {
  white-space: normal;
}
@media (max-width: 700px) {
  .contact h2 {
    line-height: 1.12;
    font-size: clamp(1.6625rem, 7.6vw, 3.135rem);
  }
}

/* ==========================================================================
   Badkamer: inhoudsblokken
   ========================================================================== */
.bath-lead {
  color: var(--muted);
}
.bath-lead strong {
  color: var(--accent);
  font-weight: 500;
}
.bath-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}
.bath-scope,
.bath-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8%;
  align-items: start;
}
.bath-scope {
  background: var(--paper);
}
.bath-price {
  background: var(--base);
  align-items: center;
}
.bath-accordion {
  padding-top: 12px;
}
.bath-figure {
  margin: 0;
}
.bath-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.bath-figure figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.5;
}
.bath-design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.bath-design-grid .bath-figure img {
  height: 320px;
  object-fit: cover;
}
.bath-design-grid h3 {
  font: 400 1.7rem var(--serif);
  margin: 22px 0 14px;
}
.bath-design-grid p {
  font-size: 0.875rem;
  line-height: 1.65;
}
.bath-scope > *,
.bath-price > * {
  min-width: 0;
}
.bathroom-page .bath-actions .button {
  max-width: 100%;
}
.totaal-page .bath-price .button {
  margin-top: 26px;
}
.totaal-page .bath-price > .bath-figure img {
  aspect-ratio: 4/5;
  object-fit: cover;
}
@media (max-width: 1150px) {
  .bath-scope,
  .bath-price {
    gap: 5%;
  }
  .bath-design-grid .bath-figure img {
    height: 260px;
  }
}
@media (max-width: 900px) {
  .bath-design-grid {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .bath-scope,
  .bath-price {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .bath-design-grid {
    display: block;
  }
  .bath-design-grid article {
    margin-bottom: 35px;
  }
  .bath-design-grid h3 {
    margin-top: 18px;
    font-size: 1.33rem;
  }
  .bath-design-grid p {
    font-size: 0.8125rem;
  }
  .bath-design-grid .bath-figure {
    width: 100vw;
    margin-left: -6vw;
    margin-right: -6vw;
  }
  .bath-design-grid .bath-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  .bath-design-grid .bath-figure figcaption {
    padding-inline: 6vw;
  }
  .totaal-page .bath-price > .bath-figure img {
    aspect-ratio: 4/3;
  }
}

/* ==========================================================================
   Totaalrenovatie
   ========================================================================== */
.total-inline-cta {
  margin-top: 30px;
}
.total-trust {
  background: var(--paper);
}

