/* soaring.at · gemeinsame Stildatei (Stand Entwurf G, 14.11.2026)
   Alle Tools binden diese Datei ein. Farben nur über die Variablen in :root ändern. */

@font-face { font-family: "B612"; src: url("../fonts/b612-latin-400-normal.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "B612"; src: url("../fonts/b612-latin-700-normal.woff2") format("woff2"); font-weight: 700; }
@font-face { font-family: "B612 Mono"; src: url("../fonts/b612-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "B612 Mono"; src: url("../fonts/b612-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; }
:root {
  --grund: #1e252c;
  --brett: #29313a;
  --brett2: #333c46;
  --rand: #414c57;
  --text: #edf1f4;
  --leise: #b7c1c9;
  --bernstein: #ffb300;
  --steigen: #3ddc84;
  --glas: #151a1f;
  --strich: #d6e4f5;
  --hilfs: #d6e4f522;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.55 "B612", system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--bernstein); }
.mono { font-family: "Plex Mono", monospace; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--bernstein); outline-offset: 3px; }


.kopf { position: relative; z-index: 2; display: flex; align-items: center; gap: 1rem; padding: .7rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--rand); background: #1e252ce6; }
.marke { display: flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.marke svg { width: 30px; height: 30px; }
.kopf nav { display: flex; gap: .3rem; margin-left: 1.2rem; }
.kopf nav a { padding: .35rem .75rem; border-radius: 6px; color: var(--leise); text-decoration: none; }
.kopf nav a[aria-current] { color: var(--text); background: var(--brett); }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border: 1px solid var(--rand); border-radius: 8px; background: var(--brett); color: var(--text); font: inherit; text-decoration: none; cursor: pointer; }
.knopf.haupt { background: var(--bernstein); border-color: var(--bernstein); color: #0b0e11; font-weight: 700; }
.knopf:hover { border-color: var(--bernstein); }
.kopf .knopf { margin-left: auto; }
@media (max-width: 760px) { .kopf nav { display: none; } }

/* Hintergrund-Band mit dem Flugzeug */
.buehne { position: relative; overflow: hidden; }
.band { position: absolute; inset: 0; pointer-events: none; z-index: 0; display: flex; flex-direction: column; justify-content: space-around; opacity: .17; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.spur { display: flex; width: max-content; animation: ziehen 90s linear infinite; }
.spur.zwei { animation-duration: 120s; animation-direction: reverse; }
.spur > div { display: flex; align-items: center; gap: 5rem; padding-right: 5rem; color: var(--strich); }
.spur svg { height: 190px; width: auto; flex: none; }
.spur svg.gross { height: 260px; }
.spur .daten { font: 1.05rem/1.9 "Plex Mono", monospace; white-space: nowrap; }
.spur .daten b { font: 700 3.4rem/1 "B612", sans-serif; display: block; margin-bottom: .4rem; }
.spur text { font-family: "Plex Mono", monospace; fill: currentColor; }
@keyframes ziehen { to { transform: translateX(-50%); } }
.buehne > :not(.band) { position: relative; z-index: 1; }

/* Instrumentenbrett */
.held { max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem) 1rem; }
.held h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; max-width: 17ch; }
.held p { color: var(--leise); max-width: 34rem; font-size: 1.05rem; }
.brett { max-width: 1200px; margin: 1.2rem auto 0; padding: 0 clamp(1rem, 3vw, 2rem) 1rem; }
.brettflaeche { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.4rem, 1.6vw, 1.4rem); padding: clamp(1.2rem, 3vw, 2.2rem) clamp(.8rem, 2.4vw, 2rem); border-radius: 30px 30px 16px 16px;
  --glanz: linear-gradient(165deg, #ffffff1c 0%, #ffffff06 28%, transparent 45%, #0000 70%, #00000059 100%);
  background: var(--glanz), url(bilder/carbon.jpg) 0 0 / 150px;
  border: 1px solid var(--rand); box-shadow: inset 0 1px 0 #ffffff14, inset 0 -8px 20px #0006, 0 30px 70px #000a; }
.brettflaeche[data-brett="nextel"] { background: linear-gradient(165deg, #ffffff0d, transparent 40%, #00000040), url(bilder/nextel.jpg) 0 0 / 256px; }
.brettflaeche[data-brett="blech"] { background: linear-gradient(170deg, #ffffff55 0%, #ffffff10 30%, #0000 50%, #00000033 100%), url(bilder/blech.jpg) 0 0 / 512px 256px; border-color: #8d959c; }
.brettflaeche[data-brett="blech"] .instrument b, .brettflaeche[data-brett="blech"] .instrument small { color: #1b2126; text-shadow: 0 1px 0 #ffffff80; }
.brettflaeche[data-brett="holz"] { background: linear-gradient(165deg, #ffffff26 0%, #ffffff08 30%, transparent 48%, #00000059 100%), url(bilder/holz.jpg) 0 0 / 420px; border-color: #5a3a22; }
.brettwahl { display: flex; justify-content: flex-end; gap: .3rem; margin: 0 0 .6rem; font-size: .85rem; color: var(--leise); align-items: center; }
.brettwahl button { min-height: 32px; padding: 0 .7rem; border: 1px solid var(--rand); border-radius: 7px; background: var(--brett); color: var(--leise); font: inherit; cursor: pointer; }
.brettwahl button[aria-pressed="true"] { color: var(--text); border-color: var(--bernstein); }
.instrument { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); }
.instrument svg { width: 100%; max-width: 210px; aspect-ratio: 1; transition: transform .2s; }
.instrument:hover svg { transform: translateY(-3px); }
.instrument b { font-size: 1rem; text-align: center; text-shadow: 0 1px 3px #000; }
.instrument small { color: #c3ccd3; text-shadow: 0 1px 3px #000; text-align: center; font-size: .85rem; line-height: 1.35; }
.instrument.bald b { color: var(--leise); }
.gast { max-width: 1200px; margin: 0 auto; padding: .6rem clamp(1rem, 3vw, 2rem) 3rem; color: var(--leise); font-size: .88rem; }
.gast a { color: var(--leise); }
@media (max-width: 860px) { .brettflaeche { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .brettflaeche { grid-template-columns: repeat(2, 1fr); } .spur svg { height: 140px; } }

/* Werkzeugseite: Steuerleiste, Blatt mit Daten und Skizze, Tabelle */
.werkzeug { max-width: 1200px; margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2rem) 3rem; }
.pfad { color: var(--leise); font-size: .9rem; }
.werkzeug h1 { margin: .2rem 0 1rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.steuer { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.steuer select { min-height: 40px; padding: 0 .7rem; border: 1px solid var(--rand); border-radius: 8px; background: var(--brett); color: var(--text); font: inherit; }
.tage { display: flex; gap: .25rem; padding: .2rem; background: var(--brett); border: 1px solid var(--rand); border-radius: 10px; }
.tage button { min-height: 34px; padding: 0 .85rem; border: 0; border-radius: 7px; background: none; color: var(--leise); font: inherit; cursor: pointer; }
.tage button[aria-pressed="true"] { background: var(--glas); color: var(--bernstein); }
.blatt { display: grid; grid-template-columns: 1fr 1.3fr; border: 1px solid var(--rand); border-radius: 14px; background: var(--brett); overflow: hidden; }
.blatt > * { min-width: 0; }
.daten { border-right: 1px solid var(--rand); }
.daten dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.daten dl div { padding: .9rem 1rem; border-bottom: 1px solid var(--rand); }
.daten dl div:nth-child(odd) { border-right: 1px solid var(--rand); }
.daten dt { font: .72rem "Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.daten dd { margin: .1rem 0 0; font-size: 1.7rem; font-weight: 700; color: var(--bernstein); font-variant-numeric: tabular-nums; }
.daten .aktionen { display: flex; gap: .5rem; padding: 1rem; }
.skizze { padding: .8rem; color: var(--strich); background-image: linear-gradient(var(--hilfs) 1px, transparent 1px), linear-gradient(90deg, var(--hilfs) 1px, transparent 1px); background-size: 20px 20px; }
.skizze svg { width: 100%; height: auto; display: block; }
.skizze text { font-family: "Plex Mono", monospace; fill: var(--leise); font-size: 11px; }
.tabelle { width: 100%; margin-top: 1rem; border-collapse: collapse; background: var(--brett); border: 1px solid var(--rand); border-radius: 14px; overflow: hidden; font-size: .95rem; }
.tabelle th, .tabelle td { padding: .6rem 1rem; border-bottom: 1px solid var(--rand); text-align: left; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle th { font: 400 .72rem "Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.tabelle .z { text-align: right; font-family: "Plex Mono", monospace; }
.abo { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: .9rem 1rem; border: 1px dashed var(--rand); border-radius: 14px; color: var(--leise); }
@media (max-width: 820px) { .blatt { grid-template-columns: 1fr; } .daten { border-right: 0; border-bottom: 1px solid var(--rand); } }

/* Dialog (Anmelden u. a.) */
.loginflaeche { min-height: 80vh; display: grid; place-items: center; padding: 3rem 1rem; }
.dialog { width: min(100%, 27rem); border-radius: 20px; background: radial-gradient(120% 120% at 50% 0%, var(--brett2), var(--brett)); border: 1px solid var(--rand); box-shadow: 0 30px 70px #000a; overflow: hidden; }
.dialog header { display: flex; align-items: center; padding: 1.1rem 1.2rem .5rem; }
.dialog h2 { margin: 0; font-size: 1.35rem; }
.dialog header button { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rand); background: var(--glas); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.dialog form { display: grid; gap: .9rem; padding: 1rem 1.2rem 1.2rem; }
.dialog label { display: grid; gap: .3rem; color: var(--leise); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.dialog input { min-height: 44px; padding: 0 .8rem; border: 1px solid var(--rand); border-radius: 8px; background: var(--glas); box-shadow: inset 0 2px 5px #000a; color: var(--text); font: 1rem "B612", sans-serif; }
.dialog input:focus { outline: none; border-color: var(--bernstein); }
.dialog .klein { margin: 0; color: var(--leise); font-size: .9rem; }
.dialog .vorteile { margin: 0; padding: .9rem 1.2rem 1.2rem; list-style: none; display: grid; gap: .3rem; border-top: 1px solid var(--rand); color: var(--leise); font-size: .95rem; }
.dialog .vorteile li::before { content: "▲ "; color: var(--steigen); font-size: .75em; }

.fuss { position: relative; z-index: 2; display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 1.4rem clamp(1rem, 3vw, 2rem); border-top: 1px solid var(--rand); font-size: .9rem; }

/* Kopfleiste aus kopf.js */
.kopf a[aria-disabled="true"] { opacity: .5; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Prägeband-Etikett (Dymo) für Instrumentennamen */
.dymo { display: inline-block; padding: .14rem .6rem; background: #f4f2ea; color: #111 !important; font: 700 .78rem "B612 Mono", monospace; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; box-shadow: 0 1px 2px #000c, inset 0 -1px 0 #0002; text-shadow: none !important; }
.instrument.bald .dymo { background: #cfccc2; }


/* ---- Feinschliff v2: ruhigere Hierarchie, bessere Bedienbarkeit ---- */
:root {
  color-scheme: dark;
  --grund: #171e25;
  --brett: #222d37;
  --brett2: #2d3944;
  --rand: #465461;
  --text: #f3f6f8;
  --leise: #bac6cf;
  --bernstein: #ffc247;
  --steigen: #51dfa0;
  --glas: #10171d;
  --strich: #dce8f2;
}
::selection { color: #10171d; background: var(--bernstein); }
button, input, select, textarea { accent-color: var(--bernstein); }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--bernstein);
  outline-offset: 3px;
}
.kopf {
  background: linear-gradient(180deg, #202a33f2, #171e25ed);
  box-shadow: 0 1px 0 #ffffff08, 0 8px 24px #0002;
  backdrop-filter: blur(14px);
}
.marke svg { filter: drop-shadow(0 1px 3px #0008); }
.kopf nav a { transition: color .18s ease, background .18s ease; }
.kopf nav a:hover { color: var(--text); background: #ffffff0b; }
.knopf { transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.knopf:hover { transform: translateY(-1px); }
.brettflaeche {
  isolation: isolate;
  border-color: #71808c66;
  box-shadow: inset 0 1px 0 #ffffff20, inset 0 -10px 24px #0008, 0 24px 60px #0009;
}
.brettflaeche::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, #ffffff08, transparent 24% 76%, #00000020);
}
.instrument { min-width: 0; }
.instrument svg {
  filter: drop-shadow(0 9px 9px #0009);
  transform-origin: 50% 55%;
}
.instrument:hover svg { filter: drop-shadow(0 12px 12px #000b); }
.instrument b { letter-spacing: .015em; }
.instrument small { max-width: 19ch; }
.brettwahl button { transition: border-color .16s ease, color .16s ease, background .16s ease; }
.brettwahl button:hover { border-color: #9ba9b5; color: var(--text); }
.brettwahl button[aria-pressed="true"] {
  color: #151b20;
  background: var(--bernstein);
  border-color: var(--bernstein);
  font-weight: 700;
}
.band { opacity: .12; }
.gast { line-height: 1.7; }
@media (max-width: 860px) {
  .brettflaeche { gap: clamp(.55rem, 2vw, 1rem); }
}
@media (max-width: 560px) {
  .held { padding-top: 2rem; }
  .brettflaeche { border-radius: 20px 20px 12px 12px; }
  .instrument svg { max-width: 176px; }
  .instrument small { font-size: .78rem; }
  .brettwahl { justify-content: flex-start; overflow-x: auto; padding: .15rem 0 .35rem; }
  .brettwahl button { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .instrument:hover svg, .knopf:hover { transform: none; }
}

/* Instrumente: Skala, Ziffern, Beschriftung und Zeiger zu 50 % durchscheinend, Motive dahinter kräftig */
.innen { opacity: .5; }

/* versteckte SVG-Definitionen (Symbole), ohne Inline-Style wegen der Sicherheitsregel (CSP) */
.defs-versteckt { position: absolute; width: 0; height: 0; }

/* Rechtstexte (Impressum, Datenschutz) */
.rechtstext { max-width: 44rem; margin: 0 auto; padding: 2rem clamp(1rem, 3vw, 2rem) 4rem; }
.rechtstext h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 .3rem; }
.rechtstext h2 { font-size: 1.25rem; margin: 2.2rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--rand); }
.rechtstext p { margin: 0 0 .8rem; color: #d3dadf; }
.rechtstext p strong { color: var(--text); }
.rechtstext .unter { color: var(--leise); }
