/* Mundarten und Sprachen (Stufe Mundarten, 29.11.2026; Vorbild www.de .z-ma, angepasst an malvorlagen) */

/* Sprach-Knopf im Kopf */
.mv-sprache { position: relative; }
.mv-sprache > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.mv-sprache > summary::-webkit-details-marker { display: none; }
.mv-sprache > summary:hover, .mv-sprache[open] > summary { background: var(--chalk); }
.mv-sprache__globus { font-size: 16px; line-height: 1; }
.mv-sprache__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; width: 250px; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); padding: 6px; }
.mv-sprache__liste { list-style: none; margin: 0; padding: 0; max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.mv-sprache__liste a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.mv-sprache__liste a small { color: var(--mute); font-weight: 500; font-size: 12px; }
.mv-sprache__liste a:hover, .mv-sprache__liste a[aria-current] { background: var(--chalk); }
.mv-sprache__liste a[aria-current]::after { content: "✓"; }
.mv-sprache__trenner { margin-top: 6px; padding: 8px 12px 4px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.mv-sprache__mehr { font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* Im Kopf nur am Desktop; am Handy steht die Sprache im Menü */
.hdr-r .mv-sprache--kopf { display: none; }
@media (min-width: 900px) { .hdr-r .mv-sprache--kopf { display: block; } }

/* Im mobilen Menü: eine schlanke Zeile, Liste klappt darunter auf */
.drawer .mv-sprache--drawer { margin: 14px 0 4px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; }
.drawer .mv-sprache--drawer > summary { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 14px; font-size: 15px; font-weight: 600; border-radius: 14px; }
.drawer .mv-sprache--drawer > summary b { font-weight: 750; }
.drawer .mv-sprache--drawer[open] .mv-sprache__pfeil { transform: rotate(180deg); }
.drawer .mv-sprache--drawer .mv-sprache__panel { position: static; width: auto; border: 0; box-shadow: none; padding: 0 6px 6px; }
.drawer .mv-sprache--drawer .mv-sprache__liste { max-height: 50vh; }
.drawer .mv-sprache__liste a { display: flex; border-bottom: 0; padding: 10px 12px; font-size: 16px; }

/* Hinweisleiste */
.mv-uebertragen { background: #FFF4CC; color: #4A3B00; font-size: 14px; line-height: 1.4; padding: 8px 16px; text-align: center; }
.mv-uebertragen span { white-space: nowrap; }
.mv-uebertragen a { color: inherit; font-weight: 700; text-underline-offset: 2px; }
.mv-uebertragen b { display: block; font-weight: 600; }

/* Knöpfe und Raster (Frage, Konto, Seite /mundarten/) */
.mv-ma__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.mv-ma__k { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 52px; padding: 11px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; }
.mv-ma__k strong { font-weight: 750; }
.mv-ma__k small { font-size: 12.5px; line-height: 1.25; color: var(--mute); }
.mv-ma__k em { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: 11px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; background: #FFD84D; color: var(--ink); padding: 2px 8px; border-radius: 99px; }
.mv-ma__k:hover { border-color: var(--ink); }
.mv-ma__k.is-tipp { border: 2px solid var(--ink); }
.mv-ma__k.is-aktiv { background: var(--ink); border-color: var(--ink); color: #fff; }
.mv-ma__k.is-aktiv small { color: #cfd3d9; }
.mv-ma__alle { margin: 8px 0; }
.mv-ma__alle summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.mv-ma__nein { margin: 10px 0 0; }
.mv-ma--frage { background: #FFF4CC; }
.mv-ma--frage h2 { margin-top: 0; }
.mv-ma__laender { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 24px; }
.mv-ma__land h3 { margin: 16px 0 0; font-size: 16px; }
.mv-ma--seite h2 { margin-top: 32px; }
.mv-ma__zurueck { margin-top: 20px; }

/* Region im Konto */
.mv-region { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.mv-region select { width: 100%; }
@media (max-width: 480px) { .mv-region { grid-template-columns: 1fr; } }
