/* ============================================================
   ACRIP Redesign — Modernes Design-System
   Farben: Primär #1e3a5f · Sekundär #2c5282 · Akzent #d97706
   Fonts: Inter (Body) / Source Serif 4 (Headlines)
   ============================================================ */
:root {
  --primary: #1e3a5f;
  --primary-dark: #162b47;
  --secondary: #2c5282;
  --accent: #d97706;
  --accent-dark: #b45309;
  --bg: #f7f8fa;
  --bg-alt: #ffffff;
  --text: #1f2937;
  --text-light: #4b5563;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 10px 40px rgba(30, 58, 95, 0.15);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Source Serif 4', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; height: auto; }

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 24px; }
.logo img { height: 44px; display: block; }

.main-nav .menu { display: flex; list-style: none; gap: 4px; flex-wrap: wrap; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li > a.active { color: var(--accent); background: rgba(217, 119, 6, 0.08); }

.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.main-nav .menu > li:hover .submenu,
.main-nav .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: 6px;
}
.main-nav .submenu a:hover { background: var(--bg); color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--primary); cursor: pointer; }

/* ---------- Hero-Slider ---------- */
.hero-slider { position: relative; height: 560px; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22, 43, 71, 0.82) 0%, rgba(22, 43, 71, 0.45) 60%, rgba(22, 43, 71, 0.1) 100%);
}
.slide-content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 48px; }
.slide-text {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  max-width: 620px;
}
.slide-line { display: block; }
.slider-arrows { position: absolute; bottom: 24px; right: 48px; z-index: 5; display: flex; gap: 8px; }
.slider-arrows button {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: #fff; font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.slider-arrows button:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Sektionen ---------- */
.section { padding: 72px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 64px; height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-more { text-align: center; margin-top: 32px; }
.section-more a { font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.testimonial-title { font-size: 1.05rem; color: var(--primary); }
.testimonial-text { font-size: 0.95rem; color: var(--text-light); flex-grow: 1; }
.testimonial-author { font-weight: 700; color: var(--accent-dark); font-size: 0.9rem; }
.testimonial-stars { color: var(--accent); letter-spacing: 2px; }
.testimonial-full { min-height: 220px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--text-light); flex-grow: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }

/* ---------- Stellenmarkt ---------- */
.stellenmarkt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.stellenmarkt-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  text-align: center;
}
.stellenmarkt-card h3 { color: var(--primary); }
.stellenmarkt-card .btn { align-self: center; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.team-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-card h3 { margin-top: 16px; padding: 0 16px; }
.team-titel { color: var(--text-light); font-size: 0.9rem; padding: 8px 16px 20px; }

/* ---------- Standorte ---------- */
.standort-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.standort-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.standort-card img { width: 100%; height: 180px; object-fit: cover; }
.standort-card h3 { padding: 20px 24px 0; }
.standort-ort { padding: 8px 24px 0; color: var(--text-light); }
.standort-hinweis { padding: 8px 24px 0; font-style: italic; color: var(--text-light); font-size: 0.9rem; }
.standort-kontakt { padding: 12px 24px 24px; font-size: 0.9rem; }

/* ---------- Kontaktformular ---------- */
.kontakt-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--primary); }
.form-field input[type="text"], .form-field input[type="email"], .form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}
.form-checkbox { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.85rem; }
.form-checkbox input { margin-top: 4px; }
.form-checkbox label { font-weight: 400; color: var(--text-light); }
.kontakt-form .btn { align-self: flex-start; }

/* ---------- Unterseiten ---------- */
.page-section { padding: 72px 0; }
.page-container { max-width: 860px; }
.page-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 32px; }
.page-container p { margin-bottom: 20px; color: var(--text-light); }
.page-container h2 { margin: 40px 0 16px; color: var(--primary); }
.page-container h3 { margin: 28px 0 12px; }
.page-container ul, .page-container li { margin-left: 20px; color: var(--text-light); }

/* Coaching-Pakete */
.coaching-paket {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.coaching-paket li { margin-left: 20px; margin-bottom: 6px; }
.azav-hinweis {
  display: flex; align-items: center; gap: 12px;
  background: #fff8ef;
  border: 1px solid #fcd9a8;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 32px;
}
.dekra-logo { height: 40px; }

/* Business-/Unternehmer-Sektionen */
.business-sektion {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

/* Job-Filter (Stellenangebote/-gesuche) */
.job-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label { font-weight: 600; font-size: 0.85rem; color: var(--primary); }
.filter-field input[type="text"] {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
}
.filter-check { flex-direction: row; align-items: center; gap: 8px; }
.filter-check label { font-weight: 400; color: var(--text); }
.job-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.job-empty p { margin-bottom: 8px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pagination a {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
}
.pagination a:hover, .pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #cbd5e1; padding: 40px 0; margin-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-copy { font-size: 0.9rem; }
.footer-links { display: flex; list-style: none; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #cbd5e1; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 85vh; overflow-y: auto; }
  .main-nav .menu { flex-direction: column; padding: 16px 24px; }
  .main-nav .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .hero-slider { height: 420px; }
  .slide-content { padding: 0 24px; }
  .slider-arrows { right: 24px; }
  .section { padding: 48px 0; }
}

@media (max-width: 600px) {
  .hero-slider { height: 360px; }
  .slide-text { font-size: 1.4rem; }
  .testimonial-grid, .service-grid, .team-grid, .standort-grid { grid-template-columns: 1fr; }
  .kontakt-form { padding: 24px; }
}
