/*
 * Custom CSS
 * Inhalt aus dem Plugin-Eintrag "Custom CSS" hier einfuegen.
 * Wird zuletzt geladen und sollte fuer bewusste Overrides genutzt werden.
 */

.elementor-menu-toggle {
	padding: 0px;
}

/* Globale Button-Schatten als Kundenvariante. */
.elementor-button,
.wysiwyg-button,
.doctolib-button,
.elementor-field-type-submit button {
    box-shadow:
        0 1px 2px rgba(25, 55, 48, 0.16),
        0 3px 5px rgba(25, 55, 48, 0.18) !important;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease,
        filter 0.25s ease,
        transform 0.25s ease;
}

.elementor-button:hover,
.elementor-button:focus-visible,
.wysiwyg-button:hover,
.wysiwyg-button:focus-visible,
.doctolib-button:hover,
.doctolib-button:focus-visible,
.elementor-field-type-submit button:hover,
.elementor-field-type-submit button:focus-visible {
    box-shadow:
        0 1px 3px rgba(25, 55, 48, 0.18),
        0 4px 7px rgba(25, 55, 48, 0.2) !important;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .elementor-button,
    .wysiwyg-button,
    .doctolib-button,
    .elementor-field-type-submit button {
        box-shadow:
            0 1px 2px rgba(25, 55, 48, 0.18),
            0 4px 7px rgba(25, 55, 48, 0.22) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elementor-button,
    .wysiwyg-button,
    .doctolib-button,
    .elementor-field-type-submit button {
        transition: none !important;
    }

    .elementor-button:hover,
    .elementor-button:focus-visible,
    .wysiwyg-button:hover,
    .wysiwyg-button:focus-visible,
    .doctolib-button:hover,
    .doctolib-button:focus-visible,
    .elementor-field-type-submit button:hover,
    .elementor-field-type-submit button:focus-visible {
        transform: none;
    }
}
.hidden {
	display: none!important;
}
.doclib .elementor-button-icon svg {
	width: 3em;
}
.doclib .elementor-button-icon svg path {
	fill: #000;
}

#fs-content  .elementor-widget-text-editor ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#fs-content  .elementor-widget-text-editor ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: .6rem;
  line-height: 1.5;
}
#fs-content .elementor-widget-text-editor ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: .6rem;
  height: .6rem;
  background: url("https://hautarztzentrum-muenster.de/wp-content/uploads/2025/09/favicon.svg")
             no-repeat center / contain;
}
/* 
.elementor-location-footer .elementor-widget-text-editor ul li::before { content: none !important; }

*/
/* 1. BASIS-STYLES (Gilt für alle: Mobile + Desktop) */
.zoom-card {
  overflow: hidden;                 
  /* Der Schatten ist jetzt auch auf Mobile sichtbar */
  box-shadow: 0 4px 10px rgba(0,0,0,.08);   
  transition: transform .35s cubic-bezier(.2,.7,.2,1), 
              box-shadow .35s cubic-bezier(.2,.7,.2,1);
  will-change: transform, box-shadow;
}

/* Spezialfall v2 global (ohne Schatten) */
.v2 .zoom-card {
  overflow: visible;  
  box-shadow: none;   
}

/* 2. NUR DESKTOP EFFEKTE (Hover-Interaktion) */
@media (hover: hover) and (pointer: fine) {
  .zoom-card:hover {
    /* Auf Desktop wird der Schatten beim Hover noch stärker */
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);  
  }

  /* v2 auf Desktop Hover neutralisieren */
  .v2 .zoom-card:hover {               
    box-shadow: none;
    transform: none !important;
    transition: none !important;
  }
}

/* 3. BEWEGUNGSARMUT (Global) */
@media (prefers-reduced-motion: reduce) {
  .zoom-card { transition: none !important; }
}
.zoom-card h3 {
    /* 1. Sprache beachten (Browser braucht de-DE) */
    hyphens: auto;
    -webkit-hyphens: auto;
    
    /* 2. Der Rettungsanker für extrem lange Wörter */
    overflow-wrap: anywhere; 
    
    /* 3. Optische Korrektur */
    line-height: 1.3;
    word-spacing: -0.05em; /* Zieht Wörter minimal zusammen */
    letter-spacing: -0.02em; /* Verengt die Laufweite minimal für mehr Platz */
}








