/* ==========================================================================
   eigene_stile.css (bereinigt)
   ==========================================================================
   Ziel:
   - Aufgeräumte Overrides zu main.css / Bootstrap
   - Mobile bleibt wie bisher, Desktop (>= 992px) mit:
     * Top-Services zweispaltig, linksbündig, Bullet links vor jedem Eintrag
     * Logo größer + näher an den Menüblock
   ========================================================================== */

/* =========================
   Erzeugt einen Abstand von 30px nach jedem Inhaltselement
   ========================= */

.frame {
    margin-bottom: 30px;
}



/* Alle Listen komplett linksbündig */
.frame-type-text ul {
    margin-left: 0 !important;
    padding-left: 1.2rem !important;
}


/* =========================
   TYPO3 Inhaltselement "Nur Bilder"
   - sauberes responsives Galerie-Layout
   - TYPO3 Wrapper/Floats neutralisiert
   ========================= */

.frame-type-image .ce-center,
.frame-type-image .ce-above,
.frame-type-image .ce-gallery,
.frame-type-image .ce-outer,
.frame-type-image .ce-inner {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  text-align: left !important;
}

/* Galerie-Reihe */
.frame-type-image .ce-gallery .ce-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 2rem;
  width: 100% !important;
  margin: 0 !important;
}

/* Basis */
.frame-type-image .ce-gallery .ce-column {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* 1 Bild */
.frame-type-image .ce-gallery[data-ce-columns="1"] .ce-column {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* 2 Bilder */
.frame-type-image .ce-gallery[data-ce-columns="2"] .ce-column {
  flex: 0 0 auto !important;
  max-width: 320px !important;
}

/* 3 Bilder */
.frame-type-image .ce-gallery[data-ce-columns="3"] .ce-column {
  flex: 0 0 calc(33.333% - 1.4rem) !important;
  max-width: calc(33.333% - 1.4rem) !important;
}

/* 4 Bilder */
.frame-type-image .ce-gallery[data-ce-columns="4"] .ce-column {
  flex: 0 0 calc(25% - 1.5rem) !important;
  max-width: calc(25% - 1.5rem) !important;
}

/* 5 Bilder */
.frame-type-image .ce-gallery[data-ce-columns="5"] .ce-column {
  flex: 0 0 calc(20% - 1.6rem) !important;
  max-width: calc(20% - 1.6rem) !important;
}

/* 6 Bilder */
.frame-type-image .ce-gallery[data-ce-columns="6"] .ce-column {
  flex: 0 0 calc(16.666% - 1.7rem) !important;
  max-width: calc(16.666% - 1.7rem) !important;
}

/* Figure / Link */
.frame-type-image .ce-gallery figure.image,
.frame-type-image .ce-gallery a {
  display: block !important;
  margin: 0 !important;
}

/* Bilder */
.frame-type-image .ce-gallery img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Mobile */
@media (max-width: 768px) {
  .frame-type-image .ce-gallery .ce-row {
    gap: 1rem;
  }

  .frame-type-image .ce-gallery .ce-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .frame-type-image .ce-gallery img {
    width: 100% !important;
  }
}


/* Nav Pfeile Galerie ****/
#slickid-392 .slick-prev {
    left: 10px !important;
    z-index: 9999 !important;
}

#slickid-392 .slick-next {
  right: 10px !important;
    z-index: 9999 !important;
}


[id^="slickid-"] .slick-next,
[id^="slicksync-"] .slick-next {
  right: 20px !important;
  left: auto !important;
    z-index: 9999 !important;
}

[id^="slickid-"] .slick-prev,
[id^="slicksync-"] .slick-prev {
    left: 20px !important;
    z-index: 9999 !important;
}



/* Galerie Alle Bilder */
.green-button a {
  display: inline-block;
  background: #2ea043;
  color: #fff !important;
  text-decoration: none;
  padding: 18px 48px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.green-button a strong {
  color: inherit;
  font-weight: 500;
}

.green-button pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  white-space: normal;
  font-family: inherit;
}

.green-button {
  text-align: center;
}

div.green-button a {
  display: inline-block !important;
  background: #2ea043 !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 18px 48px !important;
  border-radius: 12px !important;
}


.green-button {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}



/****** Bilder Slider responsive ********/
/* Standard-Stile für größere Bildschirme */
.image-embed-item {
    width: 100%;
    height: auto;
}

