@charset "utf-8";
:root {
  --blue: #255091;
  --text: #737577;
  --dark: #5f6264;
  --line: #e4e5e6;
  --light: #f5f6f7;
  --white: #fff;
  --content-max: 980px;
  --nav-width: 250px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-shell {
  display: grid;
  grid-template-columns: minmax(230px, 25vw) minmax(0, 1fr);
  min-height: 100vh;
}
.side-visual {
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left top;
  background-color: #fff;
  min-height: 100vh;
}
/* Linkes Motiv nur in der Desktop-/Tabletansicht. Die Bildpfade liegen
   hier im Stylesheet und werden deshalb sicher relativ zu assets/ aufgelöst. */
.page-shell.bg-left-1 .side-visual {
  background-image: url("../images/bg-left-1-weich.jpg");
}
.page-shell.bg-left-2 .side-visual {
  background-image: url("../images/bg-left-2.jpg");
}
.page-shell.bg-left-3 .side-visual {
  background-image: url("../images/bg-left-3.jpg");
}
.site-main { min-width: 0; }
.site-main-inner { width: min(100%, var(--content-max)); }
.mobile-brand { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 863 / 345;
  background: #eef0f2;
}
.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .7s ease;
}
.hero img.is-fading { opacity: .08; }

.content-layout {
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  gap: 34px;
  padding: 0 22px 54px 0;
}
.sidebar { min-width: 0; }
.brand {
  display: block;
  width: 100%;
  max-width: 294px;
  margin: 0 0 34px;
}
.brand img { display: block; width: 100%; height: auto; }
.menu-toggle {
  display: none;
  width: 100%;
  border: 0;
  background: var(--blue);
  color: white;
  padding: 12px 15px;
  text-align: left;
  cursor: pointer;
}
.menu-toggle::after { content: "☰"; float: right; }
.menu-toggle[aria-expanded="true"]::after { content: "×"; }
.site-nav { display: flex; flex-direction: column; gap: 1px; }
.site-nav a {
  display: block;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.2;
  padding: 8px 10px;
  min-height: 38px;
  transition: background-color .16s, color .16s;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active {
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

.content {
  min-width: 0;
  padding-top: 74px;
  font-size: 15px;
  line-height: 1.5;
}
.content::after { content: ""; display: table; clear: both; }
h1, h2, h3 { color: var(--text); font-weight: 400; }
h1 {
  margin: 0 0 40px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  font-style: italic;
}
h2 { margin: 28px 0 10px; font-size: 22px; line-height: 1.2; font-style: italic; }
h3 { margin: 24px 0 8px; font-size: 19px; }
p { margin: 0 0 1em; }
ul { margin: .35em 0 1em 1.2em; padding-left: 1em; }
li { margin: .2em 0; }
.content .bildrechts { float: right; margin: 0 0 20px 28px; max-width: min(42%, 250px); }
.content .bildlinks { float: left; margin: 0 30px 24px 0; max-width: min(46%, 280px); }
.content .bildstartseite { float: left; margin: 6px 30px 15px 0; max-width: min(46%, 280px); }
.content > img:not(.bildrechts):not(.bildlinks):not(.bildstartseite),
.content p > img:not(.bildrechts):not(.bildlinks):not(.bildstartseite) { border-radius: 2px; }

.product-section { margin: 22px 0 34px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
  margin: 20px 0 28px;
}
.product-card { min-width: 0; }
.product-card > img, .product-card > a > img {
  display: block;
  width: min(100%, 180px);
  margin: 0 auto 10px 0;
}
.product-copy { line-height: 1.4; }
.source-note { font-size: 13px; margin-top: 12px; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px,1fr));
  gap: 12px;
  align-items: stretch;
  margin: 18px 0 28px;
}
.brand-card {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 14px;
  background: #fff;
}
.brand-card img { max-height: 78px; width: auto; }
.image-grid { display: grid; gap: 16px; margin: 18px 0; align-items: start; }
.image-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.image-grid img { width: 100%; }

