/* Gemeinsames Design für alle Seiten (Startseite und /ausbildung) */
@font-face { font-family: Montserrat; font-weight: 300; font-display: swap; src: url(fonts/montserrat-300.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(fonts/montserrat-400.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(fonts/montserrat-600.woff2) format("woff2"); }

:root {
  --rot: #E31E24;
  --rot-dunkel: #B8161B;
  --schwarz: #000;
  --grau: #555;
  --hellgrau: #666;
  --dunkelgrau: #5a5a5a; /* wie der graue Hintergrund der Ausbildungsflyer */
  --weiss: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--weiss); color: var(--schwarz); }
body {
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}
main { width: 100%; max-width: 440px; padding: 48px 20px 32px; display: flex; flex-direction: column; }

header { text-align: center; }
.logo { width: 150px; height: auto; display: block; margin: 0 auto; }
.firma { font-size: 12px; font-weight: 400; color: var(--grau); margin: 10px 0 0; }
.strich { width: 36px; height: 3px; background: var(--rot); margin: 18px auto; border: 0; }
.spruch { font-size: 17px; font-weight: 300; line-height: 1.4; margin: 0 0 28px; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
nav a {
  display: flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 10px 18px; line-height: 1.3;
  border: 1.5px solid var(--schwarz);
  color: var(--schwarz); text-decoration: none;
  font-size: 15px; font-weight: 400;
  transition: background-color .15s, color .15s, border-color .15s;
}
nav a svg { width: 22px; height: 22px; flex: none; color: var(--rot); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
nav a:hover, nav a:focus-visible { background: var(--schwarz); color: var(--weiss); }
nav a:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

/* Hervorgehobene Buttons: Website (rot) und Jobs (schwarz) */
nav a.haupt, nav a.jobs, nav a.ausbildung { color: var(--weiss); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
nav a.haupt { background: var(--rot); border-color: var(--rot); }
nav a.haupt:hover, nav a.haupt:focus-visible { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
nav a.jobs { background: var(--schwarz); }
nav a.jobs:hover, nav a.jobs:focus-visible { background: #2a2a2a; }
nav a.ausbildung { background: var(--dunkelgrau); border-color: var(--dunkelgrau); }
nav a.ausbildung:hover, nav a.ausbildung:focus-visible { background: #3d3d3d; border-color: #3d3d3d; }
nav a.haupt svg, nav a.jobs svg, nav a.ausbildung svg { color: var(--weiss); }

footer { margin-top: auto; padding-top: 40px; text-align: center; font-size: 12px; line-height: 1.7; color: var(--hellgrau); }
footer a { color: var(--hellgrau); }
footer a:hover { color: var(--rot); }

/* Pfeil rechts in Buttons, die zu einer Unterseite oder einem Flyer führen */
nav a .weiter { margin-left: auto; width: 18px; height: 18px; }

/* Unterseiten: Zurück-Link und Überschrift */
.zurueck { display: inline-flex; align-items: center; gap: 6px; color: var(--grau); text-decoration: none; font-size: 14px; font-weight: 400; margin-bottom: 20px; }
.zurueck svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.zurueck:hover, .zurueck:focus-visible { color: var(--rot); }
.logo.klein { width: 110px; }
h1 { font-size: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.intro { font-size: 15px; line-height: 1.5; margin: 0 0 24px; }
.mwd { color: var(--grau); font-size: 13px; margin-left: 4px; }
nav a:hover .mwd, nav a:focus-visible .mwd { color: inherit; }

