/* ARC-Stil: Linien und Akzente blau, Rot nur für echte Fehler (hier keine) */
:root {
  --marine: #001f47; --blau: #002856; --akzent: #2f5c8f; --text: #1d1d1b;
  --grau: #4a5568; --linie: #d3dae4; --flaeche: #f2f5f9;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--flaeche); color: var(--text);
  font: 15px/1.55 "Segoe UI", system-ui, Arial, Helvetica, sans-serif; }
a { color: var(--akzent); }
.mono, code { font-family: Consolas, "SF Mono", Menlo, monospace; font-size: .92em; }
code { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 3px; padding: 0 4px; }

.kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 16px 24px;
  background: #fff; border-top: 4px solid var(--akzent); border-bottom: 1px solid var(--linie); }
.marke img { display: block; }
.kopf nav { display: flex; gap: 20px; flex: 1; }
.kopf nav a { color: var(--marine); text-decoration: none; font-weight: 600; }
.kopf nav a:hover { color: var(--akzent); }
.nutzer { color: var(--grau); font-size: 13px; }

main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 48px; }
footer { max-width: 1180px; margin: 0 auto; padding: 16px 24px 32px; font-size: 12px; color: var(--grau);
  border-top: 1px solid var(--linie); }
h1 { margin: 0 0 20px; font-size: 26px; line-height: 1.25; color: var(--marine); }
h2 { margin: 32px 0 12px; font-size: 18px; color: var(--marine); }
h2 small { color: var(--grau); font-weight: 400; }
.dachzeile { margin: 0 0 4px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--akzent); font-weight: 600; }
.dachzeile a { text-decoration: none; }

.karte { max-width: 520px; margin: 40px auto; background: #fff; border: 1px solid var(--linie);
  border-top: 4px solid var(--akzent); padding: 28px 32px; }
.knopf { display: inline-block; margin-top: 8px; padding: 10px 18px; background: var(--marine); color: #fff;
  text-decoration: none; font-weight: 600; border-radius: 3px; }
.knopf:hover { background: var(--akzent); }

.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.kachel { display: block; background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--akzent);
  padding: 18px 20px; text-decoration: none; color: var(--text); }
.kachel b { display: block; color: var(--marine); font-size: 17px; margin-bottom: 4px; }
.kachel span { color: var(--grau); font-size: 14px; }
.kachel:hover { border-color: var(--akzent); }

.liste { list-style: none; padding: 0; margin: 0; }
.liste li { background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--akzent);
  padding: 14px 20px; margin-bottom: 10px; }
.liste li a { text-decoration: none; color: var(--marine); font-size: 17px; }
.liste li p { margin: 4px 0 0; color: var(--grau); }

