/* =========================================================
   asien.schleinzer.app — Asia 2027 Teaser
   Nur System-Fonts, keine externen Ressourcen, keine Frameworks.
   ========================================================= */

:root {
  --cream: #F8F5EE;
  --ink: #201d18;
  --paper: #F8F5EE;
  --overlay: rgba(0, 0, 0, 0.15);
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0d0d0d;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* =========================================================
   Hero (mobile-first: volle, unbeschnittene Darstellung)
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-image {
  width: 100%;
  height: auto; /* mobil: volles Bild sichtbar, kein Crop, keine Verzerrung */
}

/* Ab ca. 768px: volle Bildschirmhöhe, formatfüllend */
@media (min-width: 768px) {
  .hero {
    height: 100vh;
    height: 100dvh;
  }

  .hero picture {
    height: 100%;
  }

  .hero-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Sehr dezenter Verlauf für gleichbleibende Lesbarkeit */
.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
}

/* =========================================================
   Textinhalt
   ========================================================= */

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--cream);
}

.title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.25rem, 14vw, 9rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.year {
  margin-top: 0.6em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 4vw, 2rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em; /* optischer Ausgleich für letter-spacing */
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.tagline {
  margin-top: 1.4em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.12em;
  opacity: 0.72;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   Footer — ganz unten, mittig, zurückhaltend
   ========================================================= */

.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  color: var(--cream);
  text-align: center;
  font-family: var(--sans);
}

.copyright {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  opacity: 0.75;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.site-footer nav {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  opacity: 0.75;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.site-footer nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  border-bottom-color: currentColor;
}

.footer-divider {
  margin: 0 0.5em;
  opacity: 0.6;
}

/* =========================================================
   Ladeanimation — dezent, ca. 700ms, einmalig
   ========================================================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero picture,
.overlay {
  animation: fadeIn 700ms ease-out both;
}

.hero-content {
  animation: fadeIn 700ms ease-out 120ms both;
}

.site-footer {
  animation: fadeIn 700ms ease-out 200ms both;
}

@media (prefers-reduced-motion: reduce) {
  .hero picture,
  .overlay,
  .hero-content,
  .site-footer {
    animation: none;
    opacity: 1;
  }
}

/* =========================================================
   Impressum / Datenschutz — ruhige, gut lesbare Seite
   ========================================================= */

.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
}

.legal-content {
  width: 100%;
  max-width: 42rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 3rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.7;
  border-bottom: 1px solid transparent;
}

.legal-back:hover,
.legal-back:focus-visible {
  border-bottom-color: currentColor;
  opacity: 1;
}

.legal-content h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

.legal-content section {
  margin-bottom: 3rem;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.legal-content h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 1.5rem 0 0.4rem;
}

.legal-content p,
.legal-content address {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 0.9rem;
}

.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content hr {
  border: none;
  border-top: 1px solid rgba(32, 29, 24, 0.15);
  margin: 2.5rem 0;
}
