/*
Theme Name: Entrümpelung München 24
Theme URI: https://entruempelung-muenchen24.de
Author: lija-concept | Online Marketing Agentur
Author URI: https://lija-concept.de
Description: Block-Theme für Entrümpelung München 24. Enthält Markenfarben, lokal eingebundene Schriften, fertige Block-Patterns und automatisch angelegte Seitenstruktur inklusive Einsatzgebiet-Spokes.
Version: 3.3.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: em24
Tags: block-templates, full-site-editing, business, one-column
*/

/* Nur Ergänzungen, die theme.json nicht abdeckt. */

.em24-sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:99;display:flex;background:var(--wp--preset--color--blau)}
.em24-sticky-bar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.5em;padding:.85rem .5rem;color:#fff;text-decoration:none;font-weight:600;font-size:.95rem;border-right:1px solid rgba(255,255,255,.18)}
.em24-sticky-bar a:last-child{border-right:0}
.em24-sticky-bar a.is-orange{background:var(--wp--preset--color--orange)}
@media (min-width:782px){.em24-sticky-bar{display:none}}
@media (max-width:781px){body{padding-bottom:56px}}

.em24-card{height:100%}
.em24-nummer{font-family:var(--wp--preset--font-family--condensed);font-size:2.4rem;line-height:1;color:var(--wp--preset--color--orange);font-weight:600}
.em24-linie{height:2px;background:var(--wp--preset--color--linie);border:0;margin:0}

.em24-faq summary{cursor:pointer;font-weight:600;padding:1rem 0;list-style:none;display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--wp--preset--color--linie)}
.em24-faq summary::-webkit-details-marker{display:none}
.em24-faq summary::after{content:"+";color:var(--wp--preset--color--orange);font-weight:700}
.em24-faq[open] summary::after{content:"–"}
.em24-faq p{padding:.75rem 0 1.25rem;margin:0;color:var(--wp--preset--color--grau)}

.wp-block-button__link{transition:background-color .15s ease}
:where(a):focus-visible{outline:3px solid var(--wp--preset--color--orange);outline-offset:2px}

/* ---------- Fotos ---------- */
.em24-bild{margin:0}
.em24-bild img{display:block;width:100%;height:auto;border-radius:3px}
.em24-bild-hero img{aspect-ratio:3/2;object-fit:cover}
.em24-bild-breit{margin:var(--wp--preset--spacing--30) 0}
.em24-bild-breit img{aspect-ratio:16/9;object-fit:cover}
.em24-bild-band img{aspect-ratio:5/2;object-fit:cover;object-position:center 40%;border-radius:0}
@media (max-width:781px){
  .em24-bild-band img{aspect-ratio:16/9}
  .em24-hero.has-bild .wp-block-column:last-child{order:-1}
}

/* ================================================================
   Kopfbereich und Burger-Menü
   ================================================================ */

.em24-kopf{position:sticky;top:0;z-index:60}

/* Die Kopfzeile nutzt die volle Layoutbreite, nicht die Textbreite.
   Ohne alignwide fällt sie auf contentSize zurück – dann drängt sich
   alles auf 760 px zusammen und die Navigation bricht um. */
.em24-kopf-zeile{gap:1.5rem;width:100%;max-width:var(--wp--style--global--wide-size,1200px);margin-inline:auto}

.em24-logo{flex:0 0 auto}
.em24-logo img,.wp-block-site-logo img{height:auto;display:block;max-width:100%}

.em24-kopf-rechts{gap:1.5rem;flex:0 1 auto;min-width:0}

/* Navigation darf schrumpfen, aber nicht umbrechen */
.em24-nav{flex:0 1 auto;min-width:0}
.em24-nav .wp-block-navigation__container{flex-wrap:nowrap;gap:clamp(.9rem,1.8vw,1.6rem)}
.em24-nav .wp-block-navigation-item__content{white-space:nowrap}

/* Die Rufnummer bricht nie um */
.em24-kopf-tel{flex:0 0 auto}
.em24-kopf-tel .wp-block-button__link{white-space:nowrap;padding-inline:1.2rem}
.em24-tel-kurz{display:none}

/* Zwischenbreiten: Navigation und Rufnummer konkurrieren um den Platz.
   Statt umzubrechen wird die Nummer zur Beschriftung „Anrufen“. */
@media (max-width:1140px){
  .em24-kopf-zeile{gap:1rem}
  .em24-kopf-rechts{gap:1rem}
  .em24-tel-lang{display:none}
  .em24-tel-kurz{display:inline}
}

/* Burger-Schaltfläche */
.wp-block-navigation__responsive-container-open{
  padding:.55rem;border-radius:3px;color:var(--wp--preset--color--blau)
}
.wp-block-navigation__responsive-container-open svg{width:32px;height:32px;fill:currentColor}

