/* Desktop: Mobile Header aus */
.m-header-item { 
  display: none; 
}

/* Mobile: 0–768px */
@media (max-width: 1300px) {

  /* Optional: SVG Wolken/Background Container aus */
  #svg-container {
    display: none;
  }

  /* Desktop/Normal-Header aus */
  .catchy-active { 
    display: none; 
  }

  /* Mobile Header aktivieren (dein Indikator) */
  .catchy-active + .m-header-item {
    display: block;
  }

  /* ========== HERO CARD CONTAINER ========== */
  .m-header-item {
             /* Card Abstand zum Rand */
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    position: relative;

    /* Hintergrund: Sinope Blau + sanfter Verlauf */
    background: linear-gradient(135deg, #0B3C6D 0%, #1F5FA8 70%, #0B3C6D 100%);
  }

  /* Content über allem */
  .m-header-item > * {
    position: relative;
    z-index: 1;
  }

  /* ========== HERO IMAGE (oben, volle Breite) ========== */
  .m-header-item .catchy-img {
    position: relative;
    width: 100%;
    height: 200px;                    /* 180–240 je nach Motiv */
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.05);     /* falls Bild kurz lädt */
  }

  /* Neos kann <figure> / <picture> rendern -> diese Wrapper auf volle Größe bringen */
  .m-header-item .catchy-img figure,
  .m-header-item .catchy-img picture {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
  }

  /* Slow Pan auf dem eigentlichen Bild */
  .m-header-item .catchy-img img {
    position: absolute;
    inset: 0;

    width: 120%;                      /* breiter als Container -> Bewegung sichtbar */
    height: 100%;

    object-fit: cover;
    object-position: right center;

    opacity: 0.96;
    will-change: transform;

    transform: translateX(0) scale(1.05);
    animation: slowPanZoom 26s ease-in-out infinite alternate;
  }

  @keyframes slowPanZoom {
    0%   { transform: translateX(0) scale(1.05); }
    100% { transform: translateX(-10%) scale(1.08); }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .m-header-item .catchy-img img {
      animation: none;
      transform: scale(1.05);
    }
  }

  /* ========== TEXT / TYPO ========== */
  .m-header-item .catchy-head {
    padding: 16px 16px 6px;
  }

  .m-header-item .catchy-head h2 {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 650;
    letter-spacing: 0.2px;
    color: rgba(255,255,255,0.85);
  }

  .m-header-item .static-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
  }

  .m-header-item .catchy-desc {
    padding: 0 16px 10px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
	box-sizing:border-box;
  }

  /* ========== BUTTONS ========== */
  .m-header-item .catchy-btn {
    padding: 12px 16px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
	width: 100%;
  box-sizing: border-box;
  }

  .m-header-item .catchy-btn .btn {
    height: 48px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    text-decoration: none;

    font-size: 16px;
    font-weight: 750;

    background: #ffffff;
    color: #0B3C6D;
    border: 1px solid rgba(255,255,255,0.15);
  }

  .m-header-item .catchy-btn .btn.second-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.55);
    font-weight: 650;
  }

  .m-header-item .catchy-btn .btn:active {
    transform: scale(0.99);
  }
/* ========== TRUST / ANSPRECHPARTNER ========== */

.m-header-item .hero-person {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 18px 16px 16px;
  padding-top: 14px;

  border-top: 1px solid rgba(255,255,255,0.15);
}

.m-header-item .hero-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;

  object-fit: cover;

  border: 2px solid rgba(255,255,255,0.5);
}