.card-shadow {
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
	height: 100%;
}
/* Ausgangszustand (nicht sticky) */
.sticky-header {
  box-shadow: none;
  position: relative;           /* für sicheres Z-Stacking */
  z-index: 999;
  transition: box-shadow .35s cubic-bezier(.2,.7,.2,1), 
              background-color .35s cubic-bezier(.2,.7,.2,1);
}

/* Sobald Elementor den Sticky-Effekt aktiv setzt */
.elementor-sticky--effects.sticky-header,
.elementor-sticky--effects .sticky-header {
  /* gleicher softer Schatten wie bei deiner Karte (Normalzustand) */
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

/* Optional: beim Scrollen nach unten etwas kräftiger (Elementor setzt Body-Klasse) */
.e-scroll-direction--down .elementor-sticky--effects .sticky-header {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* Optional: wenn dein Header semi-transparent ist, mit leichter Glasoptik */
.elementor-sticky--effects .sticky-header.is-glass {
  background-color: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}



/* ========================= ACF Repeater – Minimal-Version ========================= */

/* Leistungen Single: feste Elementor-Bildsektionen + freie ACF-Sektionen */
.elementor-1595 {
    --leistung-section-slant: clamp(38px, 5vw, 76px);
}

.elementor-1595 > .elementor-element-618ac58 {
    position: relative;
    z-index: 4;
}

body.acf-tabelle-aus .elementor-1595 > .elementor-element-618ac58 {
    z-index: 1;
}

body.acf-tabelle-aus .elementor-1595 > .elementor-element-4d0c450 {
    --margin-top: calc(var(--leistung-section-slant) * -1);
    --padding-top: calc(120px + var(--leistung-section-slant));

    -webkit-clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% 100%, 0 100%);
    background: #BED7CF;
    clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% 100%, 0 100%);
    margin-top: calc(var(--leistung-section-slant) * -1) !important;
    overflow: hidden;
    padding-top: calc(120px + var(--leistung-section-slant)) !important;
    z-index: 3;
}

body.acf-tabelle-aus .elementor-1595 > .elementor-element-4d0c450::before {
    content: none;
}

.elementor-1595 > .elementor-element-4d0c450,
.elementor-1595 > .elementor-element-c179d35,
.elementor-1595 > .elementor-element-91d2a8f {
    isolation: isolate;
    position: relative;
}

.elementor-1595 > .elementor-element-4d0c450 {
    z-index: 2;
}

.elementor-1595 > .elementor-element-c179d35,
.elementor-1595 > .elementor-element-91d2a8f {
    z-index: 3;
}

.elementor-1595 > .elementor-element-4d0c450 > .e-con-inner,
.elementor-1595 > .elementor-element-c179d35 > .e-con-inner,
.elementor-1595 > .elementor-element-91d2a8f > .e-con-inner {
    position: relative;
    z-index: 1;
}

.elementor-1595 > .elementor-element-4d0c450::before,
.elementor-1595 > .elementor-element-c179d35::before,
.elementor-1595 > .elementor-element-91d2a8f::before {
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
    content: "";
    height: var(--leistung-section-slant);
    left: 0;
    pointer-events: none;
    position: absolute;
    top: calc(var(--leistung-section-slant) * -1);
    width: 100%;
    z-index: 0;
}

.elementor-1595 > .elementor-element-4d0c450::before {
    background: #BED7CF;
}

.elementor-1595 > .elementor-element-c179d35::before {
    background: #fff;
}

.elementor-1595 > .elementor-element-91d2a8f::before {
    background: #fff;
}

body.acf-tabelle-aus .elementor-1595 .meine-tabelle {
    display: none;
}

.elementor-1595 #leistung-hero {
    position: relative;
    z-index: 4;
}

.elementor-1595 #leistung-section-1,
.elementor-1595 #leistung-section-2,
.elementor-1595 #leistung-faq-headline,
.elementor-1595 .leistung-faq-headline {
    isolation: isolate;
    position: relative;
}

