/* Inhaltsblöcke (docs/05 Abschnitt 6). Werte aus Elementor post-2 (Startseite) und den Messungen in docs/05.
   Kernblöcke 3B: Hero, Kennzahlen, Teaser-Kacheln. Übrige Blöcke als Grundform, Feinschliff in 4A. */

/* ---------------- K08 Hero (Startseite) ---------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 850px;
  margin-top: -150px;               /* liegt unter dem Kopf */
  background: var(--hero-bild) center / cover no-repeat;
}
.hero__innen { position: relative; }
.hero__titel { font-weight: 600; margin: 0; }
.hero__zeile { display: block; font-family: var(--font-display); font-weight: 600; }
/* Fettung wie live, aber scharf: Univers gibt es nur in einem Schnitt. Live fettet Chrome künstlich (Skia: Kontur von 1/32 der
   Schriftgröße um jede Glyphe), Safari zeichnet den Text dagegen zweimal um 1 px versetzt, was beim Vergrößern unscharf wirkt.
   Darum keine künstliche Fettung (font-weight 100 900 in tokens.css, font-synthesis: none), sondern dieselbe Kontur als Vektor:
   sieht in Chromium und WebKit gleich aus und bleibt bei jedem Zoom scharf. Laufweite unverändert wie in Chrome live. */
.hero__zeile { font-synthesis: none; -webkit-text-stroke: 0.03125em currentColor; paint-order: stroke fill; }
.hero--start .hero__zeile--1 {
  margin-right: 45px;
  text-align: right;
  font-size: 100px;
  line-height: 0.5em;
  color: rgb(155, 150, 150);         /* live rgba(155,150,150,.63): Deckkraft über opacity, sonst wäre die Kontur über der Füllung dunkler */
  opacity: 0.63;
}
/* Grundlinie exakt auf der Bandkante, unabhängig von den Schriftmetriken des Browsers
   (Safari setzte sie mit line-height 0.5em einige Pixel tiefer); Unterlängen wie g ragen ins Band */
@supports (text-box-trim: trim-end) {
  .hero--start .hero__zeile--1 { line-height: 1; text-box-trim: trim-end; text-box-edge: text alphabetic; }
}
.hero--start .hero__zeile--2 {
  position: absolute;
  left: 731px; right: 0;
  bottom: 61px;                     /* live: margin-top -111 px unter dem Band */
  text-align: center;
  font-size: 50px;
  line-height: 1;
  color: var(--color-yellow);
}
.hero__band {
  margin: 0;
  padding: 14px 0 80px;
  background-color: var(--color-hero-band);
  text-align: center;
  font: 200 24px/1 var(--font-display);
  text-transform: uppercase;
  color: var(--color-white);
  font-kerning: none;               /* Univers kernt „V T“ in Chrome auf 3 px: „INNOVATIVTECHNISCHE“. Safari zeigt live das Leerzeichen */
}

@media (max-width: 1024px) {
  .hero { min-height: 500px; margin-top: -40px; }
  .hero--start .hero__zeile--1 { font-size: 71px; }
  .hero--start .hero__zeile--2 { left: 0; right: 59px; bottom: 46px; text-align: right; font-size: 36px; }
  .hero__band { padding: 14px 99px 60px 0; font-size: 19px; }
}
@media (max-width: 767px) {
  .hero { min-height: 575px; margin-top: 0; background-image: var(--hero-bild-mobil, var(--hero-bild)); }
  .hero--start .hero__zeile--1 { margin-right: 28px; font-size: 38px; }
  .hero--start .hero__zeile--2 { right: 30px; bottom: 12px; font-size: 26px; }
  .hero__band { padding: 7px 0 40px 21px; text-align: left; font-size: 14px; }
}

/* Kontakt-Hero (V04), gemessen live bei 1650/1440/768/375 (2026-11-23):
   „ein starkes“ mittig im Bereich ab 400 px (Tablet 272 px), Grundlinie auf der Bandkante;
   „team“ mittig im Bereich ab 701 px, 10 px unter der Bandkante; Bandzeile mittig ab 128 px. */
