/* fortyone.io facelift: loaded after all original stylesheets
   Calm 2026 refresh on top of Bootstrap 3 + fortyoneNoMin.css.
   Only CSS, no external resources. Fonts: latolight, latobold, league_gothic (shipped). */

:root {
  --teal: #1abc9c;          /* brand teal: surfaces, accents */
  --teal-ink: #0e7a64;      /* teal for text/links on white (5.3:1) */
  --teal-ink-hover: #0a5c4c;
  --teal-soft: #e7f6f2;
  --ink: #23292b;           /* headings */
  --text: #353c3f;          /* body text */
  --muted: #5f6669;         /* secondary text (5.8:1) */
  --line: #e3e8e8;
  --bg-soft: #f1f1f1;       /* matches the original arrow images */
  --on-teal: #072b25;       /* text on brand teal (6:1) */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 40, 36, .05), 0 8px 24px rgba(16, 40, 36, .07);
  --shadow-hover: 0 2px 4px rgba(16, 40, 36, .06), 0 14px 34px rgba(16, 40, 36, .12);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--teal-ink);
}

/* ------------------------------------------------------------------
   Base & typography
------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: latolight, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
p { line-height: 1.7; margin: 0 0 1em; }
/* real bold only in content; Contao left many <strong> unclosed, so they leak into footers */
.mod_article .ce_text strong, .mod_article .ce_text b, .container.justify .col-md-4 p > a > strong, .container.justify .col-md-4 p > strong > a, .comment strong, :is(#contact,#kontakt) strong, :is(#imprint,#impressum) strong, :is(#privacy,#datenschutz) strong {
  font-family: latobold, "Helvetica Neue", Arial, sans-serif; font-weight: normal;
}
#blog_home strong, :is(#blog-56,#blog) .teaser strong, footer strong, .footerBar strong { font-family: inherit; font-weight: normal; }
footer, .footerBar { font-weight: normal; }
.justify, .justify p, .content p, p { text-align: left; }
p, li { hyphens: manual; }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.005em; }
h2 { font-size: 36px; line-height: 1.2; margin-bottom: 28px; }
h3 { font-size: 22px; line-height: 1.3; }
h4 { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--teal); color: var(--on-teal); font-size: 14px; letter-spacing: .08em; }

a { color: var(--teal-ink); transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover, a:focus { color: var(--teal-ink-hover); }
.orange, a.orange, .orange strong { color: var(--teal-ink) !important; }
a.orange:hover { color: var(--teal-ink-hover) !important; }
.mod_article .ce_text a, .mod_article .ce_text > p > a, .comment_default > p > a, .comment a { color: var(--teal-ink); }
.mod_article .ce_text a, .mod_article p > a, .mod_article li > a, .comment a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(14, 122, 100, .35);
}
.mod_article .ce_text a:hover, .mod_article p > a:hover, .mod_article li > a:hover { text-decoration-color: currentColor; }
.navbar a, .dropdown-menu a { text-decoration: none !important; }
/* Contao wrapped many paragraphs in <strong><span style="font-weight:400"> */
strong span[style*="font-weight: 400"], strong span[style*="font-weight:400"] { font-family: latolight, "Helvetica Neue", Arial, sans-serif; }

:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

img { max-width: 100%; height: auto; }
::selection { background: rgba(26, 188, 156, .28); color: var(--ink); }