.elementor-1595 #leistung-section-1 > .e-con-inner,
.elementor-1595 #leistung-section-2 > .e-con-inner,
.elementor-1595 #leistung-faq-headline > .e-con-inner,
.elementor-1595 .leistung-faq-headline > .e-con-inner {
    position: relative;
    z-index: 1;
}

.elementor-1595 #leistung-section-2 {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%);
    overflow: hidden;
}

.elementor-1595 #leistung-section-1 {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%);
    overflow: hidden;
}

body.acf-tabelle-aus .elementor-1595 #leistung-hero {
    z-index: 1;
}

body.acf-tabelle-aus .elementor-1595 #leistung-section-1 {
    --padding-top: calc(120px + var(--leistung-section-slant));

    -webkit-clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%);
    clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%);
    overflow: hidden;
    z-index: 3;
}

body.acf-tabelle-aus .elementor-1595 #leistung-section-1::before {
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    content: "";
    height: var(--leistung-section-slant);
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

body.acf-tabelle-an .elementor-1595 #leistung-section-1::before,
.elementor-1595 #leistung-section-2::before,
.elementor-1595 #leistung-faq-headline::before,
.elementor-1595 .leistung-faq-headline::before {
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
    content: "";
    height: var(--leistung-section-slant);
    left: 0;
    pointer-events: none;
    position: absolute;
    top: calc(var(--leistung-section-slant) * -1);
    width: 100%;
    z-index: 0;
}

body.acf-tabelle-an .elementor-1595 #leistung-section-1::before {
    background: #BED7CF;
}

.elementor-1595 #leistung-section-2::before,
.elementor-1595 #leistung-faq-headline::before,
.elementor-1595 .leistung-faq-headline::before {
    background: #fff;
}

/* ------------ Wrapper jeder Sektion ------------ */
.elementor-1595 .section-group-min {
    --section-slant: var(--leistung-section-slant, clamp(38px, 5vw, 76px));

    box-sizing: border-box;
    clip-path: polygon(0 var(--section-slant), 100% 0, 100% calc(100% - var(--section-slant)), 0 100%);
    margin-top: calc(var(--section-slant) * -1);
    padding: calc(120px + var(--section-slant)) 30px calc(120px + var(--section-slant));
    position: relative;
    width: 100%;
}

.elementor-1595 .section-group-min:first-child {
    margin-top: calc(var(--section-slant) * -1);
}

/* Abschnitt-Hintergründe im Wechsel */
.elementor-1595 .section-group-min.section-group-min--green,
.elementor-1595 .section-group-min:not(.section-group-min--green):not(.section-group-min--white):nth-of-type(odd) {
    background: #BED7CF;
}

.elementor-1595 .section-group-min.section-group-min--white,
.elementor-1595 .section-group-min:not(.section-group-min--green):not(.section-group-min--white):nth-of-type(even) {
    background: #FFF;
}

/* ------------ Inhalt ------------ */
.elementor-1595 .section-content-min {
    max-width: 900px;
    margin: 0 auto;
}

/* Headline über dem Text */
.elementor-1595 .section-content-min .section-headline {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.25;
}

/* WYSIWYG content */
.elementor-1595 .section-content-min .section-text {
    font-size: 18px;
    line-height: 1.7;
}

.elementor-1595 .section-content-min .section-text p {
    margin-bottom: 18px;
}

/* ------------ Button-Styling ------------ */
.elementor-1595 .section-content-min .elementor-button {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    margin-top: 20px;

    transition: background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                filter 0.25s ease;

}

.elementor-1595 .section-content-min .elementor-button:hover {
    filter: brightness(0.95);
}
.elementor-1595 .section-content-min .elementor-button {
    transition: 
        transform 0.25s ease,   /* <— das ist der wichtige Teil */
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        filter 0.25s ease;
}

.wysiwyg-button {
	margin-top: 20px;
}

