/* Intertours-Designsystem 1.0.0 – Brücke für den Travel-Management-Review.
   Wird nach base.css/site.css/app.css geladen. Legt die bestehenden Review-Variablen auf die
   Markentokens (intertours-design/1.3.1/css/tokens.css) und vereinheitlicht Logo, Überschriften,
   Buttons und Radien. Keine Änderung an Logik, Speicherung oder Inhalten.
   Rückbau: diese Datei und die drei <link>-Zeilen entfernen. */

:root {
  --navy: var(--it-blue);
  --tur: var(--it-turquoise);
  --tur-d: var(--it-blue);
  --grau: var(--it-grey);
  /* Review-Teal (#0e7a86) war ein Fremdton → Inter Blau für Links/Text, Türkis für Flächen */
  --teal: var(--it-blue);
  --teal-d: var(--it-blue);
  --tealbg: rgba(0, 201, 217, 0.1);
  --bg: var(--it-white);
  --line: var(--it-grey);
  --mu: var(--it-neutral-dark);
  --grey: var(--it-neutral-dark);
  --greybg: rgba(215, 215, 213, 0.5);
  /* Status: Text bleibt Inter Blau, Farbe trägt Fläche/Marker (Kontrast) */
  --red: var(--it-blue);
  --redbg: rgba(232, 64, 70, 0.12);
  --amb: var(--it-blue);
  --ambbg: rgba(232, 173, 41, 0.18);
  --blue: var(--it-blue);
  --bluebg: rgba(215, 215, 213, 0.5);
  --white: var(--it-pure-white);
  --f: var(--it-font);
  --r: var(--it-radius);
}

body { font-weight: var(--it-weight-light); }
a:hover { color: var(--it-blue); }
:focus-visible { outline-color: var(--it-focus); }
[data-dark] :focus-visible, .side :focus-visible, body.site .top :focus-visible, footer.f :focus-visible { outline-color: var(--it-turquoise); }

/* ---------- Logo: gemessene Referenzgrößen ---------- */
.nav .logo, .side .brand, .qtop > a { flex: none; }
.nav .logo img, body.site .nav .logo img { height: var(--it-logo-site); width: auto; aspect-ratio: 125 / 56; }
.side .brand img, .qtop img { height: var(--it-logo-app); width: auto; }
footer.f img, body.site footer.f img { height: auto; width: var(--it-logo-footer); }
.side .brand span { color: var(--it-grey); }

/* ---------- Buttons: Primär Türkis mit Inter-Blau-Text, Radius 0.5rem ---------- */
body.site .btn { box-shadow: none; }
.btn { background: var(--it-turquoise); border-color: var(--it-turquoise); color: var(--it-blue); border-radius: var(--it-radius); }
.btn:hover { background: var(--it-turquoise-hover); border-color: var(--it-turquoise-hover); color: var(--it-blue); }
.btn.tur:hover { background: var(--it-turquoise-hover); border-color: var(--it-turquoise-hover); }
.btn.ghost { background: transparent; color: var(--it-blue); border-color: var(--it-blue); }
.btn.ghost:hover { background: rgba(0, 201, 217, 0.1); color: var(--it-blue); border-color: var(--it-blue); }
.btn.dark { background: rgba(247, 246, 242, 0.2); border-color: rgba(247, 246, 242, 0.2); color: var(--it-white); }
.btn.dark:hover { background: rgba(247, 246, 242, 0.1); border-color: rgba(247, 246, 242, 0.2); }
.btn.text { color: var(--it-blue); }
.btn.danger { background: transparent; color: var(--it-blue); border-color: var(--it-red); }
.btn.danger:hover { background: rgba(232, 64, 70, 0.08); color: var(--it-blue); }

/* ---------- Statusmarken: Markenfläche statt Fremdfarben ---------- */
.pill { border-radius: var(--it-radius); }
.p-teal { background: rgba(0, 201, 217, 0.14); color: var(--it-blue); }
.p-amb { background: rgba(232, 173, 41, 0.22); color: var(--it-blue); }
.p-red { background: rgba(232, 64, 70, 0.14); color: var(--it-blue); }
.p-blue, .p-grey, .p-dark { background: rgba(215, 215, 213, 0.6); color: var(--it-blue); }
.p-navy { background: var(--it-blue); color: var(--it-white); }
.note { border-radius: var(--it-radius-none); border-left: 3px solid var(--it-turquoise); }
.note.warn { border-left-color: var(--it-amber); }
.note.err { border-left-color: var(--it-red); }
.note.info, .note.grey { border-left-color: var(--it-grey); }
.note svg { color: var(--it-blue) !important; }
.chip { border-radius: var(--it-radius); color: var(--it-blue); }