/* content width and section rhythm */
.marginTop { margin-top: 88px; }
.marginBottom { margin-bottom: 88px; }
.marginTopInner { margin-top: 40px; }
.highlightBar { background: var(--bg-soft); }
.highlightBar.white { background: #fff; }
.container .container { width: auto; padding-left: 0; padding-right: 0; }

/* section title with the teal pixel */
.dot { width: 14px !important; margin: 14px 14px 0 0 !important; float: left; image-rendering: pixelated; }
.dot + h2 { margin-bottom: 36px; }

/* ------------------------------------------------------------------
   Header & navigation
------------------------------------------------------------------ */
.navbar-default {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(16, 40, 36, .04);
}
.navbarContact { min-height: 0; }
.navbarContact a, .telMail a, .telMailMobile a {
  font-size: 13px !important;
  color: var(--muted);
  letter-spacing: .01em;
  text-decoration: none;
}
.navbarContact a:hover, .telMailMobile a:hover { color: var(--teal-ink); }
.telMail .icon-small, .telMailMobile .icon-small { opacity: .55; width: 13px; margin-right: 4px; vertical-align: -1px; }
.header-mail { margin-right: 20px; }

.navbar-default .navbar-nav > li > a {
  position: relative;
  color: var(--ink);
  font-family: latolight, sans-serif;
  letter-spacing: .01em;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 8px;
}
.navbar-default .navbar-nav > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: var(--teal-ink);
  background: transparent;
}
.navbar-default .navbar-nav > li > a:hover::after,
.navbar-default .navbar-nav > li:hover > a::after,
.navbar-default .navbar-nav > li > a:focus-visible::after { transform: scaleX(1); }

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16, 40, 36, .14);
  padding: 8px;
  min-width: 230px;
  margin-top: 0;
}
.dropdown-menu > li > a {
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background: var(--teal-soft);
  color: var(--teal-ink);
}

.navbar-toggle {
  border: 1px solid var(--line) !important;
  border-radius: 12px;
  padding: 11px 11px;
  background: #fff !important;
  transition: background-color .2s ease;
}
.navbar-default .navbar-toggle .icon-bar { background: var(--ink); width: 20px; border-radius: 2px; height: 2px; }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background: var(--teal-soft) !important; }

.navbar-brand img { transition: opacity .2s ease; }
.navbar-brand:hover img { opacity: .85; }

/* ------------------------------------------------------------------
   Claim bar
------------------------------------------------------------------ */
.claimBar {
  /* darker sibling of the brand teal so white text keeps 3.3:1 */
  background: #16a085;
  background-image:
    radial-gradient(1200px 300px at 85% -40%, rgba(255, 255, 255, .10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .05));
  min-height: 0;
  padding: 52px 0 48px;
  color: #fff;
}
.claimBar .container { padding-left: 30px; padding-right: 30px; }
.claimBar .claimLeft, .claimBar .claimRight {
  float: none;
  display: block;
  background: transparent;
  margin: 0 !important;
  text-align: left;
  color: #fff;
}
.claimBar .claimLeft {
  font-family: latolight, sans-serif;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.claimBar .claimRight {
  font-family: latolight, sans-serif;
  font-size: 21px;
  line-height: 1.4;
  margin-top: 12px !important;
  max-width: 46em;
  opacity: .92;
}

/* ------------------------------------------------------------------
   Carousel (home)
------------------------------------------------------------------ */
.jumbotronSlideshow {
  background: linear-gradient(180deg, #f4f6f6 0%, #eef1f1 100%);
  margin-bottom: 0;
}
.jumbotronSlideshow { padding: 40px 0 64px; }
.jumbotronSlideshow .swiper-container { margin-top: 0; margin-bottom: 0; }
.swiper-slide { position: relative; }
.swiper-element img { filter: drop-shadow(0 18px 30px rgba(16, 40, 36, .14)); }
.containerCaption {
  position: absolute !important;
  left: 0; right: 0;
  top: auto !important;
  bottom: 24px;
  margin: 0 auto !important;
  pointer-events: none;
}
.slider-caption {
  display: inline-block;
  width: auto !important;
  max-width: 440px;
  margin: 0 0 0 15px !important;
  padding: 18px 24px 20px !important;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.slider-caption br { display: none; }
.slider-caption h1, .slider-caption h2 {
  display: block;
  background: none !important;
  margin: 0 !important;
  text-transform: none;
}
.slider-caption h2 {
  order: -1;
  font-family: latobold, sans-serif;
  font-size: 12px !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-ink) !important;
  margin-bottom: 6px !important;
}
.slider-caption h1 {
  font-family: league_gothic, "Arial Narrow", sans-serif;
  font-size: 40px !important;
  line-height: 1.02;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink) !important;
}
.slider-caption { display: inline-flex; flex-direction: column; }

.jumbotronSlideshow .carousel-control {
  top: 50%;
  bottom: auto;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  background: #fff !important;
  background-image: none !important;
  box-shadow: var(--shadow);
  opacity: .95;
  text-shadow: none;
  color: var(--teal-ink);
  z-index: 30;
  font-size: 16px;
}
.jumbotronSlideshow .carousel-control.left { left: 24px; }
.jumbotronSlideshow .carousel-control.right { right: 24px; }
.jumbotronSlideshow .carousel-control .glyphicon {
  position: absolute; top: 50%; left: 50%;
  width: auto; height: auto;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  font-size: 16px;
  line-height: 1;
}
.jumbotronSlideshow .carousel-control:hover, .jumbotronSlideshow .carousel-control:focus {
  color: var(--teal-ink-hover);
  opacity: 1;
  box-shadow: var(--shadow-hover);
}
.jumbotronSlideshow .pagination { bottom: -40px !important; z-index: 30; margin: 0; }
.swiper-pagination-switch {
  width: 8px; height: 8px;
  margin: 0 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 41, 43, .22);
  opacity: 1;
  transition: width .3s ease, background-color .3s ease;
  vertical-align: middle;
}
.swiper-active-switch { width: 26px; background: var(--teal); }

