@font-face {
  font-family: "Libre Franklin";
  src: url("./fonts/LibreFranklin-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("./fonts/LibreFranklin-Italic-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #F4EEFF;
  --highlight: #FFFF00;
  --black: #222222;
  --white: #ffffff;
  --text: #222222;
  --max-800: 800px;
  --max-720: 720px;
  --fs-small: clamp(14px, 10vw, 16px);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.45;
}

.wrap {
  padding: 0 20px;
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  margin: 80px 0 48px 0;
  font-size: clamp(64px, 24vw, 160px);
}
h2 {
  margin: 80px 0 0 0;
  font-size: clamp(28px, 20vw, 56px);
}
h3 {
  margin: 80px 0 8px 0;
  font-size: clamp(24px, 10vw, 28px);
  line-height: 120% !important;
}
h1, h2, h3, .btn, .group, .groups a {
  font-weight: 900;
  line-height: 100%;
}

a {
  text-decoration: underline; 
  color: inherit; 
  transition: text-decoration 120ms ease;
}
a:hover {text-decoration: none;}

.logo {
  width: 100%;
  max-width: min(550px, 80%);
  margin: 120px auto 48px auto;
}
.logo img {
  display: block;
  width: 100%;
  max-height: 200px;
  height: auto;
  margin: 0 auto;
}

.text {
  max-width: var(--max-800);
  margin-top: 72px;
  font-size: clamp(16px, 6vw, 20px);
}
@media (max-width: 800px) {
  .text { margin-top: 56px !important;
  font-size: clamp(15px, 4.5vw, 18px);}
}

.note {
  max-width: var(--max-720);
  margin: 24px auto 80px auto;
  font-size: var(--fs-small);
  opacity: 0.6;
}

.signal {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.activity {
  display: block;
  max-width: var(--max-800);
  margin: 32px auto 104px auto;
  padding: 24px;
  background-color: #FF99DD;
  background-image: url("assets/activities/kulturparade26-explo.svg");
  background-position: right -110px center;
  background-size: auto 400px;
  background-repeat: no-repeat;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: border-radius 120ms ease, background-size 120ms ease;
}
.activity:hover {
  border-radius: 16px;
  background-size: auto 450px;
}
.activity:not(:last-of-type) {
  margin-bottom: 24px;
}
.activity img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 50px;
  display: block;
}

.activity--erwacht {
  background-image:
    url("assets/activities/lorettaerwacht26-keyvisual.png"),
    url("assets/activities/lorettaerwacht26-background.jpg");
  background-position: right -60px center, center;
  background-size: auto 300px, cover;
  background-repeat: no-repeat, no-repeat;
}
.activity--erwacht:hover {
  background-size: auto 350px, cover;
}

.activity__title {
  display: block;
  max-width: 60%;
  font-weight: 900;
  font-size: clamp(24px, 10vw, 28px);
  line-height: 120%;
  color: var(--black);
}

@media (max-width: 560px) {
  .activity__title {
    max-width: 75%;
    font-size: clamp(18px, 5vw, 24px);
  }
  .activity--erwacht {
    background-position: right -40px center, center;
    background-size: auto 200px, cover;
  }
  .activity--erwacht:hover {
    background-size: auto 230px, cover;
  }
}

.press-entry {
  margin-top: 8px;
}
.press-entry:first-of-type {
  margin-top: 16px;
}
.press-entry::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: -0.12em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.press-entry--zeitung::before { background-image: url("assets/press/article.svg"); }
.press-entry--radio::before   { background-image: url("assets/press/radio.svg"); }
.press-entry--tv::before      { background-image: url("assets/press/tv.svg"); }
.press-entry--gallery::before { background-image: url("assets/press/gallery.svg"); }

.press .note {
  white-space: nowrap;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--black);
  color: var(--bg);
  padding: 16px 18px;
  font-weight: 700;
  font-size: clamp(16px, 10vw, 20px);
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  transition: border-radius 120ms ease;
  z-index: 1;
}
.btn:hover {border-radius: 16px; }
.btn:active {transform: translateY(1px);}
.btn__icon {
  width: 24px;
  height: 24px;
  display: block;
}
.btn:focus-visible {
  outline: 3px solid red;
  outline-offset: 3px;
}
.btn--ghost {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}
.site-footer {
  margin-top: 104px;
  padding-bottom: 32px;
  text-align: center;
  font-weight: 400;
  opacity: 0.6;
  font-size: var(--fs-small);
}

.legal {
  max-width: var(--max-720);
  margin: 0 auto;
}
.legal h1 {
  margin: 0 0 8px 0;
  font-size: clamp(40px, 16vw, 72px);
}
.legal h2 {
  margin: 40px 0 8px 0;
  font-size: clamp(20px, 8vw, 22px);
}
.legal p, .legal-list {
  font-size: clamp(14px, 6vw, 16px);
  opacity: 0.8;
}
.legal p {
  margin: 0;
}
.legal-list {
  margin: 8px 0 0 0;
  padding-left: 1.4em;
}
.legal-list li {
  margin-bottom: 4px;
}

.legal .legal-part {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  opacity: .55;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stand {
  margin-top: 40px !important;
  opacity: 0.6 !important;
}

.back {
  max-width: var(--max-720);
  margin: 40px auto 72px auto;
}
