/* =========================
   Farbschema
========================= */

:root {
  --color-text:        #ffffff;
  --color-heading:     #ffffff;
  --color-primary:     rgb(0, 156, 176);
  --color-secondary:   rgb(0, 156, 176);
  --color-accent:      rgb(0, 156, 176);
  --color-background:  #3c3c3c;
  --color-contrast:    rgb(0, 156, 176);
  /* Live-Design Variablen */
  --bg:       #000000;
  --text:     #ffffff;
  --headline: #009cb0;
  --muted:    rgba(255,255,255,.78);
  --border:   rgba(255,255,255,.14);
  --maxw:     1200px;
  --pad:      clamp(18px, 3vw, 42px);
  /* Bootstrap btn-primary überschreiben */
  --bs-btn-bg:           rgb(0, 156, 176);
  --bs-btn-border-color: rgb(0, 156, 176);
  --bs-btn-hover-bg:     rgb(0, 130, 148);
  --bs-btn-hover-border-color: rgb(0, 130, 148);
  --bs-btn-active-bg:    rgb(0, 110, 126);
  --bs-primary:          rgb(0, 156, 176);
  --bs-primary-rgb:      0, 156, 176;
}

/* =========================
   Basis Styles
========================= */

h1, h2, h3, h4, h5, h6 {
  font-family: "chainprinter", monospace;
  font-weight: 400;
  font-style: normal;
  color: var(--color-heading);
}

h1 {
  text-transform: uppercase;
}

h3 {
  font-size: calc(1.8rem + .6vw);
}

p, li, td, dd, dt, blockquote, figcaption {
  font-size: 18px;
}

/* =========================
   Grundlayout
========================= */

body {
  font-family: "bebas-neue-pro-semiexpanded", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #3c3c3c;
  margin: 0;
}


/* =========================
   Header (Live-Design)
========================= */

.lm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--bg);
  font-family: "chainprinter", monospace;
}

.lm-container {
  width: min(var(--maxw), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.lm-header__inner {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.lm-header__left  { display: flex; justify-content: flex-start; }
.lm-header__right { display: flex; justify-content: flex-end; }

.lm-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lm-logo {
  height: clamp(34px, 4vw, 52px);
  width: auto;
  filter: invert(1);
  opacity: .95;
}

.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: "chainprinter", monospace;
  font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.lm-btn:hover {
  background: rgba(0,156,176,.12);
  border-color: rgba(0,156,176,.45);
  color: var(--text);
}

/* =========================
   Scroll Snap
========================= */

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

/* =========================
   Sections
========================= */

.section {
  height: 100vh;
  padding-top: 80px;
  padding-bottom: 70px;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@supports (height: 100svh) {
  .section {
    height: 100svh;
  }
}

.bg-light { background-color: #484848 !important; }

/* =========================
   HERO
========================= */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: url("../img/lm_hero_winter.webp") center / cover no-repeat;
  scroll-snap-align: start;
}

@supports (height: 100svh) {
  #hero {
    height: 100svh;
    min-height: 0;
  }
}

/* Dunkles Overlay für Textlesbarkeit */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* -------------------------
   HERO Content Overlay
------------------------- */

#hero .hero-content-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  margin-bottom: 0;
  color: #fff;
  width: 100%;
}

/* -------------------------
   HERO Typografie & Buttons
------------------------- */

#hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
}

.btn-primary {
  --bs-btn-bg:                  rgb(0, 156, 176);
  --bs-btn-border-color:        rgb(0, 156, 176);
  --bs-btn-hover-bg:            rgb(0, 130, 148);
  --bs-btn-hover-border-color:  rgb(0, 130, 148);
  --bs-btn-active-bg:           rgb(0, 110, 126);
  --bs-btn-active-border-color: rgb(0, 110, 126);
  --bs-btn-disabled-bg:         rgb(0, 156, 176);
  --bs-btn-disabled-border-color: rgb(0, 156, 176);
  background-color: rgb(0, 156, 176) !important;
  border-color:     rgb(0, 156, 176) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: rgb(0, 130, 148) !important;
  border-color:     rgb(0, 130, 148) !important;
}

/* =========================
   Footer (Live-Design, fixed)
========================= */

.lm-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: "chainprinter", monospace;
}

