/* =========================================================
   HÜBNER HÖRGERÄTE – Recruiting Funnel
   Design: Poppins · Weiß/Anthrazit · warmer Honig-Gold-Akzent
   Mobile-first
   ========================================================= */

:root {
  --ink:       #1C1B19;   /* warmes Anthrazit (Text) */
  --ink-soft:  #565049;   /* gedämpfter Text */
  --bg:        #FFFFFF;
  --cream:     #FAF6F0;   /* warmer Sektions-Hintergrund */
  --line:      #ECE6DD;   /* Trennlinien / Rahmen */
  --gold:      #BC8A3C;   /* Akzent (CTA, Highlights) */
  --gold-dark: #9E7128;   /* Hover */
  --gold-soft: #F3E9D6;   /* heller Gold-Hintergrund */
  --green:     #25876B;   /* Erfolg */
  --whatsapp:  #25D366;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 40px rgba(28, 27, 25, 0.08);
  --shadow-lg: 0 20px 60px rgba(28, 27, 25, 0.14);
  --maxw:      1120px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 700; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
a  { color: inherit; }

.accent { color: var(--gold); }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; }

.section { padding: 72px 0; }
.section-lead {
  max-width: 640px; margin: 14px auto 0;
  color: var(--ink-soft); font-size: 1.05rem;
}
.section-cream { background: var(--cream); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { filter: brightness(0.94); transform: translateY(-2px); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: flex; align-items: center; line-height: 1; text-decoration: none; }
/* weißes Logo per Filter dunkel einfärben für den hellen Header */
.brand-logo { height: 68px; width: auto; display: block; filter: brightness(0); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; min-height: 600px;
  background-image:
    linear-gradient(100deg,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.93) 32%,
      rgba(255,255,255,0.66) 58%,
      rgba(255,255,255,0.28) 100%),
    url("assets/hero-team.webp");
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat;
  padding: 72px 0 84px;
}
.hero-glow { display: none; }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 30px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
/* Ghost-Button im Hero: schwarzer Rahmen, damit er auf dem Foto sichtbar ist */
.hero-cta-row .btn-ghost { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,0.55); }
.hero-cta-row .btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-trust li { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }

/* ===== JOBS ===== */
.section-jobs h2 { margin-top: 4px; }
.job-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.job-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all 0.25s ease;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.job-icon { font-size: 2.2rem; margin-bottom: 16px; }
.job-card h3 { margin-bottom: 12px; }
.job-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 20px; }
.job-apply { color: var(--gold); font-weight: 600; text-decoration: none; }
.job-apply:hover { color: var(--gold-dark); }

/* ===== BENEFITS ===== */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.benefit {
  background: var(--bg); border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid var(--line);
}
.benefit-ic { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.benefit h4 { font-size: 1.02rem; margin-bottom: 8px; font-weight: 600; }
.benefit p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===== QUOTE ===== */
.quote-section { background: var(--ink); color: #fff; text-align: center; }
.quote-inner { max-width: 760px; }
.quote-mark { font-size: 4rem; line-height: 0.5; color: var(--gold); font-family: Georgia, serif; }
.quote-section blockquote { font-size: clamp(1.3rem, 3.4vw, 1.9rem); font-weight: 500; line-height: 1.4; margin: 18px 0; }
.quote-author { color: var(--gold); font-weight: 500; letter-spacing: 0.04em; }

/* ===== FORM / FUNNEL ===== */
.section-form { background: var(--cream); }
.form-wrap { max-width: 620px; }
.funnel-card {
  background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 34px 30px; margin-top: 34px; border: 1px solid var(--line);
}
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 33%; background: var(--gold); border-radius: 999px; transition: width 0.35s ease; }
.step-counter { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 22px; font-weight: 500; }

.step { display: none; animation: fade 0.35s ease; }
.step-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-title { margin-bottom: 22px; font-size: 1.3rem; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 14px; cursor: pointer; transition: all 0.18s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  font-size: 1.5rem;
}
.choice span { font-size: 0.98rem; }
.choice:hover { border-color: var(--gold); background: var(--gold-soft); }
.choice.selected { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(188,138,60,0.15); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color 0.18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }

.optional { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.field-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.file-drop {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 2px dashed var(--line); border-radius: var(--radius-sm);
  background: var(--cream); cursor: pointer; transition: border-color 0.18s ease;
}
.file-drop:hover { border-color: var(--gold); }
.file-btn {
  flex-shrink: 0; font-weight: 600; font-size: 0.88rem; color: #fff;
  background: var(--gold); border-radius: 999px; padding: 9px 16px;
}
.file-drop:hover .file-btn { background: var(--gold-dark); }
.file-name { font-size: 0.9rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-name.has-file { color: var(--ink); font-weight: 500; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); margin: 6px 0 20px; }
.consent input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--gold); }
.consent a { color: var(--gold); }

