/* ==========================================================================
   KG Isch kann’s – Stylesheet
   Mobile first. All colours, spacing and font sizes as custom properties.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-condensed-700.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Colours */
  --c-dark: #1c0624;
  --c-purple: #2a0a33;
  --c-yellow: #f7e01c;
  --c-pink: #e85bb0;
  --c-white: #ffffff;
  --c-lilac: #f2e2f5;
  --c-red: #e63c1e; /* logo only */
  --c-line: rgba(242, 226, 245, 0.28);
  --c-shade: rgba(14, 3, 18, 0.25);
  --c-paper: #f4f0e6; /* polaroid frame: warm off-white like instant-film card */
  --c-paper-edge: rgba(60, 40, 20, 0.12);
  --c-paper-shadow: rgba(10, 2, 14, 0.45);
  --c-paper-drop: rgba(10, 2, 14, 0.55);

  /* Fonts */
  --f-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-heading: "IBM Plex Sans Condensed", "Arial Narrow", "Roboto Condensed", var(--f-text);

  /* Font sizes */
  --fs-small: 0.9375rem;
  --fs-text: 1.0625rem;
  --fs-large: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-label: 0.9375rem;
  --fs-button: 1.125rem;
  --fs-h4: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  --fs-h2: clamp(2.25rem, 1.4rem + 4.4vw, 4.75rem);
  --fs-h2-huge: clamp(3rem, 1.2rem + 9vw, 9rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 7rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max-width: 77.5rem;
  --header-height: 4rem;

  /* Shapes */
  --radius-pill: 999px;
  --button-height: 3.25rem;
  --line-thick: 0.25rem;
  /* Polaroid: fine paper edge, 1 px contact shadow and a short soft drop – lying on a table, not glowing */
  --shadow-paper: inset 0 0 0 1px var(--c-paper-edge),
                  0 0.0625rem 0.0625rem var(--c-paper-shadow),
                  0 0.375rem 0.75rem -0.125rem var(--c-paper-drop);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 100 % up to Full HD; above that everything grows proportionally (2560 px ≈ 133 %,
   3840 px = 200 %), so 2K/4K screens at 100 % scaling don't show a tiny
   centre column. Media queries in rem are not affected. */
html {
  font-size: clamp(100%, 100vw / 120, 200%);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--f-text);
  font-size: var(--fs-text);
  line-height: 1.55;
  /* No automatic hyphenation: ragged right reads calmer than split words.
     Long words still wrap instead of overflowing. */
  overflow-wrap: break-word;
}

img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--c-yellow);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

a:hover {
  color: var(--c-white);
}

:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}

p {
  margin: 0;
}

b,
strong {
  font-weight: 600;
}

.nowrap {
  white-space: nowrap;
}

/* Moves to the next line as a whole; wraps inside only if it is wider than the line */
.keep-together {
  display: inline-block;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  font-weight: inherit; /* hidden text doesn't load extra font weights */
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -10rem;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--c-yellow);
  color: var(--c-dark);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--s-4);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Recurring typography ---------- */
.label {
  margin: 0 0 var(--s-3);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-pink);
  hyphens: manual;
}

@media (max-width: 29.9rem) {
  .label {
    letter-spacing: 0.14em;
  }
}

.label--dark {
  color: var(--c-dark);
}

.title {
  margin: 0;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 0.95;
  text-transform: uppercase;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: normal;
  text-wrap: balance;
}

.title--huge {
  font-size: var(--fs-h2-huge);
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.body-text {
  max-width: 38rem;
  color: var(--c-lilac);
}

.body-text--large {
  font-size: var(--fs-large);
  line-height: 1.6;
}

.body-text + .body-text {
  margin-top: var(--s-4);
}

/* Typographic line block: every line fills the full width */
.line-block {
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--f-heading);
  font-weight: 700;
}

.line-white { fill: var(--c-white); }
.line-yellow { fill: var(--c-yellow); }
.line-pink { fill: var(--c-pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: var(--button-height);
  padding: 0 var(--s-5);
  border: 2px solid currentColor;
  border-radius: var(--radius-pill);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-button);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  hyphens: manual;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--yellow {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-dark);
}

.btn--yellow:hover {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
}

.btn--outline {
  color: var(--c-white);
}

.btn--outline:hover {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
}

.btn--dark {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-yellow);
}

.btn--dark:hover {
  background: var(--c-pink);
  border-color: var(--c-dark);
  color: var(--c-dark);
}