.lm-footer__inner {
  padding: 14px 0 16px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.lm-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.lm-contact a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.35);
}

.lm-contact a:hover {
  color: var(--headline);
  border-bottom-color: rgba(0,156,176,.6);
}

.lm-small {
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* =========================
   Module Box
========================= */

.module-box {
  padding: 30px;
  border: 1px solid #ddd;
  height: 100%;
  background: #fff;
}

.module-box h3 {
  margin-bottom: 15px;
}




/* =====================================================
   Fullwidth Section mit Container-Inhalt
===================================================== */

.section-bg {
  position: relative;
  width: 100%;
}

/* Varianten */
.section-bg-light {
  background-color: #f5f9fe;
}

.section-bg-dark {
  background-color: #042940;
  color: #ffffff;
}

/* optional: vertikale Luft */
.section-bg .container {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* =====================================================
   LEISTUNGEN – SPLIT DUAL SWIPER
===================================================== */

#leistungen {
  padding: 84px 0 0 0; /* Platz für fixed Header */
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ---- Spalten ---- */
.split-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #3c3c3c;
}

/* ---- Spalten-Header (Titel + Navigation) ---- */
.split-header {
  flex-shrink: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 0 40px;
  border-bottom: 1px solid rgba(0,156,176,0.2);
}

.split-heading {
  font-family: "chainprinter", monospace;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.split-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.split-btn-prev,
.split-btn-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  font-size: 13px;
}

.split-btn-prev:hover,
.split-btn-next:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0,156,176,0.1);
}

/* Swiper Pagination (Dots) in der Nav-Zeile */
.swiper-pagination-web,
.swiper-pagination-druck {
  position: static !important;
  width: auto !important;
  display: flex;
  gap: 6px;
}

.swiper-pagination-web .swiper-pagination-bullet,
.swiper-pagination-druck .swiper-pagination-bullet {
  background: rgba(255,255,255,0.3);
  opacity: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: width .2s, background .2s, border-radius .2s;
}

.swiper-pagination-web .swiper-pagination-bullet-active,
.swiper-pagination-druck .swiper-pagination-bullet-active {
  background: var(--color-accent);
  width: 20px;
  border-radius: 4px;
}

/* ---- Trennlinie zwischen den Spalten ---- */
.split-divider-line {
  flex-shrink: 0;
  width: 1px;
  background: rgba(0,156,176,0.25);
  align-self: stretch;
}

/* ---- Swiper-Container ---- */
.swiper-web,
.swiper-druck {
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* ---- Swiper Slide ---- */
.split-slide {
  height: 100% !important;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 40px 0 50px;
}

.split-slide-inner {
  z-index: 2;
  max-width: 520px;
}

/* Hintergrundzahl */
.slide-num {
  position: absolute;
  top: 10%;
  right: 20px;
  transform: translateY(-50%);
  font-family: "chainprinter", monospace;
  font-size: clamp(5rem, 10vw, 9rem);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.slide-title {
  font-family: "chainprinter", monospace;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
}

.slide-divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 20px;
}

.slide-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.slide-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slide-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 18px;
}

.slide-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* =====================================================
   REFERENZEN SUB-SWIPER
===================================================== */

/* Slide mit Sub-Swiper: volle Höhe nutzen, kein vertikales Zentrieren */
.split-slide.has-subswiper {
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 64px; /* Platz für fixed Footer */
}

