/* =====================================================
   1. DESIGN TOKENS
   ===================================================== */

:root {
  --bg-dark: #0F1C2E;

  --accent: #4FA3B3;
  --accent-hover: #7fd6df;

  --text-light: #ffffff;
  --text-muted: #cfd6dc;

  --text-axis: 30px;
  --text-width: 560px; /* EINHEITLICHE LESEBREITE */
}


/* =====================================================
   2. RESET / BASE
   ===================================================== */

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

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--text-light);
}


/* =====================================================
   3. PAGE LAYOUT
   ===================================================== */

.page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.left {
  background: url("../rew1.jpg") center / cover no-repeat;
}

.page-journalist .left {
  background: url("../rew2.jpg") center / cover no-repeat;
}

.page-dozent .left {
  background: url("../rew3.jpg") center / cover no-repeat;
}

.page-biersommelier .left {
  background: url("../rew4.jpg") center / cover no-repeat;
}

.right {
  background: var(--bg-dark);
  padding: 200px 110px 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}


/* =====================================================
   4. TYPOGRAPHY
   ===================================================== */

.name {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
  font-size: 1.4rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.01em;
}

/* Claim */

.claim {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.45rem;
  line-height: 1.7;
  max-width: var(--text-width);
  margin: 30px 0 48px;
  padding: 20px 30px 20px var(--text-axis);
  font-style: italic;
  color: var(--text-muted);
  position: relative;
  opacity: 0.95;
}
/*
.claim-sub {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.45rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-muted);
  max-width: var(--text-width);
  padding-left: var(--text-axis);
  margin: 10px 0 20px;
}
*/
.claim-sub {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.40rem;
  line-height: 1.7;
  max-width: var(--text-width);
  margin: 30px 0 48px;
  padding: 20px 30px 20px var(--text-axis);
  font-style: italic;
  color: var(--text-muted);
  position: relative;
  opacity: 0.95;
}

.claim::before,
.claim::after {
  position: absolute;
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
}

.claim::before {
  content: "“";
  top: 0;
  left: 0;
}

.claim::after {
  content: "”";
  bottom: -20px;
}

/* Claim-Links */

.claim a {
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.claim a:hover {
  color: var(--accent-hover);
  transform: translateY(-2px);
  opacity: 0.85;
}

.claim.no-quotes::before,
.claim.no-quotes::after {
  content: none;
}






/* =====================================================
   5. FLIESS­TEXT (EINHEITLICH)
   ===================================================== */

.text-content {
  max-width: var(--text-width);
  padding-left: var(--text-axis);
  line-height: 1.7;
}

.text-content p {
  margin-bottom: 1.1em;
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Fliesstext-Links */

.text-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.text-content a:hover {
  color: var(--accent-hover);
  opacity: 0.9;
}

/* Inline-Kontaktlink (kein Umbruch) */

.inline-contact {
  white-space: nowrap;
  font-weight: 500;
}


/* =====================================================
   6. ROLES / NAVIGATION
   ===================================================== */

.roles {
  width: var(--text-width);
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-left: var(--text-axis);
}

.role {
  text-decoration: none;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.role.visible {
  opacity: 1;
  transform: translateY(0);
}

.role h3 {
  color: var(--accent);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin: 0;
  transition: color 0.25s ease;
}

.role:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.role:hover h3 {
  color: var(--accent-hover);
}

/* =====================================================
   STARTSEITE – FEINABSTÄNDE
   ===================================================== */

/* Claim → Subline */
.page-home .claim {
  margin-bottom: -20px;   /* Abstand Zitat zu das tue ich als */
}

/* "Das tue ich als:" */
.page-home .claim-sub {
  margin-top: 0;
  margin-bottom: 20px;   /* Abstand zur Navigation */
}

/* Rollen (JOURNALIST / DOZENT / BIERSOMMELIER) */
.page-home .roles {
  margin-top: 0;         /* Abstand kommt bewusst von claim-sub */
}


/* =====================================================
   7. CONTACT CTA
   ===================================================== */

.contact-bottom {
  position: absolute;
  top: 40px;
  right: 110px;
}

.contact-muted .role h3 {
  color: var(--text-muted);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.contact-muted .role:hover h3 {
  color: var(--accent);
}


/* =====================================================
   8. WORKS (JOURNALIST)
   ===================================================== */

.works-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 18px;
}

.works-inner {
  max-width: var(--text-width);
  padding-left: var(--text-axis);
}

.year {
  margin: 28px 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.work-list {
  list-style: none;
}

.work-list li {
  margin-bottom: 0.85rem;
}

.work-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.work-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* =====================================================
   JOURNALIST – CLAIM → LISTE KOMPAKTER
   ===================================================== */

.page-journalist .claim {
  margin-bottom: 20px;
}
/*
.page-journalist .year:first-child {
  margin-top: 12px;
  */
}


/* =====================================================
   9. ANIMATIONS
   ===================================================== */

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-image {
  opacity: 0;
  transition: opacity 2.2s ease;
}

.fade-image.visible {
  opacity: 1;
}


/* =====================================================
   10. RESPONSIVE
   ===================================================== */

@media (max-width: 600px) {

  .page {
    grid-template-columns: 1fr;
  }

  .left {
    display: none;
  }
  
    /* STARTSEITE: Bild anzeigen */
  .page-home .left {
    display: block;
    height: 220px;                /* ← Bildhöhe */
    width: 100%;
      background-position: center 30%;

  }
  
      /* Biersommelier: Bild anzeigen */
  .page-biersommelier .left {
    display: block;
    height: 220px;                /* ← Bildhöhe */
    width: 100%;
      background-position: center 10%;

  }
  
        /* Dozent: Bild anzeigen */
  .page-dozent .left {
    display: block;
    height: 220px;                /* ← Bildhöhe */
    width: 100%;
      background-position: center 10%;

  }
  
        /* Journalist: Bild anzeigen */
  .page-journalist .left {
    display: block;
    height: 220px;                /* ← Bildhöhe */
    width: 100%;
      background-position: center 20%;

  }
  
    /* Startseite: kein Weiß zwischen Bild und Text */
  .page-home .page {
    background: var(--bg-dark);
  }
  
    .page-home .right {
    padding-top: 40px;
  }
  
.page-home .left {
  opacity: 0.85;
}

  .page-home .page {
    grid-template-columns: 1fr;   /* eine Spalte */
  }

  .right {
    padding: 80px 24px 40px;
  }

  h1 {
    font-size: 2rem;
  }

  .claim .claim-sub{
    font-size: 1.1rem;
    padding: 14px 18px;
    padding-left: 18px;
  }

  .roles {
    flex-direction: column;
    width: 100%;
    padding-left: 0;
    gap: 20px;
  }

 .contact-bottom {
    top: 30px;
    right: 30px;
  }

  .contact-bottom .role h3 {
    font-size: 0.89rem;
    letter-spacing: 0.06em;
  }
}

  .works-scroll {
    overflow: visible;
  }
}


/* Landscape */

@media (max-width: 900px) and (orientation: landscape) {
 
 .page {
    grid-template-columns: 1fr;   /* WICHTIG */
    min-height: auto;
    background: var(--bg-dark);   /* verhindert Weißblitzen */
  }

  .left {
    display: none;
  }

  .right {
    padding: 40px 24px;
    width: 100%;
    min-height: auto;
  }
  
}
