/* libre-baskerville-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url('libre-baskerville-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* libre-baskerville-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  src: url('libre-baskerville-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
      --bg: #0D0D0D;
      --fg: #FFFFFF;
      --fg-dim: #B3B3B3;
      --link: #FFFFFF;
      --link-underline: rgba(255,255,255,0.35);
    }

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    max-width: auto;
  }

  .gruppe {
    margin-top: 2rem !important;
    padding-bottom: 6rem;
  }

  .gruppe .auflistung {
    display: flex;
    flex-direction: column !important;
    align-items: center;;
    gap: 2rem;
  }

  .gruppe .auflistung a {
    width: 100%;
  }

  .gruppe .auflistung img {
    width: 70% !important;
    height: auto !important;
  }

  h2 {
    font-size: 1.25rem;
  }

  .angebot-cta {
    padding: 0.75rem 0.75rem !important;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
}


html, body {
  height: 100%;
}

body {
  padding: 1rem;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.5;
  display: grid;
  place-items: center; /* horizontal & vertikal zentriert */
}

.container {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* einspaltig, zentriert */
  word-break: break-word;
  gap: 1.25rem;
}

header img {
  width: clamp(300px, 40vw, 600px);
  height: auto;
  display: block;
}

h1 {
  margin: 0.5rem 0 0 0;
  font-size: clamp(1.5rem, 3.2vw + 1rem, 2.75rem);
  letter-spacing: 0.02em;
  word-break: break-word;
}

p {
  max-width: 35rem;
}

p.lead {
  margin: 0.25rem 0 1.5rem 0;
  font-size: clamp(1rem, 1.2vw + 0.9rem, 1.25rem);
  color: var(--fg-dim);
  word-break: break-word;
}

address {
  margin: 0.5rem 0 2rem 0;
  font-style: normal;
  color: var(--fg);
  opacity: 0.92;
  word-break: break-word;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--link-underline);
  word-break: break-word;
}

footer {
  margin-top: 0.75rem;
  display: flex;
  width: 100%;
  padding: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.95rem;
  position: fixed;
  bottom: 0;
  left: auto;
  right: auto;
  background: var(--bg);
  word-break: break-word;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.logo-legal {
  max-width: 10rem;
  margin-top: 2rem;
}

body.body-legal {
  place-items: start center;
}

.gruppe {
  margin-top: 8rem;
  word-break: break-word;
}

.gruppe .auflistung {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.gruppe .auflistung img {
  height: 100px;
  width: auto;
}

.angebot-cta {
  background-color: var(--fg);
  color: var(--bg);
  font-weight: bold;
  font-size: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.angebot-cta:hover {
  background-color: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.projektgrafik {
  width: 100%;
  max-width: 1000px;
  max-height: auto;
}