/* ==========================================================================
   Mesh4BOS – Projektwebseite
   Schriften lokal (SIL OFL), keine externen Ressourcen.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0F2340;
  --navy-2: #13294B;
  --navy-3: #1A3459;
  --orange: #E2601A;
  --orange-text: #B4470F;
  --orange-text-hover: #8A350B;
  --orange-btn: #C2410C;
  --orange-btn-hover: #A6380A;
  --orange-light: #F4A06B;
  --bg: #F6F5F1;
  --tint: #ECEAE3;
  --card: #FFFFFF;
  --border: #D9DDE3;
  --text: #1F2937;
  --text-2: #4B5563;
  --on-navy: #FFFFFF;
  --on-navy-2: #DCE3EE;
  --sky: #8FB3E0;
  --b1: #2C5285;
  --b2: #3A649A;
  --b3: #1A3459;
  --win: #5B86BA;

  --f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --gutter: 16px;
  --maxw: 1160px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--orange-text); text-underline-offset: 2px; }
a:hover { color: var(--orange-text-hover); }
:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; border-radius: 4px; }
.section-tint :focus-visible, .section :focus-visible { outline-color: var(--orange-text); }
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible { outline-color: var(--orange-light); }

h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; color: var(--navy); line-height: 1.02; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: .95; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; max-width: 22ch; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--card); color: var(--navy); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 28px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.icon-lg { width: 30px; height: 30px; }

/* ---------- Typo-Bausteine ---------- */
.kicker { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; color: var(--orange-text); margin: 0 0 .6rem; }
.kicker-light { color: var(--orange-light); }
.lead { font-size: 1.2rem; color: var(--on-navy-2); max-width: 60ch; }
.lead strong { color: var(--on-navy); }
.lead-dark { font-size: 1.2rem; color: var(--text); max-width: 64ch; }
.lead-narrow { max-width: 62ch; }
.muted { color: var(--on-navy-2); }
.meta { color: var(--text-2); margin: 0; }
.source { font-size: .9rem; color: var(--text-2); margin-top: 1rem; }
.section-dark .source, .stat-card .source { color: var(--on-navy-2); }
.stat-card .source a, .section-dark .source a { color: var(--orange-light); }
.h-sub { font-size: 1.75rem; margin-top: 2.5rem; }
.h-card { font-size: 1.45rem; display: flex; gap: .5rem; align-items: center; }
.h-card .icon { color: var(--orange-text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.3rem; border-radius: 8px; border: 2px solid transparent; font: 700 1.02rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-ghost[aria-pressed="true"] { background: rgba(255,255,255,.14); }
.btn-outline { background: transparent; color: var(--orange-text); border-color: var(--orange-text); }
.btn-outline:hover { background: var(--orange-text); color: #fff; }
.btn-light { background: #fff; color: var(--orange-text); }
.btn-light:hover { background: var(--bg); color: var(--orange-text-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand img { width: 154px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a:not(.btn) { color: var(--on-navy-2); text-decoration: none; font-weight: 600; padding: .5rem .7rem; border-radius: 6px; }
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: #fff; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav ul { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: .5rem var(--gutter) 1rem; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .main-nav ul.is-open { display: flex; }
  .main-nav a:not(.btn) { display: block; padding: .8rem .5rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-cta { margin: .75rem 0 0; } .nav-cta .btn { width: 100%; }
}
/* ohne JS: Navigation immer sichtbar umbrechen */
.no-js .nav-toggle { display: none; }
.no-js .main-nav ul { display: flex; position: static; flex-wrap: wrap; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); padding: 48px 0 56px; overflow: hidden; }
/* Hero füllt die sichtbare Browserhöhe (abzüglich Sticky-Header) */
.hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero > .container { width: 100%; }
.hero h1 { color: #fff; margin-top: .6rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } .hero { padding: 72px 0 80px; } }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.hero-meta .kicker { margin: 0; }
.badge { display: inline-block; border: 2px solid var(--orange-light); color: var(--orange-light); border-radius: 8px; padding: .3rem 1rem; font: 700 1.45rem/1.1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--on-navy-2); font-size: .98rem; }
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts .icon { color: var(--orange-light); }

.hero-mesh { margin: 0; }
.hero-mesh-frame { position: relative; border-radius: 16px; background: radial-gradient(circle at 50% 45%, rgba(58,100,154,.35), rgba(15,35,64,0) 70%); }
#hero-mesh { display: block; width: 100%; height: auto; touch-action: manipulation; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.hero-mesh figcaption { display: flex; gap: .55rem; align-items: flex-start; color: var(--on-navy-2); font-size: .98rem; margin-top: .5rem; min-height: 3em; }
.hero-mesh figcaption .icon { color: var(--orange-light); margin-top: .15em; }

.hm-edge { stroke: rgba(143,179,224,.28); stroke-width: 1.6; transition: stroke .35s, stroke-width .35s; }
.hm-edge.is-lit { stroke: var(--orange); stroke-width: 2.6; }
.hm-node { cursor: pointer; outline: none; }
.hm-node .hm-hit { fill: transparent; }
.hm-node .hm-halo { fill: rgba(226,96,26,0); transition: fill .35s; }
.hm-node .hm-core { fill: var(--navy-3); stroke: var(--sky); stroke-width: 2.2; transition: fill .35s, stroke .35s, transform .2s; transform-box: fill-box; transform-origin: center; }
.hm-node:hover .hm-core, .hm-node:focus-visible .hm-core { transform: scale(1.3); stroke: #fff; }
.hm-node:focus-visible .hm-halo { fill: rgba(244,160,107,.35); }
.hm-node.is-lit .hm-core { fill: var(--orange); stroke: #fff; }
.hm-node.is-lit .hm-halo { fill: rgba(226,96,26,.28); }
.hm-node.is-source .hm-core { fill: #fff; stroke: var(--orange); }
.hm-node.is-down .hm-core { fill: #6B7280; stroke: #9CA3AF; }
.hm-node.is-down .hm-halo { fill: rgba(107,114,128,.25); }
.hm-node .hm-x { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; opacity: 0; pointer-events: none; }
.hm-node.is-down .hm-x { opacity: 1; }
.hm-edge.is-dead { opacity: .15; }
.hm-ring { fill: none; stroke: var(--orange-light); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hm-ring.is-anim { animation: ring 1s ease-out forwards; }
@keyframes ring { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(2.6); } }
.hm-label { fill: var(--on-navy-2); font: 600 12px var(--f-body); pointer-events: none; paint-order: stroke; stroke: var(--navy); stroke-width: 4px; stroke-linejoin: round; }
.hm-label-bg { fill: rgba(15,35,64,.85); }

/* ---------- Sektionen ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-dark h2, .section-dark h3 { color: #fff; }

.two-col { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.prose p { max-width: 62ch; }
.note { display: flex; gap: .7rem; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--orange-text); border-radius: 8px; padding: .9rem 1rem; color: var(--text-2); }
.note .icon { color: var(--orange-text); margin-top: .15em; }


.explain { margin-top: 0; }
.explain-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1.5rem; }
.explain-head h2 { margin: 0; }
.explain .lead-dark { margin-top: .8rem; }
.explain-grid { display: grid; gap: 1rem; margin: 1.75rem 0 2rem; }
@media (min-width: 768px) { .explain-grid { grid-template-columns: repeat(3, 1fr); } }
.explain-card { border-top: 4px solid var(--orange-text); padding-top: .9rem; }
.explain-card h4 { font-size: 1.3rem; margin-bottom: .35rem; }
.explain-card p { color: var(--text-2); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step, .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.step-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.step-head .icon { color: var(--orange-text); }
.step-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.4rem/1 var(--f-head); }
.step h4 { margin-bottom: .3rem; }
.step p { color: var(--text-2); margin: 0; }
.step .future { margin-top: .9rem; padding-top: .7rem; border-top: 1px dashed var(--border); font-size: .95rem; }
.future strong, .tag { color: var(--orange-text); }

.glossary { display: grid; gap: .9rem 2rem; margin: 2rem 0 0; padding: 1.25rem 1.4rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
@media (min-width: 768px) { .glossary { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .glossary { grid-template-columns: repeat(4, 1fr); } }
.glossary dt { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.glossary dd { margin: .1rem 0 0; color: var(--text-2); font-size: .98rem; }

.why-grid { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.stat-card { background: var(--navy); color: var(--on-navy-2); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.2rem; }
.stat-card strong { color: #fff; }
.stat-num { font: 700 clamp(3rem, 8vw, 4.2rem)/1 var(--f-head); color: var(--orange-light); margin: 0 0 .25rem; }
.stat-label { font-weight: 700; color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding-left: 1.4rem; margin-bottom: .7rem; color: var(--text-2); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .5em; border-left: 8px solid var(--orange-text); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.tick-list strong { color: var(--text); }

.open-box { margin: 0 0 2rem; background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.open-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .open-list { grid-template-columns: repeat(3, 1fr); } }
.open-list li { display: flex; gap: .9rem; align-items: flex-start; }
.open-list .icon { color: var(--orange-text); }
.open-list h4 { font-size: 1.3rem; margin-bottom: .25rem; }
.open-list p { margin: 0; color: var(--text-2); }
.open-list strong { color: var(--text); }
.open-note { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text); }
.open-note strong { color: var(--orange-text); }
.hm-node.is-hub .hm-core { stroke: #fff; stroke-width: 2.6; }
.hm-label-hub { fill: #fff; font-weight: 700; font-size: 13px; }
/* Schmale Bildschirme: Grafik ist stark verkleinert – nur die wichtigsten Stationen, dafür größer beschriften */
@media (max-width: 599px) {
  .hm-label { display: none; }
  .hm-label-key { display: inline; font-size: 20px; stroke-width: 5px; }
  .hm-label-hub { font-size: 21px; }
}
.hm-node.is-invite .hm-ring { animation: invite 1.6s ease-out infinite; }
@keyframes invite { 0% { opacity: .95; transform: scale(.8); } 100% { opacity: 0; transform: scale(3.2); } }
@media (prefers-reduced-motion: reduce) { .hm-node.is-invite .hm-ring { animation: none; opacity: .9; transform: scale(1.8); } }

.mesh-legend { margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; font-weight: 600; color: #fff; }

/* ---------- Netz-Animation ---------- */
#netz .lead { margin-bottom: 1.5rem; }
.netz-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: var(--on-navy-2); margin-bottom: .75rem; }
.lg { display: inline-flex; align-items: center; gap: .5rem; }
.lg::before { content: ""; display: inline-block; }
.lg-node::before { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(226,96,26,.3); }
.lg-primary::before { width: 30px; border-top: 3px dashed var(--orange); }
.lg-secondary::before { width: 30px; border-top: 3px dotted var(--sky); }
.lg-down::before { width: 14px; height: 14px; border-radius: 50%; background: #6B7280; box-shadow: 0 0 0 4px rgba(107,114,128,.3); }

.netz-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 12px; background: linear-gradient(180deg, #13294B 0%, #0F2340 100%); border: 1px solid rgba(255,255,255,.08); }
#netz-scene { display: block; width: 100%; min-width: 760px; height: auto; }
.scroll-hint { display: none; text-align: center; color: var(--on-navy-2); font-size: .85rem; margin: .4rem 0 0; }
@media (max-width: 799px) { .scroll-hint { display: block; } }

.ns-ground { fill: var(--b3); }
.ns-hill { fill: #152c4e; }
.ns-label { fill: var(--on-navy-2); font: 600 17px var(--f-body); text-anchor: middle; }
.ns-sign { font: 700 12px var(--f-body); text-anchor: middle; letter-spacing: .04em; }
.ns-edge { fill: none; stroke-linecap: round; transition: opacity .3s, stroke-width .3s; }
.ns-edge.primary { stroke: var(--orange); stroke-width: 3; stroke-dasharray: 10 8; opacity: .55; }
.ns-edge.secondary { stroke: var(--sky); stroke-width: 2.6; stroke-dasharray: 1 8; opacity: .55; }
.ns-edge.is-route { opacity: 1; stroke-width: 4.5; }
.ns-edge.primary.is-route { animation: flow 1s linear infinite; }
.ns-edge.secondary.is-route { stroke-dasharray: 2 9; animation: flow2 1s linear infinite; }
.ns-edge.is-dead { opacity: .1; animation: none; }
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes flow2 { to { stroke-dashoffset: -22; } }
.is-paused .ns-edge { animation-play-state: paused !important; }

.ns-node { cursor: pointer; outline: none; }
.ns-node .ns-hit { fill: transparent; }
.ns-node .ns-halo { fill: rgba(226,96,26,.28); transition: fill .3s; }
.ns-node .ns-core { fill: var(--orange); stroke: #fff; stroke-width: 2.5; transition: fill .3s; }
.ns-node .ns-x { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; opacity: 0; }
.ns-node:hover .ns-halo, .ns-node:focus-visible .ns-halo { fill: rgba(244,160,107,.55); }
.ns-node:focus-visible .ns-core { stroke: var(--orange-light); stroke-width: 4; }
.ns-node.is-down .ns-core { fill: #6B7280; }
.ns-node.is-down .ns-halo { fill: rgba(107,114,128,.25); }
.ns-node.is-down .ns-x { opacity: 1; }
.ns-node.is-active .ns-halo { fill: rgba(244,160,107,.6); }
.ns-node.is-end .ns-core { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.ns-pulse { fill: none; stroke: var(--orange-light); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ns-pulse.is-anim { animation: ring .9s ease-out forwards; }
.ns-packet-glow { fill: rgba(255,215,189,.35); }
.ns-packet { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.ns-ack { fill: var(--sky); stroke: #fff; stroke-width: 2; }
.ns-down-label { fill: #E5E7EB; font: 700 13px var(--f-body); text-anchor: middle; }

.netz-panel { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 900px) { .netz-panel { grid-template-columns: 1fr 1fr; align-items: start; } }
.msg-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.1rem 1.25rem; min-height: 150px; }
.msg-label { text-transform: uppercase; letter-spacing: .12em; font: 600 .85rem var(--f-head); color: var(--orange-light); margin: 0 0 .3rem; }
.msg-route { font: 700 1.35rem/1.15 var(--f-head); color: #fff; margin: 0 0 .3rem; }
.msg-text { color: var(--on-navy-2); margin: 0 0 .6rem; }
.msg-status { display: flex; align-items: center; gap: .55rem; margin: 0; font-weight: 600; color: #fff; }
.msg-status .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); flex: none; }
.msg-status.is-secondary .dot { background: var(--sky); }
.msg-status.is-done .dot { background: #4ADE80; }
.msg-status.is-error .dot { background: #9CA3AF; }
.netz-hint { color: var(--on-navy-2); margin-bottom: .75rem; }
.netz-points { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .netz-points { grid-template-columns: repeat(3, 1fr); } }
.netz-points > div { display: flex; gap: .8rem; align-items: flex-start; }
.netz-points .icon { color: var(--orange-light); width: 26px; height: 26px; margin-top: .1em; }
.netz-points p { margin: 0; color: var(--on-navy-2); }
.netz-points strong { color: #fff; }

.netz-foot { display: flex; gap: .7rem; align-items: flex-start; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-navy-2); max-width: 80ch; }
.netz-foot .icon { color: var(--orange-light); margin-top: .15em; }

/* ---------- Projektablauf ---------- */
.phases { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: ph; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.phase-art { width: 100%; max-width: 220px; height: auto; display: block; margin-bottom: .75rem; }
.phase-num { font: 600 .9rem var(--f-head); text-transform: uppercase; letter-spacing: .12em; color: var(--orange-text); margin: 0 0 .25rem; }
.phase h3 { font-size: 1.5rem; }
.phase p:last-child { color: var(--text-2); margin: 0; }
.phase strong { color: var(--text); }
.pa-links line { stroke: var(--orange); stroke-width: 3; stroke-dasharray: 8 6; }
.pa-gap circle { fill: none; stroke: var(--b2); stroke-width: 1.6; stroke-dasharray: 3 4; }
.pa-nodes circle { fill: var(--orange); stroke: var(--navy); stroke-width: 2; }
.pa-new circle { fill: var(--navy); }
.pa-dev { fill: none; stroke: var(--navy); stroke-width: 3; }
.pa-card { fill: var(--orange); }
.pa-wave { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.pa-tick { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.pa-line { stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }

/* ---------- Hardware ---------- */
.hw-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 960px) { .hw-grid { grid-template-columns: 1fr 1fr; } }
.hw-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.hw-art { background: var(--bg); border-bottom: 1px solid var(--border); display: grid; place-items: center; padding: 1.5rem; min-height: 170px; }
.hw-art img { height: 130px; width: auto; }
.hw-body { padding: 1.4rem 1.5rem 1.5rem; }
.hw-type { font: 600 .9rem var(--f-head); text-transform: uppercase; letter-spacing: .12em; color: var(--orange-text); margin: 0 0 .3rem; }
.hw-body h3 { font-size: 1.75rem; margin-bottom: .2rem; }
.hw-example { color: var(--text-2); font-weight: 600; margin-bottom: 1rem; }
.hw-purpose { background: var(--bg); border-radius: 8px; padding: .8rem 1rem; }
.spec-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.spec-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.spec-list .icon { color: var(--orange-text); margin-top: .2em; }
.spec-list strong { color: var(--text); }
.hw-places { margin: 0; font-size: .98rem; color: var(--text-2); }
.hw-places strong { color: var(--text); }
.hw-extra { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .hw-extra { grid-template-columns: 1fr 1fr; } }
.hw-extra .card p:last-child { margin: 0; color: var(--text-2); }
.card-future { border-style: dashed; border-color: #C9CED6; }
.tag { font: 600 .85rem var(--f-head); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .3rem; }
.can-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
@media (min-width: 768px) { .can-list { grid-template-columns: 1fr 1fr; } }
.can-list li { display: flex; gap: .7rem; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: .75rem 1rem; color: var(--text-2); }
.can-list strong { color: var(--text); }
.can-list .icon { margin-top: .15em; stroke-width: 2.4; }
.can .icon { color: #15803D; }
.cannot .icon { color: #B91C1C; }

/* ---------- Einsatz ---------- */
.use-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .use-grid { grid-template-columns: repeat(3, 1fr); } }
.use { border-top: 4px solid var(--orange-text); padding-top: 1.1rem; }
.use .icon { color: var(--orange-text); margin-bottom: .5rem; }
.use h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.use p { color: var(--text-2); margin: 0; }

/* ---------- Team ---------- */
.people { display: grid; gap: 1.25rem; margin-top: 2rem; }
.person { display: grid; gap: 1.25rem 2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 720px) { .person { grid-template-columns: 180px 1fr; padding: 2rem; align-items: start; } }
.person img { width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--orange-light); object-fit: cover; }
@media (max-width: 400px) { .person img { width: 140px; height: 140px; } }
.person h3 { font-size: 2rem; margin-bottom: .2rem; }
.person-role { font: 600 1rem var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: var(--orange-text); margin-bottom: 1rem; }
.person p:not(.person-role) { color: var(--text-2); max-width: 72ch; }
.person p:last-child { margin-bottom: 0; }
.bond { margin-top: 2.5rem; border-left: 4px solid var(--orange-text); padding-left: 1.25rem; }
.bond h3 { font-size: 1.8rem; }
.bond .meta { margin-top: .5rem; }

/* ---------- Kontakt ---------- */
.contact { text-align: left; }
.contact-mail { display: inline-flex; align-items: center; gap: .6rem; font: 700 clamp(1.6rem, 6vw, 3rem)/1.1 var(--f-head); color: #fff; text-decoration: none; margin: .25rem 0 1rem; word-break: break-word; }
.contact-mail .icon { color: var(--orange-light); width: .9em; height: .9em; }
.contact-mail:hover { color: var(--orange-light); }
.contact h2 { color: var(--orange-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 28px 0; font-size: .95rem; color: var(--text-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.footer-inner img { width: 132px; }
.footer-inner p { margin: 0; flex: 1 1 260px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */
.page { padding: 56px 0 80px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page h2 { font-size: 1.7rem; margin-top: 2rem; max-width: none; }
.draft { background: #FFF4EC; border: 1px solid #F4C3A3; border-left: 4px solid var(--orange-text); border-radius: 8px; padding: 1rem 1.1rem; margin: 1.5rem 0 2rem; }
.ph { background: #FFF1C2; padding: 0 .25em; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.nowrap { white-space: nowrap; }