.split-slide.has-subswiper .split-slide-inner {
  max-width: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Sub-Swiper Container – nimmt restliche Höhe */
.swiper-ref-web,
.swiper-ref-druck {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.swiper-ref-web .swiper-wrapper,
.swiper-ref-druck .swiper-wrapper {
  height: 100%;
}

.swiper-ref-web .swiper-slide,
.swiper-ref-druck .swiper-slide {
  height: 100%;
}

/* ---- Inneres Layout: Grafik oben, Info unten ---- */
.ref-slide-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

/* ---- Vorschau-Grafik ---- */
.ref-preview-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-preview-col img {
  max-height: 34vh;
  width: auto;
  max-width: 100%;
  display: block;
}

.mock-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 0.78rem;
  gap: 6px;
}

/* ---- Info-Bereich ---- */
.ref-info-col {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}

.ref-label {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.ref-title {
  font-family: "chainprinter", monospace;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
  color: #fff;
  margin: 0;
  font-weight: 400;
}

.ref-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ref-tag {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
}

.ref-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 18px;
  transition: gap .2s;
  margin-top: 4px;
}

.ref-link:hover {
  gap: 14px;
  color: var(--color-accent);
}

/* Ref-Titel */
.ref-title {
  flex-shrink: 0;
}

/* Swiper-Zeile: Pfeil | Swiper | Pfeil */
.ref-swiper-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ref-swiper-wrap .swiper-ref-web,
.ref-swiper-wrap .swiper-ref-druck {
  flex: 1;
  min-height: 0;
  height: auto;
}

/* autoHeight: Slide/Inner auf auto umstellen */
.ref-swiper-wrap .swiper-ref-web .swiper-wrapper,
.ref-swiper-wrap .swiper-ref-druck .swiper-wrapper {
  height: auto;
}

.ref-swiper-wrap .swiper-ref-web .swiper-slide,
.ref-swiper-wrap .swiper-ref-druck .swiper-slide {
  height: auto;
}

.ref-swiper-wrap .ref-slide-inner {
  height: auto;
}

.ref-nav-prev,
.ref-nav-next {
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color .2s;
}

.ref-nav-prev:hover,
.ref-nav-next:hover {
  color: var(--color-accent);
}

.ref-nav-prev.swiper-button-disabled,
.ref-nav-next.swiper-button-disabled {
  visibility: hidden;
}

.ref-nav-prev i {
  display: inline-block;
  transform: rotate(90deg);
}

.ref-nav-next i {
  display: inline-block;
  transform: rotate(-90deg);
}

/* Pagination unter dem Swiper */
.swiper-pagination-ref-web,
.swiper-pagination-ref-druck {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.swiper-pagination-ref-web .swiper-pagination-bullet,
.swiper-pagination-ref-druck .swiper-pagination-bullet {
  background: rgba(255,255,255,0.45);
  opacity: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: width .2s, background .2s, border-radius .2s;
}

.swiper-pagination-ref-web .swiper-pagination-bullet-active,
.swiper-pagination-ref-druck .swiper-pagination-bullet-active {
  background: var(--color-accent);
  width: 20px;
  border-radius: 4px;
}

/* =========================
   Templates-Slide
========================= */

.split-slide.has-templates .split-slide-inner {
  max-width: none;
  width: 100%;
}

/* =========================
   Preistabellen-Slide
========================= */

.split-slide.has-table {
  align-items: center;
}

.split-slide.has-table .split-slide-inner {
  max-width: none;
  width: 100%;
  padding: 0 4px;
}

.slide-footnote {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin: 8px 0 0;
  line-height: 1.5;
}

/* =========================
   Branch Tags (#module)
========================= */

.branch-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border: 1px solid rgba(0,156,176,0.3);
  border-radius: 8px;
  background: rgba(0,156,176,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  text-align: center;
  transition: background .2s, border-color .2s, color .2s;
  height: 100%;
  min-height: 56px;
}

.branch-tag:hover {
  background: rgba(0,156,176,0.15);
  border-color: rgba(0,156,176,0.6);
  color: #fff;
}

.branch-tag i {
  color: var(--headline);
  flex-shrink: 0;
}

/* =========================
   Preistabelle Dark Theme
========================= */

.lm-table {
  /* Bootstrap 5 CSS-Variablen überschreiben */
  --bs-table-bg: transparent;
  --bs-table-color: rgba(255,255,255,0.8);
  --bs-table-border-color: rgba(255,255,255,0.1);
  --bs-table-hover-bg: rgba(255,255,255,0.06);
  --bs-table-hover-color: #fff;
  --bs-table-striped-bg: rgba(255,255,255,0.03);
  --bs-table-active-bg: rgba(255,255,255,0.1);
}

.lm-table thead tr th {
  background-color: rgba(0,156,176,0.14) !important;
  color: var(--headline) !important;
  font-family: "chainprinter", monospace;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-color: rgba(255,255,255,0.1) !important;
}

/* =========================
   Über uns – Kontakt-Karte
========================= */

.lm-contact-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 28px 32px;
}

.lm-contact-card a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.3);
  transition: color .15s;
}

