/* =========================================================================
   GESCHICHTEN AUS DEM EDEL – Landingpage
   -------------------------------------------------------------------------
   Aufbau:
   1. Reset / Base
   2. Page Layout (zweispaltig auf Desktop, gestapelt auf Mobile)
   3. Poster (Grafik links)
   4. Content (Text + Formular-Platzhalter rechts)
   5. Responsive
   ========================================================================= */

/* 1. RESET / BASE ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-magenta: #ff71f1;
  --c-magenta-dark: #c800b8;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

strong {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--c-magenta-dark);
}

a:focus-visible {
  outline: 2px solid var(--c-magenta-dark);
  outline-offset: 2px;
}

/* 2. PAGE LAYOUT =========================================================== */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* 3. POSTER (links) ======================================================== */
.poster {
  width: 100%;
}

.poster img {
  width: 100%;
}

/* 4. CONTENT (rechts) ====================================================== */
.content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 540px;
}

.content__title {
  font-size: clamp(1.4rem, 2.2vw, 1.875rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.content p {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.55;
}

.upload-dashboard {
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .poster {
    max-width: 480px;
    margin: 0 auto;
  }

  .content {
    max-width: 100%;
  }
}

/* =========================================================================
   6. DOKUMENT-SEITE
   ========================================================================= */

.page--document {
  display: block;
  max-width: 64rem;
}

.document {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.document__header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
}

.document__eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 0.75rem;
}

.document__header h1 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.document__intro {
  font-size: 1.0625rem;
  color: #333;
}

.document h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
}

.document p {
  margin-bottom: 0.875rem;
}

.document ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.document li {
  margin-bottom: 0.4rem;
}

.document__address {
  background: #f7f7f7;
  border-left: 3px solid #1a1a1a;
  padding: 1rem 1.25rem;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.7;
}

.document__note {
  font-size: 0.9375rem;
  color: #555;
  font-style: italic;
  border-left: 3px solid var(--c-magenta-dark);
  padding: 0.5rem 1rem;
  margin: 0.5rem 0 1rem;
}

.document__divider {
  border: none;
  border-top: 1.5px solid #1a1a1a;
  margin: 1.5rem 0;
}

.document__footer {
  border-top: 1px solid #ddd;
  padding-top: 1.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #666;
}

/* =========================================================================
   8. SITE HEADER (auf allen Seiten gleich)
   ========================================================================= */

.site-header {
  background: #000;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);

  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header__logo {
  display: inline-block;
}

.site-header__logo img {
  display: block;
  height: 48px;
  width: auto;
}

.site-header__logo:focus-visible {
  outline: 2px solid var(--c-magenta);
  outline-offset: 4px;
}

/* =========================================================================
   9. SITE FOOTER (auf allen Seiten gleich)
   ========================================================================= */

.site-footer {
  border-top: 1px solid #ddd;
  margin-top: 4rem;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  font-size: 0.9375rem;
  color: #555;

  /* alles zentriert, zwei Zeilen untereinander */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.site-footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer__nav li + li::before {
  content: '·';
  margin-right: 0.75rem;
  color: #aaa;
}

.site-footer__nav a {
  color: #555;
}

.site-footer__nav a[aria-current='page'] {
  color: #1a1a1a;
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--c-magenta-dark);
}

.site-footer__copyright {
  color: #888;
  font-size: 0.875rem;
}