/* MOBILE – Button full width + zentriert */
@media (max-width: 767px) {
    .elementor-1595 {
        --leistung-section-slant: 34px;
    }

    .elementor-1595 .section-group-min {
        padding: calc(80px + var(--section-slant)) 24px calc(80px + var(--section-slant));
    }

    .elementor-1595 .section-content-min .elementor-button {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .elementor-1595 .section-content-min .section-headline {
        font-size: 26px;
    }
}

/* ------------ Optionale Feinanpassung für große Screens ------------ */
@media (min-width: 1200px) {
    .elementor-1595 .section-content-min .section-text {
        font-size: 19px;
    }

    .elementor-1595 .section-content-min .section-headline {
        font-size: 34px;
    }
}

/* Finaler Leistungsseiten-Rhythmus: alle Abstaende zentral aus dem Child Theme. */
.elementor-1595 {
    --leistung-content-width: 1140px;
    --leistung-text-width: 900px;
    --leistung-x: 30px;
    --leistung-y: 120px;
    --leistung-hero-y: 80px;
    --leistung-faq-y: 60px;
}

.elementor-1595 #leistung-hero,
.elementor-1595 #leistung-section-1,
.elementor-1595 #leistung-section-2,
.elementor-1595 #leistung-faq-headline,
.elementor-1595 > .elementor-element-03e994f {
    --padding-left: var(--leistung-x);
    --padding-right: var(--leistung-x);
}

.elementor-1595 #leistung-hero {
    --padding-top: var(--leistung-hero-y);
    --padding-bottom: var(--leistung-hero-y);
}

.elementor-1595 #leistung-section-1,
.elementor-1595 #leistung-section-2 {
    --padding-top: calc(var(--leistung-y) + var(--leistung-section-slant));
    --padding-bottom: calc(var(--leistung-y) + var(--leistung-section-slant));
}

.elementor-1595 #leistung-section-2 {
    --padding-bottom: calc((var(--leistung-y) * .7) + var(--leistung-section-slant));
}

body.acf-tabelle-aus .elementor-1595 #leistung-section-1 {
    --margin-top: calc(var(--leistung-section-slant) * -1);
    --padding-top: calc(var(--leistung-y) + var(--leistung-section-slant));
}

.elementor-1595 .section-group-min {
    padding: calc(var(--leistung-y) + var(--leistung-section-slant)) var(--leistung-x);
}

.elementor-1595 #leistung-faq-headline {
    --padding-top: var(--leistung-faq-y);
    --padding-bottom: 30px;
    --margin-top: 0px;
    --margin-bottom: 0px;
}

.elementor-1595 > .elementor-element-03e994f {
    --padding-top: 0px;
    --padding-bottom: var(--leistung-y);
    --margin-top: 0px;
    --margin-bottom: 0px;
}

.elementor-1595 #leistung-hero > .e-con-inner,
.elementor-1595 #leistung-section-1 > .e-con-inner,
.elementor-1595 #leistung-section-2 > .e-con-inner,
.elementor-1595 #leistung-faq-headline > .e-con-inner,
.elementor-1595 > .elementor-element-03e994f > .e-con-inner {
    max-width: var(--leistung-content-width);
}

.elementor-1595 .section-content-min {
    max-width: var(--leistung-text-width);
}

@media (max-width: 767px) {
    .elementor-1595 {
        --leistung-x: 24px;
        --leistung-y: 80px;
        --leistung-hero-y: 60px;
        --leistung-faq-y: 42px;
    }
}

/* Finale Schraegkanten fuer die festen Leistungssektionen. */
.elementor-1595 #leistung-section-1,
.elementor-1595 #leistung-section-2 {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
    overflow: hidden;
}

body.acf-tabelle-an .elementor-1595 #leistung-section-1 {
    -webkit-clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
    clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
}

body.acf-tabelle-aus .elementor-1595 #leistung-section-1 {
    -webkit-clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
    clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
    --padding-top: calc(var(--leistung-y) * .75);
    --padding-bottom: var(--leistung-y);
    padding-top: calc(var(--leistung-y) * .75) !important;
    padding-bottom: var(--leistung-y) !important;
}