/* ------------------------------------------------------------------
   Testimonial
------------------------------------------------------------------ */
.kundenstimme { margin-top: 96px; margin-bottom: 96px; }
.kundenstimme .col-md-12 { max-width: 760px; float: none; margin: 0 auto; }
.kundenstimme img { height: 110px; width: auto; margin-bottom: 28px; }
.kundenstimme h2 {
  width: auto;
  margin: 0 auto 18px;
  font-size: 32px;
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
}
.kundenstimme h3 {
  float: none;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.kundenstimme .backgroundImage { opacity: .5; }

/* ------------------------------------------------------------------
   Three column feature blocks -> cards
------------------------------------------------------------------ */
.container.justify:has(> .col-md-4) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.container.justify:has(> .col-md-4)::before,
.container.justify:has(> .col-md-4)::after { display: none; }
.container.justify:has(> .col-md-4) > .col-md-12 { grid-column: 1 / -1; width: auto; float: none; padding: 0 15px; }
.container.justify:has(> .col-md-4) > .col-md-12 .clear,
.container.justify:has(> .col-md-4) > .clear,
.container.justify:has(> .col-md-4) > div[class=""] { display: none; }
.container.justify:has(> .col-md-4) > .col-md-12 h2 { margin-bottom: 8px; }
.container.justify:has(> .col-md-4) > .col-md-4,
.container.justify:has(> .col-md-4) > .col-md-12 + .col-md-12 { width: auto; float: none; }
.container.justify:has(> .col-md-4) > .col-md-4 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  margin: 0;
}
.highlightBar .container.justify:has(> .col-md-4) > .col-md-4 { border-color: transparent; }
.container.justify > .col-md-4 .icon {
  float: none !important;
  display: block;
  width: 36px !important;
  height: 36px;
  object-fit: contain;
  padding: 7px;
  margin: 0 0 16px;
  border-radius: 10px;
  background: var(--teal-soft);
}
.container.justify > .col-md-4 h3 {
  float: none;
  display: block;
  margin: 0 0 10px !important;
  font-size: 21px;
}
.container.justify > .col-md-4 p { font-size: 16px; line-height: 1.7; margin-bottom: 0; color: #2f3537; }
.container.justify > .col-md-4 p + p { margin-top: .8em; }

/* ------------------------------------------------------------------
   Blog teasers on home
------------------------------------------------------------------ */
#blog_home > .col-md-4 { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
#blog_home > .col-md-4:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
#blog_home > .col-md-4 .arc_2 { display: flex; flex-direction: column; height: 100%; }
#blog_home .blogTeaserImage { height: auto !important; margin: 0; border-radius: 0; aspect-ratio: 640 / 412; }
#blog_home .blogTeaserImage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
#blog_home > .col-md-4:hover .blogTeaserImage img { transform: scale(1.03); }
#blog_home .blogHeadlineShort {
  height: auto !important;
  margin: 22px 24px 10px !important;
  font-size: 20px;
  line-height: 1.3;
}
#blog_home .blogHeadlineShort a { color: var(--ink); text-decoration: none; }
#blog_home .blogHeadlineShort a:hover { color: var(--teal-ink); }
#blog_home .teaser { margin: 0 24px; }
#blog_home .teaser a, #blog_home .teaser p { color: var(--text); text-decoration: none; font-size: 15.5px; }
#blog_home .more { margin: auto 24px 22px !important; padding-top: 12px; }