.external-media {
  width: 100%;
  min-height: 250px;
  aspect-ratio: 16 / 9;
  margin: 18px 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 28px;
  background: var(--light);
  border: 1px solid var(--line);
}
.external-media[data-ratio="10:7"] { aspect-ratio: 10 / 7; }
.external-media p { margin: 0 0 12px; }
.media-load {
  justify-self: center;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 2px;
}
.external-media iframe { width: 100%; height: 100%; border: 0; }

.gallery-hidden { display: none !important; }
.lightbox-link img { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  background: rgba(0,0,0,.88);
  padding: 58px 72px 28px;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-stage { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lightbox-image { max-width: min(100%, 1100px); max-height: calc(100vh - 145px); width: auto; height: auto; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.lightbox-caption { color: #fff; text-align: center; max-width: 900px; min-height: 28px; padding-top: 10px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(0,0,0,.38);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close { top: 10px; right: 14px; width: 42px; height: 42px; border-radius: 50%; font-size: 30px; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 54px; height: 70px; font-size: 44px; line-height: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-prev[hidden], .lightbox-next[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }

.site-footer {
  clear: both;
  background: #666;
  color: #fff;
  padding: 25px max(24px, calc((100vw - 1180px)/2)) 30px;
}
.footer-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 34px;
  font-size: 14px;
  line-height: 1.5;
}
.site-footer a { color: #fff; }
.footer-title { font-weight: 700; }
.site-legal {
  background: #fff;
  color: var(--blue);
  text-align: center;
  padding: 14px 18px 22px;
  font-size: 14px;
  line-height: 1.8;
}
.site-legal a { white-space: nowrap; }
.site-legal .sep { padding: 0 .5em; color: #a2a5a8; }

@media (min-width: 901px) {
  .content { font-size: 16px; }
}

@media (max-width: 1050px) {
  .page-shell { grid-template-columns: 220px minmax(0,1fr); }
  .content-layout { grid-template-columns: 220px minmax(0,1fr); gap: 26px; }
}
@media (max-width: 900px) {
  .page-shell { display: block; }
  .side-visual { display: none; }
  .site-main-inner { width: 100%; }
  .mobile-brand { display: block; padding: 16px 20px 12px; }
  .mobile-brand img { display: block; width: min(294px, 72vw); }
  .content-layout { grid-template-columns: 210px minmax(0,1fr); padding: 0 22px 50px; }
  .sidebar .brand { display: none; }
  .sidebar { padding-top: 30px; }
  .content { padding-top: 30px; }
  h1 { margin-bottom: 28px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .mobile-brand { padding: 14px 18px 12px; }
  .hero { aspect-ratio: 863 / 345; }
  .content-layout { display: block; padding: 0 18px 40px; }
  .sidebar { padding-top: 16px; }
  .menu-toggle { display: block; }
  .site-nav { display: flex; border: 1px solid var(--line); border-top: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 18px; min-height: 42px; padding: 10px 12px; }
  .content { padding-top: 34px; font-size: 16px; line-height: 1.55; }
  h1 { font-size: 30px; margin-bottom: 28px; }
  h2 { font-size: 23px; }
  .content .bildrechts, .content .bildlinks, .content .bildstartseite {
    float: none;
    display: block;
    max-width: 100%;
    margin: 18px auto 22px;
  }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 16px; }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .image-grid-2 { grid-template-columns: 1fr; }
  .external-media { min-height: 210px; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; font-size: 15px; }
  .site-footer { padding: 26px 22px 30px; }
  .site-legal .sep { display: none; }
  .site-legal a { display: block; padding: 3px 0; }
  .lightbox-overlay { padding: 52px 45px 20px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 58px; font-size: 36px; }
  .lightbox-prev { left: 0; } .lightbox-next { right: 0; }
}
@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 300px; }
  .product-card > img, .product-card > a > img { width: min(100%, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { transition: none; }
}