/* ===== Tabellen-Stil für die Extra-Liste ===== */
/* ===== Tabellen-Stil für die Extra-Liste ===== */
.extra-info-table {
  display: grid;
  grid-template-columns: 220px 1fr;   /* linke Spalte fix, rechte flexibel */
  column-gap: 0;
  row-gap: 0;
  background: #fff;
  border: 1px solid #e6ecea;
  border-radius: 15px;
  overflow: hidden;
}
.v2 .zoom-card .extra-info-table {
  padding: 30px;
  border-radius: 20px;
  border-top-left-radius: 80px;
}

.v2 .zoom-card .extra-info-table {
  padding: 30px;
  border-radius: 20px;
  border-top-left-radius: 80px;
}

/* Hover-Zoom bleibt (optional deaktivierbar) */
@media (hover:hover) and (pointer:fine) {
  .v2 .zoom-card .extra-info-table {
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    transition: transform .35s cubic-bezier(.2,.7,.2,1),
                box-shadow .35s cubic-bezier(.2,.7,.2,1);
    will-change: transform, box-shadow;
  }
  .v2 .zoom-card .extra-info-table:hover {
    transform: none;  /* kein Anheben, kein Zoom */
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
  }
}

/* Jede logische Zeile „füllt“ die zwei Spalten */
.extra-info-row{
  display: contents;
}

/* Zellen: Headline (links) & Text (rechts) */
.extra-info-headline,
.extra-info-text{
  padding: 10px 15px;                 
  border-top: 1px solid #e6ecea;
  vertical-align: top;               
}

/* Erste Zeile ohne obere Linie */
.extra-info-table > .extra-info-row:first-of-type .extra-info-headline,
.extra-info-table > .extra-info-row:first-of-type .extra-info-text{
  border-top: none;
}

/* Headline – gewünschte Schrift */
.extra-info-headline{
  font-family: var(--e-global-typography-dfda625-font-family), Sans-serif;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
}

/* Inhalt (WYSIWYG) rechts */
.extra-info-text{
  color: #000;
  line-height: 1.5;
}
.extra-info-text p{ margin: 0; }
.extra-info-text ul,
.extra-info-text ol{ margin: .3em 0 0 1.1em; }
.extra-info-text a{ color: #000; text-underline-offset: 2px; }

/* ===== Zebra-Streifen (even/odd) ===== */
.extra-info-table > .extra-info-row:nth-of-type(odd)  .extra-info-headline,
.extra-info-table > .extra-info-row:nth-of-type(odd)  .extra-info-text{
  background: #ffffff;
}
.extra-info-table > .extra-info-row:nth-of-type(even) .extra-info-headline,
.extra-info-table > .extra-info-row:nth-of-type(even) .extra-info-text{
  background: #fafbfa;
}

/* ===== Responsive: Spalten stapeln ===== */
@media (max-width: 900px){
  .extra-info-table{
    grid-template-columns: 1fr;
    border-radius: 20px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .extra-info-row{
    display: block;
  }
  .extra-info-headline{
    padding-bottom: 6px;  /* enger zur Beschreibung */
  }
  .extra-info-headline,
  .extra-info-text{
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    width: 100%;
  }
}









/* ---------- Akkordeon ---------- */

/* =========================================================
   ACF → Elementor-Style Akkordeon (flach, Linien, Chevron rechts)
   ========================================================= */

/* Grundlayout */
.acf-accordion.elementor-accordion {
  display: flex;
  flex-direction: column;
  gap: 0; /* kein Abstand zwischen Items */
}

/* Jedes Item */
.acf-accordion .elementor-accordion-item {
  border: none;
  border-top: 1px solid #d8dfe4;
  background: transparent;
  border-radius: 0;
  transition: border-color .25s ease;
}

/* Nur das letzte Item bekommt unten eine Linie */
.acf-accordion .elementor-accordion-item:last-child {
  border-bottom: 1px solid #d8dfe4;
}

/* Hover minimal heller */
.acf-accordion .elementor-accordion-item:hover {
  border-color: #b9c5ce;
}

/* ---------------------------------------------------------
   TITEL-ZEILE
--------------------------------------------------------- */
.acf-accordion .elementor-tab-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #002f34;
  text-transform: uppercase;
  background: transparent;
  transition: background .25s ease, color .25s ease;
}

/* Hover auf Titel */
.acf-accordion .elementor-tab-title:hover {
  background: #f8fafb;
}

/* Titeltext */
.acf-accordion .elementor-tab-title a.elementor-accordion-title {
  flex: 1;
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

/* ---------------------------------------------------------
   ICON rechts (eigenes Chevron)
--------------------------------------------------------- */
.acf-accordion .elementor-accordion-icon {
  order: 2;
  position: relative;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  flex: 0 0 28px;
}

/* Elementor-eigene <i>-Icons ausblenden */
.acf-accordion .elementor-accordion-icon i {
  display: none !important;
}

/* Chevron zeichnen */
.acf-accordion .elementor-accordion-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg); /* nach unten */
  transition: transform .3s ease;
  color: #004f5c;
}

