/* Event Center Riem – Coming Soon. Tokens aus dem Brandkit (Version 1.4). */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --paper: #F5F2EC; --beige: #E9E3D8; --forest: #2E3F32; --champagner: #D6C3A0;
  --fresh: #BAC7A2; --charcoal: #1A1A1A;
  --line: rgba(214, 195, 160, .35);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  font-variant-numeric: lining-nums;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  padding: 64px 80px 48px;
  text-align: center;
  background-color: var(--forest);
  background-image:
    linear-gradient(180deg, rgba(46,63,50,.78) 0%, rgba(46,63,50,.70) 45%, rgba(46,63,50,.94) 100%),
    url("img/hero-1920.jpg");
  background-image:
    linear-gradient(180deg, rgba(46,63,50,.78) 0%, rgba(46,63,50,.70) 45%, rgba(46,63,50,.94) 100%),
    image-set(url("img/hero-1280.jpg") 1x, url("img/hero-1920.jpg") 2x);
  background-size: cover;
  background-position: center;
}
@media (min-width: 1400px) {
  .page {
    background-image:
      linear-gradient(180deg, rgba(46,63,50,.78) 0%, rgba(46,63,50,.70) 45%, rgba(46,63,50,.94) 100%),
      url("img/hero-1920.jpg");
  }
}

.kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fresh);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 760px;
}
.hero h1 { margin: 0; line-height: 0; }
.facts span { white-space: nowrap; }
.logo { width: 260px; height: auto; display: block; }
.rule { width: 56px; height: 1px; background: var(--champagner); display: block; }
.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .14em;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Gem 01 · Text Rotate, Variante „Ruhig“ (Brandkit): wechselndes Wort im eckigen Champagner-Rahmen */
.tr-rotator {
  position: relative;
  display: inline-flex;
  box-sizing: content-box;
  height: 1.15em;
  line-height: 1.15em;
  letter-spacing: -0.01em;
  background: var(--champagner);
  color: var(--forest);
  font-style: italic;
  white-space: nowrap;
}
.tr-fallback { padding: 0 .32em; }
.js .tr-rotator {
  overflow: hidden;
  will-change: width;
  transition: width .8s cubic-bezier(.65, 0, .35, 1);
}
.tr-word { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; padding: 0 .32em; white-space: nowrap; }
.tr-char { display: inline-block; white-space: pre; transform: translateY(115%); opacity: 0;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1) calc(var(--i, 0) * 30ms), opacity .6s linear calc(var(--i, 0) * 30ms); }
.tr-word--in .tr-char { transform: translateY(0); opacity: 1; }
.tr-word--out .tr-char { transform: translateY(-125%); opacity: 0;
  transition: transform .65s cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * 24ms), opacity .45s linear calc(var(--i, 0) * 24ms); }
@media (prefers-reduced-motion: reduce) {
  .js .tr-rotator { transition-duration: .001ms; }
  .tr-char, .tr-word--out .tr-char { transform: none; transition: opacity .25s linear, transform .001ms; }
  .tr-word--out .tr-char { opacity: 0; }
}
.lead {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--beige);
}

.button {
  height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--champagner);
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.button .arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.button:hover { background: var(--paper); }
.button:hover .arrow { transform: translateX(4px); }
.button:focus-visible, .contact a:focus-visible { outline: 2px solid var(--champagner); outline-offset: 4px; }

.contact {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  text-decoration: none;
  transition: color .3s var(--ease-out);
}
.contact a:hover { color: var(--champagner); }
.contact .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fresh);
}
.contact .value { font-size: 15px; font-weight: 400; }

/* Tablet */
@media (max-width: 1024px) {
  .page { padding: 56px 40px 40px; }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

/* Handy */
@media (max-width: 640px) {
  .page {
    gap: 40px;
    padding: 40px 24px calc(32px + env(safe-area-inset-bottom));
    background-image:
      linear-gradient(180deg, rgba(46,63,50,.80) 0%, rgba(46,63,50,.72) 40%, rgba(46,63,50,.96) 100%),
      url("img/hero-mobil.jpg");
  }
  .hero { gap: 20px; }
  .logo { width: 180px; }
  .rule { width: 40px; }
  .headline { font-size: 38px; }
  .lead { font-size: 16px; }
  .button { width: 100%; }
  .contact { display: flex; flex-direction: column; gap: 0; padding-top: 0; border-top: 0; text-align: left; }
  .contact a {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    border-top: 1px solid var(--line);
  }
  .contact a:last-child { border-bottom: 1px solid var(--line); }
  .contact .value { font-size: 14px; text-align: right; }
}

/* Ruhiges Einblenden: opacity + 8 px, 0,9 s, 80 ms Versatz */
@media (prefers-reduced-motion: no-preference) {
  .fade { opacity: 0; transform: translateY(8px); animation: einblenden .9s var(--ease-out) forwards; }
  .fade:nth-child(1) { animation-delay: .08s; }
  .fade:nth-child(2) { animation-delay: .16s; }
  .fade:nth-child(3) { animation-delay: .24s; }
  .fade:nth-child(4) { animation-delay: .32s; }
  .fade:nth-child(5) { animation-delay: .40s; }
  .fade:nth-child(6) { animation-delay: .48s; }
  .contact.fade { animation-delay: .56s; }
}
@keyframes einblenden { to { opacity: 1; transform: none; } }
