/* Seite Nachhaltigkeit: eigene Gestaltung nur fuer diese Seite (Vorlage nachhaltigkeit.php).
   Fotos ueber die volle Breite, grosse leichte Schrift, Abstand statt Rahmen. Der Kopfbereich
   behaelt Hoehe und Aufbau der anderen Seiten (held held-hoch), nur Schleier und Schrift sind eigen. */

/* Fraunces (freie Lizenz OFL, eigene Datei): nur fuer die grossen Saetze und Titel dieser Seite.
   Der Fliesstext bleibt Roboto. Die Hausschrift liegt nur in den Staerken 400 bis 600 vor. */
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}

.nh-held h1,
.nh h2,
.nh-gross,
.nh-zahl-wert b,
.nh-grundsatz h3,
.nh-leit,
.nh-bild p,
.nh-wort-innen p,
.nh-vorsorge li strong {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
}

.nh {
  --nh-gruen: #1E8E3E;
  --nh-tief: #0C3526;
  --nh-tinte: #12241C;
  --nh-leise: #56675E;
  --nh-hauch: #EEF4EE;
  --nh-linie: #D5E2D8;
  --nh-rand: max(1.25rem, calc((100vw - 77.5rem) / 2 + 2.5rem));
  color: var(--nh-tinte);
  background: #fff;
}

.nh svg { display: block; }
.nh img { display: block; }

.nh h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--nh-tinte);
}

/* Kopf: Hoehe wie auf den anderen Seiten, Schleier gruen und nach rechts offen */
.nh-held .held-schleier {
  background: linear-gradient(90deg, rgba(8, 40, 22, 0.66) 0%, rgba(8, 40, 22, 0.32) 44%, rgba(8, 40, 22, 0) 70%);
}
.nh-held > .innen { padding-left: var(--nh-rand); padding-right: var(--nh-rand); max-width: none; }
.nh-held h1 {
  margin: 0 0 0.75rem;
  font-size: 5rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.035em;
}
.nh-held .unterzeile {
  max-width: 34em;
  margin: 0;
  font-size: 1.3125rem;
  line-height: 1.45;
  font-weight: 300;
}

.nh-autor { margin: 0; padding: 1.375rem var(--nh-rand) 0; }

/* Leitsatz */
.nh-satz { padding: 4rem var(--nh-rand) 4.5rem; }
.nh-gross {
  margin: 0;
  max-width: 17.5em;
  font-size: 3.375rem;
  line-height: 1.14;
  font-weight: 300;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.nh-gross + .nh-gross { margin-top: 0.5em; color: var(--nh-gruen); }
.nh-klein { display: inline-block; margin: 2.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--nh-linie); max-width: 28em; font-size: 1.25rem; line-height: 1.55; }

/* Zwei Zahlen mit Quelle */
.nh-zahlen { padding: 0 var(--nh-rand) 4.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.nh-zahl-wert { margin: 0; display: flex; align-items: flex-end; gap: 1.125rem; }
.nh-zahl-wert b {
  font-size: 9rem;
  line-height: 0.82;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--nh-gruen);
}
.nh-zahl-wert span { padding-bottom: 0.625rem; font-size: 1.5rem; font-weight: 300; }
.nh-zahl-satz { margin: 1.75rem 0 0; max-width: 23em; font-size: 1.3rem; line-height: 1.45; }
.nh-zahl-quelle { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--nh-leise); }

/* Grundsaetze: offene Zeilen, getrennt durch eine feine Linie */
.nh-grundsaetze { padding: 0 var(--nh-rand) 1.5rem; }
.nh-grundsaetze > h2 { margin-bottom: 1.25rem; }
.nh-grundsaetze-zwei { padding-top: 2.5rem; }
.nh-grundsatz { padding: 2.25rem 0 2.5rem; border-top: 1px solid var(--nh-linie); }
.nh-grundsatz-kopf { display: grid; grid-template-columns: 6rem 1fr auto; gap: 0 1.75rem; align-items: center; }
.nh-symbol { color: var(--nh-gruen); }
.nh-symbol svg { width: 5.5rem; height: 5.5rem; }
.nh-grundsatz h3 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--nh-tinte);
}
.nh-leit { margin: 0; max-width: 14em; font-size: 1.5rem; line-height: 1.25; font-weight: 300; color: var(--nh-gruen); text-align: right; }
.nh-grundsatz-text { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; margin: 1.75rem 0 0 7.75rem; }
.nh-grundsatz h4 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 500; color: var(--nh-gruen); }
.nh-grundsatz-text p { margin: 0; font-size: 1.12rem; line-height: 1.5; }

/* Bild ueber die volle Breite mit einem Satz */
.nh-bild { position: relative; height: 28.75rem; overflow: hidden; margin-top: 1rem; }
.nh-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nh-bild::after { content: ""; position: absolute; inset: 0; background: rgba(10, 40, 28, 0.34); }
.nh-bild p {
  position: absolute;
  z-index: 2;
  left: var(--nh-rand);
  right: var(--nh-rand);
  bottom: 3.5rem;
  margin: 0;
  max-width: 14em;
  color: #fff;
  font-size: 3.4rem;
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.025em;
}

/* Dunkles Band */
.nh-wort { position: relative; overflow: hidden; margin-top: 2rem; background: var(--nh-tief); color: #fff; }
.nh-wort-bild { position: absolute; right: 0; top: 0; width: 46%; height: 100%; object-fit: cover; opacity: 0.55; }
.nh-wort::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--nh-tief) 54%, rgba(12, 53, 38, 0) 100%); }
.nh-wort-innen { position: relative; z-index: 2; padding: 4.5rem var(--nh-rand); }
.nh-wort-innen p { margin: 0; max-width: 17.5em; font-size: 2.6rem; line-height: 1.2; font-weight: 300; letter-spacing: -0.015em; }

