/* Mega-Footer für alle Seiten (Inhalt: werkzeuge/footer.py). Überschreibt die alten .footer-Regeln.
   Aufbau: 4 ruhige Spalten oben, darunter die ausklappbare Leiste mit allen Bundesländern und großen Städten. */
.footer.mf{position:relative;z-index:6;isolation:isolate;background:#F6D214;color:#111;border-top:1px solid rgba(17,17,17,.14);padding:52px 0 28px;font-size:14.5px;line-height:1.55}
.footer.mf::before,.footer.mf::after{content:none;display:none}
.footer.mf .container{position:relative;z-index:1}
.mf-grid{display:grid;grid-template-columns:1.5fr .8fr .9fr .9fr;gap:34px 48px}
.footer.mf nav.mf-col,.footer.mf .mf-regionen nav{display:block}
.footer.mf a{color:#111;font-weight:500;text-decoration:none}
.footer.mf a:hover{text-decoration:underline}
.mf-h{margin:0 0 14px;font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-weight:700;font-size:17px;letter-spacing:.1em;text-transform:uppercase;line-height:1.2}
.footer.mf ul{list-style:none;margin:0;padding:0}
.footer.mf li{margin:0 0 9px}
.mf-logo{display:inline-block}
.mf-logo .wm{font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-weight:700;font-size:26px;letter-spacing:.03em;text-transform:uppercase;line-height:1}
.mf-logo .wm-4{color:#8432EC}
.mf-logo .wm-tld{font-size:.62em;font-weight:600;margin-left:2px;opacity:.7;text-transform:lowercase}
.footer.mf .mf-logo:hover{text-decoration:none}
.mf-brand p{margin:12px 0 18px;max-width:320px}
.footer.mf .mf-cta{display:inline-flex;align-items:center;height:46px;padding:0 20px;border-radius:10px;background:#8432EC;color:#fff;font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-weight:700;font-size:15.5px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;transition:background-color .2s}
.footer.mf .mf-cta:hover{background:#6C1FD6;text-decoration:none}
.footer.mf .mf-contact{margin:18px 0 12px}
.footer.mf .mf-contact a{font-weight:700}
.mf-social{display:flex;gap:10px}
.footer.mf .mf-social li{margin:0}
.footer.mf .mf-social a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1.5px solid #111;color:#111;transition:background-color .2s,color .2s}
.footer.mf .mf-social a:hover{background:#111;color:#F6D214;text-decoration:none}
.mf-social svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.footer.mf .cc-open{background:none;border:0;padding:0;font:inherit;font-weight:500;color:#111;cursor:pointer}
.footer.mf .cc-open:hover{text-decoration:underline}
.footer.mf .mf-more{display:inline-block;margin-top:12px;font-weight:700}

/* Ausklappbare Leiste: alle Bundesländer und große Städte */
.mf-regionen{margin-top:38px;border:1.5px solid rgba(17,17,17,.16);border-radius:14px;background:rgba(255,255,255,.38)}
.mf-regionen summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;cursor:pointer;list-style:none;font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-weight:700;font-size:17px;letter-spacing:.08em;text-transform:uppercase}
.mf-regionen summary::-webkit-details-marker{display:none}
.mf-regionen summary:hover{background:rgba(255,255,255,.35);border-radius:14px}
.mf-plus{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#111;color:#F6D214;font-size:20px;line-height:1}
.mf-plus::before{content:"+"}
.mf-regionen[open] .mf-plus::before{content:"–"}
.mf-regionen-inhalt{display:grid;grid-template-columns:1fr 1.4fr;gap:22px 40px;padding:6px 20px 22px}
.footer.mf .mf-chips{display:flex;flex-wrap:wrap;gap:8px}
.footer.mf .mf-chips li{margin:0}
.footer.mf .mf-chips a{display:inline-block;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid rgba(17,17,17,.14);font-size:13.5px;line-height:1.3}
.footer.mf .mf-chips a:hover{border-color:#8432EC;color:#6C1FD6;text-decoration:none}

.mf-bottom{display:flex;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;margin-top:28px;padding-top:18px;border-top:1px solid rgba(17,17,17,.16);font-size:13px;color:#3A3214}
.footer.mf :focus-visible{outline:2px solid #2563EB;outline-offset:3px}

@media(max-width:1000px){
  .mf-grid{grid-template-columns:1fr 1fr 1fr}
  .mf-brand{grid-column:1/-1}
  .mf-regionen-inhalt{grid-template-columns:1fr}
}
@media(max-width:600px){
  .footer.mf{padding:40px 0 24px}
  .mf-grid{grid-template-columns:1fr 1fr;gap:28px 20px}
  .mf-grid > nav.mf-col:last-child{grid-column:1/-1}
  .mf-regionen summary{font-size:15.5px;padding:14px 16px}
  .mf-regionen-inhalt{padding:4px 16px 18px}
  .mf-bottom{flex-direction:column}
}
/* Startseite: Platz für die feste Anfrage-Leiste unten auf dem Handy */
@media(max-width:860px){body:has(#mbar) .footer.mf{padding-bottom:104px}}

/* Cookie-Banner der Unterseiten (Startseite hat dieselben Regeln inline) */
.cc{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:70;max-width:560px;margin:0 auto;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:14px;box-shadow:0 18px 50px rgba(17,17,17,.28);padding:18px 20px 16px;font-size:14.5px;line-height:1.5}
.cc[hidden]{display:none}
.cc-title{margin:0 0 6px;font-family:var(--display);font-weight:700;font-size:20px;letter-spacing:.03em;text-transform:uppercase;line-height:1.1}
.cc p{margin:0 0 14px}
.cc-actions{display:flex;gap:10px}
.cc-actions button{flex:1;height:46px;border-radius:10px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);font-family:var(--display);font-size:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.cc-actions button:hover{background:var(--ink);color:#fff}
