:root {
  --patina: #639a8f;
  --cream: #eed794;
  --footer-text: #fffdf5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #2d2923; }
body { margin: 0; background: #2d2923; color: #1d1d1b; }

.page { width: 100%; }
.design {
  position: relative;
  width: min(100%, 1024.5px);
  margin: 0 auto;
  line-height: 0;
  background: #2d2923;
}
.design > img {
  display: block;
  width: 100%;
  height: auto;
}

.target {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 1rem;
}

.overlay-nav a,
.overlay-link {
  position: absolute;
  display: block;
  z-index: 5;
  border-radius: .25rem;
}
.overlay-nav a:focus-visible,
.overlay-link:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 2px;
  background: rgb(99 154 143 / 22%);
}

/* Klickflächen liegen exakt über den Beschriftungen des PDF-Entwurfs. */
.nav-about     { left: 9.2%;  top: 14.75%; width: 12.8%; height: 1.65%; }
.nav-career    { left: 27.4%; top: 14.75%; width: 14.8%; height: 1.65%; }
.nav-workshops { left: 52.9%; top: 14.75%; width: 14.7%; height: 1.65%; }
.nav-contact   { left: 73.2%; top: 14.75%; width: 10.8%; height: 1.65%; }

.instagram-workshops { left: 20.2%; top: 82.65%; width: 26.5%; height: 1.75%; }
.instagram-contact   { left: 55.4%; top: 95.75%; width: 26.5%; height: 1.75%; }

.site-footer {
  background: var(--patina);
  color: var(--footer-text);
  font-family: Georgia, "Times New Roman", serif;
}
.footer-inner {
  width: min(100%, 1024.5px);
  margin: 0 auto;
  min-height: 72px;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
}
.footer-inner nav { display: flex; align-items: center; gap: .9rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 620px) {
  .footer-inner {
    min-height: 64px;
    padding: .85rem 1rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: .92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Rechtliche Seiten */
body.legal-page {
  min-height: 100vh;
  background: var(--cream);
  color: #1d1d1b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
.legal-page .skip-link {
  position: absolute;
  left: -9999px;
}
.legal-page .skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .6rem .9rem;
  background: #fffdf5;
  color: #1d1d1b;
}
.legal-page .site-header {
  background: var(--cream);
  border-bottom: 1px solid rgb(29 29 27 / 22%);
}
.legal-page .nav {
  width: min(100% - 2rem, 980px);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.legal-page .brand {
  color: #1d1d1b;
  text-decoration: none;
  font-weight: 700;
}
.legal-page .brand img { display: none; }
.legal-page .nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-page .nav a,
.legal-page .back-link,
.legal-page .legal-content a { color: #315f58; }
.legal-page .legal-hero-inner,
.legal-page .legal-content {
  width: min(100% - 2rem, 900px);
  margin-inline: auto;
}
.legal-page .legal-hero { padding: 3rem 0 1.5rem; }
.legal-page .eyebrow { margin: 0 0 .35rem; color: #315f58; font-weight: 700; }
.legal-page h1 { margin: 0 0 .8rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
.legal-page .legal-content { padding: 1rem 0 4rem; }
.legal-page .legal-content h2 { margin-top: 2.2rem; color: #315f58; }
.legal-page .legal-content h3 { margin-top: 1.6rem; }
.legal-page .legal-content p { margin: .8rem 0; }
.legal-page .site-footer { background: var(--patina); }

@media (max-width: 620px) {
  .legal-page .nav { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
}
