/* ============================================================
   holzbox 61 - statische Website
   Nachbau des Divi-Designs von steffox.de
   ============================================================ */

/* --- Schrift ------------------------------------------------ */
/* Wie im Original (steffox.de) nur die Regular-Schnitte: Fettdruck erzeugt
   der Browser synthetisch, das ist deutlich leichter als CourierPrime-Bold. */
@font-face {
  font-family: "CourierPrime";
  src: url("../fonts/CourierPrime-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CourierPrime";
  src: url("../fonts/CourierPrime-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* --- Farben und Maße ---------------------------------------- */
:root {
  --blau:        #006388;   /* Kopfzeile, Überschriften h2 */
  --rot:         #b22143;   /* Links */
  --gelb:        #edf000;   /* aktiver Menüpunkt */
  --braun:       #993300;   /* Inline-Links im Fließtext */
  --grau-hell:   #f2f2f2;   /* Section-Hintergrund A */
  --grau-mittel: #d8d8d8;   /* Section-Hintergrund B */
  --kopfhoehe:   80px;
  --kopfhoehe-fix: 54px;
}

/* --- Grundgerüst -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;  /* Fußzeile bleibt unten, auch bei kurzen Seiten */
  padding-top: var(--kopfhoehe);          /* Platz für die fixierte Kopfzeile */
  font-family: "CourierPrime", Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  overflow-wrap: break-word;
}

a { color: var(--rot); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  padding-bottom: 10px;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin: 0 0 1em; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

figure { margin: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
li { margin-bottom: .25em; }

hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 0; }

blockquote {
  margin: 20px 0; padding-left: 20px;
  border-left: 5px solid var(--blau);
  font-style: italic;
}

code {
  font-family: "CourierPrime", monospace;
  background: rgba(0,0,0,.06);
  padding: 1px 4px; border-radius: 3px;
}
pre {
  background: #f4f4f4; border: 1px solid #ddd; border-radius: 3px;
  padding: 15px; overflow-x: auto; line-height: 1.45;
}
pre code { background: none; padding: 0; }

table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
th, td { border: 1px solid rgba(0,0,0,.15); padding: 6px 10px; text-align: left; }
th { background: rgba(0,0,0,.04); }

main { flex: 1 0 auto; }

/* Nur für Screenreader */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Kopfzeile mit Navigation
   ============================================================ */
.kopf {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--kopfhoehe);
  background: var(--blau);
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  line-height: 23px;
  transition: height .4s ease-in-out, box-shadow .4s ease-in-out;
}
.kopf.ist-fixiert {
  height: var(--kopfhoehe-fix);
  box-shadow: 0 0 7px rgba(0,0,0,.1);
}

.kopf__innen {
  position: relative;
  width: 80%; max-width: 1080px; height: 100%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

/* Feste Höhe statt max-height in Prozent: die Prozentangabe hängt an einem
   Flex-Element ohne feste Breite, und mobile Browser (v. a. Safari) haben
   den Logo-Link damit gelegentlich auf 0 Breite zusammengeschoben. */
.kopf__logo { display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.kopf__logo img {
  height: calc(var(--kopfhoehe) * .7); width: auto; max-width: none;
  transition: height .4s ease-in-out;
}
.kopf.ist-fixiert .kopf__logo img { height: calc(var(--kopfhoehe-fix) * .7); }

/* --- Hauptmenü (ab 981px) ----------------------------------- */
.menue { display: block; }
.menue ul { list-style: none; margin: 0; padding: 0; }

.menue > ul { display: flex; align-items: center; }
.menue > ul > li { position: relative; padding-right: 22px; }
.menue > ul > li:last-child { padding-right: 0; }

.menue a,
.menue .menue__knopf {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: none; border: 0; padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .4s ease-in-out;
}
.menue > ul > li > a:hover,
.menue > ul > li > .menue__knopf:hover { opacity: .7; text-decoration: none; }

/* aktiver Punkt und aktiver Zweig */
.menue .ist-aktiv > a,
.menue .ist-aktiv > .menue__knopf,
.menue li.ist-vorfahr > a,
.menue li.ist-vorfahr > .menue__knopf { color: var(--gelb); }

/* Pfeil bei Untermenüs */
.menue .hat-kinder > a::after,
.menue .hat-kinder > .menue__knopf::after {
  content: ""; display: inline-block;
  width: .45em; height: .45em; margin-left: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* Untermenü */
.menue .untermenue {
  position: absolute; top: 100%; left: -20px;
  width: 240px; padding: 20px 0;
  background: var(--blau);
  border-top: 3px solid #919191;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  visibility: hidden; opacity: 0;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
  text-align: left;
}
/* Nur mit echter Maus per Hover - auf Touchgeräten bliebe :hover nach dem
   Tippen hängen; dort öffnet seite.js die Untermenüs per Klick */
@media (hover: hover) {
  .menue li:hover > .untermenue { visibility: visible; opacity: 1; }
}
.menue li:focus-within > .untermenue { visibility: visible; opacity: 1; }

.menue .untermenue li { line-height: 2em; padding: 0 20px; }
.menue .untermenue a {
  font-size: 14px; font-weight: 400;
  padding: 6px 20px; margin: 0 -20px;
  transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
}
.menue .untermenue a:hover {
  background: rgba(0,0,0,.12); opacity: .7; text-decoration: none;
}

/* --- Mobilmenü ---------------------------------------------- */
.menue__umschalter {
  display: none;
  /* 9px Innenabstand ergibt eine Tippfläche von 44 x 44 px; der negative
     Rand hält die Striche trotzdem bündig am rechten Rand */
  background: none; border: 0; padding: 9px; margin: 0 -9px 0 0;
  color: #fff; cursor: pointer;
  font-family: inherit; font-size: 15px;
}
.menue__umschalter span {
  display: block; width: 26px; height: 2px; margin: 5px 0;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.menue__umschalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menue__umschalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue__umschalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .kopf__innen { width: 100%; padding: 0 30px; }
  .kopf__logo img { height: calc(var(--kopfhoehe) * .6); }
  .kopf.ist-fixiert .kopf__logo img { height: calc(var(--kopfhoehe-fix) * .6); }
  .menue__umschalter { display: block; }

  .menue {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blau);
    border-top: 3px solid #919191;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    padding: 5%;
    display: none;
    max-height: calc(100vh - var(--kopfhoehe));
    /* dvh zählt die ein- und ausfahrende Browserleiste mit (iOS, Android) */
    max-height: calc(100dvh - var(--kopfhoehe));
    overflow-y: auto;
  }
  .menue.ist-offen { display: block; }

  .menue > ul { display: block; }
  .menue > ul > li { padding: 0; }
  .menue a, .menue .menue__knopf {
    padding: 10px 5%; width: 100%; text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .menue .hat-kinder > a,
  .menue .hat-kinder > .menue__knopf { font-weight: 700; background: rgba(0,0,0,.12); }

  /* Untermenüs sind im Mobilmenü immer ausgeklappt - wie bei Divi */
  .menue .untermenue {
    position: static; width: auto; padding: 0 0 0 10px;
    background: none; border: 0; box-shadow: none;
    visibility: visible; opacity: 1;
  }
  .menue .untermenue li { padding: 0 0 0 5%; line-height: 1.5; }
  .menue .untermenue a { margin: 0; padding: 10px 5%; font-weight: 400; }
  .menue .hat-kinder > a::after,
  .menue .hat-kinder > .menue__knopf::after { display: none; }
}

/* ============================================================
   Abschnitte, Reihen, Spalten  (entspricht Divi section/row/column)
   ============================================================ */
.abschnitt {
  position: relative;
  padding: 4% 0;
  background: #fff;
  background-position: 50%;
  background-size: cover;
}
.abschnitt--hell   { background-color: var(--grau-hell); }
.abschnitt--mittel { background-color: var(--grau-mittel); }
.abschnitt--weiss  { background-color: #fff; }
.abschnitt--blau   { background-color: var(--blau); }
.abschnitt--eng    { padding: 0; }

/* Hintergrundbild, das beim Scrollen stehen bleibt (Divi-Parallax) */
.abschnitt--bild {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
@media (hover: none) {
  /* iOS kann background-attachment:fixed nicht - dort normal scrollen */
  .abschnitt--bild { background-attachment: scroll; }
}

.reihe {
  position: relative;
  width: 80%; max-width: 1080px;
  margin: 0 auto;
  padding: 2% 0;
}
.reihe::after { content: ""; display: table; clear: both; }
.reihe--randlos { padding: 0; }

/* Spalten: Divi-Raster mit 5,5 % Rinne */
.spalte { float: left; margin-right: 5.5%; position: relative; min-height: 1px; }
.spalte:last-child { margin-right: 0 !important; }
.spalte--4-4 { width: 100%;      margin-right: 0; }
.spalte--1-2 { width: 47.25%; }
.spalte--1-3 { width: 29.6667%; }
.spalte--1-4 { width: 20.875%; }
.spalte--1-6 { width: 12.0833%; }

/* Abstand zwischen Modulen innerhalb einer Spalte (Divi: margin-bottom je Spaltenbreite) */
.spalte > *      { margin-bottom: 2.75%; }
.spalte--1-2 > * { margin-bottom: 5.82%; }
.spalte--1-3 > * { margin-bottom: 9.27%; }
.spalte--1-4 > * { margin-bottom: 13.174%; }
.spalte--1-6 > * { margin-bottom: 22.759%; }
.spalte > *:last-child { margin-bottom: 0; }

@media (min-width: 1350px) {
  .abschnitt { padding: 54px 0; }
  .abschnitt--eng { padding: 0; }
  .reihe { padding: 27px 0; }
  .reihe--randlos { padding: 0; }
}
@media (max-width: 980px) {
  .abschnitt { padding: 50px 0; }
  .abschnitt--eng { padding: 0; }
  .reihe { padding: 30px 0; }
  .reihe--randlos { padding: 0; }
  .spalte { float: none; width: 100% !important; margin: 0 0 30px; }
  .spalte:last-child { margin-bottom: 0; }
  .spalte > * { margin-bottom: 30px; }
  .spalte > *:last-child { margin-bottom: 0; }
}

/* Tablet: Drittel- und Viertelspalten zweispaltig statt einspaltig */
@media (min-width: 768px) and (max-width: 980px) {
  .reihe > .spalte--1-3,
  .reihe > .spalte--1-4 {
    float: left; width: 47.25% !important; margin-right: 5.5%;
  }
  .reihe > .spalte--1-3:nth-child(2n),
  .reihe > .spalte--1-4:nth-child(2n) { margin-right: 0; }
  .reihe > .spalte--1-3:nth-child(2n+1),
  .reihe > .spalte--1-4:nth-child(2n+1) { clear: left; }
}

/* Telefon: breiterer Satzspiegel, Kopfzeile bündig mit dem Inhalt */
@media (max-width: 767px) {
  .reihe { width: 90%; }
  .kopf__innen { padding: 0 5%; }
}

/* ============================================================
   Textbausteine
   ============================================================ */
.text > *:last-child { margin-bottom: 0; padding-bottom: 0; }
.text h2 { color: var(--blau); font-size: 30px; }
.text h3 { color: #000; font-size: 22px; line-height: 1.5; }
.text a { color: var(--braun); }

.text--hell,
.text--hell h1, .text--hell h2, .text--hell h3, .text--hell h4 { color: #fff; }
.text--mitte { text-align: center; }

/* Karte mit abgerundeten Ecken - Divi border_radii 20px */
.karte { border-radius: 20px; }

/* Willkommensblock auf der Startseite */
.willkommen { margin-top: 59px; }
.willkommen h1 { font-size: 40px; color: #fff; padding-bottom: 10px; }
.willkommen h3 { font-size: 26px; color: #fff; }

.trenner { height: 23px; }

/* Telefon: Courier ist dicktengleich - bei den Desktop-Größen passen nur
   rund 16 Zeichen in eine Zeile, lange Wörter brächen mitten im Wort um */
@media (max-width: 767px) {
  h1, h2, h3, h4, .text, .info { -webkit-hyphens: auto; hyphens: auto; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .text h2 { font-size: 24px; }
  .text h3 { font-size: 18px; }
  .willkommen { margin-top: 0; }
  .willkommen h1 { font-size: 32px; }
  .willkommen h3 { font-size: 22px; }
}

/* ============================================================
   Bilder und Galerie
   ============================================================ */
.bild { text-align: center; }
.bild img { display: inline-block; }
.bild--links  { text-align: left; }
.bild--rechts { text-align: right; }
.bild figcaption { font-size: 13px; padding-top: 6px; opacity: .8; }

/* anklickbares Bild - öffnet die Großansicht */
a.lupe { display: inline-block; cursor: zoom-in; line-height: 0; }
a.lupe:hover { text-decoration: none; opacity: .9; }

/* ============================================================
   Großansicht (Lightbox)
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(11,11,11,.9);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.ist-offen { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,.5);
}
.lightbox__knopf {
  position: absolute; z-index: 2;
  background: none; border: 0; cursor: pointer;
  color: #fff; font-size: 36px; line-height: 1;
  font-family: inherit;
  padding: 10px 18px;
  opacity: .75; transition: opacity .2s;
}
.lightbox__knopf:hover { opacity: 1; }
.lightbox__zu   { top: 6px; right: 10px; font-size: 44px; }
.lightbox__vor  { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__zurueck { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__zaehler {
  position: absolute; bottom: 14px; left: 0; right: 0;
  text-align: center; color: #fff; font-size: 13px; opacity: .7;
}
@media (max-width: 767px) {
  .lightbox { padding: 10px; }
  .lightbox__knopf { font-size: 28px; padding: 8px 12px; }
}

/* ============================================================
   Schaltflächen, Kontaktkasten, Blurb, Call-to-Action
   ============================================================ */
.knopf {
  display: inline-block;
  text-decoration: none;
  font-size: 20px; font-weight: 700;
  color: var(--blau);
  border: 2px solid var(--blau);
  border-radius: 3px;
  padding: .3em 1em;
  line-height: 1.7em;
  transition: all .2s ease-in-out;
}
.knopf:hover {
  background: var(--blau); color: #fff;
  text-decoration: none;
}
.knopf--hell { color: #fff; border-color: #fff; }
.knopf--hell:hover { background: #fff; color: var(--blau); }

.kontakt-kasten {
  background: rgba(255,255,255,.75);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}
.kontakt-kasten h2 { color: var(--blau); }
.kontakt-kasten p { margin-bottom: 1.5em; }
.kontakt-kasten .knopf { font-size: 18px; word-break: break-all; }

.blurb { text-align: center; }
.blurb__titel { color: var(--blau); font-size: 22px; }

.cta {
  background: var(--blau); color: #fff;
  border-radius: 20px; padding: 40px 30px; text-align: center;
}
.cta h2, .cta h3 { color: #fff; }
.cta p { color: #fff; }

/* ============================================================
   Schieber (Slider) - reines CSS mit Einrasten
   ============================================================ */
.schieber {
  display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  -webkit-overflow-scrolling: touch;
}
.schieber > * {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.schieber img { width: 100%; height: auto; display: block; }
.schieber-hinweis { text-align: center; font-size: 13px; opacity: .7; padding-top: 8px; }

/* ============================================================
   Blog: Übersicht, Beitrag, Archiv
   ============================================================ */
.held {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background-color: var(--blau);
  background-position: center; background-size: cover;
  padding: 90px 30px 130px;
  box-shadow: inset 0 0 7px rgba(0,0,0,.07);
}
.held__innen { position: relative; z-index: 2; width: 100%; max-width: 1080px; }
.held h1 {
  color: #fff;
  font-size: 37px;
  font-variant: small-caps;
  letter-spacing: 3px;
  line-height: 1.5;
}
/* schräg auslaufende Kante zum weißen Bereich darunter (Divi »ramp«) */
.held::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 100px; background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.beitragsgitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.beitragskarte {
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  display: flex; flex-direction: column;
}
.beitragskarte img { width: 100%; height: 200px; object-fit: cover; display: block; }
.beitragskarte__innen { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.beitragskarte h2 { font-size: 20px; color: var(--blau); padding-bottom: 6px; }
.beitragskarte h2 a { color: inherit; }
.beitragskarte p { margin-bottom: 1em; padding-bottom: 0; }
.beitragskarte .weiterlesen { margin-top: auto; }

.beitrags-meta {
  font-size: 13px; color: #666;
  padding-bottom: 1em;
}
.beitrags-meta a { color: #666; }

/* Einzelbeitrag */
.beitrag { width: 80%; max-width: 1080px; margin: 0 auto; padding: 40px 0 60px; }
.beitrag h1 { font-size: 30px; }
.beitrag__bild { margin: 0 0 25px; }
.beitrag__bild img { width: 100%; height: auto; }
.beitrag__inhalt h2 { color: var(--blau); font-size: 26px; margin-top: 1.2em; }
.beitrag__inhalt h3 { font-size: 20px; margin-top: 1em; }
.beitrag__inhalt a { color: var(--braun); }

.beitrags-fuss {
  margin-top: 50px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.15);
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 980px) {
  .beitrag { width: 90%; }
  .held { padding: 50px 20px 80px; }
  .held h1 { font-size: 26px; letter-spacing: 2px; }
  .held::after { height: 60px; }
}
@media (max-width: 767px) {
  .beitrag h1 { font-size: 24px; }
  .beitrag__inhalt h2 { font-size: 22px; }
  .beitrag__inhalt h3 { font-size: 18px; }
}

/* ============================================================
   Fußzeile
   ============================================================ */
.fuss { background: #222; }
.fuss__unten { background: rgba(0,0,0,.32); padding: 15px 0 5px; }
.fuss__innen { width: 80%; max-width: 1080px; margin: 0 auto; }
.fuss__info { color: #fff; text-align: left; padding-bottom: 10px; }
.fuss__info a { color: #fff; font-weight: 700; }
.fuss__info a:hover { opacity: .7; }
.fuss__links { padding-bottom: 10px; }
.fuss__links a { color: #fff; margin-right: 22px; font-size: 13px; }

@media (max-width: 980px) {
  .fuss__innen { width: 90%; }
  .fuss__info { text-align: center; }
  .fuss__links { text-align: center; }
  .fuss__links a { margin: 0 11px; }
}

/* ============================================================
   Fehlerseite
   ============================================================ */
/* Fehlerseite */
.fehler h1 { font-size: 72px; letter-spacing: 6px; padding-bottom: 20px; }
.fehler h2 { font-size: 30px; }
.fehler p  { font-size: 18px; }
@media (max-width: 767px) {
  .fehler h1 { font-size: 48px; letter-spacing: 4px; }
  .fehler h2 { font-size: 24px; }
}

/* Pfeile ausblenden, wenn es nur ein Bild gibt */
.lightbox--einzeln .lightbox__vor,
.lightbox--einzeln .lightbox__zurueck { display: none; }

/* Aufklapper per Klick (Touchgeräte) */
.menue li.ist-offen > .untermenue { visibility: visible; opacity: 1; }

/* ============================================================
   Kacheln der Übersichtsseite »gebautes«
   ============================================================ */
.kachel {
  display: block;
  padding: 15px;
  border: 2px solid #000;
  border-radius: 15px;
  background-image: url("/assets/img/2023/12/Bretter-Hintergrund-3.jpg");
  background-size: cover;
  background-position: center;
  color: #000;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}
.kachel:hover { text-decoration: none; opacity: .9; }
.kachel p { margin: 0; padding: 0; }

/* Bild mit weißem Rahmen (Divi border_width 4px, radius 15px) */
.bild--rahmen img {
  border: 4px solid #fff;
  border-radius: 15px;
}

@media (max-width: 980px) {
  .kachel { font-size: 18px; }
}
@media (max-width: 767px) {
  .kachel { font-size: 16px; }
}

/* Bild, das auf eine andere Seite verlinkt (keine Großansicht) */
a.lupe-aus { display: block; line-height: 0; }
a.lupe-aus:hover { text-decoration: none; opacity: .9; }

/* ============================================================
   Produktbeschreibung neben den Fotos
   ============================================================ */
.info {
  padding: 15px;
  border-radius: 15px;
  font-size: 18px;
  line-height: 1.3;
}
.info h1, .info h2 { font-size: 26px; line-height: 1.3; }
.info h3 { font-size: 18px; font-weight: 300; line-height: 1.3; }
.info p  { margin-bottom: .8em; padding-bottom: 0; }
.info > *:last-child { margin-bottom: 0; }

/* heller Text auf dunklem Holzhintergrund */
.info--hell, .info--hell h1, .info--hell h2, .info--hell h3, .info--hell p { color: #fff; }
.info--hell a { color: #fff; text-decoration: underline; }

/* Kasten mit Bretter-Textur */
.info--holz {
  background-image: url("/assets/img/2023/12/Bretter-Hintergrund-3.jpg");
  background-size: cover;
  background-position: center;
  border: 2px solid #000;
  color: #000;
}
.info--holz h1, .info--holz h2, .info--holz p { color: #000; }

/* dunkler Bildrahmen (Divi border_width 2px, #000) */
.bild--rahmen-dunkel img {
  border: 2px solid #000;
  border-radius: 15px;
}

/* Auf dem Telefon ersetzt eine Farbfläche das Hintergrundfoto */
@media (max-width: 767px) {
  .abschnitt--tel-farbe {
    background-image: none !important;
    background-color: var(--bg-phone, #303030) !important;
  }
}

@media (max-width: 767px) {
  .info { font-size: 16px; }
  .info h1, .info h2 { font-size: 22px; }
}

/* ============================================================
   Schieber »Ärzte ohne Grenzen« (6 Sprachen)
   ============================================================ */
.schieber-block { position: relative; background: #fff; }

.schieber { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
            scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
            scrollbar-width: none; }
.schieber::-webkit-scrollbar { display: none; }

.folie {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-size: cover; background-position: center;
  padding: 84px 0 60px;
}
.folie__innen {
  width: 80%; max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 5.5%;
}
.folie__bild { flex: 0 0 46%; }
.folie__bild img { width: 100%; height: auto; display: block; }
.folie__text { flex: 1; }
.folie__text h2 { font-size: 30px; color: #00628A; }
.folie__text h2 a { color: inherit; }
.folie__text p { font-size: 16px; }
.folie[dir="rtl"] .folie__innen { flex-direction: row-reverse; }
.folie[dir="rtl"] .folie__text { text-align: right; }

.schieber-steuerung {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 0;
}
.schieber-steuerung button {
  background: none; border: 1px solid rgba(0,0,0,.3); border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; font-family: inherit;
  font-size: 18px; line-height: 1; color: #000;
}
.schieber-steuerung button:hover { background: rgba(0,0,0,.06); }
.schieber-punkte { display: flex; gap: 0; }
/* Punkt bleibt 11px groß, die Tippfläche drumherum ist 32px */
.schieber-punkte button {
  width: 32px; height: 32px; padding: 0; border: 0;
  display: flex; align-items: center; justify-content: center;
}
.schieber-punkte button::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.4);
}
.schieber-punkte button[aria-current="true"]::before { background: var(--blau); border-color: var(--blau); }

@media (max-width: 980px) {
  .folie { padding: 40px 0; }
  .folie__innen { display: block; width: 90%; }
  .folie__bild { margin-bottom: 25px; }
  .folie__text h2 { font-size: 26px; }
  .folie[dir="rtl"] .folie__innen { flex-direction: column; }
}
@media (max-width: 767px) {
  .folie__text h2 { font-size: 22px; }
}

/* ============================================================
   Referenzen auf der webdesign-Seite
   ============================================================ */
.cta { padding: 0; background: none; color: inherit; border-radius: 0; text-align: left; }
.cta h2 { color: var(--blau); font-size: 26px; }
.cta p { color: inherit; }
.cta--gefuellt {
  background: var(--blau); color: #fff;
  border-radius: 20px; padding: 40px 30px;
}
.cta--gefuellt h2, .cta--gefuellt p { color: #fff; }

.blurb__bild { margin: 0 auto 15px; max-width: 120px; }
.blurb__bild img { display: block; margin: 0 auto; }

/* Symbol links neben dem Text (Divi icon_placement=left) */
.blurb--seitlich { display: flex; align-items: flex-start; gap: 14px; text-align: center; }
.blurb--seitlich .blurb__bild,
.blurb--seitlich .blurb__zeichen {
  flex: 0 0 34px; margin: 4px 0 0; max-width: 34px;
  color: var(--blau); line-height: 0;
}
.blurb--seitlich .blurb__text { flex: 1; min-width: 0; }
.blurb__titel { padding-bottom: 6px; }
.blurb__text > *:last-child { margin-bottom: 0; padding-bottom: 0; }

@media (max-width: 767px) {
  .blurb--seitlich { display: block; }
  .blurb--seitlich .blurb__bild,
  .blurb--seitlich .blurb__zeichen { margin: 0 auto 12px; }
}

/* Untertitel eines Beitrags (steht vor der ersten Zwischenüberschrift) */
.beitrag__untertitel {
  font-size: 20px; font-weight: 700; line-height: 1.3;
  color: #555; padding-bottom: 1.2em;
}

.held__zahl { color: #fff; padding-bottom: 0; opacity: .85; }

/* ============================================================
   Kapitel auf der Seite »fotoarbeiten« (wie steffox.de):
   Überschrift auf halbtransparentem Weiß, Text auf blauer Fläche
   ============================================================ */
.info--titel {
  background: rgba(255,255,255,.59);
  border-radius: 10px;
  padding: 10px 18px 0;
  margin-bottom: 20px;
}
.info--blau {
  background: #00628a;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 20px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .info--blau { font-size: 18px; }
}
