/* Kleiner Design-Feinschliff für die Elementor-Seiten. Landingpages bleiben unberührt. */

/* Seitenrand auf Laptops: Inhalte klebten sonst fast am Bildschirmrand */
@media (min-width:1025px) and (max-width:1400px){
  .e-con.e-parent>.e-con-inner,.e-con-boxed.e-child>.e-con-inner{max-width:calc(100% - 64px)!important}
  .elementor-2678 .elementor-element.elementor-element-538da32a{margin-left:32px!important;max-width:calc(100% - 32px)}
}

/* Kein seitliches Wackeln auf Tablets */
@media (max-width:1024px){body{overflow-x:clip}}

/* Button im Kopfbereich bleibt einzeilig */
.elementor-location-header .elementor-button{white-space:nowrap}

/* Überschriften und Absätze brechen ruhiger um */
.elementor-heading-title,.elementor-post__title,.entry-content h2,.entry-content h3{text-wrap:balance}
.elementor-widget-text-editor p,.elementor-post__excerpt p,.entry-content p{text-wrap:pretty}

/* Beitragskarten: CI-Farbe statt Gelb, besser lesbar, sanfte Rückmeldung */
.elementor-post__card .elementor-post__badge{background-color:#024751!important;color:#fff!important;font-weight:600;letter-spacing:.03em}
.elementor-post__card .elementor-post__excerpt p{color:#4b5a5c}
.elementor-post__card .elementor-post__meta-data,.elementor-post__card .elementor-post__meta-data span{color:#5c6b6d}
.elementor-post__card{transition:transform .2s ease,box-shadow .2s ease}
@media (hover:hover){
  .elementor-post__card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(2,71,81,.14)}
}

/* Buttons reagieren einheitlich */
.elementor-button{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
@media (hover:hover){
  .elementor-button:hover{box-shadow:0 8px 20px rgba(2,71,81,.22)}
}

/* Text auf dem Startseiten-Bild ist auf dem Handy besser lesbar */
@media (max-width:767px){
  .elementor-2678 .elementor-element.elementor-element-772b6df7::before{background-image:linear-gradient(180deg,rgba(1,48,56,.84) 0%,rgba(1,48,56,.66) 60%,rgba(1,48,56,.38) 100%)!important;opacity:1!important}
  /* „Video anschauen“ auch auf dem Handy benennen */
  .elementor-2678 .elementor-element.elementor-element-430ee4e6.elementor-hidden-mobile{display:block}
}

/* Trennlinie in der Kopf-Sektion in CI-Grün statt Gelb */
.elementor-2678 .elementor-element-c2eb91e .elementskit-border-divider,.elementor-2678 .elementor-element-c2eb91e .elementskit-border-divider::before{background:#8fb961!important}

/* Sichtbarer Fokus für Tastatur-Nutzer */
a:focus-visible,button:focus-visible,.elementor-button:focus-visible{outline:2px solid #8fb961;outline-offset:2px}

/* Sprungmarken gleiten, außer Bewegung ist abgeschaltet */
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion:reduce){.elementor-post__card,.elementor-button{transition:none}}
