/*
  Michael Ringeisen – Homepage Refresh 29.08.2026
  Ergänzt die bestehende /assets/styles.css.
  Ziel: neue Personal-Brand-Heroebene + drei Themenblöcke,
  ohne die bestehende CI und die nachfolgenden Seitenbereiche anzutasten.
*/

:root {
  --mr-navy: #0b2342;
  --mr-blue-grey: #586a82;
  --mr-gold: #b18a4a;
  --mr-line: #dfe3e8;
  --mr-soft: #f7f7f5;
  --mr-white: #ffffff;
}

/* Hero: bewusst ohne Eyebrow/Subheadline oberhalb der Headline */
.hero-refresh {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3.25rem, 6vw, 6rem);
  padding-bottom: clamp(2.75rem, 5vw, 5rem);
  background: var(--mr-white);
}

.hero-refresh .hero-copy {
  align-self: center;
}

.hero-refresh .hero-copy h1 {
  margin: 0;
  max-width: none;
  color: var(--mr-navy);
  font-size: clamp(3.35rem, 4.55vw, 4.9rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
}

.hero-refresh .hero-copy h1 > span {
  display: block;
  white-space: nowrap;
}

.hero-refresh .hero-copy .lead {
  max-width: 44rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  color: var(--mr-blue-grey);
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  line-height: 1.58;
}

.hero-principle {
  max-width: 45rem;
  margin: clamp(1.35rem, 2.5vw, 2rem) 0 0;
  color: var(--mr-navy);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.5;
}

.hero-principle strong {
  font-weight: 700;
}

.hero-refresh .hero-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #ecebea;
  min-height: clamp(28rem, 36vw, 38rem);
}

.hero-refresh .hero-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Die bisherige große 01 im Hero wird in der neuen Positionierung nicht benötigt. */
.hero-refresh .hero-index,
.hero-refresh .hero-actions,
.hero-refresh .eyebrow,
.hero-refresh figcaption {
  display: none !important;
}

/* Drei Themenblöcke direkt unter dem Hero */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--mr-white);
  border-top: 1px solid var(--mr-line);
  border-bottom: 1px solid var(--mr-line);
  padding: 0 clamp(2rem, 5vw, 5rem);
}

.topic-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 2.5vw, 2.5rem);
  align-items: start;
  padding: clamp(2.5rem, 4.5vw, 4.25rem) clamp(1.5rem, 3vw, 3.25rem);
  min-height: 15rem;
}

.topic-card + .topic-card {
  border-left: 1px solid var(--mr-line);
}

.topic-number {
  color: var(--mr-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 4.6vw, 5rem);
  line-height: 0.9;
  font-weight: 400;
}

.topic-card h2 {
  margin: 0 0 0.85rem;
  color: var(--mr-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.topic-card p {
  max-width: 22rem;
  margin: 0;
  color: var(--mr-blue-grey);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}

/* Navigation: neue Menülogik, bestehende CI bleibt bestehen */
.site-header nav a {
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .hero-refresh {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 2rem;
  }

  .hero-refresh .hero-copy h1 {
    font-size: clamp(3rem, 5vw, 4rem);
  }

  .topic-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 820px) {
  .hero-refresh {
    grid-template-columns: 1fr;
    padding-top: 2.75rem;
  }

  .hero-refresh .hero-copy h1 {
    max-width: none;
  }

  .hero-refresh .hero-copy h1 > span {
    white-space: normal;
  }

  .hero-refresh .hero-image {
    min-height: 27rem;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    padding: 0 clamp(1.25rem, 5vw, 2rem);
  }

  .topic-card {
    grid-template-columns: auto 1fr;
    min-height: 0;
    padding: 2.25rem 0;
  }

  .topic-card + .topic-card {
    border-left: 0;
    border-top: 1px solid var(--mr-line);
  }
}

@media (max-width: 600px) {
  .hero-refresh .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .hero-refresh .hero-image {
    min-height: 23rem;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-number {
    font-size: 3.2rem;
  }
}

/* Footer 29.08.2026: nur in der HÖHE kompakter. Horizontale Originalbreite bleibt unangetastet. */
footer {
  padding-top: 1.45rem !important;
  padding-bottom: 1.45rem !important;
}

@media (max-width: 820px) {
  footer {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}