/* Anpassung für Mobilgeräte (max. Breite 768px) */
@media (max-width: 768px) {
    .image-embed-item {
        width: 100%;
        height: auto;
        object-fit: cover;  /* Dies stellt sicher, dass das Bild skaliert wird, ohne das Seitenverhältnis zu verlieren */
    }
}



/* =========================================================
   JOB GRID
========================================================= */

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 24px 0;
}

/* TYPO3 Abstandsspalten entfernen */
.jobs-grid > .space {
    display: none !important;
}

/* TYPO3 Inline-Breiten neutralisieren */
.jobs-grid > .col,
.jobs-grid > [class*="col-"] {
    width: auto !important;
    display: flex;
}

/* Inhalt auf volle Breite */
.jobs-grid > .col > div,
.jobs-grid > [class*="col-"] > div {
    width: 100%;
}


/* =========================================================
   JOB GRID TYPO3 RESET
========================================================= */

/* globale Gallery-Flex-Regeln neutralisieren */
.jobs-grid .ce-gallery .ce-row {
    display: block !important;
    gap: 0 !important;
}

.jobs-grid .ce-gallery .ce-column {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* TYPO3 ce-textpic Reset */
.jobs-grid .frame-type-textpic .ce-textpic,
.jobs-grid .frame-type-textpic .ce-center,
.jobs-grid .frame-type-textpic .ce-above {
    margin: 0 !important;
    padding: 0 !important;
}

.jobs-grid .frame-type-textpic .ce-textpic::after {
    display: none;
}


/* =========================================================
   CARD BASIS
========================================================= */

.jobs-grid .frame-type-text,
.jobs-grid .frame-type-textpic {
    background: #ffffff;

    border-radius: 28px;

    border: 1px solid #edf1f5;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.05),
        0 2px 10px rgba(15, 23, 42, 0.03);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.jobs-grid .frame-type-text:hover,
.jobs-grid .frame-type-textpic:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.10),
        0 4px 12px rgba(15, 23, 42, 0.05);
}


/* =========================================================
   REINE TEXT CARD
========================================================= */

.jobs-grid .frame-type-text {
    padding: 34px;
}


/* =========================================================
   TEXT + BILD CARD
========================================================= */

.jobs-grid .frame-type-textpic {
    padding-bottom: 34px;
}

/* Header */
.jobs-grid .frame-type-textpic > header {
    padding:
        34px
        34px
        4px;
}

/* Bildblock */
.jobs-grid .frame-type-textpic .ce-gallery {
    margin: 0 !important;

    padding:
        0
        24px !important;

    box-sizing: border-box;
}

