*,
*::before,
*::after {
  box-sizing: border-box;
}
/*schweinchenrosa #FFC0CB
  grau #ececec
  pink #ff2fd3
  hellrose #e1a6ad
  pflaume für Links: #6E3A5D*/
:root {
  --page-bg: #e1a6ad;
  --accent: #ffffff;
  --links: #6E3A5D;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --content-width: 980px;
  /*--circle-size: min(74vw, 760px);*/
  --circle-size: clamp(320px, 72vw, 900px);
  --font-stack: Arial, Helvetica, sans-serif;
  --text-main: #ffffff;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: var(--font-stack);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100% - 2rem, var(--content-width));
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.hero {
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  text-align: center;
}

.hero__top,
.hero__bottom {
  display: grid;
  gap: 0.55rem;
}

.hero__top p,
.hero__bottom p,
.footer p {
  margin: 0;
  line-height: 1.35;
}

.brand,
.highlight {
  color: var(--links);
  font-weight: 700;
}

.hero__top {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 700;
}

.hero__top h1.brand {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero__bottom {
  font-size: clamp(0.95rem, 1.25vw, 1.4rem);
  font-weight: 700;
}

.hero__image-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__image-circle {
  position: relative;
  width: var(--circle-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d8d8d8;
}

/* NEU/ANGEPASST:
   .slide ist jetzt der gesamte Slide-Container, nicht mehr direkt das img */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Bild innerhalb des Slide-Containers */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional: falls du weiter irgendwo direkt img.slide im Altbestand hast,
   stört das nicht, ist aber praktisch nicht mehr nötig */
img.slide {
  object-fit: cover;
}

/* Text-Slide kann bleiben wie gehabt */
.slide--text {
  display: grid;
  place-items: center;
  padding: 12%;
  background: var(--accent);
  color: var(--page-bg);
  text-align: center;
}

.slide__text-inner {
  max-width: 80%;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  line-height: 1.35;
  font-weight: 700;
}

.slide__text-inner p {
  margin: 0.35rem 0;
}

/* NEU: Caption unten im unteren Bereich des Bildes */
.slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 24%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1.1rem 2rem;
  text-align: center;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0) 100%
  );
}

.slide__caption-inner {
  max-width: 40%;
  color: #ffffff;
}

/* Titel im Bild */
.slide__title {
  margin: 0;
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1.2;
  font-weight: 700;
}

/* zweite Zeile: Ort / Typ / Jahr */
.slide__meta {
  margin: 0.15rem 0 0;
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  line-height: 1.2;
  font-weight: 700;
  opacity: 0.96;
}

/* dritte kleine optionale Zeile */
.slide__desc {
  margin: 0.22rem auto 0;
  font-size: clamp(0.62rem, 0.88vw, 0.76rem);
  line-height: 1.25;
  font-weight: 400;
  opacity: 0.92;

}

.footer {
  width: min(100% - 2rem, var(--content-width));
  margin: 0 auto;
  padding: 0 0 2rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  :root {
    --circle-size: min(86vw, 500px);
  }

  .page {
    width: min(100% - 1.25rem, var(--content-width));
    padding-top: 1.25rem;
  }

  .hero {
    gap: 1.25rem;
  }

  .hero__top,
  .hero__bottom {
    gap: 0.4rem;
  }

  /* Caption auf Mobile etwas breiter / lesbarer */
  .slide__caption {
    min-height: 28%;
    padding: 0.85rem 0.85rem 1rem;
  }

  .slide__caption-inner {
    max-width: 40%;
  }

/*TextBlock*/
  .slide--text {
    padding: 5%;
  }

.slide__text-inner p {
  font-size: 0.8rem;
  line-height: 1.2;
  margin: 0 0 0.35em 0;
  transform: translateY(-2%);
}
/*TextBlock*/

  .footer {
    width: min(100% - 1.25rem, var(--content-width));
    padding-bottom: 1.25rem;
  }
}

.social-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  color: #ffffff;
  width: 28px;
  height: 28px;
  display: block;
}