.hero--kontakt .hero__zeile--1 { margin-left: 400px; font-size: 110px; line-height: 0.5em; color: var(--color-white); text-align: center; }
@supports (text-box-trim: trim-end) {
  .hero--kontakt .hero__zeile--1 { line-height: 1; text-box-trim: trim-end; text-box-edge: text alphabetic; }
}
.hero--kontakt .hero__zeile--2 { position: absolute; left: 701px; right: 0; bottom: 49px; font-size: 62px; line-height: 1; color: var(--color-yellow); text-align: center; }
.hero--kontakt .hero__band { padding: 14px 0 80px 128px; font-size: 27px; }
@media (max-width: 1024px) {
  .hero--kontakt .hero__zeile--1 { margin-left: 272px; font-size: 57px; }
  .hero--kontakt .hero__zeile--2 { left: 0; right: 144px; bottom: 46px; text-align: right; font-size: 36px; }
  .hero--kontakt .hero__band { padding: 14px 0 60px; font-size: 19px; }
}
@media (max-width: 767px) {
  .hero--kontakt .hero__zeile--1 { margin: 0 28px 0 0; font-size: 38px; }
  .hero--kontakt .hero__zeile--2 { right: 67px; bottom: 33px; font-size: 26px; }
  .hero--kontakt .hero__band { padding: 7px 0 40px 21px; text-align: left; font-size: 14px; }
}
/* Unter 36 px fettet Chrome etwas stärker (Skia: 1/24 bei 9 px bis 1/32 ab 36 px) */
@media (max-width: 767px) { .hero__zeile--2 { -webkit-text-stroke-width: 0.035em; } }

/* ---------------- K09 Kennzahlen ---------------- */
.kennzahlen { display: flex; align-items: center; min-height: 251px; background-color: var(--color-olive-light); }
.kennzahlen__innen { display: flex; width: 100%; max-width: 1200px; margin-inline: auto; padding: 10px; }
.kennzahl { flex: 1 1 0; min-width: 0; padding: 10px; text-align: center; }
.kennzahl__zahl {
  display: flex; justify-content: center;
  margin: 20px 0 0;
  font: 600 69px/1 var(--font-body);
  color: var(--text-counter);
}
.kennzahl__praefix { flex-grow: 1; text-align: right; white-space: pre-wrap; }
.kennzahl__suffix { flex-grow: 1; text-align: left; white-space: pre-wrap; }
.kennzahl__platz { display: block; height: 47.5px; margin-bottom: -20px; }
.kennzahl__text { text-align: center; }

@media (max-width: 767px) {
  .kennzahlen { padding: 30px 0; }
  .kennzahlen__innen { flex-direction: column; }
}

/* ---------------- K10 Teaser-Kacheln ---------------- */
.teaser { padding: 70px; }
.teaser__innen { display: flex; max-width: 1140px; min-height: 400px; margin-inline: auto; }
.teaser__kachel {
  flex: 1 1 0; min-width: 0;
  margin: 0 50px 50px;
  padding: 70px;
  background: var(--teaser-bild) center / cover no-repeat;
}
.teaser__titel { margin-left: -92px; font: 600 24px/1 var(--font-body); }
.teaser__titel a, .teaser__titel span { color: var(--text-grey); }

@media (max-width: 1024px) {
  .teaser { padding: 34px; }
  .teaser__kachel { padding: 34px; }
}
@media (max-width: 767px) {
  .teaser { padding: 18px; }
  .teaser__innen { flex-direction: column; min-height: 1236px; }
  .teaser__kachel { margin: 0 0 40px; padding: 18px; }
  .teaser__kachel:last-child { margin-bottom: 0; }
  .teaser__titel { margin-left: 0; }
}

/* ---------------- K13 Intro, K16 Fließtext ---------------- */
.intro { padding: 40px 0 10px; }
.intro__zeile { margin: 0; font: 600 40px/1 var(--font-body); color: var(--text-grey); }
.text a, .intro__text a { color: var(--text-link); }

/* ---------------- K17 Akkordeon ---------------- */
.akkordeon__punkt { border-bottom: 1px solid var(--color-divider); }
.akkordeon__knopf {
  display: flex; align-items: center; gap: 11px;
  width: 100%; padding: 15px 20px; text-align: left;
  font: 600 18px/1 var(--font-body); color: var(--text-olive);
}
.akkordeon__punkt[data-offen='ja'] .akkordeon__knopf { color: var(--text-link); }
.akkordeon__icon { width: 16px; height: 18px; }   /* live: Font-Awesome-Icon 16 × 18 in 27 px Breite (Abstand 11 px) */
.akkordeon__inhalt { padding: 15px 20px; }

/* ---------------- K20 Download-Liste ---------------- */
.downloads__titel { font: 600 40px/1 var(--font-body); color: var(--text-olive); margin: 40px 0 20px; }
.downloads__liste { list-style: none; }
.download { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--color-divider); }
.download__icon { width: 20px; height: 26px; color: var(--color-olive); }
.download__kopf { margin: 0; }
.download__titel { font: 600 26px/44.2px var(--font-body); color: var(--text-link); transition: color 0.3s; }
a.download__titel:hover { color: var(--color-text); }
.download__groesse { font: 400 14px/23.8px var(--font-body); color: var(--text-grey); }
.download__text { margin: 0; font: 400 20px/34px var(--font-body); }

