/* Theme tokens taken from the capture of the original */
:root {
  --c-text: #666666;
  --c-heading-blue: #005899;
  --c-h1: #003a79;
  --c-nav-text: #c5c5c5;
  --c-nav-bg: #000000;
  --c-footer-bg: #022041;
  --c-footer-text: #f6f6f6;
  --c-footer-link: #9ec4ea;
  --c-legal: #3984c8;
  --c-rule: #b6b2b1;
  --f-body: "Source Sans Pro", sans-serif;
  --f-head: Lato, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  --f-h1: Montserrat, sans-serif;
  --content-max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--c-text);
  font: 400 15px/1.5 var(--f-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.logo-link img, .lang-bar img, .award__card img, .banner img, .footer-claim img, .map img, .mini-logo img, .history__photo { width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  overflow: hidden;
  padding: 33px 0 32px;
}
.home .site-header { padding: 233px 0 232px; }
.header-bg { position: absolute; inset: 0; z-index: 0; }
.header-bg__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: 46.58% 3.32%; background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover; background-position: center;
}
.header-bg__slide.is-active { opacity: 1; }
.header-bg__slide--1 {
  background:
    linear-gradient(90deg, rgba(4,30,90,.95) 0%, rgba(14,58,140,.85) 35%, rgba(60,110,180,.35) 60%, rgba(190,210,230,.15) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 46px),
    linear-gradient(180deg, #8fb0d6 0%, #3f6aa8 55%, #1a3a74 100%);
}
.header-bg__slide--2 {
  background:
    linear-gradient(90deg, rgba(6,36,98,.95) 0%, rgba(20,66,150,.8) 40%, rgba(80,130,190,.35) 70%, rgba(200,215,235,.2) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 38px),
    linear-gradient(180deg, #a8c2e0 0%, #44709f 60%, #163266 100%);
}
.header-bg__slide--3 {
  background:
    linear-gradient(90deg, rgba(2,26,80,.96) 0%, rgba(12,52,128,.82) 38%, rgba(70,120,185,.3) 66%, rgba(215,225,240,.25) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 3px, transparent 3px 60px),
    linear-gradient(180deg, #9cb9dc 0%, #3a64a0 50%, #12306a 100%);
}
.header-inner {
  position: relative; z-index: 1;
  padding: 0;
  display: flex; justify-content: center; align-items: flex-start;
}
.logo-link {
  display: flex; align-items: center;
  width: 451px; max-width: calc(100% - 76px); margin: 5px 0;
  aspect-ratio: 451 / 375;
}

/* ---------- Navigation (desktop) ---------- */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.site-nav {
  background: #f6f6f6;
  height: 50px;
  position: relative;
  z-index: 20;
}
.site-nav__inner { background: var(--c-nav-bg); height: 100%; }
.site-nav__list {
  display: flex; justify-content: center;
  height: 50px;
  margin: 0 45px;
}
.site-nav__item { position: relative; }
.site-nav__item > a {
  display: block;
  line-height: 50px;
  padding: 0 14px 0 16px;
  color: var(--c-nav-text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  white-space: nowrap;
}
.site-nav__item > a:hover, .site-nav__item > a:focus-visible { color: #fff; }
.site-nav .subnav {
  position: absolute; top: 50px; left: 0;
  min-width: 220px;
  background: rgba(0,0,0,.92);
  padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav .subnav .subnav { top: 0; left: 100%; }
.site-nav li:hover > .subnav,
.site-nav li:focus-within > .subnav { opacity: 1; visibility: visible; transform: none; }
.site-nav .subnav li { position: relative; }
.site-nav .subnav a {
  display: block;
  padding: 9px 18px;
  color: var(--c-nav-text);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.site-nav .subnav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.sub-toggle { display: none; }

.mobile-bar { display: none; }

/* ---------- Content ---------- */
.content { padding: 80px 0 85px; }
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 15px;
}
.breadcrumb-spacer { height: 25px; }
.breadcrumb {
  display: flex; align-items: center;
  height: 34px;
  margin-bottom: 25px;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--c-heading-blue);
}
.breadcrumb a { text-decoration: none; color: var(--c-heading-blue); padding-right: 6px; }
.breadcrumb a:hover { text-decoration: underline; }
.lang-bar { display: block; }
.lang-bar svg { width: 100%; height: auto; }

.h1 {
  font-family: var(--f-h1);
  font-size: 60px;
  line-height: 63px;
  color: var(--c-h1);
  text-align: center;
  text-transform: uppercase;
  margin-top: 58px;
}
.no-lang .h1 { margin-top: 25px; }
.h2 {
  font-family: var(--f-head);
  font-size: 36px;
  line-height: 45px;
  color: var(--c-text);
  text-align: center;
}
.h3 {
  font-family: var(--f-head);
  font-size: 24px;
  line-height: 30px;
  color: var(--c-heading-blue);
}
.h1 + .h2.subtitle { margin-top: 10px; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--c-rule);
  width: 80%;
  height: 0;
  margin: 0 auto;
}
.text p { line-height: 22.5px; }
.text p + p { margin-top: 0; }
.text .gap { height: 22.5px; }
.text strong, strong { font-weight: 600; }
.more-link { color: var(--c-text); }

/* Home: award block */
.award { display: grid; grid-template-columns: 482fr 556fr; column-gap: 32px; margin-top: 30px; }
.award__media { display: flex; justify-content: center; }
.award__card { width: 211px; }
.award__text { padding-top: 30px; }
.award__text .h3 { margin-bottom: 57px; }
.award__body { font-family: Tahoma, Verdana, sans-serif; font-size: 14px; line-height: 23px; color: var(--c-text); }
.award__body p + p { margin-top: 23px; }
.award__body a { color: var(--c-text); word-break: break-word; }

/* Home: partner block */
.partner { display: grid; grid-template-columns: 666fr 372fr; column-gap: 32px; margin-top: 65px; align-items: start; }
.partner__text .h3 { margin-bottom: 10px; }
.partner__text hr.rule { margin: 30px auto 30px; }

.slider { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #dfe7ef; }
.slider__track { display: flex; height: 100%; transition: transform .6s ease; will-change: transform; }
.slider__slide { flex: 0 0 100%; height: 100%; position: relative; }
.slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider__caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: #000000a6;
  color: #fff;
  font-weight: 600; font-size: 14px;
  text-align: center;
  padding: 8px 10px;
}
.slider__btn {
  position: absolute; top: 50%; margin-top: -16px;
  width: 32px; height: 32px; border-radius: 32px;
  background: #00000026; color: #fff;
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.slider__btn--prev { left: 10px; }
.slider__btn--next { right: 10px; }
.slider__btn:hover { background: #00000066; }
.slider__toggle {
  position: absolute; left: 50%; top: 50%; margin: -19px 0 0 -19px;
  width: 38px; height: 38px; border-radius: 38px;
  background: #00000080; color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; z-index: 3;
}
.slider:hover .slider__toggle, .slider__toggle:focus-visible { opacity: 1; }

/* Home: competences */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 31px; margin-top: 35px; }
.cols4 .h3 { margin-bottom: 10px; }
@media (min-width: 1025px) { .cols4 { min-height: 220px; } }

.banner { display: block; margin-top: 53px; }
.banner svg { width: 100%; height: auto; }

/* Company page */
.narrow { max-width: 810px; margin-left: auto; margin-right: auto; }

/* History */
.history { display: grid; grid-template-columns: minmax(0, 392fr) minmax(0, 162fr) minmax(0, 516fr); margin-top: 70px; }
.history__list { grid-column: 3; }
.history__photos { display: flex; flex-direction: column; gap: 8px; }
.history__photo { width: 100%; }
.history__entry { margin-bottom: 43.4px; }
.history__entry .year { font-weight: 600; line-height: 24px; }
.history__entry p { line-height: 22.5px; }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 80px; margin-top: 90px; }
.certs { grid-template-rows: auto auto; grid-auto-flow: column; }
.cert { display: flex; flex-direction: column; align-items: center; }
.cert__img { width: 100%; max-width: 335px; aspect-ratio: 335 / 472; }
.cert__img svg { width: 100%; height: 100%; }
.btn {
  display: inline-block;
  padding: 11px 15px;
  border: 1px solid currentColor;
  font-family: var(--f-body);
  font-size: 16px; line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn--blue { color: var(--c-h1); background: #fff; }
.btn--blue:hover { background: var(--c-h1); color: #fff; }
.btn--light { color: #fff; font-weight: 600; }
.btn--light:hover { background: #fff; color: var(--c-footer-bg); }
.cert .btn { margin-top: 20px; padding: 11px 24px; }

/* Locations */
.loc-intro { margin-top: 10px; }
.locs { display: grid; grid-template-columns: 268fr 254fr 231fr 223fr; column-gap: 31px; margin-top: 85px; }
.loc hr.rule, .footer-cols hr.rule { margin-bottom: 33px; }
.loc .h3 { margin-bottom: 10px; }
.loc__img { max-width: 100%; height: auto; margin-bottom: 10px; }
.loc .text p { line-height: 22.5px; }
.loc .btn { margin-top: 25px; }
.loc .btn + br + .btn, .loc .btn.second { margin-top: 42px; }
.loc a.mail { color: var(--c-text); }
.loc--badge { text-align: center; }
.loc--badge .map { width: 70px; height: 95px; margin: 30px auto 10px; }
.loc--badge .small { font-size: 13px; line-height: 23.5px; }
.loc--badge .mini-logo { width: 100px; height: 70px; margin: 32px auto 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  padding: 60px 10px 60px;
  font-size: 16px; line-height: 24px;
}
.footer-end { height: 18px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.footer-inner > * { margin-left: 5px; margin-right: 5px; }
.footer-claim { width: 645px; max-width: calc(100% - 10px); margin-top: 25px; }
.footer-claim svg { width: 100%; height: auto; }
.footer-cols { display: grid; grid-template-columns: 283fr 245fr 221fr 206fr; column-gap: 31px; margin-top: 63.5px; }
.footer-cols > div { padding-top: 14.5px; }
.footer-cols { align-items: start; }
.footer-cols hr.rule { border-top: 1px dotted rgba(120,150,190,.45); margin-bottom: 31px; }
.footer-cols .h3 { color: var(--c-footer-text); margin-bottom: 10px; }
.footer-cols p { line-height: 24px; }
.footer-cols .gap { height: 24px; }
.footer-cols a { color: var(--c-footer-link); }
.footer-cols .btn { margin-top: 26px; }
.footer-badge { text-align: center; }
.footer-badge .map { width: 70px; height: 95px; margin: 0 auto 10px; }
.footer-badge .small { font-size: 13px; line-height: 24px; font-weight: 600; }
.footer-badge .mini-logo { width: 100px; height: 70px; margin: 34px auto 0; }
.legal { margin-top: 114px; font-size: 10.4px; line-height: 21px; color: #fff; }
.legal a { color: var(--c-legal); }
.legal .pill {
  display: inline-block;
  border: 1px solid var(--c-legal);
  border-radius: 5px;
  padding: 0 8px;
  font-weight: 600;
  text-decoration: none;
  line-height: 19px;
}
.legal .copy { line-height: 16px; }

/* Scroll to top */
.to-top {
  position: fixed; left: 62px; bottom: 60px;
  width: 32px; height: 32px; border-radius: 1000px;
  background: #00000080; color: #fff;
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  z-index: 50;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.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; }

/* Placeholder page */
.placeholder-note { text-align: center; margin-top: 40px; }
/* Space at the end of each page, measured against the original at each width */
.end-gap { height: var(--d, 0px); }

/* ---------- Tablet / mobile navigation (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .site-header, .home .site-header { padding: 0; }
  .site-nav { display: none; }
  .mobile-bar {
    display: flex; align-items: center;
    height: 50px; background: #000;
    padding-left: 10px;
    position: relative; z-index: 30;
  }
  .burger {
    display: block; width: 30px; height: 22px; cursor: pointer; position: relative;
  }
  .burger span, .burger::before, .burger::after {
    content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #fff;
    transition: transform .25s, opacity .25s;
  }
  .burger::before { top: 0; }
  .burger span { top: 9.5px; }
  .burger::after { bottom: 0; }
  .nav-toggle-input:checked ~ .page .burger::before { transform: translateY(9.5px) rotate(45deg); }
  .nav-toggle-input:checked ~ .page .burger span { opacity: 0; }
  .nav-toggle-input:checked ~ .page .burger::after { transform: translateY(-9.5px) rotate(-45deg); }
  .nav-toggle-input:checked ~ .page .site-nav { display: block; height: auto; }
  .site-nav { position: relative; }
  .site-nav__list { display: block; height: auto; margin: 0; padding: 6px 0 12px; }
  .site-nav__item > a, .site-nav .subnav a { line-height: 44px; padding: 0 60px 0 20px; }
  .site-nav .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; background: transparent; padding: 0 0 0 16px; min-width: 0;
  }
  .site-nav li.is-open > .subnav { display: block; }
  .site-nav .subnav a { padding-top: 0; padding-bottom: 0; text-transform: none; }
  .sub-toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; right: 10px; top: 4px; width: 36px; height: 36px;
    background: transparent; border: 0; color: var(--c-nav-text); cursor: pointer;
    font-size: 20px; line-height: 1;
  }
  .site-nav li.is-open > .sub-toggle { transform: rotate(45deg); }
  .content { padding-top: 20px; }
  .history__entry { margin-bottom: 39px; }
  .cols4 { column-gap: 20px; }
  .history { grid-template-columns: minmax(0, 37fr) minmax(0, 16fr) minmax(0, 47fr); }
  .h2.after-cols { margin-top: 40px !important; }
  .footer-cols { column-gap: 0; }
  .footer-cols > div { padding-right: 10px; }
  .home .content { padding-bottom: 18px; }
  .content { padding-bottom: 47px; }
  .end-gap { height: var(--t, 0px); }
  .certs { margin-top: 55px; }
  .container { padding: 0 25px; }
  .to-top { left: 20px; bottom: 20px; }
}

/* ---------- Phone (<= 767px) ---------- */
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .h1 { font-size: 30px; line-height: 36px; margin-top: 66px; }
  .narrow > p:first-child { margin-top: 87px !important; }
  .narrow hr.rule { margin-top: 46px !important; }
  .narrow .h2 { margin-top: 72px !important; }
  .narrow .h2 + p { margin-top: 48px !important; }
  .h2 { font-size: 26px; line-height: 32px; }
  .h3 { font-size: 22px; line-height: 28px; }
  .award, .partner, .cols4, .history, .certs, .locs, .footer-cols { grid-template-columns: 1fr; }
  .award__media { margin-bottom: 30px; }
  .award__card { width: 211px; height: auto; }
  .award__text { padding-top: 0; }
  .award__text .h3 { margin-bottom: 90px; }
  .partner { margin-top: 88px; }
  .partner__text { margin-top: 94px; }
  .cols4 > div + div { margin-top: 35px; }
  .history { row-gap: 30px; }
  .history__list { grid-column: auto; }
  .history__entry { margin-bottom: 36px; }
  .end-gap { height: var(--m, 0px); }
  .certs { row-gap: 50px; margin-top: 50px; grid-template-rows: none; grid-auto-flow: row; }
  .btn, .cert .btn { display: block; width: 100%; text-align: center; }
  .loc .btn.second { margin-top: 20px; }
  .loc br { display: none; }
  .locs > .loc + .loc { margin-top: 40px; }
  .loc__img { margin-left: auto; margin-right: auto; }
  .site-footer { padding: 20px 10px; }
  .footer-inner { padding: 0 20px; }
  .footer-cols > div + div { margin-top: 55px; }
  .legal { margin-top: 60px; }
}

/* Tablet footer padding */
@media (min-width: 768px) and (max-width: 1024px) {
  .site-footer { padding: 20px; }
  .footer-end { height: 48px; }
  .footer-inner { padding: 0 20px; }
}

/* Rechtstexte (Datenschutz, 09.11.2026) */
.rechtstext { margin-top: 50px; }
.rechtstext .h3 { margin-top: 40px; margin-bottom: 12px; }
.rechtstext p + p { margin-top: 12px; }
.rechtstext dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin-top: 12px; line-height: 22.5px; }
.rechtstext dt { font-weight: 600; }
.rechtstext dd { margin: 0; }
.rechtstext ul { margin: 12px 0 0 20px; line-height: 22.5px; list-style: disc; }
.rechtstext a { color: var(--c-heading-blue); }
.rechtstext .luecke { background: #fff1a8; padding: 6px 10px; margin-top: 12px; }
.rechtstext-stand { margin-top: 40px; color: #999; }
@media (max-width: 600px) { .rechtstext dl { grid-template-columns: 1fr; gap: 2px; } .rechtstext dd { margin-bottom: 8px; } }

/* Seiten aus dem Baukasten (09.11.2026, bausteine.mjs) */
.jg { display: grid; grid-template-columns: var(--cols); column-gap: 2%; align-items: start; }
.jg__col { min-width: 0; }
.jsp { height: var(--h); }
.jtext p + p { margin-top: 0; }
.jg .h3 + .jtext, .jtext + .h3 { margin-top: 10px; }
.jimg { margin: 0; }
.jimg img { max-width: 100%; height: auto; display: block; }
.jimg--center img { margin-left: auto; margin-right: auto; }
.jimg--right img { margin-left: auto; }
.jimg figcaption { font-size: 13px; margin-top: 6px; }
.stripe { display: flex; flex-wrap: wrap; gap: 6px; --zeile: 190px; }
.stripe::after { content: ""; flex-grow: 999; }
/* Bilder einer Zeile gleich hoch: Grundbreite und Wachstum folgen dem Seitenverhältnis --r */
.stripe figure { margin: 0; flex-grow: var(--r); flex-basis: calc(var(--r) * var(--zeile)); }
.stripe img { width: 100%; height: auto; display: block; }
.slider--contain { background: #fff; }
.slider--contain .slider__img { object-fit: contain; }
.jcta { text-align: center; margin-top: 40px; }
.jmaps { margin-top: 12px; }
.jmaps__note { font-size: 13px; margin-top: 10px; }
@media (max-width: 767px) {
  .jg { grid-template-columns: 1fr; }
  .jg__col:empty { display: none; }
  .jg__col + .jg__col { margin-top: 24px; }
  .jimg img { margin-left: auto; margin-right: auto; }
}

.jvideo video { display: block; width: 100%; height: auto; background: #000; }

/* ---------- Tablet und Handy nachgebessert (12.11.2026) ----------
   Gemessen am Jimdo-Original bei 375 und 768 px. Jimdo gibt dort jedem Baustein 5 px Abstand
   oben und unten, Trennlinien 20 px darüber und darunter, und füllt Galerie-Zeilen ganz aus. */
@media (max-width: 1024px) {
  /* Baukasten-Seiten: Baustein-Abstände wie bei Jimdo */
  .jpage { margin-top: -5px; }
  .lang-bar + .jpage { margin-top: 18px; }
  .jpage > *, .jpage .jg__col > * { margin-top: 0 !important; margin-bottom: 0; padding-top: 5px; padding-bottom: 5px; }
  .jpage > .jg, .jpage .jg__col > .jg { padding-top: 0; padding-bottom: 0; }
  /* Diashow: Abstand aussen, sonst schrumpft das Bild im festen Seitenverhältnis */
  .jpage > .slider, .jpage .jg__col > .slider { padding: 0; margin-top: 5px !important; margin-bottom: 5px; }
  .breadcrumb + .jpage { margin-top: 20px; }
  .jpage .jsp { height: calc(var(--h) + 10px); }
  .jpage hr.jrule { margin: 25px auto !important; padding: 0; }
  .jpage .jtext > p, .jpage .jcta { margin-top: 0; }
  /* Galerie wie bei Jimdo: höchstens zwei Bilder je Zeile, ein Paar nur, wenn beide mindestens
     163 px hoch bleiben; jede Zeile füllt die Breite, auch die letzte. Gleiche Höhe je Zeile,
     weil die Breite vom Seitenverhältnis --r abhängt. */
  .stripe { gap: var(--fuge, 3px); --zeile: 163px; }
  .stripe::after { display: none; }
  .stripe figure { flex: calc(var(--r) * 100) 1 0; min-width: min(100%, max(calc(var(--r) * var(--zeile)), 34%)); }
  /* Schmaleres Textfeld auf „Unternehmen“ wie im Original */
  .narrow { max-width: 75.6%; }
  /* Tippflächen: mindestens rund 44 px hoch, ohne dass sich das Bild verschiebt */
  .burger { box-sizing: content-box; padding: 11px 10px; margin: -11px -10px; background-clip: content-box; }
  .burger span, .burger::before, .burger::after { left: 10px; right: 10px; }
  .burger::before { top: 11px; }
  .burger span { top: 20.5px; }
  .burger::after { bottom: 11px; }
  .lang-bar { padding: 14px 0; margin: -14px 0; position: relative; z-index: 1; }
  .legal a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}
/* Fusszeile: Knopf „Anfahrt“ weiss und normal wie im Original, nicht in Linkfarbe
   (Handy 12.11.2026, auf Jims Ja am selben Tag für alle Breiten) */
.footer-cols a.btn--light { color: #fff; font-weight: 400; padding: 10px 15px; line-height: 24px; }
.footer-cols a.btn--light:hover { color: var(--c-footer-bg); }

@media (max-width: 767px) {
  .site-header .logo-link { width: 277px; max-width: 74%; margin: 16.5px 0; }
  .container { padding: 0 15px; }
  .h1 { line-height: 31.5px; }
  .h2 { line-height: 32.5px; }
  .h3 { line-height: 27.5px; }
  /* Brotkrumen: brechen um wie im Original, jede Stufe als eigener Block */
  .breadcrumb { flex-wrap: wrap; height: auto; margin-bottom: 20px; }
  .breadcrumb a { line-height: 24px; padding: 5px 15px 5px 0; }
  .breadcrumb + .jpage { margin-top: 0; }
  .lang-bar + .jpage { margin-top: 23px; }
  .jpage .jsp { height: 40px; }
  .jpage .jg__col + .jg__col { margin-top: 0; }
  /* Standorte */
  .locs { margin-top: 95px; margin-bottom: -22px; }
  .loc hr.rule { margin-bottom: 30px; }
  .locs > .loc + .loc { margin-top: 47px; }
  .loc--badge .map { margin-top: 70px; }
  /* Knopf wie ein Jimdo-Knopf: 16 px Rand plus 5 px Baustein-Abstand */
  .jpage .jcta { padding-top: 21px; padding-bottom: 21px; }
  /* Ende der Baukasten-Seiten: so viel Luft bis zur Fusszeile wie im Original */
  .jpage + .end-gap { height: 0; margin-top: -22px; }
  /* Startseite */
  .home .h1 + hr.rule { margin-top: 69px !important; }
  .partner + hr.rule { margin-top: 70px !important; }
  .cols4 > div:nth-child(3)::after { content: ""; display: block; height: 22.5px; }
  /* Historie: Abstände der Fotos 7 und 8 wie im Original, letzter Eintrag ohne Nachlauf */
  .history__photo:nth-child(7), .history__photo:nth-child(8) { margin-top: 10px; }
  .history__entry:last-child { margin-bottom: 0; }
  /* Zertifikate */
  .certs { row-gap: 40px; }
  /* Unternehmen */
  .narrow { max-width: none; }
  .narrow hr.rule { margin-top: 30px !important; }
  .narrow .h2 { margin-top: 70px !important; }
  /* Historie */
  .history { margin-top: 50px; row-gap: 10px; }
  .history__entry { margin-bottom: 45px; }
  /* Startseite: Kompetenzen */
  .cols4 { margin-top: 50px; }
  .cols4 > div + div { margin-top: 50px; }
  .h2.after-cols { margin-top: 49px !important; }
  /* Fusszeile */
  .footer-cols { margin-top: 56.5px; }
  .footer-cols > div { padding-right: 0; }
  .footer-cols > div + div { margin-top: 37.5px; }
  .footer-cols .btn { margin-top: 21px; }
}

.jtext ul, .jtext ol { margin: 4px 0 8px 20px; line-height: 22.5px; }
/* Überschrift im Textbaustein (Produktnamen auf /kunststoffbau/produkte/), wie bei Jimdo */
.jtext .jtext-h3 { text-align: center; min-height: 30px; }
.jtext .jtext-h3 a { color: #003b7a; }
.jtext ul { list-style: disc; }
.jtext ol { list-style: decimal; }