.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.step-nav .btn-back { padding-left: 18px; padding-right: 18px; }
.step[data-step="2"] .step-nav,
.step[data-step="3"] .step-nav,
.step[data-step="5"] .step-nav,
.step[data-step="6"] .step-nav { justify-content: flex-start; margin-top: 22px; }
.step[data-step="4"] .step-nav,
.step[data-step="7"] .step-nav { margin-top: 22px; }
.step[data-step="7"] .step-nav .btn-primary { flex: 1; }

.step-hint { color: var(--ink-soft); font-size: 0.92rem; margin: -12px 0 20px; }

/* Mobilitäts-Schritt: zwei Unterfragen */
.subq { font-weight: 600; font-size: 1rem; margin: 18px 0 10px; }
.choice-inline { grid-template-columns: 1fr 1fr; }
.choice-inline .choice { flex-direction: row; gap: 9px; padding: 14px 16px; font-size: 1.3rem; }
.choice-inline .choice span { font-size: 1rem; }

.form-error { color: #c0392b; font-size: 0.9rem; margin-top: 12px; font-weight: 500; }

/* SUCCESS */
.step-success { text-align: center; }
.success-check {
  width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 2.4rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; animation: pop 0.4s ease;
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.step-success p { color: var(--ink-soft); margin-bottom: 10px; }
.success-quick { margin-top: 18px; font-weight: 500; color: var(--ink); }
.btn-whatsapp { margin-top: 14px; }

/* ALT CONTACT */
.alt-contact { text-align: center; margin-top: 28px; }
.alt-contact p { color: var(--ink-soft); font-size: 0.95rem; }
.phone-link { font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.phone-link:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink); color: #cfc8bf; padding: 56px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-logo { height: 92px; width: auto; display: block; }
.footer-tag { margin-top: 16px; font-style: italic; color: #9a938a; max-width: 240px; }
.footer-locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-locations h5 { color: var(--gold); font-size: 0.95rem; margin-bottom: 8px; letter-spacing: 0.04em; }
.footer-locations p { font-size: 0.9rem; line-height: 1.7; }
.footer-locations a { color: #cfc8bf; text-decoration: none; }
.footer-locations a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem; color: #8b847b;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--gold); color: #fff; text-align: center; text-decoration: none;
  font-weight: 600; padding: 15px; border-radius: 999px; box-shadow: var(--shadow-lg);
}

/* ===== TRUST-BAND ===== */
.trust-band { background: var(--ink); color: #fff; padding: 22px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-ic { font-size: 1.7rem; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.98rem; font-weight: 600; }
.trust-item span { display: block; font-size: 0.8rem; color: #b3aca2; }

/* ===== BENEFIT HIGHLIGHT (Firmenwagen) ===== */
.benefit-highlight {
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 12px 30px rgba(188,138,60,0.30);
}
.benefit-highlight h4 { color: #fff; }
.benefit-highlight p { color: rgba(255,255,255,0.92); }

/* ===== PROCESS / SO LÄUFT'S ===== */
.section-process { background: var(--bg); }
.process-grid {
  display: flex; align-items: stretch; justify-content: center; gap: 14px;
  margin-top: 46px; flex-wrap: nowrap;
}
.process-step {
  flex: 1; max-width: 300px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
}
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #fff;
  font-weight: 700; font-size: 1.3rem; margin-bottom: 16px;
}
.process-step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; color: var(--ink-soft); }
.process-arrow { display: flex; align-items: center; color: var(--gold); font-size: 1.8rem; font-weight: 700; }

/* ===== FAQ ===== */
.section-faq { background: var(--cream); }
.faq-wrap { max-width: 760px; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 16px 30px 16px 0; list-style: none;
  position: relative; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); font-weight: 400; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; color: var(--ink-soft); font-size: 0.95rem; }

/* ===== FORM BADGE ===== */
.form-badge {
  text-align: center; margin: 16px auto 0; font-size: 0.85rem; font-weight: 500;
  color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 18px; width: fit-content;
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .job-grid { grid-template-columns: 1fr 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .process-grid { flex-direction: column; align-items: center; }
  .process-step { max-width: 420px; width: 100%; }
  .process-arrow { transform: rotate(90deg); }
}

@media (max-width: 600px) {
  .section { padding: 54px 0; }
  .hero {
    padding: 40px 0 54px; min-height: auto;
    background-image:
      linear-gradient(180deg,
        rgba(255,255,255,0.94) 0%,
        rgba(255,255,255,0.88) 45%,
        rgba(255,255,255,0.74) 100%),
      url("assets/hero-team.webp");
    background-position: center, center top;
  }
  .hero-cta-row .btn { flex: 1; min-width: 100%; }
  .header-cta { display: none; }
  .header-inner { height: 78px; }
  .brand-logo { height: 58px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr; max-width: 460px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .trust-item { flex-direction: column; text-align: center; gap: 6px; }
  .footer-locations { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .funnel-card { padding: 26px 20px; }
  .choice { padding: 18px 10px; }
  .sticky-cta { display: block; }
  /* Platz für sticky CTA */
  .site-footer { padding-bottom: 90px; }
}

@media (min-width: 601px) {
  .sticky-cta { display: none !important; }
}