/* "read more" links */
p.more a {
  font-family: latobold, sans-serif;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--teal-ink) !important;
  text-decoration: none;
}
p.more a::after { content: " \2192"; display: inline-block; transition: transform .2s ease; }
p.more a:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------
   CTA bar + buttons
------------------------------------------------------------------ */
.footerBar {
  height: auto !important;
  padding: 40px 0 !important;
  background: var(--teal);
  color: var(--on-teal);
}
.footerBar > .container { display: flex; align-items: center; gap: 24px; }
.footerBar > .container::before, .footerBar > .container::after { display: none; }
.footerBar .col-md-8 { flex: 1 1 auto; width: auto; float: none; position: relative; z-index: 120; }
.footerBar .col-md-4 { flex: 0 0 auto; width: auto; float: none; }
.footerBar p { font-size: 20px !important; line-height: 1.5; color: var(--on-teal); width: auto !important; max-width: 40em; }

.footerBar a.button, .newsletterSignup .button, .leistung-teaser .button, .leistung-highlights .button, a.button, .btn-primary {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 14px 26px !important;
  border: 0;
  border-radius: 999px;
  background: var(--teal-ink);
  color: #fff !important;
  font-family: latobold, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(7, 43, 37, .18);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.footerBar a.button { background: var(--on-teal); position: relative !important; z-index: 120; left: auto !important; top: auto !important; }
.footerBar a.button::after, a.button::after { content: "\2192"; transition: transform .2s ease; }
.footerBar a.button:hover, a.button:hover, .btn-primary:hover {
  background: var(--teal-ink-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(7, 43, 37, .24);
}
.footerBar a.button:hover { background: #0e3d35 !important; }
a.button:hover::after { transform: translateX(3px); }
.footerBar a.button:focus-visible { box-shadow: 0 0 0 3px var(--teal), 0 0 0 5px #fff; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
footer { padding: 56px 0 0; background: #fff; color: var(--text); }
footer .inside { min-height: 0; }
footer h3 {
  font-family: latobold, sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
footer ul { padding-left: 0; margin: 0; }
footer li { list-style: none; margin: 0 0 6px; }
footer a, footer p { font-size: 15px; line-height: 1.6; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--teal-ink); }
footer li > a { text-decoration: none; }
footer .footerText { padding-top: 32px; }
footer .footerText strong { font-family: latobold, sans-serif; color: var(--ink); }
footer .appDeveloper { width: 110px; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
/* the map PNG has a teal band baked into its top 88px: it must sit on the CTA bar
   (natural size, so the band edge is not resampled into a visible line) */
.footer-deutschlandkarte { width: 334px !important; max-width: none !important; margin-top: -144px !important; left: 15px; }
.footer-deutschlandkarte-pixel { margin-top: 231px !important; left: 132px !important; }
.footer-bottom { margin-top: 48px; padding: 20px 0 24px; border-top: 1px solid var(--line); }
.footer-bottom p, .footer-bottom a, .footer-bottom span { font-size: 13px !important; color: var(--muted); }
.footer-bottom p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.footer-bottom a { margin-left: 16px; }
.footer-bottom a:hover { color: var(--teal-ink); }
.footer-bottom > .container > .col-md-8 { height: auto !important; width: 100%; }

/* ------------------------------------------------------------------
   Projects (tiles open the detail dialog from site-extras.css)
------------------------------------------------------------------ */
:is(#projects,#projekte) .container.marginBottom.marginTop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
:is(#projects,#projekte) .container.marginBottom.marginTop::before,
:is(#projects,#projekte) .container.marginBottom.marginTop::after { display: none; }
:is(#projects,#projekte) .refBig, :is(#projects,#projekte) .refSmall {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
:is(#projects,#projekte) .refBig:hover, :is(#projects,#projekte) .refSmall:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 188, 156, .45);
}
:is(#projects,#projekte) .thumb img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--bg-soft);
  transform: none;
  transition: transform .5s ease !important;
  padding: 0;
}
:is(#projects,#projekte) .view .mask {
  position: static !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  filter: none !important;
  background: transparent !important;
  padding: 18px 22px 22px;
  overflow: visible;
  transition: none;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
:is(#projects,#projekte) .view h2, :is(#projects,#projekte) .view p {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  text-align: left;
  padding: 0;
}
:is(#projects,#projekte) .view h2 {
  margin: 0 0 6px !important;
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: latobold, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  text-transform: none;
  color: var(--ink);
  letter-spacing: 0;
}
:is(#projects,#projekte) .view p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-style: normal;
  color: var(--muted);
}
:is(#projects,#projekte) .view-first:hover img { transform: scale(1.03) !important; }
:is(#projects,#projekte) .view .ref-more {
  margin-top: auto !important;
  padding-top: 14px;
  font-family: latobold, sans-serif;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: .02em;
}
:is(#projects,#projekte) .view .ref-more::after { display: inline-block; transition: transform .2s ease; }
:is(#projects,#projekte) .view:hover .ref-more::after { transform: translateX(3px); }

/* ------------------------------------------------------------------
   Clients
------------------------------------------------------------------ */
:is(#clients,#kunden) .container:has(> .customer) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 64px;
  margin-bottom: 88px;
}
:is(#clients,#kunden) .container:has(> .customer)::before, :is(#clients,#kunden) .container:has(> .customer)::after { display: none; }
:is(#clients,#kunden) .customer {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(16, 40, 36, .04);
}
:is(#clients,#kunden) .customer img { display: block; width: 100% !important; height: auto; max-width: 100%; }

/* ------------------------------------------------------------------
   Team
------------------------------------------------------------------ */
#team .highlightBar, #team .highlightBar.white { background: transparent; padding: 0; }
#team .claimBar + .highlightBar { padding-top: 64px; }
#team .highlightBar > .container > .col-md-12 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
  margin-bottom: 28px;
}
#team .footerBar { margin-top: 60px; }
#team .boxLeft { background: #d6d3d1; overflow: hidden; }
#team .boxLeft img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center 20%;
}
#team .boxRight h2 { margin-bottom: 18px; font-size: 32px; }
#team .teamQuestionRow h3 { float: none; font-family: latobold, sans-serif; font-size: 15px; color: var(--ink); margin: 0 0 2px; letter-spacing: .01em; }
#team .teamQuestionRow p { font-size: 15.5px; line-height: 1.55; margin: 0 0 14px; color: var(--text); }
#team .teamKnob { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------
   Facts / timeline / knobs
------------------------------------------------------------------ */
.facts { font-size: 15px; line-height: 1.45; color: var(--muted); }
#timeline { border-left-color: var(--line); border-left-width: 2px; }
#timeline li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
#timeline .circle {
  left: -40px;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px #fff;
}
#timeline .date { color: var(--muted); font-size: 15px; }
#timeline li { padding: 16px 22px; }
#timeline label.timelineHeadline { margin: 0; display: block; line-height: 1.4; }
label.timelineHeadline { font-weight: normal; font-family: latolight, sans-serif; color: var(--ink); font-size: 17px; }

/* ------------------------------------------------------------------
   Working method / philosophy
------------------------------------------------------------------ */
.arrowDown, .arrowDownWhite { pointer-events: none; }
:is(#working-method,#arbeitsweise) .container p, :is(#philosophy,#philosophie) .container p { font-size: 16.5px; }
:is(#working-method,#arbeitsweise) ul li, :is(#philosophy,#philosophie) ul li { margin-bottom: 4px; }

/* ------------------------------------------------------------------
   Blog list
------------------------------------------------------------------ */
:is(#blog-56,#blog) .highlightBar, :is(#blog-56,#blog) .col-md-12.highlightBar { background: transparent; }
:is(#blog-56,#blog) .mod_article > .col-md-12 { float: none; padding: 0; }
:is(#blog-56,#blog) .mod_article > .col-md-12:nth-of-type(2) { padding-top: 64px; }
:is(#blog-56,#blog) .mod_article > .col-md-12:last-of-type { padding-bottom: 72px; }
:is(#blog-56,#blog) .layout_short {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 0 0 28px;
  transition: box-shadow .25s ease;
}
:is(#blog-56,#blog) .layout_short:hover { box-shadow: var(--shadow-hover); }
:is(#blog-56,#blog) .layout_short .blogTeaserImage {
  grid-column: 1; grid-row: 1 / span 4;
  height: auto !important;
  margin: 0;
  border-radius: 14px;
  aspect-ratio: 640 / 412;
  align-self: start;
}
:is(#blog-56,#blog) .layout_short .blogTeaserImage img { width: 100%; height: 100%; object-fit: cover; }
:is(#blog-56,#blog) .layout_short > :not(.blogTeaserImage) { grid-column: 2; }
:is(#blog-56,#blog) .blogHeadlineShort { margin: 8px 0 8px !important; font-size: 24px; line-height: 1.3; height: auto; }
:is(#blog-56,#blog) .blogHeadlineShort a { color: var(--ink); text-decoration: none; }
:is(#blog-56,#blog) .blogHeadlineShort a:hover { color: var(--teal-ink); }
:is(#blog-56,#blog) .layout_short .info { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
:is(#blog-56,#blog) .teaser a, :is(#blog-56,#blog) .teaser p { color: var(--text); text-decoration: none; font-size: 16px; }
:is(#blog-56,#blog) .more { margin: 4px 0 8px !important; }

.blogPostTime, .blogPostTime time { color: var(--teal-ink); }

/* ------------------------------------------------------------------
   Blog article
------------------------------------------------------------------ */
#blog-detail .blogHeadline {
  margin-top: 64px;
  width: auto;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}
#blog-detail .blogSepLine { border-bottom-color: var(--line); margin: 18px 0; }
#blog-detail .info { font-size: 14.5px; color: var(--muted); }
#blog-detail .blogImage img, #blog-detail .ce_text img, #blog-detail figure img { border-radius: 14px; }
#blog-detail .col-md-8 { padding-right: 40px; }
#blog-detail .col-md-8 .ce_text p, #blog-detail .col-md-8 .ce_text li { font-size: 18px; line-height: 1.75; max-width: 68ch; }
#blog-detail .ce_text h3 {
  float: none;
  font-family: latobold, sans-serif;
  font-size: 24px;
  margin: 40px 0 12px;
}
#blog-detail .ce_text h2 { font-size: 28px; margin: 44px 0 14px; }
#blog-detail .ce_text figcaption, .ce_text > figure > figcaption, .ce_image > figure > figcaption, .blogImageCaption {
  width: auto !important;
  max-width: 100%;
  font-family: latolight_italic, latolight, sans-serif;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 0;
  margin: 10px 0 28px;
}
#blog-detail figure { max-width: 100%; }
#blog-detail .blogInlineQuote {
  width: auto;
  max-width: 620px;
  margin: 40px auto 44px;
  padding: 24px 32px;
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  background: var(--teal-soft);
  font-size: 22px;
  color: var(--ink);
}
#blog-detail .blogInlineQuote p { padding: 0; margin: 0; font-size: 22px; line-height: 1.45; color: var(--ink); }
#blog-detail .blogInlineQuoteBracketLeft, #blog-detail .blogInlineQuoteBracketRight { display: none; }
.blogSepEnd { border-color: var(--line); }

/* sidebar */
.blogRecents { padding-left: 24px; }
.blogNewestEntriesTitle {
  margin-top: 72px;
  padding: 0 0 12px;
  border-top: 0;
  border-bottom: 2px solid var(--teal);
  text-align: left;
  font-family: latobold, sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--ink);
}
.blogRecents > .col-md-12 { width: auto; margin: 0; padding: 0; }
.blogRecents > .col-md-12 > h2 { font-size: 16px; line-height: 1.45; margin: 16px 0; font-family: latolight, sans-serif; }
.blogRecents > .col-md-12 > h2 > a { color: var(--ink); text-decoration: none; }
.blogRecents > .col-md-12 > h2 > a:hover { color: var(--teal-ink); }
.blogSepEndLatestPosts { width: 100%; margin: 0; border: 0; border-bottom: 1px solid var(--line); height: 0; }

/* comments */
#blog-detail .ce_comments { margin: 8px 0 72px; }
#blog-detail .ce_comments:has(.blogSingleComment)::before {
  content: "Kommentare";
  display: block;
  max-width: 750px;
  margin: 0 0 16px;
  padding: 0 15px;
  font-family: latobold, sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.blogSingleComment {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfb;
  padding: 18px 22px 8px !important;
  margin: 0 15px 14px !important;
  width: calc(66.666% - 30px) !important;
  float: none !important;
}
.blogSingleComment .info { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.blogSingleComment .comment p { font-size: 16px; line-height: 1.65; }

/* ------------------------------------------------------------------
   Contact / imprint / privacy
------------------------------------------------------------------ */
:is(#contact,#kontakt) .mod_article > .container { padding-top: 64px; padding-bottom: 64px; }
:is(#contact,#kontakt) .col-md-4 h3 { float: none; font-size: 24px; margin-bottom: 12px; }
:is(#contact,#kontakt) .mod_article > .container a { color: var(--teal-ink); }
:is(#contact,#kontakt) .contactData { clear: both; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
:is(#contact,#kontakt) .contactData h4 {
  display: block; float: none; margin: 0 0 6px; padding: 0;
  background: none; color: var(--ink);
  font-family: latobold, sans-serif; font-size: 13px; letter-spacing: .14em;
}
:is(#imprint,#impressum) .col-md-12, :is(#privacy,#datenschutz) .col-md-12 { max-width: 820px; }
:is(#imprint,#impressum) .col-md-12 h1, :is(#privacy,#datenschutz) .col-md-12 h1 { font-size: 36px; margin: 0 0 24px; }
:is(#imprint,#impressum) .col-md-12 h2, :is(#privacy,#datenschutz) .col-md-12 h2 { font-size: 26px; margin: 40px 0 12px; }
:is(#imprint,#impressum) .col-md-12 h3, :is(#privacy,#datenschutz) .col-md-12 h3 { float: none; font-size: 20px; margin: 28px 0 8px; }
:is(#imprint,#impressum) p, :is(#privacy,#datenschutz) p, :is(#imprint,#impressum) li, :is(#privacy,#datenschutz) li { font-size: 16.5px; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------
   Tablet
------------------------------------------------------------------ */
@media (max-width: 991px) {
  .container.justify:has(> .col-md-4),
  :is(#projects,#projekte) .container.marginBottom.marginTop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(#clients,#kunden) .container:has(> .customer) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blogSingleComment { width: auto !important; }
}

/* ------------------------------------------------------------------
   Mobile
------------------------------------------------------------------ */
@media (max-width: 767px) {
  body { font-size: 16.5px; }
  h2 { font-size: 28px; }
  .marginTop { margin-top: 56px; }
  .marginBottom { margin-bottom: 56px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .container > [class*="col-"] { padding-left: 0; padding-right: 0; }

  .navbar-collapse { border-top: 1px solid var(--line); box-shadow: none !important; background: #fff; max-height: calc(100vh - 85px); }
  .navbar-default .navbar-nav { margin: 8px 0 16px; }
  .navbar-default .navbar-nav > li > a { padding: 12px 8px; font-size: 18px; }
  .navbar-default .navbar-nav > li > a::after { display: none; }
  .navbar-default .navbar-nav .open .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent; }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a { padding: 8px 12px; color: var(--text); font-size: 16px; }

  .claimBar { padding: 36px 0 32px; }
  .claimBar .container { padding-left: 20px; padding-right: 20px; }
  .claimBar .claimLeft { font-size: 30px; }
  .claimBar .claimRight { font-size: 17.5px; margin-top: 8px !important; }

  .jumbotronSlideshow { padding: 24px 0 48px; }
  .containerCaption { bottom: 8px; padding: 0 20px; }
  .jumbotronSlideshow .pagination { bottom: -32px !important; }
  .slider-caption { margin: 0 !important; max-width: none; padding: 14px 18px 16px !important; }
  .slider-caption h1 { font-size: 30px !important; }
  .jumbotronSlideshow .carousel-control { width: 40px; height: 40px; margin-top: -40px; }
  .jumbotronSlideshow .carousel-control.left { left: 12px; }
  .jumbotronSlideshow .carousel-control.right { right: 12px; }

  .kundenstimme { margin-top: 64px; margin-bottom: 64px; }
  .kundenstimme img { height: 84px; }
  .kundenstimme h2 { font-size: 24px; }
  .kundenstimme h3 { font-size: 15px; }

  .container.justify:has(> .col-md-4),
  :is(#projects,#projekte) .container.marginBottom.marginTop { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :is(#clients,#kunden) .container:has(> .customer) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; margin-bottom: 56px; }
  .container.justify:has(> .col-md-4) > .col-md-12 { padding: 0; }
  .container.justify:has(> .col-md-4) > .col-md-4 { padding: 22px 20px 20px; }

  .footerBar { padding: 32px 0 !important; }
  .footerBar > .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footerBar p { font-size: 18px !important; }
  .footerText { margin-top: 32px !important; }
  footer .col-md-8.footer { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  footer .col-md-8.footer > * { grid-column: 1 / -1; }
  footer .col-md-8.footer > .sitemapLeft { grid-column: 1; }
  footer .col-md-8.footer > .sitemapCenter { grid-column: 2; }
  footer .sitemapLeft, footer .sitemapCenter, footer .sitemapRight { width: auto !important; float: none !important; clear: none !important; margin: 0 !important; }
  footer .sitemapRight ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  footer .footerText { width: auto !important; float: none !important; }
  .footer-bottom > .container > .col-md-8 { height: auto !important; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
  .footer-bottom p img { margin-right: 10px; }

  :is(#blog-56,#blog) .layout_short { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 10px; }
  :is(#blog-56,#blog) .layout_short .blogTeaserImage { grid-row: auto; grid-column: 1; order: -1; margin-bottom: 14px; }
  :is(#blog-56,#blog) .layout_short > :not(.blogTeaserImage) { grid-column: 1; }
  :is(#blog-56,#blog) .blogHeadlineShort { font-size: 21px; }
  :is(#blog-56,#blog) .mod_article > .col-md-12:nth-of-type(2) { padding-top: 40px; }

  #blog-detail .blogHeadline { margin-top: 40px; font-size: 28px; }
  #blog-detail .col-md-8 { padding-right: 0; }
  #blog-detail .col-md-8 .ce_text p, #blog-detail .col-md-8 .ce_text li { font-size: 17px; }
  #blog-detail .blogInlineQuote { padding: 18px 20px; }
  #blog-detail .blogInlineQuote p { font-size: 19px; }
  .blogRecents { padding-left: 0; }
  .blogSingleComment { margin: 0 0 12px !important; }
  #blog-detail .ce_comments::before { padding: 0; }

  #team .claimBar + .highlightBar { padding-top: 40px; }
  #team .container, #team .col-md-12 { padding-left: 20px !important; padding-right: 20px !important; }
  #team .highlightBar > .container > .col-md-12 { padding: 0 !important; }
  #team .boxRight { height: auto !important; padding: 24px 20px 12px !important; }
  #team .boxLeft { height: 340px !important; }

  :is(#contact,#kontakt) .mod_article > .container { padding-top: 40px; padding-bottom: 40px; }
  :is(#contact,#kontakt) .col-md-4 { margin-bottom: 20px; }
}

/* knob numbers: brand teal fails contrast as text, use the darker ink */
input.knob { color: var(--teal-ink) !important; }

/* small tablets: the six German menu items must not run into the logo */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-default .navbar-nav > li > a { padding-left: 8px; padding-right: 8px; font-size: 15px; }
  .navbar-default .navbar-nav > li > a::after { left: 8px; right: 8px; }
}
.jumbotronSlideshow .carousel-control:focus-visible { box-shadow: var(--focus); outline: none; }

/* language switch: styled in site-extras.css */
