/* ✦ EVENTS TOP */

/* ✦ TOP SECTION LAYOUT */

.events-top {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.2rem;
  align-items: start;
  margin-top: 0.6rem;
}

/* ✦ LEFT: VISUAL (POLAROIDS) */

.events-visual {
  padding-top: 0.8rem;
  margin-left: -0.6rem;
}

/* ✦ RIGHT: TEXT AREA */

.events-intro {
  min-width: 0;
}

/* TITLE (same spirit as homepage) */

.events-intro h1 {
  margin: 0.6rem 0 1rem 0;
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 300;
  color: var(--color-heading);
  letter-spacing: 0.01em;
  max-width: calc(100% - 10rem); /* space for note */
}

/* TEXT */

.events-intro p {
  margin: 0 0 0.95rem 0;
  line-height: 1.45;
}

.nowrap {
  white-space: nowrap;
}

/* OPTIONAL: slight breathing room from right edge */

.events-intro {
  padding-right: 0.6rem;
}

/* GUT ZU WISSEN */

 .gut-zu-wissen {
  width: 100%;
  max-width: 560px;
  margin-top: 1.45rem;
  padding: 0.6rem 0.8rem 1rem 0.8rem;

  background: #f5efe2; /* can switch later to blush/pink */
  color: #4a4a4a;
  border-radius: 8px;

  box-shadow:
   0 16px 34px rgba(80, 60, 60, 0.18),
   0 4px 10px rgba(80, 60, 60, 0.10);
}

.gut-title-image {
  display: block;
  width: 150px;
  height: auto;
  margin: 0.35rem auto 0.85rem auto;
}

.gut-zu-wissen ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gut-zu-wissen li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.gut-zu-wissen li:last-child {
  margin-bottom: 0;
}

.gut-zu-wissen li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 60% 40% 50% 50%;
}

/* ✦ POLAROID STACK CONTAINER */

.polaroid-stack {
  position: relative;
  width: 380px;
  height: 470px;
  margin-left: 0.6rem;
  margin-top: 1.8rem;
}

.polaroid {
  position: absolute;
  width: 285px;
  background: #f5efe2;
  padding: 10px 10px 34px;
  border-radius: 3px;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.14),
    0 3px 8px rgba(0,0,0,0.08);
  transform-origin: center center;
  opacity: 1;
  transition:
    top 0.9s ease,
    left 0.9s ease,
    transform 0.9s ease,
    opacity 0.35s ease;
}

.polaroid.leaving {
  opacity: 0;
  z-index: 20;
}

.polaroid img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 
   0 0 0 1px rgba(0,0,0,0.04);
}

.polaroid-caption {
  display: block;
  margin-top: 0.55rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #111111;
  text-align: center;
}

/* ===== EVENTS DETAILS BOX (BLUSH SECTION) ===== */

.events-details-box {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: #ebe4e4;
  border-radius: 8px;
}

/* ===== GRID LAYOUT ===== */

.events-details-split {
  display: grid;
  grid-template-columns: 1.15fr 260px 0.7fr;
  gap: 1.6rem;
  align-items: start;
}

/* ===== LEFT: TEXT ===== */

.details-text h2,
.details-occasions h2 {
  margin: 0 0 0.9rem 0;
}

.details-text {
  padding-left: 0.6rem;
  padding-right: 1.4rem;
  margin-top: 1rem;
}

.details-text p {
  margin: 0 0 0.7rem 0;
  line-height: 1.5;
}

.details-text p:last-child {
  margin-bottom: 0;
}

/* ===== CENTER: FAQ BLOCK ===== */

.details-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.details-center img {
  width: 100%;
  max-width: 190px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  box-shadow:
   0 10px 22px rgba(50, 40, 40, 0.18),
   0 3px 8px rgba(50, 40, 40, 0.1);
}

.details-center-inner {
  width: 100%;
  max-width: 195px;
  padding: 0.85rem 0.9rem 0.95rem;
  background: #faf4f4;   /* soft blush */
  border-radius: 8px;
}