/* Overlay */
.wp-block-navigation__responsive-container.is-menu-open{
  padding:1.25rem 1.25rem 2.5rem
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
  padding-top:1.5rem
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{flex-wrap:wrap;gap:0}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{
  font-size:1.35rem;font-weight:600;padding:.7rem 0;display:block
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{
  border-bottom:1px solid rgba(255,255,255,.16);width:100%
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child{border-bottom:0}
.wp-block-navigation__responsive-container-close{padding:.5rem}
.wp-block-navigation__responsive-container-close svg{width:30px;height:30px}

/* ================================================================
   Mobil
   ================================================================ */

@media (max-width:781px){
  .em24-kopf{position:static}
  .em24-logo img{max-width:170px}
  .em24-kopf-tel{display:none}
  .em24-kopf-zeile{gap:.5rem}
  .em24-kopf-rechts{gap:.5rem}

  /* Spalten untereinander, gleichmäßiger Abstand */
  .wp-block-columns{gap:var(--wp--preset--spacing--30) !important}

  /* Karten enger, damit mehr Inhalt sichtbar bleibt */
  .em24-card{padding:var(--wp--preset--spacing--20) !important}

  /* Schaltflächen: volle Breite, ausreichend große Tippfläche */
  .wp-block-buttons:not(.em24-kopf-tel){width:100%}
  .wp-block-buttons:not(.em24-kopf-tel) .wp-block-button{width:100%}
  .wp-block-buttons:not(.em24-kopf-tel) .wp-block-button__link{
    display:block;width:100%;text-align:center;padding-top:1rem;padding-bottom:1rem
  }

  /* Nummerierung im Ablauf kleiner */
  .em24-nummer{font-size:2rem}

  /* Listen und Absätze nicht über den Rand */
  .wp-block-group,.wp-block-columns{max-width:100%}
  img,svg,table{max-width:100%}

  /* Tippflächen in Aufklapp-Fragen vergrößern */
  .em24-faq summary{padding:1.1rem 0;min-height:52px;align-items:center}
}

@media (max-width:400px){
  .em24-logo img{max-width:150px}
}

/* Kein horizontales Scrollen, egal was passiert */
html,body{overflow-x:hidden}

/* Logo: darf in der Flexbox nicht zusammengedrückt werden und braucht
   eine automatische Höhe, sonst rechnen Browser bei SVG ohne height-Attribut
   mit dem Standardwert 150px und die Proportion kippt. */
.em24-logo{flex:0 0 auto}
.em24-logo img,.wp-block-site-logo img{height:auto;display:block;max-width:100%}

/* Hintergrund nicht mitscrollen, solange das Menü offen ist */
html:has(.wp-block-navigation__responsive-container.is-menu-open){overflow:hidden}

/* ================================================================
   Anfrage-Assistent
   ================================================================ */

.em24-formular{background:var(--wp--preset--color--hellgrau);padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--30)}
.em24-f-innen{max-width:1000px;margin:0 auto}

.em24-f-eyebrow{font-family:var(--wp--preset--font-family--condensed);font-size:.875rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--wp--preset--color--orange);margin:0 0 .6em}
.em24-f-kopf h2{margin:0 0 .5em}
.em24-f-intro{max-width:60ch;color:var(--wp--preset--color--grau);font-size:1.125rem}

.em24-f-fehler{background:#FFF1E6;border-left:4px solid var(--wp--preset--color--orange);padding:1rem 1.2rem;margin:0 0 1.5rem}

/* Schrittanzeige */
.em24-f-schritte{display:flex;gap:.5rem;list-style:none;margin:2rem 0 1.5rem;padding:0;flex-wrap:wrap}
.em24-f-schritte li{display:flex;align-items:center;gap:.55rem;font-weight:600;font-size:.95rem;color:var(--wp--preset--color--grau);padding:.4rem .9rem .4rem .4rem;border-radius:999px;background:#fff;border:1px solid var(--wp--preset--color--linie)}
.em24-f-schritte li span{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--wp--preset--color--linie);color:var(--wp--preset--color--grau);font-size:.85rem}
.em24-f-schritte li.ist-aktiv{color:var(--wp--preset--color--blau);border-color:var(--wp--preset--color--blau)}
.em24-f-schritte li.ist-aktiv span{background:var(--wp--preset--color--blau);color:#fff}
.em24-f-schritte li.ist-fertig{cursor:pointer;color:var(--wp--preset--color--blau)}
.em24-f-schritte li.ist-fertig span{background:var(--wp--preset--color--orange);color:#fff}

/* Kachelgruppen */
.em24-f-gruppe{border:0;padding:0;margin:0 0 2rem;min-width:0}
.em24-f-gruppe legend{font-size:1.25rem;font-weight:700;color:var(--wp--preset--color--blau);padding:0;margin-bottom:.35em}
.em24-f-stern{color:var(--wp--preset--color--orange)}
.em24-f-optional{font-weight:400;font-size:.85rem;color:var(--wp--preset--color--grau)}
.em24-f-hinweis{margin:0 0 1rem;font-size:.95rem;color:var(--wp--preset--color--grau);max-width:62ch}
.em24-f-kacheln{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem}

.em24-f-kachel{position:relative;display:block;cursor:pointer}
.em24-f-kachel input{position:absolute;opacity:0;width:1px;height:1px}
.em24-f-kachel-inner{display:flex;flex-direction:column;gap:.2rem;background:#fff;border:2px solid var(--wp--preset--color--linie);border-radius:4px;padding:1rem 1.1rem;min-height:76px;justify-content:center;transition:border-color .15s ease,box-shadow .15s ease}
.em24-f-titel{font-weight:700;color:var(--wp--preset--color--text)}
.em24-f-zusatz{font-size:.85rem;color:var(--wp--preset--color--grau);line-height:1.35}
.em24-f-kachel:hover .em24-f-kachel-inner{border-color:var(--wp--preset--color--blau)}
.em24-f-kachel input:checked + .em24-f-kachel-inner{border-color:var(--wp--preset--color--orange);box-shadow:inset 0 0 0 1px var(--wp--preset--color--orange)}
.em24-f-kachel input:focus-visible + .em24-f-kachel-inner{outline:3px solid var(--wp--preset--color--orange);outline-offset:2px}

.em24-f-gruppe.ist-fehlend legend{color:#B3261E}
.em24-f-gruppe.ist-fehlend .em24-f-kachel-inner{border-color:#B3261E}
.em24-f-feld.ist-fehlend input,.em24-f-feld.ist-fehlend textarea{border-color:#B3261E}

/* Richtwert */
.em24-f-richtwert{background:var(--wp--preset--color--blau);color:#fff;padding:1.4rem 1.5rem;border-radius:4px;margin:0 0 2rem}
.em24-f-rw-label{font-family:var(--wp--preset--font-family--condensed);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;margin:0 0 .2em;color:#A9BDD6}
.em24-f-rw-wert{font-size:clamp(1.7rem,3.6vw,2.4rem);font-weight:700;line-height:1.1;margin:0 0 .5em}
.em24-f-rw-hinweis{margin:0;font-size:.9rem;line-height:1.55;color:#D5E0EC;max-width:66ch}

/* Kontaktfelder */
.em24-f-felder{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.25rem;margin-bottom:1.5rem}
.em24-f-feld{margin:0;display:flex;flex-direction:column;gap:.35rem}
.em24-f-breit{grid-column:1/-1}
.em24-f-feld label{font-weight:600;font-size:.95rem}
.em24-f-feld input,.em24-f-feld textarea{width:100%;padding:.8rem .9rem;border:2px solid var(--wp--preset--color--linie);border-radius:4px;font:inherit;background:#fff;min-height:48px}
.em24-f-feld input:focus,.em24-f-feld textarea:focus{outline:none;border-color:var(--wp--preset--color--blau)}

.em24-f-check{margin:0 0 1.5rem}
.em24-f-check label{display:flex;gap:.7rem;align-items:flex-start;font-size:.95rem;line-height:1.5;cursor:pointer}
.em24-f-check input{width:22px;height:22px;flex:0 0 auto;margin-top:2px;accent-color:var(--wp--preset--color--orange)}

.em24-f-senden{background:var(--wp--preset--color--orange);color:#fff;border:0;border-radius:3px;font:inherit;font-weight:700;font-size:1.05rem;padding:1.05rem 1.8rem;cursor:pointer;width:100%;transition:background-color .15s ease}
.em24-f-senden:hover{background:var(--wp--preset--color--blau)}
.em24-f-klein{font-size:.85rem;color:var(--wp--preset--color--grau);margin:.8rem 0 0}

/* Navigation */
.em24-f-nav{display:flex;gap:.75rem;margin-top:1.5rem}
.em24-f-nav button{font:inherit;font-weight:600;padding:.9rem 1.6rem;border-radius:3px;cursor:pointer;min-height:48px}
.em24-f-weiter{background:var(--wp--preset--color--blau);color:#fff;border:0;flex:1}
.em24-f-weiter:hover{background:var(--wp--preset--color--orange)}
.em24-f-zurueck{background:#fff;color:var(--wp--preset--color--blau);border:2px solid var(--wp--preset--color--linie)}

/* Honeypot: für Menschen unsichtbar, für Bots vorhanden. */
.em24-f-honig{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.em24-f-danke{background:#fff;border-left:4px solid var(--wp--preset--color--orange);padding:2rem 2.2rem;border-radius:4px}
.em24-f-danke h2{margin-top:0}

@media (max-width:781px){
  .em24-formular{padding:2.5rem 1.25rem}
  .em24-f-kacheln{grid-template-columns:1fr}
  .em24-f-felder{grid-template-columns:1fr}
  .em24-f-schritte li{font-size:.85rem;padding:.35rem .7rem .35rem .35rem}
  .em24-f-nav{flex-direction:column-reverse}
  .em24-f-nav button{width:100%}
}

/* ================================================================
   Animierter Transporter
   ================================================================ */

.em24-van{margin:0;width:100%}
.em24-van svg{display:block;width:100%;height:auto}

/* Räder drehen */
@keyframes em24-drehen{to{transform:rotate(360deg)}}
.em24-van-speiche{transform-box:fill-box;transform-origin:center;animation:em24-drehen 1.1s linear infinite}

/* Fahrbahnmarkierung und Kulisse ziehen nach links */
@keyframes em24-links{from{transform:translateX(0)}to{transform:translateX(-84px)}}
.em24-van-fahrbahn{animation:em24-links .55s linear infinite}
@keyframes em24-kulisse{from{transform:translateX(0)}to{transform:translateX(-620px)}}
.em24-van-haeuser{animation:em24-kulisse 14s linear infinite}

/* Fahrzeug federt leicht */
@keyframes em24-federn{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}
.em24-van-fahrzeug{animation:em24-federn 1.1s ease-in-out infinite}

/* Wer im System reduzierte Bewegung eingestellt hat, bekommt ein Standbild.
   Das ist keine Kür: Für Menschen mit vestibulären Beschwerden können
   Dauerbewegungen Übelkeit auslösen. */
@media (prefers-reduced-motion: reduce){
  .em24-van-speiche,.em24-van-fahrbahn,.em24-van-haeuser,.em24-van-fahrzeug{animation:none}
}

/* ================================================================
   Profil des Inhabers
   ================================================================ */

.em24-profil{padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--30)}
.em24-profil-innen{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:minmax(0,270px) 1fr;gap:var(--wp--preset--spacing--40);align-items:center}
.em24-profil-foto{margin:0}
.em24-profil-foto img{display:block;width:100%;height:auto;border-radius:4px}
.em24-profil-text h2{margin-top:0}
.em24-profil-lead{font-size:1.125rem;color:var(--wp--preset--color--grau);max-width:56ch}

.em24-zahlen{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:var(--wp--preset--spacing--30)}
.em24-zahl{background:var(--wp--preset--color--hellgrau);border-left:4px solid var(--wp--preset--color--orange);padding:1.1rem 1.2rem;border-radius:0 4px 4px 0}
.em24-zahl-wert{display:block;font-size:clamp(1.6rem,3vw,2.1rem);font-weight:700;color:var(--wp--preset--color--blau);line-height:1.1}
.em24-zahl-label{display:block;font-size:.9rem;color:var(--wp--preset--color--grau);margin-top:.25em;line-height:1.4}
.em24-sterne{color:#E97B26;letter-spacing:.08em}

@media (max-width:781px){
  .em24-profil{padding:2.5rem 1.25rem}
  .em24-profil-innen{grid-template-columns:1fr;gap:1.75rem}
  .em24-profil-foto{max-width:220px}
  .em24-zahlen{grid-template-columns:1fr}
}

/* ================================================================
   Google-Bereich mit Zwei-Klick-Karte
   ================================================================ */

.em24-google{background:var(--wp--preset--color--hellgrau);padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--30)}
.em24-google-innen{max-width:1000px;margin:0 auto}
.em24-google-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--wp--preset--spacing--30);margin-top:var(--wp--preset--spacing--30)}

.em24-bewertung{background:#fff;border:1px solid var(--wp--preset--color--linie);border-radius:4px;padding:1.4rem 1.5rem}
.em24-bewertung-kopf{display:flex;align-items:baseline;gap:.7rem;flex-wrap:wrap;margin-bottom:.9rem}
.em24-bewertung-wert{font-size:2rem;font-weight:700;color:var(--wp--preset--color--blau);line-height:1}
.em24-bewertung-zahl{font-size:.9rem;color:var(--wp--preset--color--grau)}
.em24-zitat{border-top:1px solid var(--wp--preset--color--linie);padding-top:1rem;margin-top:1rem}
.em24-zitat:first-of-type{border-top:0;padding-top:0;margin-top:0}
.em24-zitat p{margin:0 0 .4em;font-size:.95rem;line-height:1.6}
.em24-zitat cite{font-style:normal;font-size:.85rem;color:var(--wp--preset--color--grau)}

/* Karte lädt erst nach ausdrücklichem Klick – vorher keine Verbindung zu Google */
.em24-karte{position:relative;background:#fff;border:1px solid var(--wp--preset--color--linie);border-radius:4px;overflow:hidden;min-height:320px;display:flex}
.em24-karte iframe{width:100%;height:100%;min-height:320px;border:0;display:block}
.em24-karte-vorschalt{display:flex;flex-direction:column;justify-content:center;gap:.8rem;padding:1.8rem;text-align:center;width:100%;
  background:
    repeating-linear-gradient(45deg,#EDF0F3,#EDF0F3 14px,#E4E8EC 14px,#E4E8EC 28px)}
.em24-karte-vorschalt h3{margin:0;font-size:1.15rem}
.em24-karte-vorschalt p{margin:0;font-size:.9rem;color:var(--wp--preset--color--grau);max-width:44ch;margin-inline:auto;line-height:1.55}
.em24-karte-laden{background:var(--wp--preset--color--blau);color:#fff;border:0;border-radius:3px;font:inherit;font-weight:600;padding:.85rem 1.4rem;cursor:pointer;align-self:center;min-height:48px}
.em24-karte-laden:hover{background:var(--wp--preset--color--orange)}

@media (max-width:781px){
  .em24-google{padding:2.5rem 1.25rem}
  .em24-google-grid{grid-template-columns:1fr}
}

/* Strukturelle Klassen ohne eigene Gestaltung – hier dokumentiert, damit
   der Vorschau-Build sie nicht als vergessen meldet. */
.em24-f-form{margin:0}
.em24-f-panel{min-width:0}
.em24-van-rad{transform-box:fill-box}
.em24-van-kulisse{pointer-events:none}
.em24-beispiel{background:#FFF3E4;border-left:3px solid var(--wp--preset--color--orange);padding:.7rem .9rem;margin:0 0 1.1rem;font-size:.85rem;color:#6B5433;line-height:1.5}

/* ================================================================
   Kompaktprofil, Standortkarte, Rechtstexte, Einwilligung
   ================================================================ */

.em24-profil-kompakt{background:var(--wp--preset--color--hellgrau)}
.em24-profil-kompakt .em24-profil-innen{grid-template-columns:minmax(0,190px) 1fr;gap:var(--wp--preset--spacing--30);align-items:center}
.em24-profil-kompakt h2{font-size:clamp(1.4rem,2.4vw,1.8rem)}
.em24-profil-kompakt .em24-zahl{background:#fff}
.em24-profil-cta{margin-top:var(--wp--preset--spacing--20)}
.em24-profil-cta .em24-f-senden{display:inline-block;width:auto;text-decoration:none;text-align:center}

.em24-standort{padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--30)}
.em24-standort-innen{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:var(--wp--preset--spacing--30);align-items:start}
.em24-standort-text h2{margin-top:0}

.em24-recht h2{font-size:clamp(1.2rem,2.2vw,1.5rem);margin-top:1.8em}
.em24-recht h2:first-child{margin-top:0}
.em24-recht p,.em24-recht ul{max-width:70ch}
.em24-recht hr{border:0;height:1px;background:var(--wp--preset--color--linie);margin:2.5rem 0 1.5rem}
.em24-klein{font-size:.875rem;color:var(--wp--preset--color--grau);line-height:1.6}
.em24-offen{background:#FFE9D2;color:#7A4A12;padding:.15em .4em;border-radius:2px;font-weight:600}

.em24-consent{position:fixed;left:0;right:0;bottom:0;z-index:200;background:#fff;border-top:3px solid var(--wp--preset--color--blau);box-shadow:0 -6px 24px rgba(20,58,107,.14)}
.em24-consent-innen{max-width:1100px;margin:0 auto;padding:1.15rem var(--wp--preset--spacing--30);display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}
.em24-consent-text{flex:1 1 340px;min-width:0}
.em24-consent-text h2{font-size:1.05rem;margin:0 0 .3em}
.em24-consent-text p{margin:0;font-size:.875rem;line-height:1.55;color:var(--wp--preset--color--grau);max-width:78ch}
.em24-consent-knoepfe{display:flex;gap:.6rem;flex:0 0 auto}
.em24-consent button{font:inherit;font-weight:600;font-size:.95rem;padding:.75rem 1.3rem;border-radius:3px;cursor:pointer;min-height:48px;white-space:nowrap}
.em24-consent-noetig{background:#fff;color:var(--wp--preset--color--blau);border:2px solid var(--wp--preset--color--linie)}
.em24-consent-noetig:hover{border-color:var(--wp--preset--color--blau)}
.em24-consent-alle{background:var(--wp--preset--color--blau);color:#fff;border:0}
.em24-consent-alle:hover{background:var(--wp--preset--color--orange)}

@media (max-width:781px){
  .em24-profil-kompakt .em24-profil-innen{grid-template-columns:1fr}
  .em24-profil-kompakt .em24-profil-foto{max-width:160px}
  .em24-standort{padding:2.5rem 1.25rem}
  .em24-standort-innen{grid-template-columns:1fr}
  .em24-consent-innen{padding:1rem 1.25rem;gap:.9rem}
  .em24-consent-knoepfe{width:100%}
  .em24-consent-knoepfe button{flex:1}
  body:has(.em24-consent:not([hidden])) .em24-sticky-bar{bottom:auto}
}

/* ================================================================
   Kontaktwege: Seitenleiste, untere Leiste, Schaltflächen
   ================================================================ */

:root{--wa:#25D366;--wa-dunkel:#1EA855}

.em24-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-weight:700;text-decoration:none;padding:1rem 1.6rem;border-radius:3px;
  min-height:52px;transition:background-color .15s ease,color .15s ease}
.em24-btn-orange{background:var(--wp--preset--color--orange);color:#fff}
.em24-btn-orange:hover{background:#fff;color:var(--wp--preset--color--blau)}
.em24-btn-wa{background:var(--wa);color:#fff}
.em24-btn-wa:hover{background:var(--wa-dunkel);color:#fff}
.em24-btn-weiss{background:#fff;color:var(--wp--preset--color--blau);border:2px solid #fff}
.em24-btn-weiss:hover{background:transparent;color:#fff}

/* Abschlussblock */
.em24-cta{background:var(--wp--preset--color--blau);color:#fff;padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--30)}
.em24-cta-innen{max-width:1000px;margin:0 auto}
.em24-cta h2{color:#fff;margin-top:0}
.em24-cta-lead{font-size:1.125rem;color:#D5E0EC;max-width:66ch}
.em24-cta-foto{background:rgba(255,255,255,.09);border-left:4px solid var(--wa);padding:1.1rem 1.3rem;border-radius:0 3px 3px 0;margin:var(--wp--preset--spacing--30) 0}
.em24-cta-foto p{margin:0;font-size:1rem;line-height:1.6;color:#E4ECF5;max-width:70ch}
.em24-cta-foto strong{color:#fff}
.em24-cta-knoepfe{display:flex;gap:.75rem;flex-wrap:wrap}

/* Schmaler Streifen im Textfluss */
.em24-cta-schmal{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap;
  background:#F0FBF3;border:1px solid #C6EDD4;border-left:4px solid var(--wa);
  border-radius:0 4px 4px 0;padding:1.1rem 1.3rem;margin:var(--wp--preset--spacing--30) 0}
.em24-cta-schmal p{margin:0;font-size:.98rem;line-height:1.55;max-width:62ch}
.em24-cta-schmal .em24-btn{padding:.8rem 1.3rem;min-height:48px;flex:0 0 auto}

/* Seitenleiste rechts – ab Tablet */
.em24-rail{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:120;
  display:none;flex-direction:column;gap:2px;border-radius:4px 0 0 4px;overflow:hidden;
  box-shadow:0 4px 20px rgba(20,58,107,.18)}
.em24-rail a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;
  width:74px;padding:.85rem .4rem;text-decoration:none;color:#fff;font-size:.72rem;font-weight:700;
  letter-spacing:.02em;transition:width .15s ease,background-color .15s ease}
.em24-rail svg{width:24px;height:24px;fill:currentColor}
.em24-rail-tel{background:var(--wp--preset--color--orange)}
.em24-rail-tel:hover{background:#D06A18;color:#fff}
.em24-rail-wa{background:var(--wa)}
.em24-rail-wa:hover{background:var(--wa-dunkel);color:#fff}
.em24-rail-mail{background:var(--wp--preset--color--blau)}
.em24-rail-mail:hover{background:var(--wp--preset--color--blau-dunkel);color:#fff}

@media (min-width:782px){.em24-rail{display:flex}}

/* Untere Leiste – nur Handy, jetzt dreiteilig */
.em24-sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:99;display:flex;background:var(--wp--preset--color--blau)}
.em24-sticky-bar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.4em;
  padding:.85rem .3rem;color:#fff;text-decoration:none;font-weight:600;font-size:.85rem;
  border-right:1px solid rgba(255,255,255,.18);min-height:54px}
.em24-sticky-bar a:last-child{border-right:0}
.em24-sticky-bar a.is-orange{background:var(--wp--preset--color--orange)}
.em24-sticky-bar a.is-wa{background:var(--wa)}
.em24-sticky-bar svg{width:19px;height:19px;fill:currentColor;flex:0 0 auto}
@media (min-width:782px){.em24-sticky-bar{display:none}}
@media (max-width:781px){body{padding-bottom:54px}}

@media (max-width:781px){
  .em24-cta{padding:2.5rem 1.25rem}
  .em24-cta-knoepfe{flex-direction:column}
  .em24-cta-knoepfe .em24-btn{width:100%}
  .em24-cta-schmal{flex-direction:column;align-items:flex-start}
  .em24-cta-schmal .em24-btn{width:100%}
}

/* Untermenüs im Kopfbereich */
.em24-nav .wp-block-navigation__submenu-container{
  background:#fff;border:1px solid var(--wp--preset--color--linie);
  border-radius:3px;box-shadow:0 10px 28px rgba(20,58,107,.13);
  padding:.4rem 0;min-width:230px
}
.em24-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  padding:.6rem 1.1rem;display:block;white-space:normal;font-weight:500
}
.em24-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{
  background:var(--wp--preset--color--hellgrau);color:var(--wp--preset--color--orange)
}
.em24-nav .wp-block-navigation__submenu-icon{margin-left:.2em}

/* Im Overlay stehen Untermenüs eingerückt statt als Klappfeld */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{
  background:transparent;border:0;box-shadow:none;padding:0 0 0 1rem;min-width:0
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  font-size:1.05rem;font-weight:500;padding:.5rem 0
}

/* ================================================================
   Feinschliff
   Ziel: weniger Signalflächen gleichzeitig, klarere Rangfolge
   zwischen den Schaltflächen, ruhigere Flächen.
   ================================================================ */

/* ---------- Typografie: Abstufung statt durchgehend fett ---------- */
body{color:#3A4149;line-height:1.68}
h1,h2,h3{letter-spacing:-.025em}
h2{font-weight:700}
h3{font-weight:600}
.has-gross-font-size{line-height:1.55}

/* Zwischentitel bekommen eine feine Marke statt bloßer Größe */
.em24-cta h2,.em24-google h2,.em24-profil-text h2,.em24-standort-text h2{position:relative}

/* ---------- Kopfbereich: Rufnummer als Umrissfläche ---------- */
.em24-kopf-tel .wp-block-button__link{
  background:transparent;color:var(--wp--preset--color--blau);
  border:2px solid var(--wp--preset--color--linie);font-weight:700
}
.em24-kopf-tel .wp-block-button__link:hover{
  background:var(--wp--preset--color--blau);border-color:var(--wp--preset--color--blau);color:#fff
}

/* ---------- Startbereich: Illustration größer, kein Kasten ---------- */
.em24-hero.has-bild{align-items:center}
.em24-hero.has-bild > .wp-block-column:first-child{flex-basis:46% !important}
.em24-hero.has-bild > .wp-block-column:last-child{flex-basis:54% !important}
.em24-van{margin-inline:-1rem}
.em24-bild-hero img{border-radius:4px}

/* Rangfolge: eine gefüllte Schaltfläche, eine als Umriss */
.em24-hero .wp-block-buttons{gap:.9rem;align-items:center}
/* Umriss-Variante über eine eigene Klasse statt über die Position.
   WordPress vergibt für Farbklassen wie has-blau-background-color ein
   !important – eine Umfärbung von aussen greift dort nicht. Deshalb hat
   der Knopf gar keine Farbklasse mehr. */
.em24-btn-umriss .wp-block-button__link,
.em24-btn-umriss.wp-block-button .wp-block-button__link{
  background-color:transparent;
  color:var(--wp--preset--color--blau);
  border:2px solid var(--wp--preset--color--blau)
}
.em24-btn-umriss .wp-block-button__link:hover,
.em24-btn-umriss.wp-block-button .wp-block-button__link:hover{
  background-color:var(--wp--preset--color--blau);
  border-color:var(--wp--preset--color--blau);
  color:#fff
}

/* ---------- Vertrauensleiste: nummeriert statt nur aufgezählt ---------- */
.em24-usp .wp-block-column{position:relative;padding-top:1.1rem}
.em24-usp .wp-block-column::before{
  content:"";position:absolute;top:0;left:0;width:30px;height:3px;
  background:var(--wp--preset--color--orange)
}
.em24-usp h2{font-size:1.0625rem !important;font-weight:700;letter-spacing:0;margin-bottom:.3em}

/* ---------- Karten: ruhiger, mit Akzentkante statt Vollrahmen ---------- */
.em24-card{
  border:0 !important;background:var(--wp--preset--color--hellgrau);
  border-top:3px solid var(--wp--preset--color--linie) !important;
  border-radius:0 0 3px 3px;transition:border-color .15s ease,transform .15s ease
}
.em24-card:hover{border-top-color:var(--wp--preset--color--orange) !important}

/* ---------- Seitenleiste: zwei Farben statt drei ---------- */
.em24-rail{box-shadow:0 6px 26px rgba(20,58,107,.16)}
.em24-rail a{width:66px;padding:.8rem .4rem;font-size:.7rem;letter-spacing:.03em}
.em24-rail-tel{background:var(--wp--preset--color--blau-dunkel)}
.em24-rail-tel:hover{background:var(--wp--preset--color--orange);color:#fff}
.em24-rail-mail{background:var(--wp--preset--color--blau-dunkel)}
.em24-rail-mail:hover{background:var(--wp--preset--color--orange);color:#fff}
.em24-rail-wa{background:var(--wa)}

/* ---------- Untere Leiste mobil: dieselbe Zurückhaltung ---------- */
.em24-sticky-bar{background:var(--wp--preset--color--blau-dunkel)}
.em24-sticky-bar a.is-orange{background:var(--wp--preset--color--orange)}
.em24-sticky-bar a.is-wa{background:var(--wa)}

/* ---------- Abschlussblock: ruhiger Verlauf statt Vollton ---------- */
.em24-cta{
  background:linear-gradient(180deg,var(--wp--preset--color--blau) 0%,var(--wp--preset--color--blau-dunkel) 100%)
}

/* ---------- Preistafeln: Betrag als Hauptelement ---------- */
.em24-preis-karte .em24-preis{letter-spacing:-.03em}

/* ---------- Fokus bleibt überall sichtbar ---------- */
a:focus-visible,button:focus-visible,summary:focus-visible,
.wp-block-button__link:focus-visible{
  outline:3px solid var(--wp--preset--color--orange);outline-offset:3px;border-radius:2px
}

/* ---------- Mehr Luft zwischen den Abschnitten ---------- */
@media (min-width:782px){
  .em24-formular,.em24-google,.em24-profil,.em24-standort{
    padding-top:5.5rem;padding-bottom:5.5rem
  }
}

/* ================================================================
   Links außerhalb des Fließtexts
   Unterstreichung gehört in den Text, nicht in Überschriften,
   Karten, Navigation oder Schaltflächen.
   ================================================================ */

.em24-card h3 a,
.em24-card h2 a,
h1 a, h2 a, h3 a, h4 a{
  text-decoration:none;color:inherit
}
.em24-card h3 a:hover,
h2 a:hover, h3 a:hover{color:var(--wp--preset--color--orange)}

/* „Mehr dazu“ als Verweis mit Pfeil statt unterstrichenem Text */
.em24-card p:last-child a{
  text-decoration:none;font-weight:600;
  color:var(--wp--preset--color--blau);
  display:inline-flex;align-items:center;gap:.4em
}
.em24-card p:last-child a::after{
  content:"→";transition:transform .15s ease;display:inline-block
}
.em24-card p:last-child a:hover{color:var(--wp--preset--color--orange)}
.em24-card p:last-child a:hover::after{transform:translateX(3px)}

/* Ortsliste und Fußbereich ohne Unterstreichung */
.ortsliste a,.wp-block-list a{text-decoration:none;font-weight:500}
.ortsliste a:hover,.wp-block-list a:hover{text-decoration:underline}

/* ---------- Karten: sichtbare Kante, mehr Innenraum ---------- */
.em24-card{
  border-top-color:var(--wp--preset--color--blau) !important;
  padding:1.6rem 1.5rem !important
}
.em24-card:hover{border-top-color:var(--wp--preset--color--orange) !important}
.em24-card h3{margin-top:0;margin-bottom:.5em;font-size:1.3rem}
.em24-card p{margin-bottom:.9em}
.em24-card p:last-child{margin-bottom:0;margin-top:1.1em}

/* Ganze Karte anklickbar wirken lassen */
.em24-card{cursor:default}
.em24-card:hover{background:#fff}

/* ---------- Kennzahlen: Betrag nicht abschneiden ---------- */
.em24-zahl{padding:1.2rem 1.3rem}
.em24-zahl-wert{line-height:1.15;display:block;overflow-wrap:anywhere}

/* ================================================================
   Profilbereich: Foto und Textblock auf gleiche Höhe bringen
   Das Ausgangsbild ist ein sehr schmales Hochformat (27:50). Ohne
   Begrenzung ragt es weit unter den Text und hinterlässt Leerraum.
   ================================================================ */

.em24-profil-innen{align-items:start}
.em24-profil-foto img{
  max-height:440px;object-fit:cover;object-position:center 22%;
  width:100%;border-radius:4px
}
.em24-profil-kompakt .em24-profil-foto img{max-height:300px}

/* Textspalte gleich oben ansetzen wie das Foto */
.em24-profil-text{padding-top:.2rem}
.em24-profil-text .em24-f-eyebrow{margin-top:0}
.em24-profil-text h2{margin-top:0}

/* Kennzahlen kompakter, damit sie nicht auseinanderlaufen */
.em24-zahlen{gap:.75rem;margin-top:1.5rem}
.em24-zahl{padding:1rem 1.15rem}
.em24-zahl-wert{font-size:clamp(1.4rem,2.4vw,1.75rem)}
.em24-zahl-label{font-size:.85rem}

/* Abstand zum nächsten Abschnitt verringern */
.em24-profil{padding-bottom:var(--wp--preset--spacing--40)}

/* ---------- Abschnittsüberschriften: gleiche Sprungweite ---------- */
.wp-block-group > h2:first-child{margin-top:0}

/* ================================================================
   Leistungskacheln
   Sechs Leistungen, drei Spalten. Jede Kachel ist vollständig
   anklickbar – der Link liegt über der ganzen Fläche, bleibt aber
   ein echter Link und damit mit der Tastatur erreichbar.
   ================================================================ */

.em24-kacheln{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.25rem;margin-top:var(--wp--preset--spacing--30)
}

.em24-kachel{
  position:relative;background:#fff;
  border:1px solid var(--wp--preset--color--linie);
  border-radius:4px;padding:1.75rem 1.6rem 1.5rem;
  display:flex;flex-direction:column;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
.em24-kachel:hover{
  border-color:var(--wp--preset--color--blau);
  box-shadow:0 8px 26px rgba(20,58,107,.10);
  transform:translateY(-2px)
}

.em24-kachel-symbol{
  width:38px;height:38px;display:block;margin-bottom:1rem;
  color:var(--wp--preset--color--blau)
}
.em24-kachel-symbol .em24-akzent{fill:var(--wp--preset--color--orange)}
.em24-kachel-symbol .em24-akzent-strich{stroke:var(--wp--preset--color--orange);fill:none}

.em24-kachel-titel{
  font-size:1.25rem;margin:0 0 .5rem;line-height:1.25
}
.em24-kachel-titel a{
  text-decoration:none;color:var(--wp--preset--color--blau)
}
/* Der Link deckt die ganze Kachel ab */
.em24-kachel-titel a::after{
  content:"";position:absolute;inset:0;border-radius:4px
}
.em24-kachel:hover .em24-kachel-titel a{color:var(--wp--preset--color--orange)}

.em24-kachel-text{
  margin:0 0 1.25rem;font-size:.98rem;line-height:1.6;
  color:var(--wp--preset--color--grau);flex:1 1 auto
}

.em24-kachel-mehr{
  font-weight:700;font-size:.95rem;color:var(--wp--preset--color--blau);
  display:inline-flex;align-items:center;gap:.4em
}
.em24-kachel-mehr::after{content:"→";transition:transform .16s ease}
.em24-kachel:hover .em24-kachel-mehr{color:var(--wp--preset--color--orange)}
.em24-kachel:hover .em24-kachel-mehr::after{transform:translateX(4px)}

/* Tastaturbedienung sichtbar machen */
.em24-kachel:focus-within{
  border-color:var(--wp--preset--color--blau);
  outline:3px solid var(--wp--preset--color--orange);outline-offset:3px
}
.em24-kachel-titel a:focus-visible{outline:none}

@media (max-width:1000px){
  .em24-kacheln{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .em24-kacheln{grid-template-columns:1fr;gap:1rem}
  .em24-kachel{padding:1.4rem 1.3rem 1.2rem}
  .em24-kachel-symbol{width:32px;height:32px;margin-bottom:.75rem}
}

/* ================================================================
   Startbereich: Überlappung beheben
   Der negative Außenabstand liess die Illustration in die
   Textspalte ragen. Stattdessen bekommt sie Innenabstand.
   ================================================================ */

.em24-van{margin-inline:0;padding-left:1rem}
.em24-hero.has-bild{gap:var(--wp--preset--spacing--40)}
.em24-hero.has-bild > .wp-block-column{min-width:0}
.em24-hero.has-bild > .wp-block-column:first-child{flex-basis:48% !important}
.em24-hero.has-bild > .wp-block-column:last-child{flex-basis:52% !important}

@media (max-width:900px){
  .em24-hero.has-bild > .wp-block-column:first-child,
  .em24-hero.has-bild > .wp-block-column:last-child{flex-basis:100% !important}
  .em24-van{padding-left:0}
}

/* ================================================================
   Fußbereich
   ================================================================ */

.em24-fuss{background:var(--wp--preset--color--blau-dunkel)}

.em24-fuss-spalten{
  gap:var(--wp--preset--spacing--40) !important;
  align-items:start
}
.em24-fuss-spalten > .wp-block-column:first-child{flex-basis:38% !important}
.em24-fuss-spalten > .wp-block-column{flex-basis:31% !important;min-width:0}

/* Überschriften kleiner und ruhiger als im Inhalt */
.em24-fuss h2,.em24-fuss h3{
  font-size:1.05rem !important;font-weight:700;letter-spacing:.02em;
  margin:0 0 .9rem;color:#fff
}
.em24-fuss p{
  font-size:.95rem;line-height:1.7;color:#C4D2E4;margin:0 0 .6em;max-width:44ch
}

/* Links: hell, ohne Unterstreichung, nur beim Überfahren markiert */
.em24-fuss a{color:#DCE6F2;text-decoration:none}
.em24-fuss a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* Menü im Fußbereich: keine Aufklapp-Pfeile, Untermenüs offen darunter */
.em24-fuss .wp-block-navigation__submenu-icon{display:none}
.em24-fuss .wp-block-navigation .wp-block-navigation-item{width:100%}
.em24-fuss .wp-block-navigation__container{gap:.55rem}
.em24-fuss .wp-block-navigation .wp-block-navigation-item__content{
  padding:.1rem 0;display:inline-block;font-weight:500
}
/* Untermenüs im Fußbereich ausblenden – die Übersicht bleibt kurz */
.em24-fuss .wp-block-navigation__submenu-container{display:none !important}

/* Trennlinie und Schlusszeile */
.em24-fuss .wp-block-separator{
  border:0;height:1px;background:rgba(255,255,255,.16);
  margin:var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--20);opacity:1
}
.em24-fuss-schluss{
  display:flex;flex-wrap:wrap;gap:.5rem 1.1rem;align-items:center;
  font-size:.85rem;color:#9FB3CC
}
.em24-fuss-schluss a{color:#C4D2E4}

/* Anschrift als Block, damit Zeilen nicht auseinanderlaufen */
.em24-fuss-adresse{font-style:normal;line-height:1.75}

@media (max-width:781px){
  .em24-fuss-spalten{gap:2.25rem !important}
  .em24-fuss-spalten > .wp-block-column:first-child,
  .em24-fuss-spalten > .wp-block-column{flex-basis:100% !important}
  .em24-fuss h2,.em24-fuss h3{margin-bottom:.6rem}
  .em24-fuss p{max-width:none}
}
/* Agenturhinweis rechts absetzen, sofern Platz ist */
.em24-fuss-schluss .em24-fuss-agentur{margin-left:auto}
@media (max-width:781px){
  .em24-fuss-schluss{gap:.45rem .9rem}
  .em24-fuss-schluss .em24-fuss-agentur{margin-left:0;width:100%}
}
