/* StarNet IT – Design der Startseite (eingebunden in index.html) */
/* Farben angelehnt an die Europaflagge: Blau #003399, Gelb #FFCC00 */

/* ===== Farben: hier zentral ändern ===== */
:root {
  --blau: #003399;         /* Europa-Blau */
  --blau-dunkel: #000f33;  /* Nachthimmel */
  --blau-mittel: #001a4d;
  --blau-hell: #2a5fd9;
  --akzent: #ffcc00;       /* Europa-Gelb */
  --text: #14213d;
  --grau: #5b6775;
  --hell: #f2f5fb;
  --weiss: #ffffff;
  --radius: 20px;
}

/* ===== Grundlagen ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blau-hell); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--blau); }
h3 { font-size: 1.2rem; color: var(--blau); }
figure { margin: 0; }

.container { width: min(1200px, 100% - 32px); margin: 0 auto; position: relative; }
section { padding: 120px 0; position: relative; overflow: hidden; }
.grau { background: var(--hell); }
.einleitung { max-width: 680px; color: var(--grau); margin-bottom: 48px; font-size: 1.15rem; }
.kicker { color: var(--blau-hell); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 12px; }
.zwei { display: grid; gap: 60px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }

/* ===== Einblenden beim Scrollen ===== */
.js .reveal { opacity: 0; transform: translateY(50px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.sichtbar { opacity: 1; transform: none; }
.verz-1 { transition-delay: .12s; } .verz-2 { transition-delay: .24s; } .verz-3 { transition-delay: .36s; }

/* ===== Fortschrittsbalken ===== */
.fortschritt {
  position: fixed; top: 0; left: 0; z-index: 30; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--akzent), #fff2a8);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ===== Navigation ===== */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
header.gescrollt, html:not(.js) header { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 2px 30px rgba(0,15,51,.08); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: var(--weiss); text-decoration: none; white-space: nowrap; margin-right: auto; }
.logo b { font-weight: 800; }
.logo span { color: var(--akzent); }
.logo svg { width: 46px; height: 36px; overflow: visible; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav ul a { color: var(--weiss); text-decoration: none; font-size: .95rem; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--akzent); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
header.gescrollt .logo, header.gescrollt .nav ul a, html:not(.js) header .logo, html:not(.js) header .nav ul a { color: var(--text); }
header.gescrollt .logo span, html:not(.js) header .logo span { color: var(--blau-hell); }
header.gescrollt .sternbild use, html:not(.js) header .sternbild use { fill: var(--blau); }
header.gescrollt .sternbild line, html:not(.js) header .sternbild line { stroke: var(--blau-hell); }

/* Sternbild im Logo (Bewegung kommt aus js/main.js) */
.sternbild line { stroke: var(--akzent); stroke-opacity: .6; stroke-width: 1; }
.sternbild use { fill: var(--akzent); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 16px 30px; border-radius: 50px;
  font-weight: 700; text-decoration: none; position: relative;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-gelb { background: var(--akzent); color: var(--blau-dunkel); box-shadow: 0 8px 30px rgba(255,204,0,.35); }
.btn-gelb:hover { box-shadow: 0 12px 40px rgba(255,204,0,.6); }
.btn-glas { color: var(--weiss); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glas:hover { background: rgba(255,255,255,.18); }
.btn-klein { padding: 10px 20px; font-size: .9rem; white-space: nowrap; }

/* ===== Startbereich: Nachthimmel ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px;
  color: var(--weiss);
  background:
    radial-gradient(ellipse at 75% 30%, rgba(42,95,217,.45), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(255,204,0,.10), transparent 45%),
    linear-gradient(160deg, rgba(0,15,51,.93), rgba(0,51,153,.85)),
    url("../img/hero-netzwerk.jpg") center/cover;
}
.himmel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inhalt { z-index: 1; pointer-events: none; }
.hero-inhalt a { pointer-events: auto; }
.hero .kicker { color: var(--akzent); }
.hero h1 { font-size: clamp(2.8rem, 9vw, 7rem); font-weight: 800; max-width: 1000px; margin-bottom: .35em; }
.hero-text { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 650px; color: rgba(255,255,255,.85); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }

/* Glänzender Farbverlauf im Text */
.verlauf {
  background: linear-gradient(100deg, var(--akzent) 20%, #fff6c4 40%, var(--akzent) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glanz 5s linear infinite;
}
@keyframes glanz { to { background-position: -250% 0; } }
/* Wenn die Wörter einzeln animiert werden, braucht jedes Wort den Verlauf selbst */
.verlauf .wort { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Wörter der Überschrift erscheinen nacheinander (Spans setzt js/main.js) */
.woerter .wort { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); animation: wortrein .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wortrein { to { opacity: 1; transform: none; } }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 40px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .9rem;
}
.chips svg { width: 14px; height: 14px; fill: var(--akzent); }
/* Navigations-Sterne (Position und Bewegung setzt js/main.js) */
.ziel-sterne { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ziel-stern {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; pointer-events: auto; text-decoration: none; color: var(--weiss);
}
.ziel-stern svg {
  width: 64px; height: 64px; fill: var(--akzent); overflow: visible;
  filter: drop-shadow(0 0 14px rgba(255,204,0,.8));
  transition: transform .4s cubic-bezier(.3,1.6,.5,1);
  animation: leuchten 3s ease-in-out infinite;
}
.ziel-stern:nth-child(2) svg { animation-delay: .6s; } .ziel-stern:nth-child(3) svg { animation-delay: 1.2s; }
.ziel-stern:nth-child(4) svg { animation-delay: 1.8s; } .ziel-stern:nth-child(5) svg { animation-delay: 2.4s; }
.ziel-stern span {
  position: absolute; top: 70px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-weight: 700; font-size: 1rem; padding: 5px 14px; border-radius: 20px;
  background: rgba(0,15,51,.6); border: 1px solid rgba(255,204,0,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s, color .3s;
}
.ziel-stern:hover svg, .ziel-stern:focus-visible svg { transform: scale(1.4) rotate(36deg); }
.ziel-stern:hover span, .ziel-stern:focus-visible span { background: var(--akzent); color: var(--blau-dunkel); }
@keyframes leuchten { 50% { filter: drop-shadow(0 0 30px rgba(255,204,0,1)); } }

.maus-hinweis { position: absolute; right: 4vw; bottom: 34px; z-index: 1; margin: 0; font-size: .85rem; color: rgba(255,255,255,.55); }
.scroll-hinweis { position: absolute; bottom: 28px; left: 50%; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-hinweis::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--akzent); border-radius: 2px; animation: rollen 1.6s infinite; }
@keyframes rollen { to { transform: translateY(14px); opacity: 0; } }

/* ===== Fakten-Leiste ===== */
.fakten { background: var(--blau); color: var(--weiss); padding: 56px 0; position: relative; }
.fakten .container { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fakten .container > div { border-left: 2px solid rgba(255,204,0,.6); padding-left: 20px; }
.fakten strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--akzent); line-height: 1.1; letter-spacing: -.02em; }
.fakten span { color: rgba(255,255,255,.8); }

/* ===== Menschen: Foto-Collage ===== */
.collage {
  display: grid; gap: 24px; z-index: 1;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "gross gross gross gross gross gross gross text text text text text"
    "a a a a b b b text text text text text";
}
.foto { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(0,15,51,.18); }
.foto img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.foto-gross { grid-area: gross; height: 420px; }
.foto-a { grid-area: a; height: 230px; }
.foto-b { grid-area: b; height: 230px; }
.collage-text { grid-area: text; align-self: center; padding-left: 20px; }
.foto figcaption {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 18px; border-radius: 40px;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 700; color: var(--blau); font-size: .9rem;
}
.person { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 12px 22px 12px 12px; border-radius: 60px; background: var(--hell); width: fit-content; }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--akzent); }
.person p { margin: 0; color: var(--grau); line-height: 1.3; }
.person strong { display: block; color: var(--blau); }
blockquote { margin: 0 0 20px; font-size: 1.35rem; font-style: italic; color: var(--blau); border-left: 4px solid var(--akzent); padding-left: 18px; }

/* ===== Besonderheiten: Glas-Karten auf Nachthimmel ===== */
.besonders { background: radial-gradient(ellipse at 20% 0%, rgba(42,95,217,.5), transparent 60%), var(--blau-dunkel); color: var(--weiss); }
.besonders h2 { color: var(--weiss); margin-bottom: 50px; }
.besonders .kicker { color: var(--akzent); }
.glas-raster { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.glas {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden; transition: transform .3s, border-color .3s;
}
.glas:hover { transform: translateY(-6px); border-color: rgba(255,204,0,.5); }
.glas h3 { color: var(--weiss); }
.glas p { margin: 0; color: rgba(255,255,255,.75); }
.glas > svg { width: 34px; height: 34px; fill: var(--akzent); margin-bottom: 18px; filter: drop-shadow(0 0 12px rgba(255,204,0,.7)); }

/* Lichtkegel, der der Maus folgt (Position setzt js/main.js) */
.glas::before, .kachel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(350px circle at var(--mx, 50%) var(--my, 50%), rgba(255,204,0,.18), transparent 60%);
}
.glas:hover::before, .kachel:hover::after { opacity: 1; }

/* ===== Leistungen: Bento-Raster ===== */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; position: relative; z-index: 1; }
.kachel {
  position: relative; border-radius: var(--radius); overflow: hidden; color: var(--weiss);
  background: var(--blau-dunkel); transform-style: preserve-3d;
  transition: transform .2s ease-out, box-shadow .3s; box-shadow: 0 10px 30px rgba(0,15,51,.12);
}
.kachel:hover { box-shadow: 0 25px 50px rgba(0,15,51,.28); }
.kachel.gross { grid-column: span 2; grid-row: span 2; }
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .8s; filter: saturate(.85); }
.kachel:hover img { transform: scale(1.08); filter: saturate(1.1); }
.kachel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,15,51,.05) 25%, rgba(0,15,51,.92)); }
.kachel-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.kachel h3 { color: var(--weiss); margin: 0 0 6px; }
.kachel.gross h3 { font-size: 1.8rem; }
.kachel p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.kachel h3::before { content: ""; display: block; width: 32px; height: 3px; background: var(--akzent); margin-bottom: 12px; transition: width .4s; }
.kachel:hover h3::before { width: 64px; }
/* Bei Geräten mit Maus: Beschreibung erst beim Darüberfahren (große Kachel immer) */
@media (hover: hover) {
  .kachel:not(.gross) p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s; }
  .kachel:not(.gross):hover p { max-height: 120px; opacity: 1; }
}