.faq-title {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-heading);
}

.faq-text {
  margin: 0 0 0.55rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.faq-link {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid rgba(66, 74, 109, 0.4);
  line-height: 1.2; /* important */
}

.faq-text a {
  font-size: 0.9rem;
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid rgba(66, 74, 109, 0.4);
}

.faq-text a:hover {
  border-bottom-color: rgba(66, 74, 109, 0.7);
}

/* ===== RIGHT: ANLÄSSE LIST ===== */

.details-occasions {
  text-align: center;
  max-width: 260px;
  margin: 0.6rem auto 0;
}

.occasion-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.occasion-group li {
  margin: 0 0 0.55rem 0;
  line-height: 1.5;
}

.occasion-group li:last-child {
  margin-bottom: 0;
}

/* ✦ CTA */

.events-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.events-cta p {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cta-link {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid rgba(66, 74, 109, 0.4);
  text-transform: none;      /* remove uppercase */
  letter-spacing: normal;
}

/* ===== EVENTS TYPOGRAPHY CONSISTENCY ===== */

.events-intro h1,
.details-text h2,
.details-occasions h2 {
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--color-heading);
}

.events-intro p,
.details-text p,
.occasion-group li,
.events-cta p {
  font-size: 1rem;
  line-height: 1.45;
}

.faq-title {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 400;
  color: var(--color-heading);
}

.faq-text {
  font-size: 0.95rem;
  line-height: 1.45;
}

.faq-link,
.cta-link {
  font-size: 1rem;
  line-height: 1.3;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 980px) {

  .events-intro h1,
  .details-text h2,
  .details-occasions h2 {
  font-size: 1.12rem;
  }

  .events-intro p,
  .details-text p,
  .occasion-group li,
  .events-cta p {
    font-size: 0.96rem;
  }

 .events-top {
    grid-template-columns: 330px 1fr;
    gap: 1.6rem;
    margin-top: 0.4rem;
  }

  .events-visual {
    padding-top: 0;
    margin-left: -0.4rem;
  }

  .polaroid-stack {
    width: 330px;
    height: 420px;
    margin-left: 0;
    margin-top: 1rem;
  }

  .polaroid {
    width: 245px;
    padding: 8px 8px 30px;
  }

  .polaroid img {
    height: 210px;
  }

  .polaroid-caption {
    font-size: 0.92rem;
  }

  .events-intro {
    min-height: 430px;
    padding-right: 0;
    font-size: 0.95rem;
  }

  .events-intro h1 {
    font-size: 1.08rem;
    line-height: 1.3;
    max-width: 100%;
    width: fit-content;
    margin: 0.6rem auto 0.85rem;
    text-align: center;
  }

  .events-intro p {
    margin-bottom: 0.7rem;
    line-height: 1.4;
  }

  .gut-zu-wissen {
    max-width: 100%;
    margin-top: 1rem;
    padding: 0.5rem 0.7rem 0.8rem;
    font-size: 0.93rem;
  }

  .gut-title-image {
    width: 135px;
    margin: 0.2rem auto 0.65rem;
  }

  .gut-zu-wissen li {
    margin-bottom: 0.38rem;
    line-height: 1.33;
  }

  .events-details-box {
    padding: 1.2rem 1.1rem;
  }
  
}

@media (max-width: 980px) and (min-width: 871px) {

  .events-details-split {
    grid-template-columns: 1.25fr 190px 0.85fr;
    gap: 0.8rem;
  }

  .details-center img {
    max-width: 155px;
  }

  .details-center-inner {
    max-width: 165px;
    padding: 0.6rem 0.65rem 0.7rem;
  }

}

@media (max-width: 870px) {

  .details-text h2,
  .details-occasions h2,
  .details-center .faq-title {
    font-size: 1.12rem;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: 0.01em;
  }

  .details-text p,
  .occasion-group li,
  .details-center .faq-text {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  /* TOP EVENT SECTION */
  .events-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .events-visual {
    margin-left: 0;
    padding-top: 0;
  }

  .polaroid-stack {
    width: min(100%, 540px);
    height: 360px;
    margin: 0 auto;
  }

  .events-intro {
    min-height: auto;
    text-align: left;
  }

  .events-intro h1 {
    width: auto;
    max-width: 100%;
    margin: 0.6rem auto 0.9rem;
    text-align: center;
  }

  .gut-zu-wissen {
    max-width: 500px;
    margin: 1.4rem auto 0;
  }

  /* DETAILS SECTION */
  .events-details-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    row-gap: 2rem;
    align-items: start;
  }

  .details-text {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    text-align: center;
    max-width: none;
    width: 100%;
  }

  .details-text h2 {
    font-size: 1.12rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .details-text p {
    max-width: none;
    width: 100%;
    margin: 0 0 0.9rem 0;
    line-height: 1.45;
  }

  .details-occasions {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    align-self: center;
  }

  .details-center {
    grid-column: 2;
    grid-row: 2;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .details-occasions h2,
  .details-center .faq-title {
    font-size: 1.12rem;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--color-heading);
    margin-bottom: 0.8rem;
  }

  .occasion-group li,
  .details-center .faq-text {
    font-size: 0.95rem;
    line-height: 1.45;
  }

}

@media (max-width: 750px) {

  .events-details-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    row-gap: 1.8rem;
  }

  /* TOP BLOCK stays full width */
  .details-text {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }

  .details-text p {
    width: 100%;
    max-width: none;
    margin: 0 0 0.9rem 0;
  }

  /* BOTTOM TWO COLUMNS */
  .details-occasions {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .details-center {
    grid-column: 2;
    grid-row: 2;
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
  }

}

@media (max-width: 650px) {

  .polaroid-stack {
    width: 330px;
    height: 455px;
    margin: 0 auto;
  }

  .events-visual {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding-top: 0.6rem;
    padding-bottom: 0.8rem;
  }

 .events-intro h1 {
    margin-top: 0;
  }

  .events-cta {
    padding-left: 2rem;
    padding-right: 2rem;
  }

}

@media (max-width: 600px) {

  .gut-zu-wissen {
    width: 100%;
    max-width: none;
    margin: 1.4rem 0 0;
  }

}

@media (max-width: 430px) {

  .events-details-split {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .details-text {
    grid-column: 1;
    grid-row: 1;
  }

  .details-occasions {
    grid-column: 1;
    grid-row: 2;
    max-width: 280px;
    margin: 0 auto;
  }

  .details-center {
    grid-column: 1;
    grid-row: 3;
    max-width: 280px;
    margin: 0 auto;
  }

}

@media (max-width: 360px) {

  .events-intro h1,
  .details-text h2,
  .details-occasions h2,
  .details-center .faq-title {
    font-size: 0.98rem;
    line-height: 1.32;
  }

  .events-intro p,
  .details-text p,
  .occasion-group li,
  .details-center .faq-text,
  .events-cta p {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .events-top {
    width: 100%;
    max-width: 100%;
  }

  .events-visual {
    width: 100%;
    overflow: hidden;
  }

 .polaroid-stack {
    width: 280px;
    height: 440px;
    max-width: 100%;
  }

  .polaroid {
    width: 205px;
    padding: 7px 7px 24px;
  }

  .polaroid img {
    height: 175px;
  }

  .polaroid-caption {
    font-size: 0.86rem;
  }

  .events-intro {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .events-intro h1 {
    font-size: 0.98rem;
    line-height: 1.32;
    max-width: 100%;
  }

  .events-intro h1 .nowrap {
    white-space: nowrap;
  }

  .events-intro p {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.48;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

}

@media (max-width: 350px) {

  .events-intro h1 {
    font-size: 0.94rem;
    letter-spacing: 0.005em;
  }

}