.lm-contact-card a:hover {
  color: var(--headline);
}

.benefits {
  margin: 0 40px}

/* =========================
   Über uns + FAQ – Overflow
========================= */

#ueber-uns,
#faq {
  align-items: flex-start;
  overflow-y: auto;
}

/* Container vertikal zentrieren via margin auto (scrollt trotzdem wenn nötig) */
#ueber-uns > .container,
#faq > .container {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

/* =========================
   FAQ Accordion Dark Theme
========================= */

/* =========================
   FAQ-Slide im Swiper
========================= */

.split-slide.has-faq {
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
  overflow-y: auto;
}

.split-slide.has-faq .split-slide-inner {
  max-width: none;
  width: 100%;
  overflow-y: auto;
  padding-right: 4px;
}

/* FAQ Accordion – Styles via ID für maximale Spezifität */
#faqAccordionWeb .accordion-item,
#faqAccordionDruck .accordion-item,
#faqAccordion .accordion-item {
  background-color: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.1) !important;
}

#faqAccordionWeb .accordion-button,
#faqAccordionDruck .accordion-button,
#faqAccordion .accordion-button {
  background-color: rgba(255,255,255,0.04) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: "chainprinter", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

#faqAccordionWeb .accordion-button:not(.collapsed),
#faqAccordionDruck .accordion-button:not(.collapsed),
#faqAccordion .accordion-button:not(.collapsed) {
  background-color: rgba(0,156,176,0.18) !important;
  color: var(--headline) !important;
}

#faqAccordionWeb .accordion-button::after,
#faqAccordionDruck .accordion-button::after,
#faqAccordion .accordion-button::after {
  filter: invert(1) brightness(0.7);
}

#faqAccordionWeb .accordion-button:not(.collapsed)::after,
#faqAccordionDruck .accordion-button:not(.collapsed)::after,
#faqAccordion .accordion-button:not(.collapsed)::after {
  filter: invert(55%) sepia(70%) saturate(400%) hue-rotate(150deg);
}

#faqAccordionWeb .accordion-body,
#faqAccordionDruck .accordion-body,
#faqAccordion .accordion-body {
  background-color: rgba(0,0,0,0.18) !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 18px;
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 767px) {
  /* Section: vertikal stapeln, kein Clipping, kein Snap */
  #leistungen {
    flex-direction: column;
    height: auto !important;
    overflow: visible !important;
    scroll-snap-align: none;
    padding: 0;
  }

  /* Erste Spalte: Platz für fixed Header */
  #col-web {
    padding-top: 84px;
  }

  /* Jede Spalte bekommt Vollbild-Höhe → Swiper hat Platz */
  .split-col {
    height: 100svh;
    flex-shrink: 0;
    overflow: hidden;
    scroll-snap-align: none;
  }

  /* Trennlinie horizontal */
  .split-divider-line {
    width: 100%;
    height: 1px;
    flex-shrink: 0;
  }

  .split-slide {
    padding: 0 24px;
  }

  /* Grafik auf Mobile etwas kleiner */
  .ref-preview-col img {
    max-height: 26vh;
  }
}