/* ===== Laufband ===== */
.laufband { overflow: hidden; background: var(--weiss); padding: 30px 0; border-block: 1px solid #e3e8f2; }
.laufband .spur { display: flex; gap: 70px; width: max-content; animation: laufen 35s linear infinite; }
.laufband span { font-size: 1.5rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px #9aa8c4; white-space: nowrap; }
.laufband span:nth-child(3n+1) { color: var(--blau); -webkit-text-stroke: 0; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ===== Unser Weg: Zeitstrahl ===== */
.zeitstrahl { list-style: none; padding: 0 0 0 36px; margin: 30px 0 0; position: relative; }
.zeitstrahl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #dde3ef; }
/* gelbe Linie wächst beim Scrollen (Wert --fuellung setzt js/main.js) */
.zeitstrahl::after { content: ""; position: absolute; left: 7px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--fuellung, 0)); background: var(--akzent); box-shadow: 0 0 12px var(--akzent); }
.zeitstrahl li { position: relative; padding-bottom: 34px; }
.zeitstrahl li::before { content: ""; position: absolute; left: -36px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--weiss); border: 3px solid var(--blau); z-index: 1; }
.zeitstrahl b { color: var(--blau-hell); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.zeitstrahl h3 { margin: 4px 0; }
.zeitstrahl p { margin: 0; color: var(--grau); }
.foto-weg { height: 380px; }

/* ===== Ablauf ===== */
.ablauf { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); position: relative; margin-top: 40px; }
.ablauf::before { content: ""; position: absolute; top: 40px; left: 15%; right: 15%; height: 2px; background: repeating-linear-gradient(90deg, var(--blau-hell) 0 8px, transparent 8px 16px); animation: fliessen 1s linear infinite; background-size: 16px 2px; }
@keyframes fliessen { to { background-position: 16px 0; } }
.schritt { text-align: center; position: relative; }
.schritt .kreis { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--blau); color: var(--akzent); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; box-shadow: 0 0 0 10px var(--hell), 0 10px 30px rgba(0,51,153,.35); }
.schritt p { color: var(--grau); margin: 0; }

