/* Leitstand im Design von cuSphere („Nord“, Tag), wie der Kameramonitor der
   Edge-AI-Station: Schibsted Grotesk für Text, Monospace für Gemessenes,
   Petrol als Arbeitsfarbe, Orange sparsam, eckige Kanten.
   Alle Klassen tragen das Präfix cu-, damit sie nicht mit app.css kollidieren. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400;
  font-display: swap; src: url(/marke/schibsted-grotesk-latin-400-normal.woff2?v=437cd97c) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400;
  font-display: swap; src: url(/marke/schibsted-grotesk-latin-400-italic.woff2?v=b10306ed) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500;
  font-display: swap; src: url(/marke/schibsted-grotesk-latin-500-normal.woff2?v=83c497a1) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600;
  font-display: swap; src: url(/marke/schibsted-grotesk-latin-600-normal.woff2?v=d00ac873) format("woff2"); }

:root {
  --cu-grund: #f2f5f4;
  --cu-flaeche: #fafbfa;
  --cu-fuellung: #e7ecea;
  --cu-linie: #d5dedf;
  --cu-linie-stark: #b6c5c7;
  --cu-leise: #4f666c;
  --cu-zweit: #3b565d;
  --cu-tinte: #0f2a31;
  --cu-petrol: #10647a;
  --cu-petrol-dunkel: #0d5263;
  --cu-petrol-hell: #e2eef0;
  --cu-orange: #de5b1d;
  /* Orange als Schrift: das Marken-Orange hat auf Weiss nur 3,7 : 1, dieses
     4,8 bis 5,7 : 1 auf allen Flaechen (WCAG AA). Linien und Punkte bleiben orange. */
  --cu-orange-text: #b04417;
  --cu-fehler: #b91c1c;
  --cu-schrift: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --cu-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* Eine Hoehe fuer Marke (Leiste) und Kopf (Inhalt): beide Trennlinien liegen auf
     einer Linie. Eine Breite fuer Fliesstext, Einleitung und Suchfeld. */
  --cu-kopfhoehe: 76px;
  --cu-textbreite: 820px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

body.cu { margin: 0; font-family: var(--cu-schrift); font-size: 15px; line-height: 1.5;
  color: var(--cu-tinte); background: var(--cu-grund); -webkit-font-smoothing: antialiased; }
body.cu a { color: var(--cu-petrol); text-decoration: none; }
body.cu a:hover { color: var(--cu-petrol-dunkel); text-decoration: underline; }

/* Rahmen: Leiste links, Inhalt rechts */
.cu-rahmen { display: flex; min-height: 100vh; }
.cu-leiste { width: 240px; flex: none; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; font-family: var(--cu-schrift);
  background: var(--cu-flaeche); border-right: 1px solid var(--cu-linie); }
body.cu .cu-marke, .cu-marke { display: flex; align-items: center; gap: 12px; flex: none;
  min-height: var(--cu-kopfhoehe); padding: 0 20px; border-bottom: 1px solid var(--cu-linie);
  color: var(--cu-tinte); text-decoration: none; }
body.cu .cu-marke:hover, .cu-marke:hover { color: var(--cu-tinte); text-decoration: none; }
.cu-marke img { width: 34px; height: 33px; flex: none; }
.cu-marke-name { display: flex; flex-direction: column; line-height: 1.15; }
.cu-marke-name b { font-size: 20px; font-weight: 400; }
.cu-marke-name small { margin-top: 4px; font-family: var(--cu-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cu-leise); }
.cu-punkt { color: var(--cu-petrol); }
.cu-punkt-orange { color: var(--cu-orange); }

.cu-navi { display: flex; flex-direction: column; padding: 28px 0; }
body.cu .cu-navi a, .cu-navi a { padding: 9px 24px; color: var(--cu-zweit); font-size: 14px;
  border-left: 2px solid transparent; text-decoration: none; }
body.cu .cu-navi a:hover, .cu-navi a:hover { background: var(--cu-fuellung); color: var(--cu-tinte); }
body.cu .cu-navi a.aktiv, .cu-navi a.aktiv { color: var(--cu-petrol); border-left-color: var(--cu-petrol); }
.cu-navi a[hidden] { display: none; }

.cu-fuss { margin-top: auto; padding: 24px 20px; border-top: 1px solid var(--cu-linie); }
.cu-fuss img { width: 132px; height: auto; display: block; margin: 0 auto 8px; }
.cu-firma { margin: 0 0 10px; text-align: center; font-family: var(--cu-mono); font-size: 10px;
  letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; color: var(--cu-leise); }
.cu-bau { margin: 0; font-family: var(--cu-mono); font-size: 12px; color: var(--cu-zweit);
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.cu-bau b { font-weight: 600; color: var(--cu-tinte); }

.cu-inhalt { flex: 1; min-width: 0; padding: 0 56px 64px; font-family: var(--cu-schrift); }
.cu-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--cu-kopfhoehe); border-bottom: 1px solid var(--cu-linie);
  margin: 0 -56px 40px; padding: 0 56px; }
.cu-ort { font-size: 13px; color: var(--cu-zweit); }
.cu-kopf a { font-size: 14px; color: var(--cu-petrol); text-decoration: none; }
.cu-kopf a:hover { color: var(--cu-petrol-dunkel); text-decoration: underline; }
/* Rechts im Kopf: Link der Seite und das Konto (konto.js) */
.cu-kopf-rechts { display: flex; align-items: center; gap: 20px; }

h1.cu-titel { font-family: var(--cu-schrift); font-size: 46px; font-weight: 400; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--cu-tinte); margin: 0 0 16px; }
/* Titel und Einleitung: die Trennlinie laeuft ueber die volle Breite wie bei den
   Abschnitten, der Text selbst bleibt lesbar schmal. */
.cu-intro { margin: 0 0 32px; padding-bottom: 32px; border-bottom: 1px solid var(--cu-linie); }
.cu-lead { font-size: 17px; color: var(--cu-zweit); max-width: var(--cu-textbreite); margin: 0; }
h2.cu-abschnitt { font-family: var(--cu-schrift); font-size: 13px; font-weight: 400;
  color: var(--cu-zweit); margin: 40px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--cu-linie); }

@media (max-width: 760px) {
  .cu-rahmen { flex-direction: column; }
  .cu-leiste { width: auto; position: static; height: auto; border-right: 0;
    border-bottom: 1px solid var(--cu-linie); }
  .cu-navi { flex-direction: row; flex-wrap: wrap; padding: 4px 8px; }
  body.cu .cu-navi a, .cu-navi a { border-left: 0; border-bottom: 2px solid transparent; padding: 8px 12px; }
  body.cu .cu-navi a.aktiv, .cu-navi a.aktiv { border-bottom-color: var(--cu-petrol); }
  .cu-fuss { display: none; }
  .cu-inhalt { padding: 0 16px 48px; }
  .cu-kopf { margin: 0 -16px 24px; padding: 0 16px; flex-wrap: wrap; }
  h1.cu-titel { font-size: 32px; }
}
