/* Sprachwahl im Kopf (Details-Menue, ohne JavaScript) */
.sprachwahl { position: relative; margin-inline-start: auto; margin-inline-end: 10px; font-size: 14px; }
.sprachwahl summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 6px 8px; border-radius: 8px; color: inherit; }
.sprachwahl summary::-webkit-details-marker { display: none; }
.sprachwahl summary:hover, .sprachwahl[open] summary { background: rgba(127, 127, 127, .14); }
.sprachwahl ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60; margin: 0; padding: 6px; list-style: none; width: 300px; max-height: min(70vh, 460px); overflow: auto; columns: 2; column-gap: 4px; background: var(--bg, #fff); color: inherit; border: 1px solid rgba(127, 127, 127, .3); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.sprachwahl li { break-inside: avoid; }
.sprachwahl a { display: block; padding: 6px 8px; border-radius: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.sprachwahl a:hover { background: rgba(127, 127, 127, .14); }
.sprachwahl a[aria-current] { font-weight: 700; background: rgba(127, 127, 127, .18); }
@media (max-width: 640px) { .sprachwahl { margin-inline-end: 4px; } .sprachwahl ul { position: fixed; top: 60px; inset-inline: 12px; width: auto; } }

/* Flaggen (dekorativ) */
.sprachwahl .flagge { flex: none; width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(127, 127, 127, .35); object-fit: cover; }
.sprachwahl a { display: flex; align-items: center; gap: 8px; }

/* Sprachfassungen (nicht de-AT): lange Wörter und Knopftexte brechen um statt über den Rand zu ragen (Nachprüfung B4) */
html:not([lang="de-AT"]) .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html:not([lang="de-AT"]) .ch-btn { white-space: normal; max-width: 100%; text-align: center; }
html:not([lang="de-AT"]) h1, html:not([lang="de-AT"]) h2, html:not([lang="de-AT"]) h3 { overflow-wrap: break-word; hyphens: auto; }
html:not([lang="de-AT"]) .hero-actions, html:not([lang="de-AT"]) .a-actions { max-width: 100%; }
@media (max-width: 1000px) { html:not([lang="de-AT"]) .steps--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { html:not([lang="de-AT"]) .hero-title.sm, html:not([lang="de-AT"]) .hero-title { font-size: clamp(30px, 9.4vw, 52px); } }
html:not([lang="de-AT"]) body { overflow-wrap: break-word; }
html:not([lang="de-AT"]) .ch-quote, html:not([lang="de-AT"]) .ch-quote__text { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