/* ===== LikeSyS ===== */
.likesys { padding: 90px 0; text-align: center; color: var(--weiss); background: linear-gradient(120deg, rgba(0,15,51,.94), rgba(0,51,153,.85)), url("../img/likesys-hintergrund.jpg") center/cover fixed; }
.likesys h2 { color: var(--weiss); }
.likesys .kicker { color: var(--akzent); }
.likesys p { color: rgba(255,255,255,.82); max-width: 680px; margin: 0 auto 30px; font-size: 1.1rem; }

/* ===== Kontakt ===== */
.kontakt { background: linear-gradient(170deg, var(--blau-dunkel), var(--blau)); color: var(--weiss); padding: 140px 0; }
.kontakt-inhalt { z-index: 1; pointer-events: none; }
.kontakt-inhalt a, .kontakt-inhalt .glas { pointer-events: auto; }
.kontakt h2 { color: var(--weiss); font-size: clamp(2.4rem, 7vw, 5rem); margin-bottom: 50px; }
.kontakt .kicker { color: var(--akzent); }
.kontakt-raster { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kontakt .glas a { color: var(--akzent); font-weight: 700; }
.kontakt .glas p { color: var(--weiss); }

/* ===== Footer ===== */
footer { background: #000a24; color: #a9b6d0; padding: 56px 0; font-size: .9rem; }
footer a { color: #a9b6d0; }
footer h2 { font-size: 1.1rem; color: var(--weiss); }
footer .zwei { align-items: start; gap: 30px; }

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .collage { grid-template-areas: "gross gross gross gross gross gross gross gross gross gross gross gross" "text text text text text text text text text text text text" "a a a a a a b b b b b b"; }
  .collage-text { padding-left: 0; }
  .nav ul { display: none; }
  /* Navigations-Sterne stehen hier als Sternbild unter dem Text */
  .hero { flex-direction: column; justify-content: center; }
  .ziel-sterne {
    position: relative; inset: auto; order: 2; width: min(1200px, 100% - 32px); margin: 36px auto 0;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px 8px; padding-bottom: 40px;
  }
  .ziel-stern { position: relative; margin: 0; width: auto; height: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .ziel-stern:nth-child(even) { margin-top: 34px; }
  .ziel-stern svg { width: 42px; height: 42px; }
  .ziel-stern span { position: static; transform: none; font-size: .85rem; padding: 4px 10px; }
  .maus-hinweis, .scroll-hinweis { display: none; }
}

/* ===== Handy ===== */
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .nav { height: 64px; }
  .btn-klein { padding: 8px 14px; font-size: .8rem; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .kachel { min-height: 240px; }
  .kachel.gross { grid-column: span 1; grid-row: span 1; min-height: 380px; }
  .foto-gross { height: 280px; }
  .foto-a, .foto-b { height: 160px; }
  .foto-weg { height: 300px; }
  .ablauf::before, .maus-hinweis { display: none; }
  .likesys { background-attachment: scroll; }
  .hero { padding-top: 110px; }
}

/* Wer Animationen im System abgeschaltet hat, bekommt keine */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .woerter .wort { opacity: 1; transform: none; }
}

/* ===== Mauszeiger als Stern (Zeichnung kommt aus js/main.js) ===== */
.stern-cursor { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }
html.mit-stern-cursor, html.mit-stern-cursor * { cursor: none !important; }

/* ===== Ohne JavaScript: alles sichtbar und benutzbar, nur ohne Effekte =====
   (Die Klasse "js" setzt eine Zeile ganz oben in index.html, wenn JavaScript läuft.) */
html:not(.js) .hero { flex-direction: column; justify-content: center; }
html:not(.js) .ziel-sterne {
  position: relative; inset: auto; order: 2; width: min(1200px, 100% - 32px); margin: 36px auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px 8px; padding-bottom: 40px;
}
html:not(.js) .ziel-stern { position: relative; margin: 0; width: auto; height: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
html:not(.js) .ziel-stern svg { width: 42px; height: 42px; }
html:not(.js) .ziel-stern span { position: static; transform: none; }
html:not(.js) .maus-hinweis { display: none; }

/* ===== Sprachwahl oben rechts: Flagge der aktuellen Sprache, Klick öffnet die anderen Sprachen =====
   Seiten: Deutsch = index.html / datenschutz.html, Englisch = en.html / datenschutz-en.html,
   Französisch = fr.html / datenschutz-fr.html */
.sprachwahl { position: relative; flex: none; }
.sprachwahl summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 46px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35); transition: background .25s, border-color .25s;
}
.sprachwahl summary::-webkit-details-marker { display: none; }
.sprachwahl summary:hover, .sprachwahl[open] summary { background: rgba(255,255,255,.15); }
.sprachwahl summary:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.sprachwahl svg { width: 28px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); display: block; }
header.gescrollt .sprachwahl summary, html:not(.js) header .sprachwahl summary { border-color: rgba(0,15,51,.2); }
header.gescrollt .sprachwahl summary:hover, html:not(.js) header .sprachwahl summary:hover,
header.gescrollt .sprachwahl[open] summary, html:not(.js) header .sprachwahl[open] summary { background: var(--hell); }
/* die aufgeklappte Liste */
.nav .sprachwahl-liste {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 30;
  display: grid; gap: 2px; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  background: var(--weiss); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,15,51,.22);
}
.nav .sprachwahl-liste a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 600; white-space: nowrap;
}
.nav .sprachwahl-liste a::after { display: none; }
.nav .sprachwahl-liste a:hover, .nav .sprachwahl-liste a:focus-visible { background: var(--hell); color: var(--blau); }
@media (max-width: 960px) {
  /* das Menü ist hier ausgeblendet – die Sprachliste bleibt trotzdem sichtbar */
  .nav ul.sprachwahl-liste { display: grid; }
  .sprachwahl { margin-left: auto; }
}
@media (max-width: 640px) {
  .logo { font-size: 1.05rem; gap: 6px; }
  .logo svg { width: 36px; height: 28px; }
}
