/* VAMED+WWH – Design-Tokens nach Brand Guideline 8020_0401_BG */
:root {
  /* Primärfarben (S. 30) */
  --vamed-blue: #181842;
  --wwh-blue: #2A9BD4;
  --fusion-blue: #445689;
  --deep-orange: #F4511E;
  --dark-grey: #D9D8D8;
  --light-grey: #F4F4F4;

  /* Akzente / Sub-Brands */
  --accent-blue: #007FFF;
  --accent-cyan: #00CED1;
  --accent-soft: #AEC3E5;
  --military: #3B4B21;

  /* Content Pillars (S. 31) */
  --pillar-credibility: #181842;
  --pillar-awareness: #3F908F;
  --pillar-talent: #911A52;
  --pillar-connection: #F59C2B;

  /* Flächen */
  --bg: var(--light-grey);
  --surface: #ffffff;
  --border: #e4e6ee;
  --text: #15152e;
  --text-muted: #5c6079;

  /* S. 59: "Shape: Rectangular" – das Portal arbeitet ohne runde Ecken */
  --radius: 0px;
  --radius-lg: 0px;
  --shadow-sm: 0 1px 2px rgba(24, 24, 66, .06);
  --shadow: 0 4px 16px rgba(24, 24, 66, .08);
  --shadow-lg: 0 18px 48px rgba(24, 24, 66, .18);

  --header-h: 92px;

  /* Roboto laut S. 34, Arial als freigegebene Alternative */
  --font: 'Roboto', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

* { box-sizing: border-box; }

/* display-Regeln der Komponenten dürfen [hidden] nicht aushebeln */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; letter-spacing: -.01em; }

/* Headline 1: Roboto Black, Großbuchstaben, VAMED Blue (S. 35) */
.h1 {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--vamed-blue);
  font-size: 28px;
  line-height: 1.15;
}
/* Headline 2: Roboto Bold, Großbuchstaben, WWH Blue */
.h2 {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wwh-blue);
  font-size: 15px;
  letter-spacing: .06em;
}
.subhead { font-weight: 400; font-size: 16px; color: var(--text); }
.meta { font-size: 12.5px; color: var(--text-muted); }

a { color: var(--fusion-blue); }

/* ---------- Logo ---------- */
/* Offizielle Artwork-Datei aus der Guideline. Nicht nachbauen, nicht verzerren,
   Mindesthöhe 35 px laut S. 22. */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 36px; width: auto; }
.logo--sm img { height: 35px; }   /* Minimum laut S. 22 */

/* ---------- Buttons ---------- */
/* S. 59 – UI COMPONENTS: rechteckig, drei diagonale Striche,
   VAMED Blue, Text weiss/fett/Versalien. */
.btn {
  position: relative;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid var(--vamed-blue);
  background: var(--vamed-blue);
  color: #fff;
  border-radius: 0;
  padding: 10px 34px 10px 16px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, border-color .15s, transform .08s;
}
/* Die drei Striche sitzen rechts im Button */
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; right: 10px;
  width: 14px;
  background-image: repeating-linear-gradient(
    115deg,
    currentColor 0 2px,
    transparent 2px 6px
  );
  opacity: .9;
}
.btn:hover { background: #262658; border-color: #262658; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--wwh-blue); outline-offset: 2px; }

.btn--primary { background: var(--vamed-blue); border-color: var(--vamed-blue); color: #fff; }
.btn--primary:hover { background: #262658; border-color: #262658; }

.btn--accent { background: var(--wwh-blue); border-color: var(--wwh-blue); color: #fff; }
.btn--accent:hover { background: #1f8cc4; border-color: #1f8cc4; }

.btn--danger { background: var(--deep-orange); border-color: var(--deep-orange); color: #fff; }
.btn--danger:hover { background: #dc4517; border-color: #dc4517; }

/* Heller Button auf weissem Grund: Kontur statt Fläche */
.btn--quiet {
  background: transparent; color: var(--vamed-blue);
  border-color: var(--dark-grey);
}
.btn--quiet:hover { background: var(--light-grey); border-color: var(--vamed-blue); }

/* Ohne Striche – für schmale Schaltflächen im Menü */
.btn--plain { padding-right: 16px; }
.btn--plain::after { display: none; }

.btn--ghost {
  background: transparent; border-color: transparent; color: var(--text);
  text-transform: none; letter-spacing: 0; font-weight: 500;
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: rgba(24,24,66,.06); }

.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.badge {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 7px; border-radius: 0;
  background: var(--light-grey); color: var(--text-muted);
}
.badge--beta { background: #e6f4fc; color: #15739f; }
.badge--soon { background: var(--light-grey); color: var(--text-muted); }
.badge--maintenance { background: #fdeae3; color: #b93b11; }

input, select, textarea {
  font-family: var(--font); font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 0;
  background: #fff; color: var(--text);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--wwh-blue);
  box-shadow: 0 0 0 3px rgba(42,155,212,.16);
}
label { font-size: 13px; font-weight: 500; color: var(--text-muted); display: block; margin-bottom: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
