/* Gemeinsame Farben, Schriftgrößen, Fokusregeln: main.css. */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  background: var(--mosaic-paper);
  transform: translateY(-200%);
  z-index: 2;
}
.skip-link:focus { transform: none; }
main, .page-footer {
  width: min(100% - 2rem, var(--site-content-width));
  margin-inline: auto;
}
.site-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.site-identity { margin: 0; color: var(--mosaic-forest); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 650; line-height: 1.4; }
.language-nav { display: flex; gap: .25rem; font-size: .875rem; }
.language-nav a { padding: .4rem .55rem; color: var(--mosaic-forest); text-decoration: none; }
.language-nav a:hover { text-decoration: underline; }
.language-nav a[aria-current="page"] { background: var(--mosaic-forest); color: #fff; font-weight: 700; }
.introduction {
  --introduction-gap: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--introduction-gap);
  padding-block: clamp(2rem, 5vw, 5rem);
  padding-top: calc(clamp(2rem, 5vw, 5rem) - clamp(1.61rem, 2.52vw, 2.1rem));
}
.introduction-copy {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--introduction-gap);
}
.workshop {
  width: min(100%, 27rem);
  margin: 0 auto;
}
.workshop img { display: block; width: 100%; height: auto; border-radius: 1.5rem; box-shadow: var(--mosaic-shadow); }
.workshop--building { width: 100%; }
.workshop--building figcaption { padding-right: 3rem; }
.building-image { position: relative; display: block; border-radius: 1.5rem; text-decoration: none; }
.moving-title {
  position: absolute;
  top: calc(50% + 1.15em);
  left: calc(50% - .5ch);
  width: 90%;
  margin: 0;
  padding: .65rem .35rem;
  transform: translate(-50%, -50%) rotate(-3deg);
  border: 0;
  background: none;
  color: #ffc421;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
  text-shadow:
    1px 1px 0 #50483c,
    2px 2px 0 #40392f,
    3px 3px 0 #302a22,
    4px 4px 0 #201b16,
    5px 6px 8px rgb(0 0 0 / 65%);
  box-shadow: none;
  font-size: clamp(1.5rem, 3.9vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .025em;
  text-align: center;
  text-wrap: balance;
}
html[lang="en"] .moving-title {
  top: 57%;
}
.moving-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + var(--introduction-gap) + 1.25rem);
  z-index: 1;
  overflow: visible;
  stroke: #fff18c;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  filter: drop-shadow(0 0 3px #ffab00);
}
.moving-arrow path { vector-effect: non-scaling-stroke; }
.moving-arrow__shape { fill: url(#moving-gold); }
.moving-arrow__shine { fill: none; stroke: #fffbe1; stroke-width: 3; stroke-dasharray: 1 7; }
.moving-arrow__target { fill: none; stroke: #d99a17; stroke-width: 1.4; }
.moving-arrow__target .moving-arrow__landing { fill: url(#moving-target-glow); stroke: none; }
.moving-arrow__target-center { fill: #ffe6a0; stroke: #fff3c4; }
.moving-arrow__target ellipse { vector-effect: non-scaling-stroke; }
.moving-arrow__mobile { display: none; }
.eyebrow {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
figcaption { color: var(--mosaic-ink); font-size: .95rem; }
figcaption { margin-top: .75rem; }
.eyebrow { color: var(--mosaic-forest); margin-top: 0; }
.story h1 { overflow-wrap: break-word; }
.story > p { max-width: 38rem; }
.destination-area {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  min-width: 0;
  text-decoration: none;
  background: var(--mosaic-ink) url('/assets/holzmosaik-rosetten.webp') center / cover no-repeat;
}
.primary-link {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 50%;
  overflow: hidden;
  border: 1px solid #fff;
  border-inline-width: 10px;
  border-left-width: 0;
  border-radius: 0;
  background: var(--mosaic-paper);
  color: var(--mosaic-ink);
  text-decoration: none;
}
.destination-area:hover .primary-link { border-color: #fff; box-shadow: var(--mosaic-shadow); }
.link-card-title {
  display: block;
  padding: 1.5rem;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 750;
  line-height: 1.15;
  align-self: end;
}
.link-card-image { position: relative; display: block; width: 100%; grid-column: 2; grid-row: 1 / 3; align-self: center; }
.link-card-saw { display: block; width: 100%; height: auto; }
.link-card-logo {
  position: absolute;
  bottom: 4%;
  left: 5%;
  width: 36%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(1px 2px 2px rgb(0 0 0 / 80%));
}
.link-card-address {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  color: #003b61;
  overflow-wrap: anywhere;
  grid-column: 1;
}
.destination-area:hover .link-card-address > span:first-child { text-decoration: underline; }
.destination { color: var(--mosaic-ink); font-size: .95rem; }
.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--mosaic-line);
  color: var(--mosaic-ink);
  font-size: .95rem;
}
.page-footer p { margin: 0; }
.page-footer a { display: inline-block; padding-block: .5rem; }
.legal-information { width: 100%; min-width: 0; }
.legal-information details { border-top: 1px solid var(--mosaic-line); }
.legal-information summary { padding: 1rem .25rem; cursor: pointer; font-size: 1.125rem; font-weight: 700; }
.legal-text { max-width: 66rem; padding: 1rem .25rem 1.5rem; font-size: 1.125rem; overflow-wrap: anywhere; }
.legal-text h2 { font-size: 1.5rem; }
.legal-text h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.legal-text .legal-subtitle { margin-top: 1.5rem; font-size: 1.25rem; }
.legal-draft { padding: 1rem; border: 1px solid var(--mosaic-line); background: var(--mosaic-paper); }
@media (max-width: 60rem) {
  main, .page-footer { width: calc(100% - 2rem); }
  .page-footer { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .introduction { grid-template-columns: minmax(0, 1fr); }
  .introduction-copy { grid-template-columns: minmax(0, 1fr); }
  .introduction-copy .story { order: -1; }
  .introduction-copy figcaption { padding-right: 2rem; }
  .moving-arrow {
    top: auto;
    bottom: calc(-1.25rem - var(--introduction-gap));
    height: calc((100vw - 2rem) * .75 + 11rem);
  }
  .moving-arrow__desktop { display: none; }
  .moving-arrow__mobile { display: initial; }
  .primary-link { width: min(100%, 36rem); grid-template-columns: minmax(0, 1fr); }
  .link-card-image { grid-column: auto; grid-row: auto; }
  .workshop { max-width: 21rem; }
  .workshop--building { max-width: none; }
  .moving-title { font-size: clamp(1.275rem, 5.7vw, 3rem); }
}