.artikel { max-width: 760px; background: #fff; border: 1px solid var(--linie); padding: 28px 36px 32px; }
.artikel ol li { padding: 6px 0; border-bottom: 1px solid var(--linie); }
.artikel ol li::marker { color: var(--akzent); font-weight: 700; }
.artikel h2 { font-size: 17px; }

.tabelle { overflow-x: auto; background: #fff; border: 1px solid var(--linie); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; background: var(--marine); color: #fff; font-weight: 600; padding: 8px 10px; white-space: nowrap; }
td { padding: 8px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
td small { color: var(--grau); }
.artikel table { margin: 8px 0 16px; }
.artikel td { word-break: break-all; }
tr.blass td { color: var(--grau); }
.stand { color: var(--grau); font-size: 13px; margin-top: -12px; }

@media (max-width: 640px) {
  main { padding: 20px 16px 32px; }
  .kopf { padding: 12px 16px; }
  .artikel { padding: 20px 18px; }
}

/* Topologie: nur Klassen, die CSP erlaubt keine Inline-Styles */
.topo { background: #fff; border: 1px solid var(--linie); padding: 8px; overflow-x: auto; }
.topo svg { display: block; width: 100%; min-width: 900px; height: auto; font-family: "Segoe UI", system-ui, Arial, sans-serif; }
.t-standort { fill: var(--flaeche); stroke: var(--linie); }
.t-titel { font-size: 17px; font-weight: 700; fill: var(--marine); }
.t-vlans { font-size: 12px; fill: var(--grau); }
.t-linie { fill: none; stroke: #8fa6c2; stroke-width: 1.5; }
.t-extern { stroke-dasharray: 5 4; }
.t-tunnel { fill: none; stroke: var(--akzent); stroke-width: 2.5; stroke-dasharray: 8 5; }
.t-tunneltext { font-size: 12px; font-weight: 600; fill: var(--akzent); }
.k-flaeche { fill: #fff; stroke: var(--linie); }
.k:hover .k-flaeche { stroke: var(--akzent); }
.k-streifen { fill: var(--akzent); }
.k-wan .k-streifen, .k-extern .k-streifen { fill: #8fa6c2; }
.k-firewall .k-streifen { fill: var(--marine); }
.k-typ { font-size: 10px; letter-spacing: .8px; text-transform: uppercase; fill: var(--akzent); font-weight: 600; }
.k-name { font-size: 14px; font-weight: 700; fill: var(--marine); }
.k-ip { font-size: 12px; fill: var(--grau); font-family: Consolas, "SF Mono", Menlo, monospace; }
.k-zahl { font-size: 12px; fill: var(--text); font-weight: 600; }
.k-gast { font-size: 12px; fill: var(--text); }
.k-gast-aus { fill: #8a94a3; }
.g-an { fill: var(--akzent); }
.g-aus { fill: #fff; stroke: #8a94a3; stroke-width: 1.2; }
.legende { font-size: 13px; color: var(--grau); }
.legende span { display: inline-block; width: 18px; height: 10px; margin: 0 6px 0 14px; vertical-align: middle; }
.legende span:first-child { margin-left: 0; }
.l-an { background: var(--akzent); border-radius: 50%; width: 10px !important; }
.l-aus { border: 1.5px solid #8a94a3; border-radius: 50%; width: 10px !important; }
.l-tunnel { border-top: 3px dashed var(--akzent); height: 0 !important; }
.l-extern { border-top: 2px dashed #8fa6c2; height: 0 !important; }
.k-info { font-size: 12px; fill: var(--grau); }

/* Sicherung: Flussbild. Rot nur für wirklich Kaputtes */
.s-spalte { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; fill: var(--akzent); font-weight: 600; }
.s-fluss { fill: none; stroke-width: 2.2; }
.s-fluss:hover { stroke-width: 4; }
.s-laeuft { stroke: var(--akzent); }
.s-wacklig { stroke: var(--akzent); stroke-dasharray: 7 5; }
.s-kaputt { stroke: #b42318; }
.s-aus { stroke: #a3adba; stroke-dasharray: 2 4; }
.s-warnung .k-flaeche { stroke: #b42318; stroke-width: 1.5; }
.s-warnung .k-streifen { fill: #b42318; }
.l-laeuft { border-top: 3px solid var(--akzent); height: 0 !important; }
.l-wacklig { border-top: 3px dashed var(--akzent); height: 0 !important; }
.l-kaputt { border-top: 3px solid #b42318; height: 0 !important; }
.l-aus { border-top: 3px dotted #a3adba; height: 0 !important; }
.chip { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid var(--linie); }
.c-laeuft { color: var(--akzent); border-color: var(--akzent); }
.c-wacklig { color: var(--akzent); border-style: dashed; border-color: var(--akzent); }
.c-kaputt { color: #b42318; border-color: #b42318; }
.c-aus { color: #6b7686; }
.offen li { margin-bottom: 6px; }
main.breit { max-width: 1760px; }

/* Anmeldung: links Bühne mit Netzplan, rechts Anmeldefeld (Vorbild concepts.nuarc.cloud) */
.anmeldeseite { background: #152a47; }
.anmeldung { max-width: none; margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); }
.anmeldung__buehne { position: relative; overflow: hidden; min-width: 0; display: flex; padding: 48px 56px; color: #fff;
  background: radial-gradient(120% 90% at 85% 100%, #1d3a5f 0%, #152a47 55%, #0d1c31 100%); }
.anmeldung__buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,28,49,.97) 0%, rgba(13,28,49,.93) 38%, rgba(13,28,49,.55) 66%, rgba(13,28,49,.2) 100%); }
.anmeldung__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px; max-width: 560px; min-width: 0; }
.anmeldung__marke { display: block; height: 30px; width: auto; align-self: flex-start; }
.anmeldung__dach { margin: 0 0 14px; font: 500 11px/1.4 Consolas, "SF Mono", Menlo, monospace; letter-spacing: .14em;
  text-transform: uppercase; color: #9ccdea; }
.anmeldung__text h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.025em;
  max-width: 15ch; text-wrap: balance; }
.anmeldung__lead { margin: 20px 0 0; color: #dbe5f0; font-size: 18px; max-width: min(44ch, 100%); }
.anmeldung__punkte { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; border-top: 1px solid #2c4666; }
.anmeldung__punkte b { display: block; font-size: 14px; color: #fff; }
.anmeldung__punkte span { font-size: 13px; color: #b9c9dd; line-height: 1.45; }
.anmeldung__seite { background: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px 0; }
.anmeldung__karte { margin: auto 0; max-width: 380px; display: grid; gap: 16px; justify-items: start; }
.anmeldung__karte h2 { margin: 0; font-size: 30px; letter-spacing: -.02em; color: #152a47; }
.anmeldung__karte p { margin: 0; color: #55637a; font-size: 15.5px; }
.anmeldung__karte .klein { font-size: 13px; color: #8b97a8; }
.anmeldung__karte a { color: #1d3a5f; }
.anmeldung__signet { display: block; width: 44px; height: 44px; }
/* Microsoft-Knopf nach Microsofts Gestaltungsvorgaben: weiß, graue Kante, Logo links */
.ms-knopf { display: inline-flex; align-items: center; gap: 12px; height: 44px; margin-top: 6px; padding: 0 18px 0 14px;
  background: #fff; border: 1px solid #8c8c8c; border-radius: 4px; color: #5e5e5e !important; text-decoration: none;
  font: 600 15px/1 "Segoe UI", system-ui, Arial, sans-serif; transition: background .15s, border-color .15s; }
.ms-knopf:hover { background: #f3f3f3; border-color: #5e5e5e; }
.ms-knopf:focus-visible { outline: 2px solid #2e9fd6; outline-offset: 2px; }
.ms-logo { display: block; flex: none; }
.rechtlich { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap;
  margin: 32px -48px 0; padding: 16px 48px 20px; border-top: 1px solid #dde3ea; font-size: 12.5px; color: #55637a; }
.rechtlich nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.rechtlich a { color: #55637a; text-decoration: none; }
.rechtlich a:hover { color: #152a47; text-decoration: underline; }

/* Netzplan: Kern, Etagen, Arbeitsplätze; Pakete laufen über die Leitungen, einzelne Knoten melden sich ruhig */
.netzplan { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-rasterpunkt { fill: #24406a; }
.tp-raster { fill: url(#tp-raster); opacity: .5; }
.tp-drift { animation: tp-drift 70s ease-in-out infinite alternate; transform-origin: 60% 50%; }
.tp-ebene { fill: none; stroke: #2a4467; stroke-width: 1; stroke-dasharray: 2 6; opacity: .7; }
.tp-leitung { fill: none; stroke: #3a5a80; stroke-width: 1.2; opacity: .6; stroke-linejoin: round; }
.tp-stapel { opacity: .8; }
.tp-paket { fill: none; stroke: url(#tp-verlauf); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dashoffset: 60; animation: tp-paket 9s cubic-bezier(.45, 0, .55, 1) infinite;
  filter: drop-shadow(0 0 3px rgba(55,182,196,.85)); }
.tp-auf { animation-direction: reverse; }
.tp-w0 { animation-duration: 9s; animation-delay: -1s; }  .tp-w1 { animation-duration: 11s; animation-delay: -6s; }
.tp-w2 { animation-duration: 10s; animation-delay: -3s; } .tp-w3 { animation-duration: 12s; animation-delay: -9s; }
.tp-w4 { animation-duration: 8s; animation-delay: -4s; }  .tp-w5 { animation-duration: 9.5s; animation-delay: -7s; }
.tp-w6 { animation-duration: 10.5s; animation-delay: -2s; } .tp-w7 { animation-duration: 7s; animation-delay: -5s; }
.tp-w8 { animation-duration: 8.5s; animation-delay: -8s; } .tp-w9 { animation-duration: 13s; animation-delay: -11s; }
.tp-w10 { animation-duration: 11.5s; animation-delay: -4.5s; } .tp-w11 { animation-duration: 9s; animation-delay: -6.5s; }
.tp-gehaeuse { fill: #19304f; stroke: #4a6c94; stroke-width: 1; }
.tp-kern .tp-gehaeuse { stroke: #5c80aa; }
.tp-port { fill: #2c4a70; }
.tp-kern .tp-port { fill: #36577f; }
.tp-led { fill: #37b6c4; animation: tp-led 6s ease-in-out infinite; }
.tp-l1 { animation-delay: -1s; } .tp-l2 { animation-delay: -2.2s; } .tp-l3 { animation-delay: -3.1s; }
.tp-l4 { animation-delay: -4.4s; } .tp-l5 { animation-delay: -5.3s; }
.tp-fw .tp-led { fill: #84b940; }
.tp-geraet { fill: #172c49; stroke: #3f608a; stroke-width: 1; }
.tp-fuss { fill: none; stroke: #3f608a; stroke-width: 1.2; }
.tp-ende { fill: #172c49; stroke: #6f8fb4; stroke-width: 1.2; }
.tp-puls { fill: none; stroke: #37b6c4; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: tp-puls 12s ease-out infinite; }
.tp-s1 { animation-delay: -3s; } .tp-s2 { animation-delay: -7s; } .tp-s3 { animation-delay: -10s; }
@keyframes tp-paket { 0% { stroke-dashoffset: 60; } 60%, 100% { stroke-dashoffset: -1000; } }
@keyframes tp-led { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes tp-puls { 0% { transform: scale(1); opacity: .75; } 22%, 100% { transform: scale(1.5, 2.4); opacity: 0; } }
@keyframes tp-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-24px, -14px) scale(1.03); } }
@media (prefers-reduced-motion: reduce) {
  .tp-drift, .tp-paket, .tp-led, .tp-puls { animation: none; }
  .tp-paket { opacity: 0; }
  .tp-led { opacity: .8; }
}

@media (max-width: 900px) {
  .anmeldeseite { background: #fff; }
  .anmeldung { grid-template-columns: 1fr; }
  .anmeldung__buehne { min-height: 0; padding: 28px 20px 26px; }
  .anmeldung__buehne::after { background: linear-gradient(180deg, rgba(13,28,49,.62) 0%, rgba(13,28,49,.42) 55%, rgba(13,28,49,.78) 100%); }
  .anmeldung__text { gap: 28px; }
  .anmeldung__text h1 { font-size: 30px; }
  .anmeldung__lead { font-size: 16px; margin-top: 14px; }
  .anmeldung__punkte { grid-template-columns: 1fr; gap: 8px; }
  .anmeldung__punkte span { display: inline; }
  .anmeldung__punkte b { display: inline; margin-right: 6px; }
  .anmeldung__seite { padding: 32px 20px 0; min-width: 0; }
  .anmeldung__text, .anmeldung__lead, .anmeldung__punkte { max-width: 100%; }
  .anmeldung__karte { margin: 0 0 8px; }
  .rechtlich { margin: 32px -20px 0; padding: 16px 20px 20px; }
}

/* ---- Druckvorlagen ---- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 20px; }
.filter input[type=search], .filter select { padding: 8px 10px; border: 1px solid var(--linie);
  border-radius: 3px; font: inherit; background: #fff; color: var(--text); }
.filter input[type=search] { min-width: 230px; }
.filter .zahl { color: var(--grau); font-size: 13px; margin-left: auto; }

.gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.teil { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie);
  border-top: 3px solid var(--akzent); text-decoration: none; color: var(--text); }
.teil:hover { border-color: var(--akzent); box-shadow: 0 1px 6px rgba(0,31,71,.08); }
.teil .bild { height: 150px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-bottom: 1px solid var(--linie); overflow: hidden; }
.teil .bild img { max-width: 94%; max-height: 136px; object-fit: contain; }
.teil .bild.leer { color: var(--grau); font-size: 13px; background: var(--flaeche); }
.teil .text { padding: 12px 14px 14px; }
.teil .nr { font-family: Consolas, "SF Mono", Menlo, monospace; font-weight: 700; color: var(--marine); }
.teil .be { display: block; margin: 3px 0 7px; font-size: 14px; line-height: 1.35; }

.marker { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11.5px;
  font-weight: 600; letter-spacing: .2px; border: 1px solid var(--linie); background: var(--flaeche);
  color: var(--grau); margin: 0 4px 4px 0; }
.marker.gut { border-color: #b9cfe6; background: #eaf2fa; color: var(--blau); }
.marker.fehlt { border-color: #e2d2a8; background: #fbf5e4; color: #7a5c12; }

.daten { border-collapse: collapse; width: 100%; background: #fff; }
.daten th, .daten td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--linie);
  vertical-align: top; font-size: 14px; }
.daten th { width: 200px; color: var(--grau); font-weight: 600; }
.daten tr:last-child th, .daten tr:last-child td { border-bottom: 0; }

.zweispalt { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); gap: 28px; align-items: start; }
@media (max-width: 860px) { .zweispalt { grid-template-columns: 1fr; } }
.schau { background: #fff; border: 1px solid var(--linie); padding: 14px; }
.schau img { width: 100%; height: auto; display: block; }

.dateien { list-style: none; padding: 0; margin: 12px 0 0; }
.dateien li { border: 1px solid var(--linie); border-left: 3px solid var(--akzent); background: #fff;
  padding: 10px 14px; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.dateien li b { color: var(--marine); }
.dateien li span { color: var(--grau); font-size: 13px; }
.dateien li a { margin-left: auto; font-weight: 600; text-decoration: none; }

.hinweis { background: #fbf5e4; border: 1px solid #e2d2a8; border-left: 4px solid #c99a2e;
  padding: 12px 16px; margin: 16px 0; }
.hinweis b { color: #7a5c12; }
.form { background: #fff; border: 1px solid var(--linie); padding: 20px 22px; margin-bottom: 28px; }
.form label { display: block; margin-bottom: 12px; font-size: 14px; color: var(--grau); }
.form label span { display: block; margin-bottom: 4px; font-weight: 600; color: var(--marine); }
.form input, .form textarea, .form select { width: 100%; padding: 8px 10px; border: 1px solid var(--linie);
  border-radius: 3px; font: inherit; color: var(--text); }
.form textarea { min-height: 54px; resize: vertical; }
.form .reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .form .reihe { grid-template-columns: 1fr; } }
button.knopf { border: 0; cursor: pointer; font: inherit; }
button.klein { padding: 5px 12px; font-size: 13px; background: #fff; color: var(--marine);
  border: 1px solid var(--linie); border-radius: 3px; cursor: pointer; font-weight: 600; }
button.klein:hover { border-color: var(--akzent); color: var(--akzent); }
.linkfeld { font-family: Consolas, "SF Mono", Menlo, monospace; font-size: 12.5px; word-break: break-all; }
.auswahl { max-height: 260px; overflow-y: auto; border: 1px solid var(--linie); padding: 10px 12px;
  background: var(--flaeche); }
.auswahl label { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; font-weight: 400;
  color: var(--text); }
.auswahl label span { display: inline; margin: 0; font-weight: 400; color: var(--grau); }
.auswahl input { width: auto; }
/* Zeichnung als Ersatzbild: zurueckhaltend, damit echte Druckvorlagen hervorstechen */
.teil .bild img.zeichnung { opacity: .62; }
.teil:hover .bild img.zeichnung { opacity: .85; }

/* Anmeldung: links Bühne mit Siebdruckmotiv, rechts Anmeldefeld (Vorbild concepts.nuarc.cloud) */
.anmeldeseite { background: #152a47; }
.anmeldung { max-width: none; margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); }
.anmeldung__buehne { position: relative; overflow: hidden; min-width: 0; display: flex; padding: 48px 56px; color: #fff;
  background: radial-gradient(120% 90% at 85% 100%, #1d3a5f 0%, #152a47 55%, #0d1c31 100%); }
.anmeldung__buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,28,49,.97) 0%, rgba(13,28,49,.93) 38%, rgba(13,28,49,.55) 66%, rgba(13,28,49,.2) 100%); }
.anmeldung__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px; max-width: 560px; min-width: 0; }
.anmeldung__marke { display: block; height: 30px; width: auto; align-self: flex-start; }
.anmeldung__dach { margin: 0 0 14px; font: 500 11px/1.4 Consolas, "SF Mono", Menlo, monospace; letter-spacing: .14em;
  text-transform: uppercase; color: #9ccdea; }
.anmeldung__text h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.025em;
  max-width: 15ch; text-wrap: balance; }
.anmeldung__lead { margin: 20px 0 0; color: #dbe5f0; font-size: 18px; max-width: min(44ch, 100%); }
.anmeldung__punkte { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; border-top: 1px solid #2c4666; }
.anmeldung__punkte b { display: block; font-size: 14px; color: #fff; }
.anmeldung__punkte span { font-size: 13px; color: #b9c9dd; line-height: 1.45; }
.anmeldung__seite { background: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px 0; }
.anmeldung__karte { margin: auto 0; max-width: 380px; display: grid; gap: 16px; justify-items: start; }
.anmeldung__karte h2 { margin: 0; font-size: 30px; letter-spacing: -.02em; color: #152a47; }
.anmeldung__karte p { margin: 0; color: #55637a; font-size: 15.5px; }
.anmeldung__karte .klein { font-size: 13px; color: #8b97a8; }
.anmeldung__karte a { color: #1d3a5f; }
.anmeldung__signet { display: block; width: 44px; height: 44px; }
/* Microsoft-Knopf nach Microsofts Gestaltungsvorgaben: weiß, graue Kante, Logo links */
.ms-knopf { display: inline-flex; align-items: center; gap: 12px; height: 44px; margin-top: 6px; padding: 0 18px 0 14px;
  background: #fff; border: 1px solid #8c8c8c; border-radius: 4px; color: #5e5e5e !important; text-decoration: none;
  font: 600 15px/1 "Segoe UI", system-ui, Arial, sans-serif; transition: background .15s, border-color .15s; }
.ms-knopf:hover { background: #f3f3f3; border-color: #5e5e5e; }
.ms-knopf:focus-visible { outline: 2px solid #2e9fd6; outline-offset: 2px; }
.ms-logo { display: block; flex: none; }
.rechtlich { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap;
  margin: 32px -48px 0; padding: 16px 48px 20px; border-top: 1px solid #dde3ea; font-size: 12.5px; color: #55637a; }
.rechtlich nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.rechtlich a { color: #55637a; text-decoration: none; }
.rechtlich a:hover { color: #152a47; text-decoration: underline; }


/* Siebdruckmotiv: Rahmen mit Sieb, die Rakel zieht darueber, darunter entsteht das Druckbild
   auf dem Geraeteteil. Reines SVG und CSS, bei reduzierter Bewegung steht alles still. */
.sieb { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd-raster { fill: url(#sd-raster); opacity: .45; }
.sd-rasterpunkt { fill: #24406a; }
.sd-drift { animation: sd-drift 80s ease-in-out infinite alternate; transform-origin: 62% 52%; }

/* Rahmen und Siebgewebe */
.sd-rahmen { fill: none; stroke: #5c80aa; stroke-width: 2.4; stroke-linejoin: round; }
.sd-rahmen-innen { fill: #162c49; stroke: #3f608a; stroke-width: 1.2; }
.sd-gewebe { stroke: #2a4467; stroke-width: .7; opacity: .75; }

/* Das Motiv im Sieb: offen, dort geht Farbe durch */
.sd-motiv { fill: #1d3a5f; stroke: #4a6c94; stroke-width: 1.1; }
.sd-motiv-offen { opacity: .3; }

/* Rakel faehrt ueber den Rahmen */
.sd-rakel { animation: sd-rakel 11s cubic-bezier(.5, 0, .5, 1) infinite; }
.sd-rakel-blatt { fill: #19304f; stroke: #6f8fb4; stroke-width: 1.4; }
.sd-rakel-kante { fill: none; stroke: #37b6c4; stroke-width: 2.2; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(55,182,196,.8)); }
.sd-farbe { fill: #37b6c4; opacity: .5; animation: sd-farbe 11s cubic-bezier(.5, 0, .5, 1) infinite; }

/* Das Teil darunter, das Druckbild erscheint im Takt der Rakel */
.sd-teil { fill: #172c49; stroke: #4a6c94; stroke-width: 1.4; stroke-linejoin: round; }
.sd-druck { opacity: 0; animation: sd-druck 11s ease-out infinite; }
.sd-d1 { animation-delay: -.1s; } .sd-d2 { animation-delay: 0s; } .sd-d3 { animation-delay: .1s; }

/* Passermarken */
.sd-passer { fill: none; stroke: #3f608a; stroke-width: 1.1; }
.sd-passer-puls { fill: none; stroke: #37b6c4; stroke-width: 1.2; opacity: 0;
  transform-box: fill-box; transform-origin: center; animation: sd-puls 11s ease-out infinite; }
.sd-p1 { animation-delay: -.2s; } .sd-p2 { animation-delay: .2s; }

/* Masslinien, wie auf der Zeichnung */
.sd-mass { fill: none; stroke: #2c4a70; stroke-width: 1; }
.sd-mass-text { fill: #5a7aa2; font: 400 9px Consolas, "SF Mono", Menlo, monospace; letter-spacing: .06em; }

@keyframes sd-rakel {
  0%, 8%   { transform: translateX(0); }
  46%, 60% { transform: translateX(286px); }
  96%, 100% { transform: translateX(0); }
}
@keyframes sd-farbe {
  0%, 8%   { transform: translateX(0) scaleX(1); }
  46%, 60% { transform: translateX(286px) scaleX(.12); }
  96%, 100% { transform: translateX(0) scaleX(1); }
}
@keyframes sd-druck {
  0%, 14%  { opacity: 0; }
  40%, 72% { opacity: .9; }
  92%, 100% { opacity: 0; }
}
@keyframes sd-puls {
  0%, 40% { transform: scale(1); opacity: 0; }
  48%     { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}
@keyframes sd-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-18px, -10px) scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .sd-drift, .sd-rakel, .sd-farbe, .sd-druck, .sd-passer-puls { animation: none; }
  .sd-druck { opacity: .9; }
  .sd-passer-puls { opacity: 0; }
}

@media (max-width: 900px) {
  .anmeldeseite { background: #fff; }
  .anmeldung { grid-template-columns: 1fr; }
  .anmeldung__buehne { min-height: 0; padding: 28px 20px 26px; }
  .anmeldung__buehne::after { background: linear-gradient(180deg, rgba(13,28,49,.62) 0%, rgba(13,28,49,.42) 55%, rgba(13,28,49,.78) 100%); }
  .anmeldung__text { gap: 28px; }
  .anmeldung__text h1 { font-size: 30px; }
  .anmeldung__lead { font-size: 16px; margin-top: 14px; }
  .anmeldung__punkte { grid-template-columns: 1fr; gap: 8px; }
  .anmeldung__punkte span { display: inline; }
  .anmeldung__punkte b { display: inline; margin-right: 6px; }
  .anmeldung__seite { padding: 32px 20px 0; min-width: 0; }
  .anmeldung__text, .anmeldung__lead, .anmeldung__punkte { max-width: 100%; }
  .anmeldung__karte { margin: 0 0 8px; }
  .rechtlich { margin: 32px -20px 0; padding: 16px 20px 20px; }
}

/* Konto im Kopf: Avatar mit Klappmenü statt Mailadresse und Abmelden als Text.
   details/summary, damit es ohne JavaScript funktioniert. */
.konto { margin-left: auto; position: relative; }
.konto > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 3px; }
.konto > summary::-webkit-details-marker { display: none; }
.konto > summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.konto__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--marine); color: #fff;
  display: grid; place-items: center; font: 600 13px/1 "Segoe UI", system-ui, Arial, sans-serif;
  letter-spacing: .02em; flex: none; border: 1px solid #0b2143; }
.konto__pfeil { width: 10px; height: 10px; flex: none; color: var(--grau); transition: transform .15s; }
.konto[open] .konto__pfeil { transform: rotate(180deg); }
.konto__klapp { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 244px;
  background: #fff; border: 1px solid var(--linie); border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 31, 71, .14); padding: 6px; }
.konto__kopf { padding: 10px 12px 12px; border-bottom: 1px solid var(--linie); margin-bottom: 6px; }
.konto__kopf b { display: block; color: var(--marine); font-size: 14px; }
.konto__kopf span { display: block; color: var(--grau); font-size: 12.5px; word-break: break-all; }
.konto__klapp a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 4px;
  color: var(--text); text-decoration: none; font-size: 14px; }
.konto__klapp a:hover { background: var(--flaeche); color: var(--marine); }
.konto__klapp a svg { width: 15px; height: 15px; flex: none; color: var(--grau); }
.konto__klapp hr { border: 0; border-top: 1px solid var(--linie); margin: 6px 0; }
.konto__ab { color: #8a3a2a !important; }
.konto__ab:hover { background: #fbf1ee !important; color: #7a3024 !important; }
/* Flaeche, die das Menue beim Klick daneben schliesst, ohne JavaScript */
.konto[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 20; }
