/* =====================================================
   hboss-klima.de – HBOSS Klimatechnik GmbH
   Design: Industriell-bold – Anthrazit + Orange + Weiß
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark:       #1c1c1e;
  --dark-mid:   #2c2c2e;
  --dark-light: #3a3a3c;
  --orange:     #ff6b00;
  --orange-d:   #e05a00;
  --orange-light: #fff3e8;
  --text:       #1c1c1e;
  --muted:      #6b6b6e;
  --border:     #e0e0e0;
  --bg:         #f5f5f7;
  --white:      #ffffff;
  --radius:     0.5rem;
  --radius-lg:  1rem;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.18);
  --transition: 0.2s ease;
  --max-w:      1100px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }

/* HEADER */
header { background: var(--dark); border-bottom: 3px solid var(--orange); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-badge { background: var(--orange); color: var(--white); font-size: 0.85rem; font-weight: 900; padding: 0.4rem 0.75rem; border-radius: var(--radius); letter-spacing: 0.05em; }
.logo-text .name { font-size: 1.15rem; font-weight: 900; color: var(--white); letter-spacing: -0.01em; }
.logo-text .sub { font-size: 0.68rem; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 0.1rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: var(--radius); transition: all var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; }
.nav-cta:hover { background: var(--orange-d) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; }

/* HERO */
.hero { background: var(--dark); color: var(--white); padding: 7rem 0 6rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(135deg, transparent, rgba(255,107,0,0.08)); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--orange) 0%, transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.hero-tag { display: inline-block; background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 480px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-panel { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2rem; }
.hero-panel-title { font-size: 0.72rem; font-weight: 700; color: var(--orange); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero-stat { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.hero-stat .value { font-size: 1.1rem; font-weight: 900; color: var(--orange); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.9rem; border-radius: var(--radius); font-weight: 700; font-size: 0.92rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,0,0.4); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline-white:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-2px); box-shadow: var(--shadow); }

/* SECTION */
.section-label { display: inline-block; color: var(--orange); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1rem; color: var(--dark); }
.section-sub { color: var(--muted); max-width: 560px; font-size: 1rem; line-height: 1.8; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all var(--transition); border-left: 4px solid transparent; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-left-color: var(--orange); }
.card-icon { width: 48px; height: 48px; background: var(--orange-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

/* STATS */
.stats-bar { background: var(--orange); color: var(--white); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 0.35rem; }

/* REFERENZEN */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.ref-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.ref-stars { color: var(--orange); font-size: 0.9rem; margin-bottom: 0.75rem; }
.ref-quote { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; font-style: italic; }
.ref-author strong { display: block; font-size: 0.88rem; font-weight: 800; color: var(--dark); }
.ref-author span { font-size: 0.8rem; color: var(--muted); }

/* JOB LIST */
.job-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }
.job-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: all var(--transition); }
.job-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.job-card h3 { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 0.35rem; }
.job-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.job-tag { background: var(--orange-light); color: var(--orange); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 2rem; }

/* CONTACT */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.contact-info h3 { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.92rem; }
.contact-detail-icon { width: 38px; height: 38px; flex-shrink: 0; background: var(--orange-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.contact-detail strong { display: block; font-weight: 700; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-form-box { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.7rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; color: var(--text); background: var(--bg); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.form-check input { width: auto; margin-top: 3px; }
.form-check a { color: var(--orange); text-decoration: underline; }

/* PAGE HERO */
.page-hero { background: var(--dark); color: var(--white); padding: 4rem 0 3.5rem; border-bottom: 3px solid var(--orange); }
.page-hero-inner { max-width: 720px; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.15); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.55); font-size: 1.02rem; }

/* CTA */
.cta-section { background: var(--dark); color: var(--white); text-align: center; padding: 5.5rem 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, transparent 60%); pointer-events: none; }
.cta-section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 1rem; letter-spacing: -0.02em; position: relative; }
.cta-section p { color: rgba(255,255,255,0.55); max-width: 520px; margin: 0 auto 2rem; position: relative; }

/* PROSE */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; font-weight: 800; margin: 2.5rem 0 0.75rem; color: var(--dark); }
.prose p, .prose ul, .prose ol { color: var(--muted); font-size: 0.97rem; line-height: 1.85; margin-bottom: 0.75rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: 0.3rem; }
.prose a { color: var(--orange); text-decoration: underline; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.45); padding: 4rem 0 1.5rem; border-top: 3px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 0.87rem; line-height: 1.8; max-width: 280px; margin-top: 0.75rem; }
.footer-col h4 { color: var(--orange); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { color: rgba(255,255,255,0.4); font-size: 0.87rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; font-size: 0.78rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* 404 */
.error-page { min-height: 68vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.error-code { font-size: 7rem; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 0.75rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark-mid); border-top: 3px solid var(--orange); padding: 0.75rem 1.5rem 1.25rem; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 0.7rem 0; border-radius: 0; }
  .nav-toggle { display: flex; }
  header { position: relative; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