/* Wenn geöffnet: Pfeil nach oben */
.acf-accordion .elementor-active .elementor-accordion-icon::after {
  transform: rotate(-135deg);
}

/* ---------------------------------------------------------
   INHALT (Content)
--------------------------------------------------------- */

/* geschlossen */
.acf-accordion .elementor-tab-content {
  padding: 0 24px;      /* kein vertikales Padding, damit nichts durchdrückt */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity .3s ease, padding .25s ease;
}

/* geöffnet */
.acf-accordion .elementor-active .elementor-tab-content {
  opacity: 1;
  padding: 30px 24px;   /* Abstand oben/unten */
  max-height: none!important;     /* wichtig: kein Abschneiden */
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 768px) {
  .acf-accordion .elementor-tab-title {
    font-size: 17px;
    padding: 16px 0px;
  }

  .acf-accordion .elementor-tab-content {
    padding: 0 20px;
  }

  .acf-accordion .elementor-active .elementor-tab-content {
    padding: 30px 20px;
  }
}

/* ---------------------------------------------------------
   Tabelle an / aus
--------------------------------------------------------- */

.acf-tabelle-aus .meine-tabelle {
    display: none !important;
}

.acf-tabelle-an .meine-tabelle {
    display: block !important;
}

/* Leistungsseiten: Tabelle bei aktiver Tabelle weiter in die erste grüne Sektion ziehen. */
body.acf-tabelle-an .elementor-1595 {
    --leistung-table-overlap: 120px;
}

body.acf-tabelle-an .elementor-1595 .meine-tabelle {
    --margin-bottom: calc(var(--leistung-table-overlap) * -1);
    margin-bottom: calc(var(--leistung-table-overlap) * -1) !important;
    position: relative;
    z-index: 10;
}

body.acf-tabelle-an .elementor-1595 #leistung-section-1 > .e-con-inner {
    padding-top: calc(var(--leistung-y) + var(--leistung-table-overlap));
}

