/* geometrie.org – „Eine Welt“: gemeinsame Grundlage aller Seiten.
 *
 * Das Modell: drei Orte, überall dieselben vier Türen.
 *   Orte:  Volksschule (Hafen) · Sekundarstufe (Orbit) · Forschung (Sterne)
 *   Türen: Themen · Mitmachen · 3D-Druck & Material · Lehrplan
 *
 * Die Leiste oben („Reiseleiste“) ist auf jeder Seite wortgleich. Sie ist die Reise vom Meer
 * zu den Sternen: links hell (Hafen), rechts dunkel (Sterne). Der aktive Ort trägt eine weiße Kapsel,
 * aus der seine vier Türen als Ausbuchtung herauswachsen.
 * Welcher Ort und welche Tür aktiv sind, steht nur am <body>:
 *   <body data-ort="hafen|all|sterne|reise" data-bereich="volksschule|sekundarstufe|forschung" data-tuer="themen|mitmachen|material|lehrplan">
 * Reihenfolge im HEAD: fonts.css, shared/base.css, welt.css, dann die Seiten-CSS. */

@property --w-komet { syntax: '<angle>'; inherits: false; initial-value: 40deg; }

@view-transition { navigation: auto; }

@layer stil {
  :root {
    --see: #1c8fa8;
    --see-hell: #5cc4d6;
    --himmel: #8fd6ff;
    --himmel-hell: #dcf0fd;
    --dunst: #f2f9fe;
    --all: #0b1a4a;
    --nacht: #050d2e;
    --orange: #f0802a;
    --orange-text: #a3470b;
    --sonne: #ffc93c;
    --holz: #e2b47c;
    --tinte: #14263d;
    --leise: #47586a;
    --linie: rgb(20 38 61 / .16);
    --focus: #1f5f8b;
    --wrap: 1180px;
    color-scheme: light;
  }

  body { margin: 0; color: var(--tinte); font: 400 1.0625rem/1.6 Figtree, system-ui, sans-serif; }
  body[data-ort="all"] { color: #eaf4fd; --leise: #bcd0e6; --linie: rgb(143 214 255 / .24); --focus: #ffd56b; color-scheme: dark; }

  h1, h2, h3 { font-family: Lexend, Figtree, sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
  .w-schmuck { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -.01em; }
  a { color: inherit; }

  /* ══ Reiseleiste (Gestaltung „Ausbuchtung“) ══
     Oben stehen alle drei Orte ausgeschrieben. Die weiße Kapsel des aktiven Ortes und seine Türen darunter
     sind EINE Form: ein SVG-Pfad (.w-form), den welt.js aus den gemessenen Kästen zeichnet.
     Beim Scrollen schweben die Buchstaben nach oben weg (der letzte zuerst), dann wird alles schmaler:
     Orte werden Symbole, vom Logo bleibt die Bildmarke, das Land zeigt nur die Flagge. Die Türen bleiben. */
  .w-kopf { --form: #ffffff; --tuer-an: var(--tinte); --tuer-hover: #e6f2fa; --t-weich: cubic-bezier(.3, .7, .2, 1);
    position: sticky; top: 10px; z-index: 30; padding-inline: 12px; view-transition-name: w-kopf; color: var(--tinte); pointer-events: none; }
  body[data-bereich] .w-kopf { margin-bottom: 62px; }
  body[data-bereich="sekundarstufe"] .w-kopf { --form: #eef5ff; --tuer-an: #12327a; --tuer-hover: #d9e8fb; }
  body[data-bereich="forschung"] .w-kopf { --form: #fffcf4; --tuer-an: #2a2440; --tuer-hover: #f3ecdb; }
  .w-kopf :focus-visible { outline: 3px solid var(--sonne); outline-offset: 2px; }

  /* Rahmen: Bezug für Form und Türen. Leiste und Reise sind NICHT positioniert: ihr Hintergrund liegt unter der Form, ihr Inhalt darüber. */
  .w-rahmen { position: relative; isolation: isolate; max-width: var(--wrap); height: 56px; margin-inline: auto; }
  .w-form { position: absolute; left: 0; top: 0; width: 100%; height: 150px; overflow: visible; z-index: 1; pointer-events: none;
    filter: drop-shadow(0 3px 5px rgb(5 13 46 / .1)) drop-shadow(0 10px 18px rgb(5 13 46 / .1)); }
  .w-form path { fill: var(--form); stroke: none; }

  .w-leiste { pointer-events: auto; box-sizing: border-box; margin-inline: auto; width: 100%; max-width: 100%; height: 56px;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; border-radius: 999px;
    background: #070f35; box-shadow: 0 0 0 1px rgb(143 214 255 / .3), 0 10px 26px rgb(5 13 46 / .24);
    transition: max-width .55s var(--t-weich) 0s, height .4s var(--t-weich) 0s; }

  /* Buchstaben: welt.js zerlegt jedes [data-w-wort] in einzelne Buchstaben (aria-hidden) und legt den Text für Screenreader daneben.
     Zurück oben: erst wird das Wort breit, dann fallen die Buchstaben von vorne her ein. */
  .w-w { display: inline-block; white-space: nowrap; max-width: var(--w, 14em); vertical-align: bottom; transition: max-width .45s var(--t-weich) 0s; }
  .w-b { display: inline-block; transform-origin: 50% 80%;
    transition: translate .55s cubic-bezier(.2, .9, .3, 1.15), rotate .55s cubic-bezier(.2, .9, .3, 1.15), opacity .3s ease-out;
    transition-delay: calc(.3s + var(--i) * 24ms + var(--z) * 70ms); }
  .w-org { color: #0f6f8a; }

  /* Start: Logo am Hafen */
  .w-marke { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 8px; border-radius: 999px 0 0 999px;
    background: #d9f2fb; color: var(--tinte); text-decoration: none; font: 600 1.08rem Lexend, sans-serif; white-space: nowrap;
    transition: padding .45s var(--t-weich), gap .45s var(--t-weich); }
  .w-marke img { display: block; width: 40px; height: 40px; border-radius: 50%; transition: width .4s, height .4s; }
  .w-marke b { font-weight: 600; }
  .w-marke b > span { color: #0f6f8a; }
  .w-marke:focus-visible { outline-color: var(--tinte); }

  /* Die Reise: drei Orte auf festen Plätzen vom Meer zu den Sternen */
  .w-reise { min-width: 0;
    background:
      radial-gradient(circle at 78% 30%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 88% 68%, #fff 0 1px, transparent 1.6px),
      radial-gradient(circle at 95% 24%, #ffe9a8 0 1.2px, transparent 1.8px), radial-gradient(circle at 71% 74%, #cfe6ff 0 .9px, transparent 1.5px),
      linear-gradient(90deg, #d9f2fb 0%, #a5dcf1 28%, #2c69b0 33.5%, #1b4a94 61%, #0b1a4a 70%, #070f35 100%); }
  .w-orte { height: 100%; margin: 0; padding: 0 10px; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 26px;
    transition: column-gap .45s var(--t-weich), padding .45s var(--t-weich); }
  .w-ort { position: relative; z-index: 2; display: grid; place-items: center; min-width: 0; }
  .w-ort + .w-ort::before { content: ''; position: absolute; left: -24px; top: 50%; width: 22px; border-top: 2px dashed rgb(255 255 255 / .7); rotate: -16deg;
    transition: left .45s var(--t-weich), width .45s var(--t-weich); }
  .w-ort a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; box-sizing: border-box; padding: 0 16px 0 14px;
    border-radius: 999px; text-decoration: none; white-space: nowrap; color: #fff; font: 500 .98rem Lexend, sans-serif;
    transition: color .3s, background-color .2s, padding .45s var(--t-weich); }
  .w-ort--p a { color: var(--tinte); }
  .w-ort--p a:focus-visible { outline-color: var(--tinte); }
  .w-kopf svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .w-ort svg { flex: none; width: 22px; height: 22px; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
  .w-ort__name { display: inline-block; margin-left: 8px; transition: margin .45s var(--t-weich); }
  /* Du bist hier: dunkle Schrift auf der weißen Kapsel (die Kapsel selbst zeichnet .w-form) */
  .w-ort a[aria-current] { color: var(--tinte); font-weight: 600; }
  .w-ort a[aria-current]:focus-visible { outline-color: var(--orange); }
  @media (hover: hover) {
    .w-ort a:not([aria-current]):hover { background: rgb(143 214 255 / .2); }
    .w-ort--p a:not([aria-current]):hover { background: rgb(255 255 255 / .62); }
    .w-ort a:not([aria-current]):hover svg { scale: 1.12; }
  }

  /* Türen: liegen auf der Ausbuchtung unter dem aktiven Ort */
  .w-tueren { position: absolute; left: 0; top: 0; z-index: 2; display: none; pointer-events: auto; box-sizing: border-box; width: max-content; max-width: 100%;
    padding: 4px; overflow-x: auto; scrollbar-width: none; }
  .w-tueren::-webkit-scrollbar { display: none; }
  body[data-bereich="volksschule"] .w-tueren[data-fuer="volksschule"],
  body[data-bereich="sekundarstufe"] .w-tueren[data-fuer="sekundarstufe"],
  body[data-bereich="forschung"] .w-tueren[data-fuer="forschung"] { display: block; }
  .w-tueren ul { position: relative; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .w-tueren li { position: relative; z-index: 1;
    transition: opacity .26s calc(var(--i) * 45ms), translate .38s calc(var(--i) * 45ms) cubic-bezier(.3, 1.5, .5, 1); }
  .w-tueren li:nth-child(2) { --i: 1; } .w-tueren li:nth-child(3) { --i: 2; } .w-tueren li:nth-child(4) { --i: 3; }
  .w-tueren a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    color: var(--tinte); font-size: .96rem; transition: color .28s, background-color .2s; }
  .w-tueren a:focus-visible { outline-color: var(--focus); outline-offset: 1px; }
  .w-kurz { display: none; }
  @media (hover: hover) { .w-tueren a:not([aria-current]):hover { background: var(--tuer-hover); } }
  .w-tueren a[aria-current] { color: #fff; font-weight: 600; }
  .w-tueren a[aria-current]:focus-visible { outline-color: var(--orange); }
  /* die aktive Tür: eine dunkle Kapsel, die von Tür zu Tür gleitet */
  .w-tueren__marke { position: absolute; z-index: 0; top: 4px; left: 0; width: 0; height: 40px; border-radius: 999px; background: var(--tuer-an); opacity: 0;
    transition: left .4s cubic-bezier(.3, 1.25, .5, 1), width .4s cubic-bezier(.3, 1.25, .5, 1), opacity .2s; }
  .w-tueren:has(a[aria-current]) .w-tueren__marke { opacity: 1; }
  .w-tueren.is-zu li { opacity: 0; translate: 0 -10px; transition-duration: .1s; transition-delay: 0s; }
  .w-tueren.is-zu .w-tueren__marke, .w-tueren.is-zu:has(a[aria-current]) .w-tueren__marke { opacity: 0; transition-duration: .1s; }
  /* ohne Skript: schlichte Pille unter der Leiste, aktive Kapsel als Hintergrund */
  @media (scripting: none) {
    .w-ort a[aria-current] { background: var(--form); }
    .w-tueren { top: 66px; left: 50%; translate: -50% 0; border-radius: 999px; background: var(--form); box-shadow: 0 6px 18px rgb(5 13 46 / .18); }
    .w-tueren a[aria-current] { background: var(--tuer-an); }
  }

  /* Dienste: Suche, Land, Klassenraum, am Handy die Karte */
  .w-dienste { position: relative; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 0 6px 0 4px; color: #eaf4fd; transition: gap .45s var(--t-weich); }
  .w-dienste svg { width: 19px; height: 19px; flex: none; }
  .w-such { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; }
  .w-land { position: relative; z-index: 4; }
  .w-land summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; box-sizing: border-box; padding: 0 14px 0 10px; border-radius: 999px; cursor: pointer;
    font: 500 .9rem Lexend, sans-serif; box-shadow: inset 0 0 0 1.5px rgb(143 214 255 / .3); transition: padding .45s var(--t-weich), gap .45s var(--t-weich); }
  .w-land summary::-webkit-details-marker { display: none; }
  .w-klasse { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; box-sizing: border-box; padding: 0 15px 0 13px; border-radius: 999px;
    color: inherit; text-decoration: none; font-size: .93rem; white-space: nowrap; box-shadow: inset 0 0 0 1.5px rgb(143 214 255 / .55);
    transition: padding .45s var(--t-weich), gap .45s var(--t-weich); }
  .w-menu-knopf { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--tinte); cursor: pointer; }
  .w-menu-knopf svg { width: 21px; height: 21px; }
  .w-menu-knopf[aria-expanded="true"] { background: var(--sonne); }
  @media (hover: hover) { .w-such:hover, .w-land summary:hover, .w-klasse:hover { background: rgb(143 214 255 / .2); } }
  .w-land__liste { position: absolute; right: 0; top: calc(100% + 14px); z-index: 5; width: 260px; box-sizing: border-box; margin: 0; padding: 8px; border-radius: 20px; background: #fff; color: var(--tinte);
    box-shadow: 0 18px 44px rgb(5 13 46 / .32), 0 0 0 1px rgb(20 38 61 / .1); }
  .w-land__liste p { margin: 4px 10px 6px; font-size: .84rem; color: #47586a; }
  .w-land__liste button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; text-align: left; padding: 6px 10px; border: 0; border-radius: 14px; background: none; cursor: pointer; font: 600 .98rem Figtree, sans-serif; color: inherit; }
  .w-land__liste button > span:last-child { display: grid; }
  .w-land__liste button small { font-weight: 400; font-size: .84rem; color: #47586a; }
  .w-land__liste button:hover { background: #eef6fb; }
  .w-land__liste button[aria-pressed="true"] { background: var(--tinte); color: #fff; }
  .w-land__liste button[aria-pressed="true"] small { color: #cfdcea; }
  .w-land__liste :focus-visible { outline-color: var(--focus); }
  /* Flaggen: rund, vor dem Namen */
  .w-land__wappen { display: inline-grid; place-items: center; flex: none; }
  .w-land__wappen svg { width: 22px; height: 22px; display: block; stroke: none; }
  .w-land__liste .w-land__wappen svg { width: 28px; height: 28px; }

  /* ══ Beim Scrollen: Buchstaben schweben weg (der letzte zuerst), danach wird alles schmaler ══ */
  .w-kopf--zu .w-b { opacity: 0; translate: calc(var(--zx) * 10px) calc(-20px - var(--zy) * 20px); rotate: calc(var(--zr) * 50deg);
    transition-timing-function: cubic-bezier(.45, 0, .7, .5), cubic-bezier(.45, 0, .7, .5), ease-in;
    transition-delay: calc((var(--n) - 1 - var(--i)) * 24ms + var(--z) * 80ms); }
  .w-kopf--zu .w-w { max-width: 0; transition-delay: .36s; }
  .w-kopf--zu .w-leiste { max-width: 430px; height: 48px; transition-delay: .3s, .3s; }
  .w-kopf--zu .w-marke { gap: 0; padding: 0 4px 0 6px; transition-delay: .36s; }
  .w-kopf--zu .w-marke img { width: 36px; height: 36px; transition-delay: .36s; }
  .w-kopf--zu .w-orte { column-gap: 14px; padding: 0 6px; transition-delay: .36s; }
  .w-kopf--zu .w-ort + .w-ort::before { left: -12px; width: 10px; transition-delay: .36s; }
  .w-kopf--zu .w-ort a { padding: 0 11px; transition-delay: 0s, 0s, .36s; }
  .w-kopf--zu .w-ort__name { margin-left: 0; transition-delay: .36s; }
  .w-kopf--zu .w-dienste { gap: 2px; }
  .w-kopf--zu .w-land summary, .w-kopf--zu .w-klasse { gap: 0; padding: 0 11px; transition-delay: .36s; }

  /* ══ Karte: das ganze Angebot auf einen Blick (Handy-Menü) ══ */
  .w-karte { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); z-index: 6; pointer-events: auto; max-height: calc(100dvh - 96px); overflow-y: auto; padding: 10px; border-radius: 24px;
    background: #fff; color: var(--tinte); box-shadow: 0 18px 44px rgb(5 13 46 / .34); }
  .w-kopf:has(.w-menu-knopf[aria-expanded="true"]) .w-karte { display: block; }
  .w-plan { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
  .w-plan > li { border-radius: 16px; padding: 12px 14px; }
  .w-plan__p { background: #d9f2fb; color: var(--tinte); }
  .w-plan__s { background: #1b4a94; color: #fff; }
  .w-plan__f { background: #0b1a4a; color: #fff; }
  .w-plan__ort { display: inline-flex; align-items: center; gap: 8px; font: 600 1.1rem Lexend, sans-serif; text-decoration: none; min-height: 40px; }
  .w-plan__ort svg { width: 22px; height: 22px; }
  .w-plan ul { display: flex; flex-wrap: wrap; gap: 2px 4px; list-style: none; margin: 2px 0 0; padding: 0; }
  .w-plan ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; font-size: .98rem; text-underline-offset: 4px; }
  .w-karte__dienste { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 4px 4px; }
  .w-karte__dienste a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--tinte); }

  @media (max-width: 1040px) {
    .w-marke .w-wort, .w-land__name, .w-klasse__text { display: none; }
    .w-marke { gap: 0; padding-right: 6px; }
    .w-land summary, .w-klasse { gap: 0; padding: 0 11px; }
    .w-orte { column-gap: 14px; padding: 0 6px; }
    .w-ort + .w-ort::before { left: -13px; width: 12px; }
  }
  /* Handy: Bildmarke, drei Orte (Symbol, Name klein darunter), Flagge, Karte. Suche und Klassenraum stehen in der Karte. */
  @media (max-width: 820px) {
    .w-kopf { padding-inline: 8px; }
    .w-marke, .w-kopf--zu .w-marke { gap: 0; padding: 0 4px 0 6px; }
    .w-orte, .w-kopf--zu .w-orte { grid-template-columns: repeat(3, auto); justify-content: space-evenly; column-gap: 2px; padding: 0 2px; }
    .w-ort + .w-ort::before { display: none; }
    .w-ort a { flex-direction: column; gap: 1px; padding: 0 4px; font-size: .64rem; line-height: 1.15; letter-spacing: -.01em; }
    .w-marke img { width: 36px; height: 36px; }
    .w-ort svg { width: 20px; height: 20px; }
    .w-ort__name { display: block; margin-left: 0; max-height: 1.2em; transition: max-height .4s var(--t-weich) 0s; }
    .w-kopf--zu .w-ort__name { max-height: 0; transition-delay: .36s; }
    .w-kopf--zu .w-ort a { gap: 0; padding: 0 10px; }
    .w-such, .w-klasse { display: none; }
    .w-menu-knopf { display: grid; }
    .w-dienste { padding: 0 6px 0 2px; }
    .w-land summary { gap: 0; padding: 0 11px; }
    .w-land__liste { width: min(270px, calc(100vw - 24px)); right: -48px; }
    .w-kopf--zu .w-leiste { max-width: 340px; }
    .w-tueren a { min-height: 44px; padding: 0 11px; font-size: .94rem; }
    .w-tueren__marke { height: 44px; }
    .w-lang:has(+ .w-kurz) { display: none; }
    .w-kurz { display: inline; }
    body[data-bereich] .w-kopf { margin-bottom: 66px; }
  }
  @media (max-width: 380px) {
    .w-ort a { font-size: .58rem; padding: 0 3px; }
    .w-dienste { gap: 2px; padding-right: 4px; }
  }

  /* ══ Brotkrumen ══ */
  .w-pfad { font-size: .92rem; color: var(--leise); }
  .w-pfad ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
  .w-pfad li + li::before { content: '/'; margin-right: 8px; opacity: .55; }
  .w-pfad a { text-underline-offset: 3px; }

  /* ══ Die eine Schaltfläche: Bahn-Knopf ══ */
  .w-knoepfe { display: flex; flex-wrap: wrap; gap: 22px 30px; }
  .w-knopf { --k-bg: var(--tinte); --k-fg: #eef6fd; --k-hover: #1d3a5f; --k-bahn: rgb(20 38 61 / .34); --k-komet: var(--orange);
    position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
    border: 0; border-radius: 999px; background: var(--k-bg); color: var(--k-fg); font: 500 1.04rem Lexend, sans-serif; text-decoration: none; cursor: pointer;
    transition: scale .25s, background-color .25s; }
  .w-knopf::before { content: ''; position: absolute; inset: -11px -13px; border-radius: 50%; rotate: -5deg; border: 1.5px solid transparent; pointer-events: none;
    background: conic-gradient(from var(--w-komet), #fff0 0 74%, var(--k-komet) 92%, #fff 97%, #fff0 100%) border-box, linear-gradient(var(--k-bahn), var(--k-bahn)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask-composite: exclude; }
  .w-knopf[hidden] { display: none; }
  .w-knopf:hover, .w-knopf:focus-visible { background: var(--k-hover); scale: 1.03; }
  .w-knopf:hover::before, .w-knopf:focus-visible::before { animation: w-komet 1.5s linear infinite; }
  .w-knopf:active { scale: .98; }
  @keyframes w-komet { to { --w-komet: 400deg; } }
  .w-knopf--hohl { --k-bg: transparent; --k-fg: var(--tinte); --k-hover: rgb(20 38 61 / .08); box-shadow: inset 0 0 0 1.5px var(--tinte); }

  body[data-ort="all"] .w-knopf, .w-dunkel .w-knopf { --k-bg: var(--himmel); --k-fg: var(--tinte); --k-hover: #b9e6ff; --k-bahn: rgb(143 214 255 / .4); --k-komet: var(--sonne); }
  body[data-ort="all"] .w-knopf--hohl, .w-dunkel .w-knopf--hohl { --k-bg: transparent; --k-fg: #eaf4fd; --k-hover: rgb(143 214 255 / .16); box-shadow: inset 0 0 0 1.5px var(--himmel); }
  body .w-hell .w-knopf, body[data-ort="all"] .w-hell .w-knopf { --k-bg: var(--tinte); --k-fg: #eef6fd; --k-hover: #1d3a5f; --k-bahn: rgb(20 38 61 / .34); --k-komet: var(--orange); }
  body .w-hell .w-knopf--hohl, body[data-ort="all"] .w-hell .w-knopf--hohl { --k-bg: transparent; --k-fg: var(--tinte); --k-hover: rgb(20 38 61 / .08); box-shadow: inset 0 0 0 1.5px var(--tinte); }
  .w-hell { color: var(--tinte); --leise: #47586a; --linie: rgb(20 38 61 / .16); --focus: #1f5f8b; }

  /* ══ Fußzeile mit Karte ══ */
  .w-fuss { position: relative; z-index: 2; padding: 44px 0 96px; font-size: .94rem; }
  .w-fuss__innen { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; justify-content: space-between; }
  .w-fuss__karte { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 30px; list-style: none; margin: 0 0 26px; padding: 0 0 26px; border-bottom: 1px solid var(--linie); border-bottom-color: color-mix(in oklch, currentColor 22%, transparent); }
  .w-fuss__karte > li > a { font: 600 1.02rem Lexend, sans-serif; text-decoration: none; }
  .w-fuss__karte > li > a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .w-fuss__karte ul { display: grid; gap: 1px; list-style: none; margin: 6px 0 0; padding: 0; }
  .w-fuss__karte ul a { display: inline-block; padding: 3px 0; text-decoration: none; opacity: .88; }
  .w-fuss__karte ul a:hover { text-decoration: underline; text-underline-offset: 3px; opacity: 1; }
  .w-fuss__recht { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
  .w-fuss a { text-underline-offset: 3px; }

  /* Inhalte, die je nach Land wechseln */
  [data-nur-land] { display: none; }
  html[data-land="at"] [data-nur-land~="at"], html[data-land="de"] [data-nur-land~="de"],
  html[data-land="ch"] [data-nur-land~="ch"], html[data-land="li"] [data-nur-land~="li"],
  html:not([data-land]) [data-nur-land~="at"] { display: revert; }

  @media (prefers-reduced-motion: reduce) {
    .w-knopf::before { animation: none !important; }
    .w-kopf *, .w-kopf *::before { transition-duration: 0s !important; transition-delay: 0s !important; }
    .w-kopf--zu .w-b { translate: none; rotate: none; }
    @view-transition { navigation: none; }
  }
}

/* Logo freigestellt bis zum Seilring: kein Kreis-Zuschnitt, etwas größer */
@layer stil {
  .w-marke img { width: 48px; height: 47px; border-radius: 0; object-fit: contain; filter: drop-shadow(0 2px 3px rgb(20 38 61 / .25)); }
  .w-kopf--zu .w-marke img { width: 42px; height: 41px; }
  @media (max-width: 900px) { .w-marke img { width: 42px; height: 41px; } }
}