.m-header-item .hero-person-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.m-header-item .hero-person-text span {
  display: block;
  margin-top: 3px;

  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.new-replace-slider{
	height:unset;
}
.slider-container{
	margin-bottom:10px;
}
  /* Optional: Buttons nebeneinander auf größeren Phones */
  @media (min-width: 390px) {
    .m-header-item .catchy-btn {
      grid-template-columns: 1fr 1fr;
    }
  }
  
}
  
  @media (max-width: 768px) {
  /* ==========================
   HERO Two-Column (NEOS)
   ========================== */

/* 1) Grid statt Flex (mobile first) */
.hero .main-column-holder{
  display: grid !important;   /* überschreibt evtl. flex aus dem Theme */
  gap: 16px;
}

/* 2) Mobile Reihenfolge (optional):
   Standard: main-col zuerst, second-col danach (meistens ok).
   Mirror-mode kann bei dir die Reihenfolge drehen – wir fangen das sauber ab. */
.hero .main-col{ order: 1; }
.hero .second-col{ order: 2; }
.hero .mirror-mode.second-col{ order: 2; } /* bleibt unterhalb auf Mobile */

/* 3) Text-Card modern */
.hero .main-col{
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  box-sizing:border-box;
}

/* 4) Typo + Hierarchie */
.hero .section-title h2{
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.12;
  margin: 6px 0 12px;
}

.hero .section-title .title-color2{
  display: inline-block;
  font-size: .9rem;
  opacity: .75;
  margin-bottom: 4px;
}

/* 5) Fließtext angenehmer (wir greifen den direkten Content-Block) */
.hero .main-col > div:not(.section-title){
  font-size: 1rem;
  line-height: 1.65;
  opacity: .92;
  max-width: 100%;
  text-wrap: wrap;
}

/* 6) Button modern + mobile full-width */
.hero .main-col .btn{
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Optional: wenn dein Theme .btn schon Farben hat, lass das weg.
   Wenn du "Sinope-Button" erzwingen willst: */
/*
.hero .main-col .btn{
  background:#163a8a;
  color:#fff;
}
*/

/* 7) Media-Card für column1 (kann Bild oder Content enthalten) */
.hero .second-col{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

/* Falls in column1 Text/andere Elemente sind, geben wir etwas Grund-Spacing */
.hero .second-col{
  background: #fff; /* hilft, wenn da nicht nur Bild ist */
}

/* 8) Bild/figure/picture in second-col sauber croppen */
.hero .second-col figure,
.hero .second-col picture{
  margin: 0;
  display: block;
}

.hero .second-col img{
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  object-fit: cover;
  display: block;
}

/* 9) Desktop / Tablet: 2 Spalten */
@media (min-width: 860px){
  .hero .main-column-holder{
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 24px;
  }

  /* Wenn direction=true und mirror-mode aktiv ist, steht second-col links.
     Das bleibt so – wir brauchen hier keine Order-Hacks. */
  .hero .main-col .btn{
    width: auto;
  }
}
  .hero .image-loop-item
{
	  width:100%;
		bottom: 0;
		top: 0;
	  
  }
    .hero .image-loop-item figure{
	height:100%;}
	.hero .image-loop-item img{
		
		height: 100%;
	}
  
  .bfield-desktop{
  display:none;}
  
  /* ===== bfield mobile (bfm-*) ===== */

.bfm-wrap{
 max-width: 1400px !important;
  margin-right: auto;
  margin-left: auto;
  background-color: white;
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
  box-sizing: border-box;
  
}

/* Horizontal swipe track */
.bfm-track{
  margin-top: 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.bfm-track::-webkit-scrollbar{
  display: none;
}

/* Card */
.bfm-card{
  scroll-snap-align: start;
  text-decoration: none;

  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  padding: 16px 16px 14px;

  display: grid;
  gap: 10px;
}

/* Icon */
.bfm-icon{
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #163a8a;
  color: #fff;
}

.bfm-icon i{
  font-size: 26px;
  line-height: 1;
}

/* Title/Text */
.bfm-title{
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #111;
}

.bfm-text{
  font-size: 1rem;
  line-height: 1.6;
  opacity: .88;
  color: #111;

  /* optional: clamp */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.bfm-cta{
  margin-top: 2px;
  font-weight: 800;
  color: #163a8a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bfm-arrow{
  display: inline-block;
  transition: transform .15s ease;
}

.bfm-card:hover .bfm-arrow{
  transform: translateX(3px);
}

/* Optional: auf sehr kleinen Geräten etwas breiter */
@media (max-width: 380px){
  .bfm-track{ grid-auto-columns: 88%; }
}

/* Optional: auf Tablet nicht mehr swipe, sondern 2er Grid (wenn du willst) */
@media (min-width: 680px){
  .bfm-track{
    grid-auto-flow: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
}
  .bfield-container{
	  margin-bottom:25px;
  }
    .bfm-wrap{ display:block; }
	.mb-70{
		margin-bottom:25px;
	}
	
	
	
	.section-title + div p{
		text-wrap: wrap;
  width: 100%;
  white-space:normal;
		  overflow-wrap: break-word;
  word-break: break-word;
  overflow-wrap: anywhere;
	}
}