/* Share: its own colour so it stands out next to yellow and outline */
.btn--pink {
  background: var(--c-pink);
  border-color: var(--c-pink);
  color: var(--c-dark);
  cursor: pointer;
}

.btn--pink:hover {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
}

.btn__icon--small {
  width: 1.3rem;
  height: 1.3rem;
}

.btn--large {
  min-height: 4.5rem;
  padding: var(--s-3) var(--s-6) var(--s-3) var(--s-5);
  justify-content: flex-start;
  font-size: 1.3rem;
  text-align: left;
}

.btn__icon {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
}

.btn__lines {
  display: flex;
  flex-direction: column;
}

.btn__handle {
  font-family: var(--f-text);
  font-weight: 400;
  font-size: var(--fs-small);
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-dark);
  border-bottom: 2px solid var(--c-line);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  max-width: var(--max-width);
  min-height: var(--header-height);
  margin-inline: auto;
  padding: var(--s-2) var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex: 1 1 auto;
  min-height: 2.75rem;
  color: var(--c-white);
  text-decoration: none;
}

.brand:hover {
  color: var(--c-yellow);
}

.brand picture {
  flex: none;
}

.brand__image {
  width: auto;
  height: 2rem;
}

.brand__name {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.channels {
  display: flex;
  order: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.channel-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--c-yellow);
}

.channel-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.channel-icon:hover {
  color: var(--c-white);
}

.menu-toggle {
  order: 3;
  min-height: 2.75rem;
  margin-left: var(--s-1);
  padding: 0 var(--s-4);
  border: 2px solid var(--c-white);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-white);
  font: 700 1rem/1 var(--f-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--c-white);
  color: var(--c-dark);
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: inline;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  order: 4;
  background: var(--c-dark);
  border-bottom: var(--line-thick) solid var(--c-yellow);
}

.nav.is-open {
  display: block;
}

.nav__list {
  margin: 0;
  padding: var(--s-2) var(--gutter) var(--s-5);
  list-style: none;
}

.nav__list a {
  display: block;
  padding: var(--s-3) 0;
  border-bottom: 2px solid var(--c-line);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__list a:hover {
  color: var(--c-yellow);
}

/* Narrow phones: tighter header, the name always stays on one line */
@media (max-width: 29.9rem) {
  .brand {
    gap: var(--s-2);
  }

  .brand__image {
    height: 1.75rem;
  }

  .brand__name {
    font-size: 1.05rem;
  }

  .menu-toggle {
    padding: 0 var(--s-3);
  }
}

/* Narrow phones (< 384 px): shrink logo, name and toggle so "Schließen" still fits next to the name */
@media (max-width: 23.9rem) {
  .brand__image {
    height: 1.5rem;
  }

  .brand__name {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
  }

  .menu-toggle {
    margin-left: 0;
    padding: 0 var(--s-2);
    letter-spacing: 0.04em;
  }
}

/* "Startseite" button in the subpage header: slimmer, so it never crowds the name */
@media (max-width: 27rem) {
  .site-header__inner > .btn {
    padding: 0 var(--s-3);
    letter-spacing: 0.02em;
  }
}

/* Tiny screens (≤ 320 px, e.g. folding phones' cover displays): the name wins over the logo */
@media (max-width: 20rem) {
  .brand picture {
    display: none;
  }
}

@media (min-width: 60rem) {
  :root {
    --header-height: 4.75rem;
  }

  .menu-toggle {
    display: none;
  }

  .brand {
    flex: 0 1 auto;
    margin-right: auto;
  }

  .brand__image {
    height: 2.5rem;
  }

  .brand__name {
    font-size: 1.35rem;
  }

  .nav,
  .nav.is-open {
    display: block;
    position: static;
    order: 1;
    border: 0;
    background: none;
  }

  .nav__list {
    display: flex;
    gap: var(--s-1) var(--s-5);
    padding: 0;
  }

  .nav__list a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    font-family: var(--f-text);
    font-weight: 600;
    font-size: 1rem;
    text-transform: none;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.4em;
    transition: text-decoration-color 0.15s;
  }

  .nav__list a:hover {
    color: var(--c-white);
    text-decoration-color: var(--c-yellow);
  }

  .channels {
    margin-left: var(--s-4);
    padding-left: var(--s-3);
    border-left: 2px solid var(--c-line);
  }
}

/* ---------- Hero / Prunksitzung ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--s-6) var(--s-8);
}

.hero__background,
.hero__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero__background img {
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-shade);
}

/* Mobile: text, buttons, motif stacked.
   Desktop: text | motif, buttons below; the motif ends on the baseline
   of the date block („Schützenhalle Attendorn-Ennest“) and flush right with the content edge. */
