/* Farben/Variablen */
:root{
  --gold: #d1b48c;
  --gold-2: #c2a873;
  --gold-3: #e0c9a1;
  --bg-overlay: rgba(0,0,0,0.65);
  --text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  --card-bg: rgba(0,0,0,0.7);
  --border: 1px solid rgba(209,180,140,0.18);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; height:100%; }

body{
  font-family: 'Cinzel', serif;
  background: url('assets/background.png') no-repeat center center fixed;
  background-size: cover;
  color: var(--gold);
  text-align: center;
  line-height: 1.5;
}

.overlay{
  background: var(--bg-overlay);
  min-height: 100vh;
  padding: 60px 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero{
  position: relative;              /* wichtig für das Overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  max-width: 900px;
  width: min(92vw, 900px);
}

/* **Nur hier schweben die Zeilen**:
   feste, responsive Höhe für die Whisper-Zone, damit die Positionierungen sauber sind */
.hero-overlay{
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: clamp(240px, 42vh, 520px);  /* passt sich an, bleibt über Tagline */
  pointer-events: none;
  z-index: 5;
}

/* Logo & Typo */
.logo{
  width: 400px;
  max-width: 90vw;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.8));
  margin: 0 0 20px;
}

h1{
  font-size: 3rem;
  margin: 0 0 6px;
  color: var(--gold);
  text-shadow: var(--text-shadow);
}

.tagline{ color: var(--gold-2); }

/* Whisper-Elemente – absolut innerhalb der hero-overlay */
.whisper-float{
  position: absolute;
  left: 50%; top: 50%;              /* wird durch JS überschrieben */
  max-width: 70%;                    /* weniger breit → bessere Platzierung */
  text-align: center;
  pointer-events: none;
  z-index: 6;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-2);
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.98);
  transition: opacity 1200ms ease, transform 1200ms ease;
}

a{
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease, opacity .2s ease;
}
a:hover{ color: var(--gold-3); text-decoration: underline; }

.content{
  max-width: 760px; margin: 60px auto; padding: 24px 22px;
  background: var(--card-bg); border-radius: 12px; border: var(--border);
  text-align: left; color: var(--gold);
}
.content p, .content li{ color: var(--gold-2); }

@media (max-width:1024px){
  h1{ font-size: 2.6rem; }
}
@media (max-width:768px){
  .logo{ width: 250px; }
  h1{ font-size: 2.2rem; }
  .overlay{ padding-top: 70px; padding-bottom: 50px; }
  .content{ margin: 40px 16px; padding: 20px 18px; }
}
@media (max-width:420px){
  .logo{ width: 220px; }
  h1{ font-size: 2rem; }
}

.impressum {
  font-family: 'Cinzel', serif;
  background: rgba(0,0,0,0.75);
  border: var(--border);
  color: var(--gold);
  text-align: left;
  line-height: 1.6;
}

.impressum h1 {
  text-align: center;
  color: var(--gold);
  text-shadow: var(--text-shadow);
  margin-bottom: 24px;
}

.impressum p {
  margin: 12px 0;
  font-size: 1.05rem;
  color: var(--gold-2);
}

.impressum a {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 600;
}
.impressum a:hover {
  color: var(--gold-3);
  text-decoration: underline;
}
