/* ==========================================================================
   LAWELCO – Website (abgeleitet von der FOMATEC-Vorlage)
   Farben: Primär #012155 (Navy), Akzent #1e4fd8, Überschriften #1c1c1c
   Breakpoints: 640px (s), 768px (Tablet), 960px (m), 992px (lg), 1025px (Desktop-Elemente)
   ========================================================================== */

/* ---------- Basis / Reset (UIkit-Defaults des Originals) ---------- */
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  color: #666;
}
*,
*::before,
*::after { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: #1e4fd8; text-decoration: none; cursor: pointer; }
a:hover { color: #012155; text-decoration: underline; }
img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
strong, b { font-weight: 800; }
p, ul, ol, figure, hr { margin: 0 0 20px; }
* + p, * + ul, * + ol { margin-top: 20px; }
ul, ol { padding-left: 30px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 400; color: #1c1c1c; }
* + h1, * + h2, * + h3, * + h4 { margin-top: 40px; }
h1 { font-size: 2.23125rem; line-height: 1.2; }
h2 { font-size: 1.7rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
@media (min-width: 960px) {
  h1 { font-size: 2.625rem; }
  h2 { font-size: 2rem; }
}
hr { border: 0; border-top: 1px solid #e5e5e5; overflow: visible; }
* + hr { margin-top: 20px; }
figure { margin: 0; }
button { font: inherit; }

/* ---------- Layout-Grundgerüst ---------- */
.container {
  display: flow-root;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.container-fluid { display: flow-root; width: 100%; }
.row { display: flex; flex-wrap: wrap; width: 100%; }
.row-middle > .col { display: flex; flex-direction: column; justify-content: center; }
.col { position: relative; width: 100%; min-height: 1px; padding: 15px; }
.row-nogutter > .col { padding: 0; }
/* Elementabstand innerhalb einer Spalte (qx-element-wrap + qx-element-wrap) */
.col > * + *,
.box > * + * { margin-top: 20px; }
.section { position: relative; }

/* Spaltenbreiten Desktop (≥1025px) */
.col-15 { width: 15%; }
.col-25 { width: 25%; }
.col-33 { width: 33.33333%; }
.col-50 { width: 50%; }
.col-66 { width: 66.67%; }
.col-33s { width: 33.33%; }
.col-70 { width: 70%; }
.col-75 { width: 75%; }
.col-100 { width: 100%; }
.col-spacer { display: none; }
@media (min-width: 992px) { .col-spacer { display: flex; } }
@media (max-width: 1024px) {
  .col-15, .col-25, .col-70, .col-75, .col-t100 { width: 100%; }
  .col-t50 { width: 50%; }
}
@media (max-width: 767px) {
  .col-33, .col-33s, .col-50, .col-66, .col-t50 { width: 100%; }
  .col > * + *, .box > * + * { margin-top: 10px; }
}

/* ---------- Typografie-Bausteine ---------- */
.heading > * { margin: 0; padding: 0; }
.heading-center { text-align: center; }
.heading-left { text-align: left; }
.h-36 { font-family: "AR One Sans", sans-serif; font-weight: 700; font-size: 36px; line-height: 1em; color: #1c1c1c; }
.h-24 { font-family: "AR One Sans", sans-serif; font-weight: 700; font-size: 24px; line-height: 1em; color: #1c1c1c; }
.h-default { font-family: "AR One Sans", sans-serif; font-weight: 700; }
.h-50-white { font-family: "AR One Sans", sans-serif; font-weight: 700; font-size: 50px; line-height: 1em; color: #fff; }
.h-50-black { font-family: "AR One Sans", sans-serif; font-weight: 700; font-size: 50px; line-height: 1em; color: #000; }
.text-jost {
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5em;
  color: #000;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-jost .lead { font-size: 18pt; }
.text-jost strong { font-weight: 800; }
@media (max-width: 767px) {
  .text-jost { text-align: center; }
  .text-jost.text-left-phone { text-align: left; }
  .heading-left { text-align: center; }
  .h-50-white, .h-50-black { line-height: 1.2em; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 0 solid transparent;
  border-radius: 1px;
  padding: 25px 30px;
  text-decoration: none;
  transition: background 0.5s, opacity 0.5s ease-in, border 0.5s ease-in, box-shadow 0.5s ease-in, color 0.5s;
}
.btn:hover { text-decoration: none; transition: border 0.3s ease-in, box-shadow 0.3s ease-in, background 0.3s, opacity 0.3s ease-in, color 0.3s; }
.btn > span { display: flex; align-items: center; justify-content: center; }
.btn-primary { background-color: #012155; color: #fff; }
.btn-primary:hover { background-color: #fff; color: #012155; }
.btn-white { background-color: #fff; color: #000; }
.btn-white:hover { background-color: rgba(255, 255, 255, 0); color: #fff; }
.btn-primary-outline { background-color: #012155; color: #fff; border: 0 solid #012155; }
.btn-primary-outline:hover { background-color: #fff; color: #012155; border-width: 2px; }
.btn-wrap { text-align: center; }
.btn-wrap-left { text-align: left; }
@media (max-width: 1024px) {
  .btn { line-height: 1em; }
}
@media (max-width: 767px) {
  .btn-wrap-left { text-align: center; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.topbar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-list li { margin-right: 15px; display: flex; align-items: center; cursor: pointer; }
.topbar-list a { display: flex; align-items: center; color: #000; text-decoration: none; }
.topbar-list svg { width: 15px; height: 15px; fill: #000; flex: none; }
.topbar-list span {
  margin-left: 5px;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000;
}
.topbar-list li:hover span { color: rgba(0, 0, 0, 0.6); }
.topbar-list .lang-switch { margin-right: 0; margin-left: 10px; padding-left: 15px; border-left: 1px solid rgba(0, 0, 0, 0.2); }
.topbar-list .lang-switch a { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 14px; color: #000; padding: 0 3px; }
.topbar-list .lang-switch a.is-active, .topbar-list .lang-switch a:hover { color: #1e4fd8; }
.topbar-list .lang-switch .lang-sep { color: rgba(0, 0, 0, 0.4); }
@media (max-width: 1024px) {
  .topbar-list li { margin-right: 5px; }
  .topbar-list .lang-switch { margin-left: 5px; padding-left: 8px; }
}
@media (max-width: 480px) {
  .topbar-list .topbar-mail span { display: none; }
}

.site-header {
  background: #fff;
  box-shadow: 0 5px 3px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 20;
}
/* Logo (Bildmarke + Wortmarke quer) ca. 70px hoch wie in der Vorlage */
.col-logo { width: 30%; }
.col-menu { width: 70%; }
.logo { text-align: left; }
.logo img { height: 70px; width: auto; max-width: 100%; display: inline-block; }
.menu-wrap { margin-left: -15px; }
.main-nav { display: flex; position: relative; }
.main-nav-right { margin-left: auto; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-end;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li { position: relative; }
.main-nav li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  min-height: 40px;
  padding: 15px 12px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  text-transform: none;
  text-decoration: none;
  transition: 0.1s ease-in-out;
  transition-property: color, background-color;
}
.main-nav li > a:hover { color: rgba(0, 0, 0, 0.9); }
.main-nav li > a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  transform-origin: bottom right;
  transition: transform 0.25s ease;
}
.main-nav li > a:hover::after,
.main-nav li.is-active > a::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.burger-wrap { display: none; justify-content: flex-end; }
.burger {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 5px 18px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}
.burger svg { min-width: 20px; display: block; }
.burger svg rect { fill: #000; }
@media (min-width: 960px) and (max-width: 1199px) {
  .main-nav ul { gap: 6px; }
  .main-nav li > a { padding: 15px 8px; font-size: 13px; }
}
@media (max-width: 959px) {
  .main-nav { display: none; }
  .burger-wrap { display: flex; }
}
@media (max-width: 1024px) {
  .col-logo { width: 50%; }
  .col-menu { width: 50%; }
  .menu-wrap { margin-left: 0; }
}
@media (min-width: 960px) and (max-width: 1024px) {
  .col-logo { width: 28%; }
  .col-menu { width: 72%; }
}
@media (max-width: 767px) {
  .col-logo { width: 80%; }
  .col-menu { width: 20%; }
  .logo img { height: 56px; }
}

/* ---------- Offcanvas (Slide von links wie im Original) ---------- */
.offcanvas {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.offcanvas.is-open { display: block; }
.offcanvas-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -270px;
  box-sizing: border-box;
  width: 270px;
  padding: 20px;
  background: #fafafa;
  overflow-y: auto;
  transition: left 0.3s ease-out;
}
.offcanvas.is-open .offcanvas-bar { left: 0; }
.offcanvas-close {
  position: absolute;
  z-index: 1000;
  top: 5px;
  right: 5px;
  padding: 5px;
  background: transparent;
  border: 0;
  color: #999;
  cursor: pointer;
  line-height: 0;
}
.offcanvas-close:hover { color: #666; }
.offcanvas-close svg { width: 14px; height: 14px; }
.offcanvas-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.offcanvas-nav li > a {
  display: flex;
  align-items: center;
  padding: 15px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}
.offcanvas-nav li > a:hover { color: rgba(0, 0, 0, 0.9); }
.offcanvas-nav li.is-active > a { color: #000; }
.offcanvas-lang { margin: 20px 0 0; padding: 15px; border-top: 1px solid #e5e5e5; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 14px; }
.offcanvas-lang a { color: #000; padding: 0 4px; }
.offcanvas-lang a.is-active, .offcanvas-lang a:hover { color: #1e4fd8; }
@media (min-width: 640px) {
  .offcanvas-bar { left: -350px; width: 350px; padding: 30px; }
  .offcanvas-close { top: 10px; right: 10px; }
}

/* ==========================================================================
   HERO (Startseite, 100vh mit Hintergrundbild + Overlay)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  padding: 80px 0;
  background-image: url("../images/lawelco-hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay,
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.4;
}
.hero > .container,
.section-full > .container {
  position: relative;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.hero-title {
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 1em;
  color: #fff;
}
.hero-sub {
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1em;
  color: #fff;
}
.hero-brand { text-align: center; }
.hero-brand img { width: 300px; max-width: 60%; height: auto; display: inline-block; }
@media (min-width: 768px) and (max-width: 1024px) {
  .hero { padding: 40px 0; }
  .hero-brand img { width: 240px; }
}
@media (max-width: 767px) {
  .hero { padding: 20px 0; }
  .hero-title { font-size: 45px; }
  .hero-brand img { width: 180px; }
}
/* Startseiten-Hero als Kundenbanner (1774 x 887, enthält Logo, Headline und Kontaktleiste) */
.hero-banner {
  height: auto;
  padding: 0;
  /* Seitenränder ab ca. 1440px Breite: Verlauf in den Bannerfarben (Kontaktleiste unten dunkler) */
  background-image: linear-gradient(to bottom, #024596 0%, #00419a 86%, #003070 88%, #003070 100%);
  background-color: #00419a;
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 767px) {
  .hero-banner img { max-height: none; object-fit: contain; }
}

/* ---------- Unterseiten-Hero (Slider-Pro, 850px hohes Bild) ---------- */
.page-hero {
  position: relative;
  height: 850px;
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 850px;
  object-fit: cover;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(74, 74, 74, 0.5);
}
.page-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  text-align: center;
  box-sizing: border-box;
}
.page-hero-content h1 {
  color: #fff;
  font-family: "AR One Sans", sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1.2em;
  margin: 0 0 30px;
}
.page-hero-content p {
  color: #fff;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 30px;
  margin: 0 0 25px;
}
.page-hero-content p:last-child { margin-bottom: 0; }
.page-hero-content p strong { font-weight: 700; }
@media (min-width: 768px) and (max-width: 1024px) {
  .page-hero, .page-hero img { height: 600px; }
  .page-hero-content { width: 79%; }
  .page-hero-content h1 { font-size: 55px; margin-bottom: 20px; }
  .page-hero-content p { margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .page-hero, .page-hero img { height: 400px; }
  .page-hero-content { width: 75%; }
  .page-hero-content h1 { font-size: 35px; margin-bottom: 20px; }
  .page-hero-content p { margin-bottom: 30px; }
}

/* ==========================================================================
   PETROL-BAND ("Entdecken Sie unsere Lösungen…")
   ========================================================================== */
.band {
  background-color: #012155;
  padding: 50px 0;
}
.band .col { display: flex; align-items: center; justify-content: center; }
.band-text {
  width: 100%;
  margin-bottom: -15px;
  font-family: "AR One Sans", sans-serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1em;
  text-align: left;
  color: #fff;
}
.band-text p { margin: 0 0 20px; }
.band .btn-wrap { width: 100%; }
@media (min-width: 768px) and (max-width: 1024px) {
  .band { padding: 40px 0; }
  .band-text { font-size: 18px; line-height: 1.3em; }
}
@media (max-width: 767px) {
  .band { padding: 20px 0; }
  .band-text { line-height: 1.3em; text-align: center; }
}

/* ==========================================================================
   INHALTSSEKTIONEN
   ========================================================================== */
.section-content { padding: 100px 0; }
.section-content-nb { padding: 100px 0 0; }
.section-80 { padding: 80px 0; }
.row-mb60 { margin-bottom: 60px; }
.row-mt50 { margin-top: 50px; }
.row-mt80 { margin-top: 80px; }
.row-mt60 { margin-top: 60px; }
.row-mt30 { margin-top: 30px; }
.heading-mb60 { margin-bottom: 60px; }
@media (min-width: 768px) and (max-width: 1024px) {
  .section-content, .section-content-nb, .section-80 { padding: 40px 0; }
}
@media (max-width: 767px) {
  .section-content, .section-content-nb, .section-80 { padding: 20px 0; }
  .row-mt50 { margin-top: 0; }
}

/* graue Boxen (die Box ersetzt das Spalten-Padding, wie .qx-col-wrap im Original) */
.col-box-left, .col-box-right, .col-card { padding: 0; }
.box {
  width: 100%;
  padding: 40px;
  background-color: #f4f4f4;
}
.col-box-left > .box { margin-right: 5px; }
.col-box-right > .box { margin-left: 5px; }
.box-image {
  width: 100%;
  min-height: 100%;
  background-color: #f4f4f4;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.box-image-laser { background-image: url("../images/lawelco-laser-flachbett.jpeg"); }
.box-image-prospekt { background-image: url("../images/lawelco-prospekt-titel.jpg"); background-position: center top; }
.col-bgimage {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .col-box-left > .box { margin-right: 0; }
  .col-box-right > .box { margin-left: 0; }
  .col-box-right > .box-image { padding: 100px 40px; min-height: 0; }
  .col-box-right > .box-image-prospekt { padding: 0; aspect-ratio: 1122 / 1402; }
  .col-bgimage { min-height: 200px; }
  .col-bgimage.col-image-heart { min-height: 230px; }
}

/* Bild-Element in Spalte (Elmag-Katalog) */
.image-left { text-align: left; }
.image-left img { width: 100%; display: inline-block; }

/* Liste im Jost-Text (Produkte) */
.text-jost ul { padding-left: 30px; }

/* ==========================================================================
   CTA (Parallax-Hintergrund)
   ========================================================================== */
.cta {
  position: relative;
  padding: 100px 0;
  background-image: url("../images/call2action.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-overlay { opacity: 0.5; }
.cta .container { position: relative; }
.cta-title {
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1em;
  color: #fff;
}
.cta-text {
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1em;
  text-align: center;
  color: #fff;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .cta { padding: 40px 0; }
  .cta-text { line-height: 1.3em; }
}
@media (max-width: 767px) {
  .cta { padding: 20px 0; }
  .cta-title { line-height: 1.2em; }
  .cta-text { line-height: 1.5em; }
}

/* ==========================================================================
   PARTNER (FOMATEC – ein Logo, kein Karussell)
   ========================================================================== */
.partners { padding: 100px 0 0; }
.partners-100 { padding: 100px 0; }
.partner-logo { text-align: center; }
.partner-logo a { display: inline-block; }
.partner-logo img { width: 360px; max-width: 100%; height: auto; }
.partner-link { text-align: center; }
@media (min-width: 768px) and (max-width: 1024px) {
  .partners, .partners-100 { padding: 40px 0; }
}
@media (max-width: 767px) {
  .partners, .partners-100 { padding: 20px 0; }
}

/* ==========================================================================
   KONTAKT-SEKTION (Punkte-Weltkarte + Formular)
   ========================================================================== */
.contact {
  padding: 0 0 100px;
  background-color: #fff;
  background-image: url("../images/contact-map.png");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-100 { padding: 100px 0; }
.form-card {
  width: 100%;
  min-height: 100%;
  padding: 40px;
  background-color: #fff;
  box-shadow: 0 0 76px 0 rgba(231, 231, 231, 0.66);
}
.form-card form { margin: 0; }
.form-group {
  float: left;
  width: 100%;
  padding: 0 5px;
  margin-bottom: 20px;
}
.form-fields::after { content: ""; display: table; clear: both; }
.form-control {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1em;
  color: #000;
  background-color: #f5f5f5;
  border: 0 solid #f5f5f5;
  border-radius: 0;
  outline: none;
}
.form-control::placeholder { color: #999; opacity: 1; }
textarea.form-control { height: 150px; padding-top: 10px; resize: vertical; }
.form-submit { margin-bottom: 20px; }
.form-submit button {
  display: inline-block;
  color: #fff;
  background-color: #012155;
  border: 0 solid transparent;
  border-radius: 1px;
  padding: 25px 35px;
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s ease-in, border 0.3s ease-in, box-shadow 0.3s ease-in;
}
.form-submit button:hover { background-color: #1e4fd8; }
.form-submit button span { display: flex; align-items: center; }
.form-msg { font-family: Jost, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.5em; color: #000; }
.form-msg.is-error { color: #c0392b; }
.form-msg.is-success { color: #012155; }
.form-control.is-invalid { box-shadow: inset 0 0 0 1px #c0392b; }
@media (min-width: 768px) and (max-width: 1024px) {
  .contact, .contact-100 { padding: 40px 0; }
}
@media (max-width: 1024px) {
  .form-group { margin-bottom: 10px; }
  .form-control { border-width: 1px; }
  .form-submit button { padding: 15px; }
}
@media (max-width: 767px) {
  .contact, .contact-100 { padding: 20px 0; }
}

/* Standort-Boxen (Kontaktseite / Über uns) – statt Google-Map */
.location-box { height: 100%; }
.location-box .text-jost { font-size: 18px; }
.location-box .text-jost p { margin: 0 0 12px; }
.location-box .text-jost p:last-child { margin-bottom: 0; }
.location-box .h-24 { margin-bottom: 20px; }
@media (max-width: 767px) {
  .col-box-left > .location-box { margin-bottom: 10px; }
}

/* ==========================================================================
   KARTEN-RASTER (Produkte, Startseite)
   Raster 3 / 2 / 1 Spalten (Desktop / Tablet / Phone), Optik wie die grauen Boxen
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards > li { margin: 0; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #f4f4f4;
}
.card-media { display: block; width: 100%; }
.card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card-media-contain,
.card-media-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 20px;
  background-color: #fff;
}
.card-media-contain img,
.card-media-thumb img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.card-media-thumb img { max-width: 180px; }
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 30px;
}
.cards-boxes .card-body { padding: 40px; }
.card-title {
  margin: 0;
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3em;
  color: #1c1c1c;
}
.cards-boxes .card-title { font-size: 24px; }
.card-text,
.card-sub {
  margin: 15px 0 0;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5em;
  color: #000;
}
.card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #012155;
  text-decoration: none;
}
.card-link:hover { color: #000; text-decoration: none; }
.card-link svg { width: 12px; height: 12px; fill: currentColor; flex: none; }
.card-link span { margin-left: 5px; }
/* Rubrik-Spalten (z. B. CEA: Überschrift + gestapelte Karten) */
.cards-groups > li > * + * { margin-top: 30px; }
.cards-groups .card { height: auto; }
.cards-groups .heading { margin-bottom: 0; }
@media (max-width: 1024px) {
  .cards, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 20px; }
  .cards-boxes .card-body { padding: 30px; }
}
@media (max-width: 767px) {
  .cards, .cards-2, .cards-4 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .card-text, .card-sub, .card-title { text-align: center; }
  .card-link { align-self: center; }
}

/* Platzhalterboxen für noch fehlendes Kundenmaterial */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 20px;
  background-color: #e0e0e0;
  color: #777;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4em;
  text-align: center;
}
.placeholder-3x2 { aspect-ratio: 3 / 2; }
.placeholder-a4 { aspect-ratio: 600 / 850; }

/* Technische-Daten-Tabelle (Produkte: MK-ET / MK-CT) – auf Mobile horizontal scrollbar */
.spec > * + * { margin-top: 30px; }
.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4em;
  color: #000;
  text-align: left;
}
.spec-table th,
.spec-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}
.spec-table thead th {
  background-color: #012155;
  color: #fff;
  font-family: "AR One Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3em;
  border-bottom: 0;
}
.spec-table thead th small { display: block; font-family: Jost, sans-serif; font-weight: 300; font-size: 13px; }
.spec-table tbody th {
  background-color: #f4f4f4;
  font-family: "AR One Sans", sans-serif;
  font-weight: 600;
  white-space: nowrap;
}
.spec-note {
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5em;
  color: #000;
}
.spec-note .card-link { margin-left: 15px; padding-top: 0; vertical-align: baseline; }
@media (max-width: 767px) {
  .spec-note { text-align: center; }
  .spec-note .card-link { display: inline-flex; margin: 10px 0 0; }
}

/* Marken-Überschrift mit Logo, Marken-Logo, Bild-Banner, Kicker */
.brand-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.brand-heading img { width: 80px; height: 80px; object-fit: contain; }
.brand-logo { text-align: left; }
.brand-logo img { width: 220px; height: auto; display: inline-block; }
.banner-image img { width: 100%; height: auto; display: block; }
.kicker {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #012155;
}
@media (max-width: 767px) {
  .brand-logo { text-align: center; }
  .brand-heading img { width: 60px; height: 60px; }
  .kicker { text-align: center; }
}

/* ==========================================================================
   IMPRESSUM / DATENSCHUTZ
   ========================================================================== */
.legal-text a { color: #1e4fd8; }
.legal-text h1, .legal-text h2, .legal-text h3 { font-family: Jost, sans-serif; font-weight: 400; color: #1c1c1c; }
.legal-text h1 { font-size: 42px; line-height: 1.2; }
.legal-text h2 { font-size: 32px; line-height: 1.3; }
.legal-text h3 { font-size: 24px; line-height: 1.4; }
@media (max-width: 959px) {
  .legal-text h1 { font-size: 35.7px; }
  .legal-text h2 { font-size: 27.2px; }
}

/* 404 */
.error-page { padding: 100px 0; text-align: center; }
.error-page .error-code {
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 1em;
  color: #012155;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #012155;
  padding: 30px 0;
  color: #fff;
}
.site-footer a { color: #fff; }
.footer-logo { text-align: left; }
.footer-logo img { width: 200px; max-width: 100%; height: auto; }
/* Claim (nicht übersetzen) – dezent unter dem Footer-Logo */
.footer-claim {
  margin: 15px 0 0;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}
.footer-text p { margin: 0 0 15px; }
.footer-text p:last-child { margin-bottom: 0; }
.footer-title {
  font-family: "AR One Sans", sans-serif;
  font-weight: 700;
  font-size: 36px;
  text-transform: capitalize;
  line-height: 1em;
  color: #fff;
  text-align: left;
}
.footer-text {
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5em;
  text-align: left;
  color: #fff;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links li { margin-bottom: 5px; display: flex; align-items: center; cursor: pointer; }
.footer-links a { display: flex; align-items: center; color: #fff; text-decoration: none; }
.footer-links svg { width: 15px; height: 15px; fill: #fff; flex: none; }
.footer-links span { margin-left: 5px; color: #fff; }
.copyright {
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5em;
  text-align: left;
  color: #fff;
}
.copyright a, .copyright a:hover { color: #fff; }
.agency-branding { font-family: Jost, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.5em; color: #fff; }
.agency-branding p { margin: 0; }
.agency-branding a { color: #fff; }
@media (min-width: 768px) and (max-width: 1024px) {
  .site-footer { padding: 40px 0; }
}
@media (max-width: 767px) {
  .site-footer { padding: 20px 0; }
}

/* ==========================================================================
   BACK-TO-TOP
   ========================================================================== */
.back-to-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  z-index: 900;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #1e4fd8 url("../images/cd-top-arrow.svg") no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.back-to-top.is-visible { visibility: visible; opacity: 0.8; transition: opacity 0.3s 0s, visibility 0s 0s; }
@media only screen and (min-width: 768px) {
  .back-to-top { right: 20px; bottom: 20px; }
}
@media only screen and (min-width: 1024px) {
  .back-to-top { height: 60px; width: 60px; right: 30px; bottom: 30px; }
}

/* ==========================================================================
   COOKIE-HINWEIS (modal, zentriert wie im Original)
   ========================================================================== */
.cookie-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px;
}
.cookie-modal[hidden] { display: none; }
.cookie-box {
  box-sizing: border-box;
  max-width: 380px;
  width: 100%;
  background: #fff;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #707070;
}
.cookie-head { margin-bottom: 20px; display: inline-block; }
.cookie-head .headline {
  color: #707070;
  font-size: 20px;
  line-height: 26px;
  position: relative;
  padding: 3px 0 3px 50px;
  display: inline-block;
}
.cookie-head .headline::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%23d98b3a' d='M32 4a28 28 0 1 0 28 28c0-2-.3-4-.7-5.8A9 9 0 0 1 48 20a9 9 0 0 1-9-9 9 9 0 0 1 .4-2.7A28 28 0 0 0 32 4z'/><circle cx='20' cy='24' r='4' fill='%23874f1e'/><circle cx='34' cy='40' r='4.5' fill='%23874f1e'/><circle cx='20' cy='42' r='3' fill='%23874f1e'/><circle cx='44' cy='48' r='3' fill='%23874f1e'/><circle cx='40' cy='28' r='2.5' fill='%23874f1e'/></svg>");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.cookie-content { font-size: 14px; line-height: 18px; display: inline-block; color: #707070; padding-bottom: 20px; }
.cookie-content p { margin: 0; }
.cookie-buttons .btn-cookie {
  font-size: 18px;
  line-height: 24px;
  cursor: pointer;
  display: block;
  margin-bottom: 15px;
  padding: 12px 8px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  background: #00bc13;
  color: #fff;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cookie-buttons .btn-cookie:hover { background: #008a13; color: #fff; text-decoration: none; }
.cookie-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-info > * { margin: 2px 6px; }
.cookie-info a { color: #1e4fd8; }
@media (max-width: 576px) {
  .cookie-box { padding: 7px 15px; }
  .cookie-head .headline { font-size: 16px; line-height: 24px; }
  .cookie-buttons .btn-cookie { margin: 0 auto 8px; font-size: 14px; line-height: 20px; padding: 8px; }
}

/* ==========================================================================
   SCROLL-REVEAL (qx-scrollspy / UIkit-Animationen)
   ========================================================================== */
[data-reveal] { opacity: 0; }
[data-reveal].is-inview { opacity: 1; animation: 0.5s ease-out both; }
[data-reveal="slide-bottom-medium"].is-inview { animation-name: qx-fade, qx-slide-bottom-medium; }
[data-reveal="slide-top-medium"].is-inview { animation-name: qx-fade, qx-slide-top-medium; }
[data-reveal="slide-left-medium"].is-inview { animation-name: qx-fade, qx-slide-left-medium; }
[data-reveal="slide-right-medium"].is-inview { animation-name: qx-fade, qx-slide-right-medium; }
[data-reveal="slide-top-small"].is-inview { animation-name: qx-fade, qx-slide-top-small; }
@keyframes qx-fade { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes qx-slide-bottom-medium { 0% { transform: translateY(50px); } 100% { transform: translateY(0); } }
@keyframes qx-slide-top-medium { 0% { transform: translateY(-50px); } 100% { transform: translateY(0); } }
@keyframes qx-slide-left-medium { 0% { transform: translateX(-50px); } 100% { transform: translateX(0); } }
@keyframes qx-slide-right-medium { 0% { transform: translateX(50px); } 100% { transform: translateX(0); } }
@keyframes qx-slide-top-small { 0% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; animation: none !important; }
}

/* Honeypot-Feld des Kontaktformulars (für Menschen unsichtbar) */
.form-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.card-media-contain { min-height: 0; overflow: hidden; }
.card-media-contain img { height: 100%; }