.hero__inner {
  display: grid;
  grid-template-areas: "text" "aktion" "motiv";
  row-gap: var(--s-6);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero__text > .line-block {
  margin-top: var(--s-2);
}

.hero__text > .line-block--date {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: var(--line-thick) solid var(--c-white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.hero__actions {
  grid-area: aktion;
}

.hero__actions .btn-row {
  margin-top: 0;
}

.share__status {
  margin-top: var(--s-2);
  color: var(--c-pink);
  font-weight: 600;
}

/* Motif + club line, both exactly the same width */
.hero__motif {
  grid-area: motiv;
  margin-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  width: min(100%, 34rem);
}

.hero__clown {
  width: 100%;
}

@media (min-width: 64rem) {
  .hero {
    padding-block: var(--s-8) var(--s-9);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "text   motiv"
      "aktion .";
    column-gap: var(--s-8);
  }

  .hero__motif {
    align-self: end;
    width: auto;
    margin-top: 0;
    gap: var(--s-5);
  }

  /* Three buttons fit on one line from about 1300 px */
  .hero .btn {
    padding-inline: var(--s-4) var(--s-4);
  }
}

/* ---------- Programme as a poster column ---------- */
.program {
  padding-block: var(--s-8);
  background: var(--c-purple);
}

.program__grid {
  display: grid;
  gap: var(--s-6);
}

.program__title {
  align-self: start;
}

/* All line blocks exactly the same width, like a narrow poster */
.program__column {
  width: min(100%, 32rem);
  border-top: var(--line-thick) solid var(--c-white);
}

.program__group {
  display: grid;
  gap: var(--s-2);
  padding-block: var(--s-4) var(--s-5);
  border-bottom: 2px solid var(--c-line);
}

.program__group:last-child {
  border-bottom: var(--line-thick) solid var(--c-white);
}

.program__category {
  margin: 0;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-label);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-pink);
  hyphens: manual;
  overflow-wrap: normal;
}

.program__group--yellow .program__category {
  color: var(--c-yellow);
}

/* Addition directly below the last line, e.g. the dance couple */
.program__note {
  color: var(--c-lilac);
  font-size: var(--fs-small);
}

@media (min-width: 56rem) {
  .program__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-8);
  }

  .program__title {
    font-size: var(--fs-h2-huge);
    line-height: 0.88;
    position: sticky;
    top: calc(var(--header-height) + var(--s-6));
  }

  .program__column {
    justify-self: end;
  }
}

/* ---------- Info & directions ---------- */
.info {
  padding-block: var(--s-8);
}

.info__list {
  display: grid;
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: punkt;
  border-top: 2px solid var(--c-line);
}

.info__item {
  counter-increment: punkt;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: var(--s-3);
  align-content: start;
  padding-block: var(--s-4) var(--s-5);
  border-bottom: 2px solid var(--c-line);
}

.info__item::before {
  content: counter(punkt, decimal-leading-zero);
  grid-row: span 3;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--c-pink);
}

.info__title {
  margin: 0;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.05;
  text-transform: uppercase;
  hyphens: manual;
}

.info__item p {
  margin-top: var(--s-1);
  color: var(--c-lilac);
}

.info__button {
  justify-self: start;
  margin-top: var(--s-4);
}

.stamp {
  display: inline-block;
  margin-left: 0.2em;
  padding: 0.1em 0.45em;
  background: var(--c-pink);
  color: var(--c-dark);
  font-family: var(--f-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transform: rotate(-4deg);
}

/* Item 01: doors and start side by side, large */
.times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  max-width: 30rem;
}

.time__label {
  margin: 0 0 var(--s-2);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-lilac);
}

@media (min-width: 48rem) {
  .info__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-7);
  }

  .info__item {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    padding-block: var(--s-5) var(--s-6);
  }

  .info__item::before {
    font-size: 2.25rem;
  }
}

/* ---------- About us ---------- */
.about {
  padding-block: var(--s-8);
  background: var(--c-purple);
}

.about__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.about__text .title {
  margin-bottom: var(--s-5);
}

/* Polaroid: mandatory presentation for photos and clips.
   Square image, narrow off-white border, wide bottom border with caption,
   short paper shadow (no glow). All borders in % of the width. */
.polaroid {
  position: relative;
  margin: 0;
  padding: 5% 5% 0;
  background: var(--c-paper);
  box-shadow: var(--shadow-paper);
}

