/* =========================================================================
   Header & Footer der Homepage – nachgebaut für den Mitarbeiterbereich.
   Werte entsprechen den Tailwind-Klassen der Homepage (index.html),
   damit beide Bereiche gleich aussehen, ohne das Tailwind-CDN zu laden.
   ========================================================================= */

:root {
  --site-primary: #e75138;
  --site-bg: #e9eaf2;
  --site-dark: #17151f;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-900: #0f172a;
}

body { padding-top: 80px; }

.site-header a,
.site-footer a { color: inherit; text-decoration: none; transition: color 150ms ease; }
.site-header a:hover,
.site-footer a:hover { color: var(--site-primary); }

.site-header .material-symbols-outlined,
.site-footer .material-symbols-outlined { line-height: 1; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(233, 234, 242, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-300);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--slate-900);
}

.site-header-inner {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 44px; width: auto; display: block; }
@media (min-width: 768px) { .site-header .site-logo img { height: 48px; } }

.site-nav { display: none; align-items: center; gap: 40px; }
.site-nav a { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }

.site-header-right { display: flex; align-items: center; gap: 16px; }

.site-intern,
.site-phone,
.site-phone-mobile {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--slate-500) !important;
}
.site-intern:hover,
.site-phone:hover,
.site-phone-mobile:hover { color: var(--site-primary) !important; }
.site-intern { display: none; align-items: center; gap: 6px; }
.site-intern.is-active { color: var(--site-primary) !important; }
.site-intern .material-symbols-outlined { font-size: 1.125rem; }
.site-phone { display: none; }

.site-cta {
  display: none;
  background: var(--site-primary);
  color: var(--site-dark) !important;
  padding: 10px 24px;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  transition: transform 150ms ease, background 150ms ease;
}
.site-cta:hover { background: rgba(231, 81, 56, 0.9); transform: scale(1.05); color: var(--site-dark) !important; }
.site-cta:active { transform: scale(0.95); }

.site-menu-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--slate-900);
  display: inline-flex;
}
.site-menu-btn:hover { color: var(--site-primary); }
.site-menu-btn .material-symbols-outlined { font-size: 1.875rem; }

@media (min-width: 640px) {
  .site-header-right > .site-cta { display: block; }
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-header-right > .site-intern { display: flex; }
  .site-phone { display: block; }
  .site-header-right > .site-menu-btn { display: none; }
}

/* Mobil-Menü (rechte Hälfte, schiebt sich herein) */
.site-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 50%;
  z-index: 60;
  background: rgba(233, 234, 242, 0.95);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--slate-300);
  transform: translateX(100%);
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
}
.site-menu.open { transform: translateX(0); }
@media (min-width: 1024px) { .site-menu { display: none; } }

.site-menu-top {
  height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--slate-300);
}
.site-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  padding: 0 40px;
  text-align: right;
}
.site-menu-nav a { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.site-menu-bottom {
  padding: 0 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}
.site-menu-bottom .site-intern { display: flex; }
.site-menu-bottom .site-cta { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--site-bg);
  padding: 96px 24px 48px;
  border-top: 1px solid var(--slate-200);
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 3rem;
}
.site-footer-inner { max-width: 1280px; margin: 0 auto; }

.site-footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .site-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer-about { grid-column: span 2 / span 2; }
}

.site-footer-about > * + * { margin-top: 24px; }
.site-footer-about p {
  color: var(--slate-500);
  max-width: 24rem;
  line-height: 1.625;
  margin-bottom: 0;
}
.site-footer-contact { display: flex; flex-direction: column; gap: 12px; }
.site-footer-contact a { display: flex; align-items: center; gap: 12px; color: var(--slate-600); }
.site-footer-contact .material-symbols-outlined { color: var(--site-primary); }

.site-footer h4 {
  color: var(--slate-900);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 24px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 16px; }
.site-footer ul a { color: var(--slate-500); }

.site-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.site-footer-bottom p { margin: 0; }