/* TYPO3 Wrapper neutralisieren */
.jobs-grid .frame-type-textpic .ce-gallery,
.jobs-grid .frame-type-textpic .ce-outer,
.jobs-grid .frame-type-textpic .ce-inner,
.jobs-grid .frame-type-textpic .ce-row,
.jobs-grid .frame-type-textpic .ce-column,
.jobs-grid .frame-type-textpic figure,
.jobs-grid .frame-type-textpic a {
    width: 100%;
    display: block;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

/* Bild */
.jobs-grid .frame-type-textpic img {
    display: block;

    width: 100%;
    height: 260px;

    object-fit: cover;

    border-radius: 20px !important;
}

/* Link/Text unten */
.jobs-grid .frame-type-textpic .ce-bodytext {
    padding:
        24px
        34px
        0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.jobs-grid h2 {
    color: #111111;

    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.05em;

    margin: 0 0 6px;

    font-weight: 800;
}

.jobs-grid h3 {
    color: #111111;

    font-size: 22px;
    line-height: 1;

    margin: 0 0 16px;

    font-weight: 800;
}

.jobs-grid h2 a,
.jobs-grid h3 a {
    color: inherit;
    text-decoration: none;
}

.jobs-grid h2 a:hover,
.jobs-grid h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.jobs-grid p {
    margin: 0 0 10px;

    color: #5c6470;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   MEHR ERFAHREN
========================================================= */

.jobs-grid p:last-child a {
    display: inline-flex;
    align-items: center;

    color: #118c2f;

    font-weight: 700;
    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.jobs-grid p:last-child a:hover {
    color: #0b6f24;
    transform: translateX(2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 720px) {

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jobs-grid .frame-type-text {
        padding: 28px;
    }

    .jobs-grid .frame-type-textpic {
        padding-bottom: 28px;
    }

    .jobs-grid .frame-type-textpic > header {
        padding:
            28px
            28px
            4px;
    }

    .jobs-grid .frame-type-textpic .ce-gallery {
        padding:
            0
            20px !important;
    }

    .jobs-grid .frame-type-textpic .ce-bodytext {
        padding:
            20px
            28px
            0;
    }

    .jobs-grid .frame-type-textpic img {
        height: 220px;
        border-radius: 16px !important;
    }

    .jobs-grid h2 {
        font-size: 26px;
    }

    .jobs-grid h3 {
        font-size: 20px;
    }

}



/********* F.A.Q. ********/
.c-accordion-title {
    text-align: left;
      color: #333;
    display: block;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0.72em 3em 0.72em 0;
    font-size: 1.26em;
    font-weight: 400;
    transition: all .3s;
    border-bottom: 1px solid transparent;
  border-right: none;
  border-top: none;
  border-left: none;
    background: none;
}


/* Styling der links FAQ */
.c-accordion-title a {
      color: #333;
  font-size: 1rem;
  text-decoration: none;
}

.c-accordion-title a:hover {
      color: #333;
  font-size: 1rem;
  text-decoration: none;
}

.c-accordion-title a:active {
      color: #333;
  font-size: 1rem;
  text-decoration: none;
}


/* =========================
   Button to top
   ========================= */
#toTopBtn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;

  background: #1b8f34;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  /*  NEU */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#toTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#toTopBtn svg {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/*********** Trenner hr Design ***********************/
hr {
  border-top: 3px dashed #1c8f34;
  opacity: 1;
}

/*********** Tabellen Markierung gruen ***************/
/*--------------------------------------------------------------
	Tabellen
--------------------------------------------------------------*/

tbody tr:hover {
    background: #1c8f34;
    color: #fff;
}



.frame{
        margin-bottom: 20px !important;
	clear: both !important;
    }



.rootline-box {
        margin-bottom: 0px;
        padding-top: 20px !important;
        padding-left: 30px !important;
    }

/******** eigene 3 Spalten Elemente Klinik Karte *********/

/* =========================
   Container
   ========================= */
.frame-type-container.klinikkarte {
  display: flex;
  gap: 2rem;
  clear: both;
  width: 100%;
}

/* Spalten */
.frame-type-container.klinikkarte > .col {
  display: flex;
}

/* =========================
   TYPO3 textpic / gallery RESET
   NUR innerhalb der Klinikkarte
   ========================= */

/* Floats entfernen */
.frame-type-container.klinikkarte .frame-type-textpic .ce-gallery,
.frame-type-container.klinikkarte .frame-type-textpic figure.image {
  float: none !important;
}

/* ce-center / ce-above zentrieren aufheben */
.frame-type-container.klinikkarte .ce-textpic.ce-center,
.frame-type-container.klinikkarte .ce-textpic.ce-above {
  text-align: left !important;
}

/* Alle TYPO3 Wrapper auf volle Breite zwingen */
.frame-type-container.klinikkarte .ce-textpic,
.frame-type-container.klinikkarte .ce-gallery,
.frame-type-container.klinikkarte .ce-outer,
.frame-type-container.klinikkarte .ce-inner,
.frame-type-container.klinikkarte .ce-row,
.frame-type-container.klinikkarte .ce-column,
.frame-type-container.klinikkarte figure.image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Bootstrap-Gutters deaktivieren */
.frame-type-container.klinikkarte .ce-row {
  --bs-gutter-x: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* figure/image nicht inline oder zentriert */
.frame-type-container.klinikkarte figure.image {
  display: block !important;
}

/* =========================
   DIE CARD
   ========================= */
.frame-type-container.klinikkarte .frame-type-textpic {
  background: #fff;
  border-radius: 20px;
  overflow: hidden; /* wichtig für randlose Bilder */
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);

  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Bild randlos */
.frame-type-container.klinikkarte img.image-embed-item {
  display: block;
  width: 100% !important;
  height: 220px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0;
}

/* =========================
   Textbereich
   ========================= */
.frame-type-container.klinikkarte .ce-bodytext {
  padding: 1.5rem 1.75rem 2rem;
}

.frame-type-container.klinikkarte .ce-bodytext p {
  margin: 0 0 1.25rem;
}

.frame-type-container.klinikkarte .ce-bodytext a {
  display: inline-block;
  color: #1e9131;
  font-weight: 600;
  text-decoration: none;
}

/* Links formatieren */
/* =========================
   Klinikkarte – zentrierte Überschrift
   ========================= */

/* h3 selbst */
.frame-type-container.klinikkarte .ce-bodytext h3.text-center {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center; /* bewusst behalten */
}

/* Link in der Überschrift */
.frame-type-container.klinikkarte .ce-bodytext h3.text-center > a {
  color: #111;
  
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-block; /* saubere Hover-Fläche */
}

/* Hover nur für Headline-Link */
.frame-type-container.klinikkarte .ce-bodytext h3.text-center > a:hover {
  color: #1c8f34;
  text-decoration: underline;
}

/* strong innerhalb des Links neutralisieren */
.frame-type-container.klinikkarte .ce-bodytext h3.text-center > a > strong {
  font-weight: inherit;
}


/* Smooth Zoom vorbereiten */
.frame-type-container.klinikkarte img.image-embed-item {
  transition: transform 0.4s ease;
}

/* Zoom bei Hover über der gesamten Karte */
.frame-type-container.klinikkarte .frame-type-textpic:hover img.image-embed-item {
  transform: scale(1.2); /* Stärke kannst du anpassen vorher: 1.06 */
}




/* =========================
   Mobile
   ========================= */
@media (max-width: 900px) {
  .frame-type-container.klinikkarte {
    flex-direction: column;
  }

  .frame-type-container.klinikkarte > .col {
    width: 100% !important;
  }
}



/* --------------------------------------------------------------
   Abrundung Bilder
-------------------------------------------------------------- */
img {
  border-radius: 12px !important;
}



/* --------------------------------------------------------------
   Textfarbe bei Markierung
-------------------------------------------------------------- */
html ::selection,
html ::-moz-selection {
  background: #1c8f34 !important;
  color: #fff !important;
}

/* --------------------------------------------------------------
   TYPO3 Content-Frames: clearfix
-------------------------------------------------------------- */
.frame::after,
.frame-default::after {
  content: "";
  display: block;
  clear: both;
}

/* --------------------------------------------------------------
   Buttons (Bootstrap Override)
-------------------------------------------------------------- */
.btn-primary {
  background-color: #1d9035;
  border: none;
  margin: 10px 10px 10px 0;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #44c45e;
  border: none;
  box-shadow: none;
  margin: 10px 10px 10px 0;
}

/* Optional: Fehlernachrichten oder Hinweise */
form .error-message {
  color: red;
  font-size: 0.9em;
  margin-top: -5px;
}

/* ===================================================================
   TOP SERVICES (oberes zweizeiliges Leistungsmenü)
   - Mobile: wie bisher gestapelt
   - Desktop: zweispaltig + Bullets links
   =================================================================== */
.top-services {
  padding: 1.25rem 0;
}

.services-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Spalten (Basis) */
.services-col-left,
.services-col-right {
  text-align: left;
}

/* Listen */
.services-list,
.services-dot-list {
  margin: 0;
  padding: 0;
  list-style: none; /* Mobile bleibt ohne Standard-Bullets */
}

.services-item,
.services-dot-list li {
  margin: 0;
  padding: 0.15rem 0;
  font-size: 0.95rem;
  line-height: 1.2;
}

.services-link {
  color: #424242;
  text-decoration: none;
}

.services-link:hover,
.services-link:focus {
  text-decoration: underline;
}

/* Mobile (bis 768px): gestapelt, Punktspalte aus */
@media (max-width: 768px) {
  .services-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .services-col-center {
    display: none;
  }

  .services-col-left,
  .services-col-right {
    padding: 0;
    width: 100%;
  }

  .services-list {
    margin-bottom: 1rem;
  }
}

/* ===================================================================
   Kontaktzeile unter Header / über Hauptmenü
   =================================================================== */
.contact-bar {
  padding: 0.35rem 0;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--brand-green);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.contact-bar-desktop { display: block; }
.contact-bar-mobile  { display: none; }

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
  text-decoration: none;
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-icon-link i {
  font-size: 1rem;
}

.contact-icon-link:hover,
.contact-icon-link:focus {
  text-decoration: underline;
}

/* Mobile: nur kompakt (Icons + Telefon / Kontakt) */
@media (max-width: 991.98px) {
  .contact-bar { text-align: center; }
  .contact-bar-desktop { display: none; }
  .contact-bar-mobile {
    display: inline-flex;
    justify-content: center;
    gap: 1.75rem;
  }
}

/* ===================================================================
   Einheitliche Inhaltsbreite
   =================================================================== */
.main-wrapper {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-inline: 1rem;
}

/* ===================================================================
   Navbar Anpassungen
   =================================================================== */

/* Mobil: Menü-Button im grünen Balken zentrieren */
@media (max-width: 991.98px) {
  .navbar-custom .main-wrapper {
    justify-content: center;
  }
  .navbar-custom .navbar-toggler {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Desktop: Hauptmenü zentrieren */
@media (min-width: 992px) {
  .navbar-custom .navbar-collapse { justify-content: center; }
  .navbar-custom .navbar-nav {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================================================
   DESKTOP-OVERRIDES (ab 992px)
   =================================================================== */
@media (min-width: 992px) {

  /* Header: weniger Luft oben/unten (statt py-4 optisch kompakter) */
  header .main-wrapper.py-4 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  /* Header-Row: Spalten vertikal zentrieren + Gutter reduzieren */
  .row.top-header {
    align-items: center !important;
    --bs-gutter-x: 0.5rem;
  }

  /* Logo größer + näher an den Menüblock (58/42) */
  .top-header .logo-column {
    flex: 0 0 58%;
    max-width: 58%;
    display: flex;
    justify-content: flex-end;
    padding-right: 0.25rem !important;
  }

  .top-header .textblock-column {
    flex: 0 0 42%;
    max-width: 42%;
    padding-left: 0.25rem !important;
  }

  header .logo-img {
    width: 100%;
    max-width: 650px;   /* bei Bedarf 680–750 erhöhen */
    height: auto;
    display: block;
  }

  /* Top-Services: wie Ziel.jpg -> 2 Spalten, linksbündig, Bullets links */
  .top-services .services-col-center { display: none !important; }

  .top-services .services-col-left,
  .top-services .services-col-right {
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .top-services .services-list {
    list-style: disc !important;
    list-style-position: outside;
    padding-left: 1.1rem !important;
    margin: 0;
  }

  .top-services .services-item {
    padding: 0.12rem 0;
    line-height: 1.15;
  }

  /* Falls eine Fake-Punktliste noch vorhanden ist: deaktivieren */
  .top-services .services-dot-list li::before {
    content: none !important;
  }

  /* Kontaktzeile Desktop: Block zentriert und kompakt */
  .contact-bar .main-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .contact-bar-desktop {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    white-space: nowrap;
    font-weight: 600;
  }

  .contact-bar-desktop img {
    margin: 0 2.5rem;
    vertical-align: middle;
  }
}



/* =====================================================
   DESKTOP: Weißraum über & unter dem Logo weiter reduzieren
   ===================================================== */
@media (min-width: 992px) {

  /* Header insgesamt noch kompakter */
  header .main-wrapper.py-4 {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }

  /* Logo-Spalte: keine zusätzliche vertikale Luft */
  .top-header .logo-column {
    align-items: center;
  }

  /* Logo selbst: kein Zeilenabstand, kein extra Whitespace */
  header .logo-img {
    display: block;
    line-height: 0;
  }
}


@media (min-width: 992px) {
  .header-wrapper.py-4{
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  .header-wrapper .logo-img{
    display:block;
  }
}



/* ============================================================
   DESKTOP FEINTUNING HEADER (Rechtsbündigkeit Top-Services)
   ============================================================ */
@media (min-width: 992px) {

  .top-services {
    display: flex;
    justify-content: flex-end;
  }

  .top-services .services-row {
    width: fit-content;
    margin-left: auto;
    justify-content: flex-end !important;
    margin-right: -6px; /* exakte Ausrichtung mit info@kpw.eu */
  }

  header .logo-img {
    max-width: 700px;
  }
}



/* Text mit Bild: mobil nicht nebeneinander, sondern untereinander */
@media (max-width: 768px) {

  .ce-textpic.ce-intext,
  .ce-textpic.ce-right,
  .ce-textpic.ce-left {
    display: flex !important;
    flex-direction: column !important;
  }

  .ce-textpic.ce-intext .ce-gallery,
  .ce-textpic.ce-right .ce-gallery,
  .ce-textpic.ce-left .ce-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.25rem 0 !important;
  }

  .ce-textpic.ce-intext .ce-bodytext {
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
  }

  .ce-textpic.ce-intext .ce-bodytext p {
    margin-top: 0;
  }

  .ce-textpic.ce-intext img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}