/* www.bit-soft.de – statische Fassung 2026: B.I.T.-Blau wie bisher, Systemschrift, responsiv, runde Ecken */
:root {
  --blau: #004f9f; --blau-dunkel: #003a75; --blau-hell: #e8f0f8; --text: #3d4247; --grau: #6b7177; --linie: #dde2e7;
  --hell: #f2f4f6; --fuss: #e2e4e6; --breite: 1180px; --rund: 10px; --rund-klein: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--hell); }
a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }
img { max-width: 100%; height: auto; }
a[href^="tel:"] { white-space: nowrap; }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kopf */
.kopf { background: #fff; border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.marke img { display: block; width: 150px; }
.schnellkontakt { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: 1.05rem; }
.schnellkontakt a { color: var(--blau); text-decoration: none; font-weight: 600; }
.schnellkontakt a:hover, .schnellkontakt a[aria-current] { text-decoration: underline; }
.hauptmenue { background: var(--blau); }
.hauptmenue ul { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; list-style: none; display: flex; flex-wrap: wrap; }
.hauptmenue a { display: block; padding: .8rem 1.1rem; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: .95rem; }
.hauptmenue a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hauptmenue a[aria-current] { background: #fff; color: var(--blau); border-radius: var(--rund-klein) var(--rund-klein) 0 0; box-shadow: inset 0 -3px 0 #fff; }

/* Kopfbild */
.kopfbild { position: relative; max-width: var(--breite); margin: 1.25rem auto 0; padding: 0 1.25rem; }
.kopfbild img { display: block; width: 100%; aspect-ratio: 1180 / 300; object-fit: cover; border-radius: var(--rund); }
.kopfbild.gross img { aspect-ratio: 1180 / 420; }
.kopftext { position: absolute; left: 3rem; bottom: 1.5rem; max-width: 60%; background: rgba(0, 58, 117, .85); color: #fff; padding: .8rem 1.2rem; border-radius: var(--rund-klein); }
.kopftext strong { display: block; font-size: 1.4rem; line-height: 1.25; }
.kopftext span { display: block; margin-top: .2rem; }

/* Spalten */
.spalten { max-width: var(--breite); margin: 1.5rem auto; padding: 0 1.25rem; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.spalten.mit-links { grid-template-columns: 250px minmax(0, 1fr); }
.inhalt { background: #fff; padding: 1.75rem 2.25rem 2.25rem; border: 1px solid var(--linie); border-radius: var(--rund); min-width: 0; overflow-wrap: anywhere; }
.inhalt > :first-child { margin-top: 0; }
.inhalt > :last-child { margin-bottom: 0; }
.inhalt::after { content: ""; display: block; clear: both; }
h1, .h1 { color: var(--blau); font-size: 1.75rem; line-height: 1.25; margin: 0 0 1rem; font-weight: 700; }
h2, .h2 { color: var(--blau); font-size: 1.35rem; line-height: 1.3; margin: 1.6rem 0 .6rem; font-weight: 700; }
h3, .h3 { color: var(--blau-dunkel); font-size: 1.15rem; line-height: 1.35; margin: 1.4rem 0 .5rem; font-weight: 700; }
h4, .h4, h5, .h5, h6, .h6 { color: var(--blau-dunkel); font-size: 1.05rem; line-height: 1.4; margin: 1.25rem 0 .4rem; font-weight: 700; }
span.h1, span.h2, span.h3, span.h4, span.h5, span.h6 { display: inline; margin: 0; }
.lead { font-size: 1.15rem; }
.blockquote { border-left: 4px solid var(--blau); background: var(--blau-hell); padding: .75rem 1rem; border-radius: 0 var(--rund-klein) var(--rund-klein) 0; }
.zentriert { text-align: center; }
.rechtsbuendig { text-align: right; }
.inhalt li::marker { color: var(--blau); }
.inhalt hr { border: 0; border-top: 1px solid var(--linie); margin: 1.5rem 0; }
.inhalt table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
.inhalt td, .inhalt th { border: 1px solid var(--linie); padding: .45rem .65rem; vertical-align: top; text-align: left; }
.inhalt td.zentriert { text-align: center; }
.tabelle { overflow-x: auto; }
p.video a::before { content: "▶ "; }
a.knopf { display: inline-block; background: var(--blau); color: #fff; text-decoration: none; font-weight: 600; padding: .5rem 1.1rem; border-radius: var(--rund-klein); margin: .15rem .3rem .15rem 0; }
a.knopf:hover { background: var(--blau-dunkel); color: #fff; }
a.knopf.hell { background: #fff; color: var(--blau); border: 2px solid var(--blau); padding: calc(.5rem - 2px) calc(1.1rem - 2px); }
a.knopf.hell:hover { background: var(--blau-hell); }

/* Bilder */
.inhalt img { border-radius: var(--rund-klein); vertical-align: middle; }
img.links, .bild.links { float: left; max-width: 48%; margin: .3rem 1.5rem 1rem 0; clear: left; }
img.rechts, .bild.rechts { float: right; max-width: 48%; margin: .3rem 0 1rem 1.5rem; clear: right; }
img.einzeln { display: block; margin: 1rem 0; }
img.zentriert { display: block; margin: 1rem auto; }
.bild { margin: 1.25rem 0; }
.bild img { display: block; }
.bild.zentriert { text-align: center; }
.bild.zentriert img { margin: 0 auto; }
figcaption { font-size: .9rem; font-style: italic; color: var(--grau); margin-top: .35rem; }
.bild.logo img { border-radius: 0; }

/* Startseite und Blockseiten */
.block { margin: 0 0 2rem; }
.block + .block { border-top: 1px solid var(--linie); padding-top: 1.75rem; }
.block > h2:first-child { margin-top: 0; }
.kacheln { display: grid; gap: 1.25rem; margin: 1.25rem 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kacheln.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kacheln.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kachel { background: var(--hell); border: 1px solid var(--linie); border-top: 4px solid var(--blau); border-radius: var(--rund); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.kachel img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; margin-bottom: .75rem; }
.kachel h3 { margin: 0 0 .4rem; }
.kachel h3 a { text-decoration: none; }
.kachel p { margin: 0 0 .6rem; }
.kachel p:last-child { margin-top: auto; margin-bottom: 0; }
.aufruf { background: var(--blau); color: #fff; border-radius: var(--rund); padding: 1.25rem 1.5rem; text-align: center; }
.aufruf p { margin: .3rem 0; }
.aufruf-titel { font-size: 1.25rem; font-weight: 700; }
.aufruf a.knopf.hell { border-color: #fff; }
.anfrage { clear: both; background: var(--blau-hell); border-radius: var(--rund); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.anfrage > :first-child { margin-top: 0; }
.anfrage > :last-child { margin-bottom: 0; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin: 1rem 0 1.5rem; }
.galerie figure { margin: 0; }
.galerie img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
ul.downloads { padding-left: 1.2rem; }
ul.downloads span { color: var(--grau); font-size: .9rem; white-space: nowrap; }
.partner { clear: both; border-top: 1px solid var(--linie); padding-top: .5rem; }
.partner .bild.rechts { max-width: 200px; }
.kontakt-daten { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; }
.kontakt-daten dt { font-weight: 600; }
.kontakt-daten dd { margin: 0; }
ul.sitemap ul { margin: .2rem 0 .5rem; }

/* linke Spalte: Untermenü */
.untermenue { align-self: start; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: .5rem; font-size: .95rem; }
.untermenue ul { list-style: none; margin: 0; padding: 0; }
.untermenue ul ul { margin: .15rem 0 .25rem .9rem; font-size: .95em; }
.untermenue a { display: block; padding: .4rem .7rem; border-radius: var(--rund-klein); color: var(--text); text-decoration: none; }
.untermenue a.bereich { font-weight: 700; color: var(--blau); text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--linie); border-radius: var(--rund-klein) var(--rund-klein) 0 0; margin-bottom: .25rem; }
.untermenue a:hover { background: var(--hell); color: var(--blau); }
.untermenue a[aria-current="true"] { color: var(--blau); font-weight: 600; }
.untermenue a[aria-current="page"] { background: var(--blau); color: #fff; font-weight: 600; }

/* Fuß */
.fuss { background: var(--fuss); font-size: .93rem; margin-top: 2.5rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 1.75rem 1.25rem; display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 1.5rem; }
.fuss p { margin: 0 0 .75rem; }
.fuss h2 { font-size: 1rem; color: var(--text); margin: 0 0 .5rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: .2rem 0; }
.fuss li a::before { content: "→ "; }
.fuss a { color: var(--blau-dunkel); }
.fuss-logos img { display: block; width: 100%; max-width: 300px; border-radius: var(--rund-klein); margin-bottom: .75rem; }

@media (max-width: 1000px) {
  .kacheln.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .spalten.mit-links { grid-template-columns: minmax(0, 1fr); }
  .untermenue { order: 2; }
  .inhalt { padding: 1.25rem; }
  .kacheln, .kacheln.n2 { grid-template-columns: minmax(0, 1fr); }
  .kopftext { left: 2rem; right: 2rem; max-width: none; bottom: 1rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .marke img { width: 120px; }
  .schnellkontakt { font-size: .95rem; gap: .25rem 1.25rem; }
  .hauptmenue a { padding: .6rem .7rem; font-size: .85rem; }
  .kopfbild { padding: 0; margin-top: 0; }
  .kopfbild img, .kopfbild.gross img { border-radius: 0; aspect-ratio: 16 / 7; }
  .kopftext { position: static; max-width: none; border-radius: 0; }
  img.links, img.rechts, .bild.links, .bild.rechts { float: none; max-width: 100%; margin: 1rem 0; display: block; }
  .kacheln.n4 { grid-template-columns: minmax(0, 1fr); }
  .fuss-innen { grid-template-columns: minmax(0, 1fr); }
  h1, .h1 { font-size: 1.45rem; }
}
@media print {
  .hauptmenue, .schnellkontakt, .untermenue, .sprung, .kopfbild, .fuss-logos { display: none; }
  body { background: #fff; }
  .inhalt { border: 0; padding: 0; }
}