/* ---------------- K26 Kachelraster ---------------- */
.kachelraster__liste { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 900px; margin-inline: auto; }
.kachel__link { display: block; text-decoration: none; }
.kachel__bild { display: block; overflow: hidden; background: var(--color-olive-light); }
.kachel__bild img { width: 100%; transition: transform 0.3s; }
.kachel__link:hover .kachel__bild img { transform: scale(1.1); }
.kachel__titel { margin-top: 10px; padding-left: 10px; font: 600 12px/12px var(--font-body); letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-grey); }
@media (max-width: 767px) { .kachelraster__liste { grid-template-columns: 1fr; } }

/* ---------------- K25 Beitragskarten ---------------- */
.beitraege__liste { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.beitrag { position: relative; display: flex; flex-direction: column; border: 1px solid #eaeaea; box-shadow: var(--shadow-card); background: var(--color-white); }
.beitrag__bild { position: relative; display: block; }
.beitrag__plakette { position: absolute; top: 20px; right: 20px; padding: 4px 12px; border-radius: 100px; background: var(--color-olive); color: var(--text-on-olive); font: 500 12px/12px var(--font-body); text-transform: uppercase; }
.beitrag__text { padding: 20px 30px 0; flex: 1; }
.beitrag__titel { font: 600 21px/27.3px var(--font-body); margin-bottom: 15px; }
.beitrag__titel a { color: var(--text-olive); }
.beitrag__auszug { font-size: 16px; }
.beitrag__datum { margin: 0; padding: 15px 30px; border-top: 1px solid #eaeaea; font: 400 14px/18.2px var(--font-body); color: var(--text-olive); }
@media (max-width: 1024px) { .beitraege__liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .beitraege__liste { grid-template-columns: 1fr; } }

/* ---------------- K27 Loop-Raster ---------------- */
.loop__liste { list-style: none; display: grid; grid-template-columns: repeat(var(--loop-spalten, 4), 1fr); gap: 20px; }
.loop__titel { font: 600 14px/14px var(--font-body); margin-top: 6px; }
.loop__titel a { color: var(--text-olive); }
@media (max-width: 767px) { .loop__liste { grid-template-columns: 1fr; } }

/* ---------------- K28 Galerie ---------------- */
.galerie__liste { list-style: none; display: grid; grid-template-columns: repeat(var(--galerie-spalten, 4), 1fr); gap: 10px; }
.galerie__mehr { margin-top: 20px; text-align: center; }
.knopf {
  display: inline-block; padding: 12px 24px; border-radius: 3px;
  background: var(--color-olive-accent); color: var(--text-on-olive);
  font: 500 15px/15px var(--font-body);
}
@media (max-width: 767px) { .galerie__liste { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- K29 Team ---------------- */
.team__liste { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { text-align: center; }
.person__foto img { margin-inline: auto; }
.person__name { margin-top: 15px; font: 600 24px/31.2px var(--font-body); color: var(--text-olive); }
.person__funktion { margin: 0; font: 400 16px/27.2px var(--font-body); color: var(--text-grey); }
.person__kontakt { list-style: none; }
.person__kontakt li { display: flex; justify-content: center; gap: 8px; align-items: center; font: 500 17px/27.2px var(--font-body); color: var(--text-olive); }
.person__kontakt .icon { width: 12px; height: 12px; }
@media (max-width: 767px) { .team__liste { grid-template-columns: 1fr; } }

/* ---------------- K30 Infobox, K33 Bild+Text, K34 Elementliste, K35 Icon-Liste, K40 Zufallsbild ---------------- */
/* K30 Unternehmens-Infobox (V03), gemessen an docs/referenz/v03-unternehmen_de_*.png (Nora, 2026-11-22).
   1440: Bild 672 px hoch, Box 940 px breit, unten bündig, oben weißer Verlauf; Zahlen Arial 600 72/70 rechtsbündig,
   Präfix „über“ 40 px, Beschriftung Roboto Slab 20 px rechtsbündig. Mobil live überlappend (Präfix in der Zahl):
   hier sauber untereinander, Zahlen 56 px. */
.infobox { display: flex; align-items: flex-end; min-height: 672px; padding-top: 300px; background: var(--infobox-bild) center / cover no-repeat; }
.infobox__box {
  display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); column-gap: 30px; align-items: center;
  width: min(940px, 100%); margin-inline: auto; padding: 45px 90px 60px 116px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 70px);
}
.infobox__text p { margin: 0 0 22px; font-size: 18px; line-height: 28px; }
.infobox__text p:last-child { margin-bottom: 0; }
.infobox__text a { color: var(--text-link); }
.infobox__zahlen { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: end; align-items: baseline; column-gap: 20px; }
.infobox__zahl { display: contents; }
.infobox__wert { margin: 0; text-align: right; font: 600 72px/70px var(--font-body); color: var(--text-olive); white-space: nowrap; }
.infobox__praefix { margin-right: 20px; font-size: 40px; }
.infobox__label { margin: 0; text-align: right; font: 400 20px/1.3 var(--font-slab); color: var(--text-olive); }
/* Desktop wie live (Elementor-Abschnitt 1735, gemessen 1440/1650): Bild ab Fensteroberkante hinter dem Kopf (822 px hoch, oben ausgerichtet),
   weiße Box 425 px hoch, links und rechts je 250 px Abstand, zwei Verläufe; darin 780 px Raster mit zwei Spalten à 390 px, beide senkrecht mittig.
   Zahlen 69 px in 185 px rechtsbündig, Beschriftung 19 px Roboto Slab rechtsbündig daneben, Zeilen 69 px; „über“ 40 px links neben der dritten Zahl. */
@media (min-width: 1025px) {
  .infobox { position: relative; min-height: 822px; margin-top: -150px; padding-top: 397px; background-position: 50% 0; }
  .infobox__box {
    grid-template-columns: 390px 390px; column-gap: 0; align-items: center; justify-content: center;
    flex: 1 1 auto; width: auto; min-height: 425px; margin: 0 250px; padding: 55px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 38%), linear-gradient(180deg, rgba(255, 255, 255, 0) 5%, #fff 100%);
  }
  .infobox__text { padding: 10px 10px 32px 36px; }
  .infobox__text p { margin-bottom: 22px; }
  .infobox__zahlen { position: relative; grid-template-columns: 185px 185px; justify-content: start; align-items: center; column-gap: 0; padding: 10px; }
  .infobox__wert { position: static; height: 69px; font-size: 69px; line-height: 69px; }
  .infobox__praefix { position: absolute; left: -99px; bottom: 29px; margin: 0; font-size: 40px; line-height: 40px; }
  .infobox__label { display: flex; align-items: center; justify-content: flex-end; height: 69px; font-size: 19px; line-height: 25px; }
}
@media (max-width: 1024px) {
  .infobox { min-height: 602px; padding-top: 270px; }
  .infobox__box { width: calc(100% - 40px); grid-template-columns: minmax(0, 260px) minmax(0, 1fr); padding: 50px 10px 60px 36px; column-gap: 10px; }
  .infobox__wert { font-size: 64px; line-height: 70px; }
  .infobox__praefix { font-size: 36px; margin-right: 14px; }
  .infobox__label { max-width: 160px; justify-self: end; }
}
@media (max-width: 767px) {
  .infobox { min-height: 0; padding-top: 100px; }
  .infobox__box { width: 100%; grid-template-columns: 1fr; row-gap: 40px; padding: 70px 20px 40px 36px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.85) 60px, #fff 160px); }
  .infobox__zahlen { justify-content: start; column-gap: 16px; row-gap: 6px; }
  .infobox__wert { font-size: 56px; line-height: 60px; }
  .infobox__praefix { font-size: 30px; margin-right: 10px; }
  .infobox__label { max-width: none; justify-self: start; text-align: left; font-size: 18px; }
}

.bildtext { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.bildtext--rechts .bildtext__bild { order: 2; }
@media (max-width: 767px) { .bildtext { grid-template-columns: 1fr; } }

.elementliste { background: var(--color-band-light); padding: 40px 0; }
.elementliste__innen { display: grid; grid-template-columns: 1fr 1fr; }
.elementliste__titel { font: 600 24px/24px var(--font-body); color: var(--text-muted); margin-bottom: 20px; }
.elementliste__liste { list-style: none; font-size: 16px; line-height: 28px; }
@media (max-width: 767px) { .elementliste__innen { grid-template-columns: 1fr; } }

.iconliste { list-style: none; }
.iconliste__eintrag { display: inline-flex; align-items: center; gap: 8px; color: var(--text-grey); }
.iconliste__icon { width: 15px; height: 15px; }

.zufallsbild img { margin-inline: auto; }

/* Platzhalter, wenn kein Foto hinterlegt ist (auch im Bausteinkatalog statt echter Personenfotos) */
.person__platzhalter { display: block; width: 200px; max-width: 100%; aspect-ratio: 200 / 275; margin: 0 auto; background: #e6e6e6; }