/* ---------- Typografie: Überschriften Thin, UI-Titel Medium statt Bold ---------- */
.vh h1 { font-weight: var(--it-weight-thin); font-size: 2.25rem; line-height: 1.2; }
h2.h2, .list > .lh, .pf > summary .n, .mail-head > span:first-child, .entry h2, .example .q,
.tile h3, .col3 h3, .prose h3, .cmp .r.head > * { font-weight: var(--it-weight-medium); }
.kpis .v { font-weight: var(--it-weight-thin); }
.modal h2 { font-weight: var(--it-weight-medium); }
.sh .k, .doc .dk, .imp .code { color: var(--it-blue); }

/* Taglines wie intertours.de (.text-style-tagline) */
body.site .hero .kick, body.site .dark .sh .k { background: rgba(247, 246, 242, 0.05); color: var(--it-turquoise); border-radius: var(--it-radius); }
body.site .sh .k { background: rgba(0, 201, 217, 0.1); color: var(--it-blue); border-radius: var(--it-radius); }

/* ---------- Arbeitsansicht: Seitenleiste mit Markengrau statt Fremdtönen ---------- */
.side .ctx span, .side .cap, .side nav a .req, .side nav a .opt { color: rgba(247, 246, 242, 0.7); }
.side nav a { color: var(--it-grey); }
.side nav a .num { border-color: rgba(215, 215, 213, 0.5); color: var(--it-grey); }
.side .who { color: var(--it-grey); }
.side .who .warn { color: var(--it-amber); }
.side nav a .req { border-color: rgba(215, 215, 213, 0.35); }
.qtop { background: var(--it-pure-white); }
.qtop .t { color: var(--it-blue); }

@media (max-width: 767px) {
  .vh h1 { font-size: 1.75rem; }
}

/* Tagline in Arbeitsansichten (heller Grund): Türkis nur als Fläche, Text Inter Blau */
.vh .kick, .qwrap .col > .sub:first-child { background: rgba(0, 201, 217, 0.1); color: var(--it-blue); border-radius: var(--it-radius); }

/* Landingpage: Fremdton --tur-d (#00808a) und Türkis-Text auf hell ersetzen (axe color-contrast) */
body.site { --tur-d: var(--it-blue); }
body.site .lp-k { background: rgba(0, 201, 217, 0.1); color: var(--it-blue); border-radius: var(--it-radius); }

/* Nav-Button erbt sonst Light 300 von .links a (site.css) – Buttons sind Medium */
body.site .nav .links a.btn { font-weight: var(--it-weight-medium); }

/* ---------- 1.1.0: Seitenabstand wie intertours.de, keine Türkis-Trennlinie ---------- */
/* Landing und Rechtsseiten: Logo und Inhalt bündig auf --it-inset (100/38/20 px bei 1440/768/390) */
body.site .wrap { max-width: none; margin: 0; padding-inline: var(--it-inset); }
/* Arbeitsansichten ohne Seitenleiste (Start, Schnell-Review, Gespräch): Kopf und Inhalt auf demselben Inset */
.qtop { padding-inline: var(--it-inset); }
.qtop ~ .start, .qtop ~ .qwrap, .qtop ~ main.main { max-width: none; margin-inline: 0; padding-inline: var(--it-inset); }
/* Seitenleiste (ausführlicher Review): Logo 24 px vom Rand */
/* Seitenleiste bleibt: 16 px + 8 px Markenabstand = 24 px (= --it-inset-sidebar) */
body.site .hero h1::after, .rule { display: none; }
/* Vertikal: Logo-Oberkante 24 px (Landing, wie intertours.de) bzw. 16 px (Werkzeugkopf) */
body.site .nav { padding: var(--it-header-pad) 0; }
body.site .nav .seal { align-self: flex-start; margin-bottom: -23px; }
.qtop { height: auto; padding-block: var(--it-space-4); }
body.site .nav .logo { align-self: flex-start; }
/* Abstand Überschrift → Lead, der vorher an der entfernten Trennlinie hing */
body.site .hero h1 { margin-bottom: var(--it-space-5); }

/* ---------- 1.2.0: Werkzeug-Kennung (Logo + Tag) ---------- */
body.site .nav .it-brand { flex: none; align-self: flex-start; min-height: var(--it-logo-site); }
body.site .nav .logo { align-self: center; }
.side .brand.it-brand { padding: 8px 8px 4px; }
.side .brand .it-brand__tag { color: var(--it-turquoise); font-size: var(--it-text-small); font-weight: var(--it-weight-medium); }
.qtop .it-brand { flex: none; }
.qtop .t { color: var(--it-neutral-dark); }
@media (max-width: 767px) { body.site .nav .it-brand { min-height: var(--it-logo-site); } }
/* Kennung + Navigation passen unter 992 px nicht in eine Zeile: Textlinks aus, unter 600 px auch der Nav-Button
   (gleicher Einstieg steht direkt darunter im Hero) */
@media (max-width: 991px) { body.site .nav .links a:not(.btn) { display: none; } }
@media (max-width: 600px) { body.site .nav .links .btn { display: none; } }