/* Betrieb in drei Bildern, das mittlere versetzt */
.nh-betrieb { padding: 4.5rem var(--nh-rand) 4rem; }
.nh-betrieb-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.nh-betrieb figure { margin: 0; }
.nh-betrieb figure:nth-child(2) { margin-top: 2.5rem; }
.nh-betrieb figure img { width: 100%; height: 27.5rem; object-fit: cover; }
.nh-betrieb h3 { margin: 1.25rem 0 0.375rem; font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; color: var(--nh-tinte); }
.nh-betrieb figcaption p { margin: 0; font-size: 1.08rem; line-height: 1.5; color: var(--nh-leise); }

/* Vorsorge */
.nh-vorsorge { position: relative; overflow: hidden; background: var(--nh-hauch); padding: 4.5rem var(--nh-rand); }
.nh-vorsorge-innen { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.25fr; gap: 4.5rem; }
.nh-vorsorge-kopf h2 { max-width: 11em; }
.nh-vorsorge-kopf p { margin: 1.25rem 0 0; max-width: 22em; font-size: 1.12rem; line-height: 1.5; color: var(--nh-leise); }
.nh-vorsorge ul { list-style: none; margin: 0; padding: 0; }
.nh-vorsorge li { padding: 1.25rem 0; border-top: 1px solid #B7CFBE; }
.nh-vorsorge li:first-child { border-top: 0; padding-top: 0; }
.nh-vorsorge li strong { display: block; font-size: 2.2rem; line-height: 1.1; font-weight: 300; letter-spacing: -0.02em; }
.nh-vorsorge li span { display: block; margin-top: 0.5rem; font-size: 1.12rem; color: var(--nh-leise); }
.nh-grossblatt { position: absolute; left: -4.5rem; bottom: -9.5rem; width: 26rem; height: 26rem; color: #C5DCCB; }

/* Tablet */
@media (max-width: 1099px) {
  .nh-held h1 { font-size: 4rem; }
  .nh-gross { font-size: 2.5rem; }
  .nh-zahl-wert b { font-size: 7rem; }
  .nh-grundsatz h3 { font-size: 3.2rem; }
  .nh-bild p { font-size: 2.6rem; }
  .nh-wort-innen p { font-size: 2.1rem; }
}

/* Handy: alles einspaltig, Schrift kleiner, Schleier ueber die ganze Breite */
@media (max-width: 767px) {
  .nh h2 { font-size: 1.875rem; }
  .nh-held .held-schleier { background: rgba(8, 40, 22, 0.5); }
  .nh-held h1 { font-size: 2.75rem; letter-spacing: -0.025em; font-weight: 300; }
  .nh-held .unterzeile { font-size: 1.0625rem; }
  .nh-satz { padding-top: 2.5rem; padding-bottom: 2.75rem; }
  .nh-gross { font-size: 1.75rem; line-height: 1.22; }
  .nh-klein { margin-top: 1.25rem; font-size: 1.0625rem; }
  .nh-zahlen { grid-template-columns: 1fr; gap: 2.25rem; padding-bottom: 2.75rem; }
  .nh-zahl-wert b { font-size: 5.5rem; -webkit-text-stroke-width: 1px; }
  .nh-zahl-wert span { font-size: 1.25rem; padding-bottom: 0.375rem; }
  .nh-zahl-satz { margin-top: 1.125rem; font-size: 1.125rem; }
  .nh-grundsaetze > h2 { margin-bottom: 1.25rem; }
  .nh-grundsaetze-zwei { padding-top: 2.5rem; }
  .nh-grundsatz { padding: 2rem 0 2.25rem; }
  .nh-grundsatz-kopf { grid-template-columns: 3.25rem 1fr; gap: 0.25rem 1rem; }
  .nh-symbol svg { width: 3.25rem; height: 3.25rem; }
  .nh-grundsatz h3 { font-size: 2.25rem; font-weight: 300; }
  .nh-leit { grid-column: 1 / -1; max-width: none; margin-top: 0.75rem; font-size: 1.25rem; text-align: left; }
  .nh-grundsatz-text { grid-template-columns: 1fr; gap: 1.25rem; margin: 1.25rem 0 0; }
  .nh-grundsatz-text p { font-size: 1.0625rem; }
  .nh-bild { height: 20rem; margin-top: 0.5rem; }
  .nh-bild p { bottom: 1.75rem; font-size: 1.875rem; font-weight: 300; }
  .nh-wort { margin-top: 1.5rem; }
  .nh-wort-bild { width: 100%; opacity: 0.22; }
  .nh-wort::after { display: none; }
  .nh-wort-innen { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .nh-wort-innen p { font-size: 1.5rem; line-height: 1.28; }
  .nh-betrieb { padding-top: 2.75rem; padding-bottom: 2.5rem; }
  .nh-betrieb-raster { grid-template-columns: 1fr; gap: 2rem; margin-top: 1.5rem; }
  .nh-betrieb figure:nth-child(2) { margin-top: 0; }
  .nh-betrieb figure img { height: 14rem; }
  .nh-betrieb h3 { margin-top: 0.875rem; font-size: 1.3125rem; }
  .nh-vorsorge { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .nh-vorsorge-innen { grid-template-columns: 1fr; gap: 2rem; }
  .nh-vorsorge li strong { font-size: 1.625rem; font-weight: 300; }
  .nh-vorsorge li span { font-size: 1.0625rem; }
  .nh-grossblatt { display: none; }
}
