/* Fill only the quoted passage. The attribution and the project link keep their
   own place in the card. The physical left edge is the start of German text. */
:is(#main, #inhalt, main) blockquote.kundenstimme {
  box-sizing: border-box;
  min-width: 0;
  padding: .7em .95em .74em;
  border: 0;
  border-inline-start: 3px solid #b5a7c9;
  border-radius: 0 .45rem .45rem 0;
  background-color: #f4f0f8;
  color: #242027;
}
:is(#main, #inhalt, main) blockquote.kundenstimme > p {
  margin: 0;
  color: inherit;
}
:is(#main, #inhalt, main) blockquote.kundenstimme > cite {
  display: block;
  margin-block-start: .55em;
  color: #4a4255;
}

/* The valley shares the hero's entire right edge. Copy and attribution have
   their own solid backgrounds, including when images are disabled. */
#main .harmersbachtal {
  --valley-paper: var(--n-lilac, #f4f2f8);
  position: relative;
  isolation: isolate;
  background: var(--valley-paper);
}
#main .harmersbachtal > .c51-wrap {
  display: block;
}
#main .harmersbachtal .c53-introduction {
  position: relative;
  z-index: 1;
  width: 48%;
}
#main .harmersbachtal .tal-panorama {
  position: absolute;
  inset: 0 0 0 49%;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--valley-paper);
  color: #48414f;
}
#main .tal-bild {
  position: relative;
  display: block;
  min-height: 0;
}
#main .tal-bild img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 55% 56%;
  border-radius: 0;
}
#main .tal-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--valley-paper) 0%, rgba(244,242,248,.86) 5%, rgba(244,242,248,.32) 16%, transparent 32%),
    linear-gradient(to top, var(--valley-paper), rgba(244,242,248,.64) 1.15rem, transparent 3.4rem);
}
#main .harmersbachtal .tal-nachweis {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  max-width: none;
  padding: .2rem max(var(--n-gutter, 1.25rem), calc((100vw - var(--n-max, 1180px)) / 2)) .85rem 12%;
  background: var(--valley-paper);
  color: #534b5b;
  font-size: .8rem;
  line-height: 1.5;
  text-align: right;
}
#main .tal-nachweis a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .14em;
}
#main .tal-nachweis a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (max-width: 56rem) {
  #main .harmersbachtal {padding-block-end: 0}
  #main .harmersbachtal .c53-introduction {width: 100%}
  #main .harmersbachtal .tal-panorama {
    position: static;
    grid-template-rows: auto auto;
    margin-block-start: 1rem;
  }
  #main .tal-bild {height: clamp(11rem, 40vw, 18rem)}
  #main .tal-bild img {object-position: 50% 56%}
  #main .tal-bild::after {
    background:
      linear-gradient(to bottom, var(--valley-paper), rgba(244,242,248,.62) 1.1rem, transparent 3.3rem),
      linear-gradient(to top, var(--valley-paper), transparent 1.6rem);
  }
  #main .harmersbachtal .tal-nachweis {
    padding: .25rem var(--n-gutter, 1.25rem) 1rem;
    text-align: start;
  }
}
@media print {
  #main .harmersbachtal .tal-panorama {position: static}
  #main .harmersbachtal .c53-introduction {width: 100%}
  #main .harmersbachtal .tal-bild {height: 12rem}
  #main .tal-bild::after {display: none}
  #main .harmersbachtal .tal-nachweis {padding-inline: 0}
}