.polaroid__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--c-dark);
}

/* Landscape (3:2, like a wide instant photo) – group photos only */
.polaroid--landscape .polaroid__media {
  aspect-ratio: 3 / 2;
}

.polaroid__caption {
  padding: 5% 2% 7%;
  color: var(--c-dark);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.polaroid__pause {
  position: absolute;
  right: 9%;
  top: 9%;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 var(--s-3);
  border: 2px solid var(--c-white);
  border-radius: var(--radius-pill);
  background: var(--c-dark);
  color: var(--c-white);
  font: 700 0.875rem/1 var(--f-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Placement in the „Über uns“ section: up to three polaroids, slightly offset
   and rotated alternately, as if tossed on a table */
.mood {
  display: grid;
  width: min(100%, 30rem);
  margin-inline: auto;
}

/* Each polaroid lies on top of the next one and only covers its top border,
   so every caption stays visible */
.mood__image--first {
  position: relative;
  z-index: 3;
  width: 76%;
  justify-self: end;
  transform: rotate(2.5deg);
}

.mood__image--second {
  position: relative;
  z-index: 2;
  width: 90%;
  justify-self: start;
  margin-top: -3%;
  transform: rotate(-2deg);
}

.mood__image--third {
  position: relative;
  z-index: 1;
  width: 84%;
  justify-self: end;
  margin-top: -3%;
  transform: rotate(1.5deg);
}

/* Carnival cheer as the closing line – written the way the club writes it, deliberately not uppercase */
.about__cheer {
  margin-top: var(--s-5);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1;
  color: var(--c-yellow);
}

@media (min-width: 56rem) {
  .about__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-8);
  }
}

/* ---------- Follow us ---------- */
.follow {
  padding-block: var(--s-8) var(--s-9);
  background: var(--c-yellow);
  color: var(--c-dark);
}

.follow a:focus-visible {
  outline-color: var(--c-dark);
}

.follow__title {
  font-size: clamp(2.75rem, 1.2rem + 7.5vw, 7.5rem);
  line-height: 0.88;
}

.follow__title::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.75em;
  margin-left: 0.15em;
  vertical-align: -0.04em;
  background: url("../assets/img/herz-rot.png") center / contain no-repeat;
  background-image: image-set(url("../assets/img/herz-rot.webp") type("image/webp"), url("../assets/img/herz-rot.png") type("image/png"));
}

.follow .body-text {
  color: var(--c-dark);
}

.follow__grid {
  margin-top: var(--s-6);
}

.follow__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--s-8) var(--s-7);
  border-top: var(--line-thick) solid var(--c-pink);
  color: var(--c-lilac);
}

.site-footer__grid {
  display: grid;
  gap: var(--s-6);
}

.site-footer__brand img {
  width: 11rem;
}

.site-footer__name {
  margin-top: var(--s-4);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  hyphens: manual;
}

.site-footer__line {
  margin-top: var(--s-1);
}

.site-footer__title {
  margin: 0 0 var(--s-2);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-pink);
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--c-white);
  text-decoration-color: var(--c-line);
}

.site-footer__address {
  padding-block: 0.6rem;
  font-style: normal;
}

.site-footer__list a:hover {
  color: var(--c-yellow);
  text-decoration-color: currentColor;
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: var(--s-7);
  }
}

/* ---------- Subpages (Impressum, Datenschutz, 404) ---------- */
.subpage {
  padding-block: var(--s-8) var(--s-9);
}

.subpage .title {
  margin-bottom: var(--s-6);
}

/* 404: keep the legal notice reachable from every page */
.subpage__legal-links {
  margin-top: var(--s-7);
  line-height: 1.6;
}

.legal-text {
  max-width: 46rem;
  color: var(--c-lilac);
  /* Legal texts are full of long compounds, so hyphenate here */
  hyphens: auto;
  -webkit-hyphens: auto;
}

.legal-text h2 {
  margin: var(--s-7) 0 var(--s-3);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
  hyphens: manual;
}

.legal-text h3 {
  margin: var(--s-5) 0 var(--s-2);
  color: var(--c-white);
  font-size: var(--fs-text);
}

.legal-text p,
.legal-text ul,
.legal-text address {
  margin: 0 0 var(--s-4);
  font-style: normal;
}

.legal-text ul {
  padding-left: 1.2em;
}

.placeholder {
  padding: 0.05em 0.35em;
  background: var(--c-yellow);
  color: var(--c-dark);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
