/* Kopfleiste, Aufklappmenues, Suche, Hinweis-Boxen und Fuss: Design-System 2 (31.10.2026), Quelle der Markups: CockcraftWebsite/_partials
   (angewendet mit scripts/apply_site_nav.sh). Werte siehe DESIGN-SYSTEM-2.md. Alles unter nav.sn / footer.sf gescopt. */

/* ============================ Kopfleiste ============================ */
nav.sn { display: block; margin: 0; padding: 0; border: 0; width: 100%; position: sticky; top: 0; z-index: 999; height: var(--ds-header-h, 71px); background: var(--ds-header, rgba(255, 255, 255, .8)); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); font-family: var(--ds-font, 'Nunito', system-ui, sans-serif); transition: box-shadow .25s ease; }
nav.sn.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
html.dark nav.sn.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
nav.sn .sn-in { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; gap: 0; }
nav.sn .sn-logo { display: flex; align-items: center; justify-content: center; width: 40px; height: 100%; margin: 0 10px 0 0; flex: 0 0 auto; }
nav.sn .sn-logo img { width: 26px; height: 32px; object-fit: contain; display: block; transition: transform .3s ease; }
nav.sn .sn-logo:hover img { transform: scale(1.08) rotate(-3deg); }
nav.sn .sn-links { display: flex; align-items: center; gap: 0; flex: 0 1 auto; margin: 0; }
nav.sn .sn-dd { position: static; padding: 0 5px; display: flex; align-items: center; height: 40px; }
nav.sn .sn-dd-btn, nav.sn .sn-links > a.sn-flat { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: var(--ds-radius, 12px); background: none; color: var(--ds-nav, #423f3f); font: 600 16px/19px var(--ds-font, 'Nunito', sans-serif); cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease; }
nav.sn .sn-dd-btn:hover, nav.sn .sn-dd.open > .sn-dd-btn, nav.sn .sn-links > a.sn-flat:hover { background: var(--ds-hover, rgba(0, 0, 0, .05)); }
nav.sn .sn-dd-btn i { width: 6px; height: 6px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .2s ease; }
nav.sn .sn-dd.open > .sn-dd-btn i { transform: rotate(225deg) translateY(-1px); }
nav.sn .sn-cta.sn-cta-m { display: none; }
nav.sn .sn-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
nav.sn .sn-icon, nav.sn .sn-search, nav.sn .sn-theme, nav.sn .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; padding: 0; border: 0; border-radius: var(--ds-radius, 12px); background: var(--ds-hover, rgba(0, 0, 0, .05)); color: var(--ds-text-strong, #333); cursor: pointer; text-decoration: none; transition: background .2s ease; flex: 0 0 auto; }
nav.sn .sn-icon:hover, nav.sn .sn-search:hover, nav.sn .sn-theme:hover, nav.sn .nav-toggle:hover { background: rgba(7, 202, 230, .18); }
nav.sn .sn-icon svg, nav.sn .sn-search svg, nav.sn .sn-theme svg, nav.sn .nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
nav.sn .sn-theme .ic-sun { display: none; }
html.dark nav.sn .sn-theme .ic-sun { display: block; }
html.dark nav.sn .sn-theme .ic-moon { display: none; }
nav.sn .sn-cta { display: inline-flex; align-items: center; justify-content: center; height: 35px; padding: 5px 25px; margin-left: 0; border-radius: var(--ds-radius, 12px); background: var(--ds-accent, #07cae6); color: #fff !important; font: 600 14px/20px var(--ds-font, 'Nunito', sans-serif); text-decoration: none; border: 0; cursor: pointer; transition: opacity .2s ease-in-out, background-color .6s ease-in-out; white-space: nowrap; }
nav.sn .sn-cta:hover { opacity: .88; }
nav.sn .nav-toggle { display: none; }
nav.sn .nav-toggle .ic-close { display: none; }
nav.sn.open .nav-toggle .ic-open { display: none; }
nav.sn.open .nav-toggle .ic-close { display: block; }

/* Seite hinter offenem Menue abdunkeln */
.sn-overlay { position: fixed; inset: 0; z-index: 990; background: rgba(0, 0, 0, .33); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
html.sn-menu-open .sn-overlay { opacity: 1; pointer-events: auto; }

/* ============================ Aufklappmenue (Mega) ============================ */
nav.sn .sn-menu { position: absolute; left: 0; right: 0; top: 100%; display: none; background: color-mix(in srgb, var(--ds-bg, #fff) 97%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--ds-shadow-pop, 0 15px 20px rgba(0, 0, 0, .06)); border-radius: 0 0 var(--ds-radius, 12px) var(--ds-radius, 12px); max-height: calc(100vh - var(--ds-header-h, 71px) - 10px); overflow-y: auto; }
nav.sn .sn-dd.open > .sn-menu { display: block; }
nav.sn .sn-mega-in { max-width: 1600px; margin: 0 auto; padding: 20px 20px 0 35px; display: grid; grid-template-columns: minmax(0, 1fr) 456px; gap: 32px; align-items: start; }
nav.sn .sn-mega-main { padding: 0 0 20px; }
nav.sn .sn-mega-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ds-line, #f1f1f1); }
nav.sn .sn-mega-head h6 { margin: 9px 0 0; font-size: 22px; line-height: 33px; font-weight: 900; text-transform: none; letter-spacing: 0; color: var(--ds-text, #4e4e4e); }
nav.sn .sn-mega-head a { display: inline-flex; align-items: center; height: 40px; padding: 10px 25px; margin-top: 1px; border: 2px solid var(--ds-line-2, #dfdfdf); border-radius: var(--ds-radius, 12px); font-size: 14px; font-weight: 600; color: var(--ds-nav, #423f3f); text-decoration: none; transition: border-color .2s ease, color .2s ease; }
nav.sn .sn-mega-head a:hover { border-color: var(--ds-accent, #07cae6); color: var(--ds-accent, #07cae6); }
nav.sn .sn-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
nav.sn .sn-col h6 { margin: 0 0 5px; font-size: 12px; line-height: 18px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; color: var(--ds-text, #4e4e4e); }
nav.sn .sn-col { padding-bottom: 20px; }
nav.sn .sn-col a { display: block; padding: 5px 0; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ds-text, #4e4e4e); text-decoration: none; transition: color .15s ease, transform .15s ease; }
nav.sn .sn-col a:hover { color: var(--ds-accent, #07cae6); transform: translateX(3px); }
/* Events > Aktuell (02.12.2026): zeigt nur das laufende Event. html.weihnachten/html.halloween setzen weihnachten.js bzw. halloween.js nach der API,
   html.ev-weihnachten setzt ds2.js auf bugs/guardian/shop (dort laufen keine Saison-Skripte) nach dem Datum. Sonst steht dort "Gerade läuft kein Event". */
nav.sn .sn-col a.sn-ev { display: none; }
html.weihnachten nav.sn .sn-col a.sn-ev-wn, html.ev-weihnachten nav.sn .sn-col a.sn-ev-wn, html.halloween nav.sn .sn-col a.sn-ev-hw { display: block; }
nav.sn .sn-col .sn-ev-none { display: block; padding: 5px 0; font-size: 14px; line-height: 20px; color: var(--ds-text, #4e4e4e); opacity: .6; }
html.weihnachten nav.sn .sn-col .sn-ev-none, html.ev-weihnachten nav.sn .sn-col .sn-ev-none, html.halloween nav.sn .sn-col .sn-ev-none { display: none; }
nav.sn .sn-mega-side { background: var(--ds-surface, #f8f8f8); border-radius: var(--ds-radius-lg, 24px); padding: 40px; margin: 0 0 20px; }
nav.sn .sn-mega-side h6 { margin: 0 0 5px; font-size: 22px; line-height: 33px; font-weight: 900; text-transform: none; letter-spacing: 0; color: var(--ds-text, #4e4e4e); }
nav.sn .sn-mega-side a { display: block; padding: 10px 0; font-size: 14px; line-height: 21px; color: var(--ds-text, #4e4e4e); text-decoration: none; transition: color .15s ease; }
nav.sn .sn-mega-side a:hover { color: var(--ds-accent, #07cae6); }
/* gestaffeltes Einblenden */
nav.sn .sn-dd.open .sn-col, nav.sn .sn-dd.open .sn-mega-side { animation: sn-in .45s ease both; }
nav.sn .sn-dd.open .sn-col:nth-child(2) { animation-delay: .06s; } nav.sn .sn-dd.open .sn-col:nth-child(3) { animation-delay: .12s; } nav.sn .sn-dd.open .sn-mega-side { animation-delay: .1s; }
@keyframes sn-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================ Mobil ============================ */
@media (max-width: 1180px) {
  nav.sn .sn-in { padding: 0 20px; }
  nav.sn .nav-toggle { display: inline-flex; }
  nav.sn .sn-cta { display: none; }
  nav.sn .sn-cta.sn-cta-m { display: flex; margin-top: 14px; height: 44px; }
  nav.sn .sn-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: var(--ds-bg, #fff); box-shadow: var(--ds-shadow-pop); max-height: calc(100vh - var(--ds-header-h, 71px)); overflow-y: auto; border-radius: 0 0 var(--ds-radius, 12px) var(--ds-radius, 12px); }
  nav.sn.open .sn-links { display: flex; }
  nav.sn .sn-dd { display: block; height: auto; padding: 0; border-bottom: 1px solid var(--ds-line, #f1f1f1); }
  nav.sn .sn-dd-btn, nav.sn .sn-links > a.sn-flat { width: 100%; height: 48px; justify-content: space-between; padding: 0 4px; border-radius: 0; font-size: 17px; }
  nav.sn .sn-dd-btn:hover, nav.sn .sn-dd.open > .sn-dd-btn { background: none; }
  nav.sn .sn-menu { position: static; box-shadow: none; max-height: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  nav.sn .sn-mega-in { display: block; padding: 0 0 12px; }
  nav.sn .sn-mega-head { margin: 0 0 10px; padding-bottom: 10px; }
  nav.sn .sn-mega-head h6 { font-size: 18px; margin-top: 4px; }
  nav.sn .sn-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  nav.sn .sn-col a { padding: 8px 0; }
  nav.sn .sn-mega-side { padding: 18px 20px; margin: 6px 0 0; border-radius: var(--ds-radius, 12px); }
  nav.sn .sn-mega-side h6 { font-size: 16px; line-height: 24px; }
}
@media (max-width: 420px) { nav.sn .sn-cols { grid-template-columns: minmax(0, 1fr); } nav.sn .sn-actions { gap: 8px; } }

/* ============================ Suche (Taste "/" oder Strg+K) ============================ */
.lc-search { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: flex-start; justify-content: center; padding: 11vh 16px 16px; background: rgba(0, 0, 0, .33); animation: lc-s-fade .15s ease; font-family: var(--ds-font, 'Nunito', sans-serif); }
.lc-search[hidden] { display: none; }
@keyframes lc-s-fade { from { opacity: 0; } to { opacity: 1; } }
.lc-s-panel { width: 100%; max-width: 713px; background: var(--ds-bg, #fff); color: var(--ds-text, #4e4e4e); border-radius: var(--ds-radius, 12px); box-shadow: var(--ds-shadow-pop); overflow: hidden; animation: lc-s-pop .2s cubic-bezier(.2, .8, .2, 1); }
@keyframes lc-s-pop { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
.lc-s-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--ds-line, #f1f1f1); }
.lc-s-top svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--ds-text, #4e4e4e); stroke-width: 2; stroke-linecap: round; }
.lc-s-top input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 16px/24px var(--ds-font, 'Nunito', sans-serif); padding: 8px 0; color: var(--ds-text-strong, #333); }
.lc-s-top kbd { font: 700 11.5px/1 var(--ds-font, 'Nunito', sans-serif); padding: 4px 8px; border-radius: 8px; background: var(--ds-surface, #f8f8f8); color: var(--ds-muted, #8a9096); }
.lc-s-list { max-height: min(56vh, 440px); overflow-y: auto; padding: 8px; }
.lc-s-list a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--ds-radius, 12px); text-decoration: none; color: inherit; }
.lc-s-list a b { font-size: 15px; font-weight: 800; }
.lc-s-list a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ds-muted, #8a9096); }
.lc-s-list a em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-accent-ink, #057a8e); background: rgba(7, 202, 230, .12); padding: 3px 8px; border-radius: 8px; }
.lc-s-list a:hover, .lc-s-list a.on { background: var(--ds-surface, #f8f8f8); }
.lc-s-empty { padding: 26px 14px; text-align: center; color: var(--ds-muted, #8a9096); font-size: 14px; }
html.lc-s-open { overflow: hidden; }
@media (max-width: 900px) { .lc-search { padding-top: 8vh; } }

/* "Nach oben" */
.lc-top { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 40px; height: 40px; border: 0; border-radius: var(--ds-radius, 12px); background: var(--ds-bg, #fff); color: var(--ds-text-strong, #333); cursor: pointer; box-shadow: var(--ds-shadow-pop); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.lc-top.show { opacity: 1; transform: none; pointer-events: auto; }
.lc-top:hover { color: var(--ds-accent, #07cae6); }
.lc-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================ Hinweis-Boxen (Promo oben rechts, Cookie unten rechts) ============================ */
.ds-toast { position: fixed; right: 20px; z-index: 1100; width: 420px; max-width: calc(100vw - 40px); padding: 20px; border-radius: var(--ds-radius, 12px); background: color-mix(in srgb, var(--ds-bg, #fff) 98%, transparent); box-shadow: var(--ds-shadow-pop); font: 400 14px/21px var(--ds-font, 'Nunito', sans-serif); color: var(--ds-text, #4e4e4e); opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.ds-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.ds-toast--promo { top: 90px; display: flex; gap: 20px; }
/* Seiten mit Brotkrumen-Leiste: Promo unter der Leiste statt ueber ihren Reitern (14.11.2026) */
@media (min-width: 641px) { html.ds-has-sub .ds-toast--promo { top: calc(var(--ds-header-h, 71px) + 42px + 20px); } }
.ds-toast--cookie { bottom: 20px; }
.ds-toast__icon { flex: 0 0 41px; } .ds-toast__icon img { width: 36px; height: 44px; object-fit: contain; display: block; }
.ds-toast__title { font-size: 20px; line-height: 40px; font-weight: 800; color: var(--ds-accent, #07cae6); }
.ds-toast p { margin: 0; padding: 2px 0; }
.ds-toast p b { font-weight: 800; }
.ds-toast a { color: var(--ds-accent, #07cae6); text-decoration: none; font-weight: 600; }
.ds-toast a:hover { text-decoration: underline; }
.ds-toast__buttons { padding: 20px 0 0; display: flex; }
.ds-toast__close { position: absolute; top: 9px; right: 9px; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 6px; background: var(--ds-surface-2, #f3f3f3); color: var(--ds-text, #4e4e4e); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ds-toast__close svg { width: 9px; height: 9px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
@media (max-width: 640px) {
  .ds-toast { right: 0; left: 0; width: auto; max-width: none; border-radius: 0; padding: 20px; }
  .ds-toast--promo { top: 0; border-radius: 0 0 var(--ds-radius, 12px) var(--ds-radius, 12px); }
  .ds-toast--cookie { bottom: 0; border-radius: var(--ds-radius, 12px) var(--ds-radius, 12px) 0 0; }
  .lc-top { bottom: 90px; }
}

/* ============================ Fuss ============================ */
footer.sf { background: var(--ds-surface, #f8f8f8); color: var(--ds-text, #4e4e4e); font-family: var(--ds-font, 'Nunito', sans-serif); margin: 0 !important; padding: 0; border: 0; text-align: left; font-size: 16px; line-height: 24px; }
/* Gegen alte Seitenregeln wie "footer { text-align: center }", "footer a { margin: 0 8px }" oder mobil "footer a { padding: 8px }" (14.11.2026) */
footer.sf a { margin: 0; }
footer.sf .sf-in { max-width: 1600px; margin: 0 auto; padding: 20px; display: block; }
footer.sf .sf-note { padding: 10px 0; }
footer.sf .sf-note p { font-size: 12px; line-height: 18px; padding: 0 5px 0 0; margin: 0; max-width: 900px; }
footer.sf .sf-note hr { border: 0; border-top: 1px solid var(--ds-line-2, #dfdfdf); margin: 16px 0 0; opacity: .6; }
footer.sf .sf-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; padding: 20px 0 10px; }
footer.sf .sf-col { padding: 0 0 20px; display: block; }
footer.sf .sf-col h4 { margin: 0 0 14px; font-size: 12px; line-height: 18px; font-weight: 800; color: var(--ds-text, #4e4e4e); text-transform: none; letter-spacing: 0; }
footer.sf .sf-col a { display: block; padding: 5px 0; font-size: 12px; line-height: 18px; font-weight: 400; color: var(--ds-text-strong, #333); text-decoration: none; transition: color .15s ease; }
footer.sf .sf-col a:hover { color: var(--ds-accent, #07cae6); }
footer.sf .sf-social { display: flex; gap: 10px; padding: 10px 0 30px; }
footer.sf .sf-social a { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--ds-line-2, #dfdfdf); display: inline-flex; align-items: center; justify-content: center; color: var(--ds-text-strong, #333); transition: color .2s ease, border-color .2s ease; }
footer.sf .sf-social a:hover { color: var(--ds-accent, #07cae6); border-color: var(--ds-accent, #07cae6); }
footer.sf .sf-social svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
footer.sf .sf-social a:first-child svg { fill: currentColor; stroke: none; }
footer.sf .sf-bottom { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; padding: 10px 0 40px; font-size: 12px; line-height: 18px; text-align: left; }
footer.sf .sf-bottom a { font-size: 14px; color: var(--ds-text-strong, #333); text-decoration: none; padding: 0 0 0 24px; border-left: 1px solid var(--ds-line-2, #dfdfdf); }
footer.sf .sf-bottom a:hover { color: var(--ds-accent, #07cae6); }
@media (max-width: 991px) { footer.sf .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { footer.sf .sf-cols { grid-template-columns: minmax(0, 1fr); } footer.sf .sf-bottom a { border-left: 0; padding-left: 0; } }

/* Shop: mit Spieler/Coins-Anzeige in der Leiste wird das Mobil-Layout schon bis 1400 px genutzt (sonst ueberlappen Menue und Anzeige) */
@media (min-width: 1181px) and (max-width: 1400px) {
  nav.sn:has(.who) .sn-in { padding: 0 20px; }
  nav.sn:has(.who) .nav-toggle { display: inline-flex; }
  nav.sn:has(.who) .sn-cta { display: none; }
  nav.sn:has(.who) .sn-cta.sn-cta-m { display: flex; margin-top: 14px; height: 44px; }
  nav.sn:has(.who) .sn-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: var(--ds-bg, #fff); box-shadow: var(--ds-shadow-pop); max-height: calc(100vh - var(--ds-header-h, 71px)); overflow-y: auto; border-radius: 0 0 var(--ds-radius, 12px) var(--ds-radius, 12px); }
  nav.sn.open .sn-links { display: flex; }
  nav.sn:has(.who) .sn-dd { display: block; height: auto; padding: 0; border-bottom: 1px solid var(--ds-line, #f1f1f1); }
  nav.sn:has(.who) .sn-dd-btn, nav.sn:has(.who) .sn-links > a.sn-flat { width: 100%; height: 48px; justify-content: space-between; padding: 0 4px; border-radius: 0; font-size: 17px; }
  nav.sn:has(.who) .sn-dd-btn:hover, nav.sn:has(.who) .sn-dd.open > .sn-dd-btn { background: none; }
  nav.sn:has(.who) .sn-menu { position: static; box-shadow: none; max-height: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  nav.sn:has(.who) .sn-mega-in { display: block; padding: 0 0 12px; }
  nav.sn:has(.who) .sn-mega-head { margin: 0 0 10px; padding-bottom: 10px; }
  nav.sn:has(.who) .sn-mega-head h6 { font-size: 18px; margin-top: 4px; }
  nav.sn:has(.who) .sn-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  nav.sn:has(.who) .sn-col a { padding: 8px 0; }
  nav.sn:has(.who) .sn-mega-side { padding: 18px 20px; margin: 6px 0 0; border-radius: var(--ds-radius, 12px); }
  nav.sn:has(.who) .sn-mega-side h6 { font-size: 16px; line-height: 24px; }
}

/* Shop: Spieler/Coins-Anzeige ("who") rutscht mobil in eine zweite Zeile unter die Knöpfe */
@media (max-width: 700px) {
  nav.sn:has(.who) { height: auto; min-height: var(--ds-header-h, 71px); }
  nav.sn:has(.who) .sn-in { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  nav.sn:has(.who) .sn-logo { height: 40px; }
  nav.sn:has(.who) .sn-actions { flex-wrap: wrap; justify-content: flex-end; flex: 1; }
  nav.sn:has(.who) .who { order: 20; flex: 1 0 100%; display: flex; justify-content: flex-end; min-width: 0; }
  nav.sn:has(.who) .sn-links { top: 100%; }
}

/* Fuss mobil: Spalten als Akkordeon (Titel antippen) */
@media (max-width: 640px) {
  footer.sf .sf-cols { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0; }
  footer.sf .sf-col { padding: 0; border-top: 1px solid var(--ds-line-2); }
  footer.sf .sf-col h4 { margin: 0; padding: 14px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  footer.sf .sf-col h4::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
  footer.sf .sf-col.open h4::after { transform: rotate(225deg); }
  footer.sf .sf-col a { display: none; }
  footer.sf .sf-col.open a { display: block; }
  footer.sf .sf-col.open { padding-bottom: 12px; }
}