@media (max-width: 767px) {
    body.acf-tabelle-an .elementor-1595 {
        --leistung-table-overlap: 80px;
    }

    body.acf-tabelle-an .elementor-1595 .meine-tabelle {
        --margin-bottom: calc(var(--leistung-table-overlap) * -1);
        margin-bottom: calc(var(--leistung-table-overlap) * -1) !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Lange URLs und E-Mail-Adressen auf Rechtstext-Seiten mobil umbrechen. */
@media (max-width: 767px) {
    .elementor-page-563 a,
    .elementor-page-563 p,
    .elementor-page-563 li,
    .elementor-page-554 a,
    .elementor-page-554 p,
    .elementor-page-554 li,
    .elementor-page-2671 a,
    .elementor-page-2671 p,
    .elementor-page-2671 li {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}






/* Mobile Leistungsseiten: Tabelle sichtbar stapeln, Schraegkanten behalten. */
@media (max-width: 900px) {

    body.acf-tabelle-an .elementor-1595 {
        --leistung-table-overlap: 56px;
    }

    .elementor-1595 #leistung-hero > .e-con-inner {
        align-items: stretch;
        display: flex;
        flex-direction: column !important;
    }

    .elementor-1595 #leistung-hero > .e-con-inner > * {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

body.acf-tabelle-an .elementor-1595 .meine-tabelle {
        margin-bottom: calc(var(--leistung-table-overlap) * -1) !important;
        margin-top: 24px !important;
        max-width: 100%;
        padding-left: 14px !important;
        padding-right: 14px !important;
        transform: none !important;
        width: 100%;
    }

    body.acf-tabelle-an .elementor-1595 #leistung-section-1 > .e-con-inner {
        padding-top: calc(var(--leistung-y) + var(--leistung-table-overlap)) !important;
    }

    body.acf-tabelle-an .elementor-1595 #leistung-section-1 {
        margin-top: calc(var(--leistung-table-overlap) * -1) !important;
    }

    .extra-info-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .extra-info-row {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important; /* Abstand zwischen den Blöcken */
        border-bottom: 0 !important;
    }

    .extra-info-headline,
    .extra-info-text {
        border-top: 0 !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .extra-info-table > .extra-info-row:nth-of-type(odd) .extra-info-headline,
    .extra-info-table > .extra-info-row:nth-of-type(odd) .extra-info-text {
        background: #ffffff !important;
    }

    .extra-info-table > .extra-info-row:nth-of-type(even) .extra-info-headline,
    .extra-info-table > .extra-info-row:nth-of-type(even) .extra-info-text {
        background: #fafbfa !important;
    }

    .extra-info-headline {
        padding-bottom: 5px !important;
        font-size: 1.1em !important;
    }

    .elementor-1595 #leistung-section-1,
    .elementor-1595 #leistung-section-2 {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
        overflow: hidden !important;
    }

    body.acf-tabelle-an .elementor-1595 #leistung-section-1,
    body.acf-tabelle-aus .elementor-1595 #leistung-section-1,
    .elementor-1595 .section-group-min {
        -webkit-clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
        clip-path: polygon(0 var(--leistung-section-slant), 100% 0, 100% calc(100% - var(--leistung-section-slant)), 0 100%) !important;
        overflow: hidden !important;
    }
}

@media (max-width: 767px) {
    body.acf-tabelle-an .elementor-1595 {
        --leistung-table-overlap: 72px;
    }
}

/* Checklisten im Elementor-Texteditor.
   Klasse im Texteditor-Widget oder direkt auf der ul: hz-check-list */
.elementor-widget-text-editor.hz-check-list ul,
.hz-check-list .elementor-widget-text-editor ul,
.elementor-widget-text-editor ul.hz-check-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.elementor-widget-text-editor.hz-check-list li,
.hz-check-list .elementor-widget-text-editor li,
.elementor-widget-text-editor ul.hz-check-list > li {
    list-style: none;
    margin: 0 0 12px;
    padding-left: 30px;
    position: relative;
}

.elementor-widget-text-editor.hz-check-list li::before,
.hz-check-list .elementor-widget-text-editor li::before,
.elementor-widget-text-editor ul.hz-check-list > li::before {
    color: #6fae9e;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-size: 15px;
    font-weight: 900;
    left: 0;
    line-height: 1;
    position: absolute;
    top: 0.5em;
}

/* Elementor Popup: mobiler Abstand zum Viewport.
   Klasse in den Popup-Einstellungen setzen: hz-mobile-popup-spacing */
@media (max-width: 767px) {
    .elementor-popup-modal {
        box-sizing: border-box;
        padding-bottom: 22px !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        padding-top: 22px !important;
    }

    .elementor-popup-modal.hz-mobile-popup-spacing .dialog-widget-content,
    .elementor-popup-modal:has(.hz-mobile-popup-spacing) .dialog-widget-content {
        margin: 0 auto !important;
        max-height: calc(100vh - 44px) !important;
        max-height: calc(100dvh - 44px) !important;
        max-width: calc(100vw - 44px) !important;
        max-width: calc(100dvw - 44px) !important;
        overflow: hidden;
    }

    .elementor-popup-modal.hz-mobile-popup-spacing .dialog-message,
    .elementor-popup-modal:has(.hz-mobile-popup-spacing) .dialog-message {
        max-height: calc(100vh - 44px) !important;
        max-height: calc(100dvh - 44px) !important;
        overflow-y: auto;
    }
}
