/* Farben aus dem Flyer */
:root {
  --orange:  #ff9a3c;
  --orange-dunkel: #f0862a;
  --pfirsich: #fcca9c;
  --cyan:    #1ff2ff;
  --weiss:   #ffffff;
  --creme:   #fff8bd;
  --hellblau:#a9f1f0;
  --mint:    #b8f5c4;

  /* DIN-ähnliche Schriften, die auf den Geräten schon vorhanden sind
     (keine externen Schrift-Dienste → datenschutzfreundlich) */
  --schrift: "DIN Next LT Pro", "DIN Pro", "D-DIN", "Bahnschrift",
             "Helvetica Neue", Helvetica, Arial, sans-serif;
  --schrift-fett: "DIN Alternate", "DIN Next LT Pro", "Bahnschrift",
             "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--orange-dunkel); overflow-x: hidden; }

body {
  background: var(--orange-dunkel);
  color: var(--creme);
  font-family: var(--schrift);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

/* ---------- Flyer ---------- */
.flyer {
  container-type: inline-size;
  position: relative;
  max-width: 620px;
  min-height: 217cqw;           /* Seitenverhältnis wie der Flyer */
  margin: 0 auto;
  background: var(--orange);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(120, 50, 0, .35);
}

@supports not (container-type: inline-size) {
  .flyer { min-height: 1340px; }
}

.fotos {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42.5%;
  background: var(--pfirsich);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4cqw;
}
.fotos img {
  display: block;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  object-fit: cover;
}

.texte {
  position: relative;
  z-index: 1;
  padding: 4cqw 0 12cqw;
  display: flex;
  flex-direction: column;
  min-height: 217cqw;
}

h1 { font-weight: inherit; }

.zahl {
  display: block;
  padding-left: 11cqw;
  font-size: 42cqw;
  line-height: .9;
  color: var(--cyan);
  font-weight: 300;
  letter-spacing: -.02em;
}

.stadt {
  display: block;
  padding-left: 7cqw;
  margin-top: -1cqw;
  font-family: var(--schrift-fett);
  font-weight: 700;
  font-size: 17.5cqw;
  line-height: 1;
  color: var(--weiss);
  white-space: nowrap;
  transform: rotate(-2.5deg);
  transform-origin: left center;
}

.party { margin-top: auto; }

.location {
  padding-left: 2cqw;
  font-size: 15.4cqw;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: .01em;
}

.termin {
  width: 57.5%;
  text-align: center;
  margin-top: 2cqw;
}
.wochentag { font-size: 8cqw;  line-height: 1.1; font-weight: 400; }
.datum     { font-size: 25cqw; line-height: .95; letter-spacing: -.01em; }
.uhrzeit   { font-size: 13cqw; line-height: 1.1; text-align: left; padding-left: 2cqw; white-space: nowrap; }

.option {
  margin-top: 16cqw;
  color: var(--hellblau);
  font-size: 5.6cqw;
  line-height: 1.12;
  width: 57.5%;
}
.option-titel { padding-left: 4cqw; font-style: italic; white-space: nowrap; }
.option-zeile { padding-left: 5cqw; margin-top: 3cqw; }
.option-ort   { text-align: right; color: var(--mint); font-size: 1.12em; }
.option-zeit  { text-align: right; }

/* ---------- Countdown ---------- */
.countdown {
  max-width: 620px;
  margin: 0 auto;
  padding: 36px 16px 8px;
  background: var(--orange);
  text-align: center;
}
.countdown-titel {
  font-size: 22px;
  font-style: italic;
  color: var(--hellblau);
  margin-bottom: 10px;
}
.countdown-werte {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.countdown-werte span {
  display: block;
  font-size: clamp(40px, 13vw, 76px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.countdown-werte small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--creme);
}
.countdown-ende {
  font-size: clamp(32px, 9vw, 52px);
  color: var(--cyan);
}

/* ---------- Kalender ---------- */
.kalender {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 16px 8px;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.kalender-button {
  display: inline-block;
  padding: 16px 32px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.kalender-button:hover,
.kalender-button:focus-visible {
  background: var(--cyan);
  color: var(--orange-dunkel);
  outline: none;
}
.kalender-google {
  color: var(--creme);
  font-size: 15px;
  opacity: .85;
}

/* ---------- Weitere Infos ---------- */
.infos {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 24px 16px;
  background: var(--orange);
  display: grid;
  gap: 28px;
}
.infos h2 {
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hellblau);
  margin-bottom: 6px;
}
.infos p {
  font-size: 21px;
  line-height: 1.4;
  white-space: pre-line;     /* Zeilenumbrüche (\n) aus inhalt.js übernehmen */
}

.infos .route {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  border: 1.5px solid var(--creme);
  border-radius: 999px;
  color: var(--creme);
  font-size: 16px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.infos .route::before { content: "➜ "; }
.infos .route:hover,
.infos .route:focus-visible {
  background: var(--creme);
  color: var(--orange-dunkel);
  outline: none;
}

.fuss {
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  background: var(--orange);
  font-size: 14px;
  color: var(--creme);
  opacity: .85;
  text-align: center;
}
