/* =====================================================
   depottrade-b2b.de
   Design: Industriell & sachlich – Stahlblau + Orange
   ===================================================== */

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

:root {
  --blue:        #1e3a5f;
  --blue-mid:    #2a4f7c;
  --blue-light:  #e8f0f9;
  --orange:      #f97316;
  --orange-d:    #ea6c0a;
  --orange-light:#fff7ed;
  --text:        #1a2332;
  --muted:       #5a6a7e;
  --border:      #dde4ed;
  --bg:          #f4f6f9;
  --white:       #ffffff;
  --radius-sm:   0.35rem;
  --radius:      0.7rem;
  --radius-lg:   1.1rem;
  --shadow-sm:   0 1px 4px rgba(30,58,95,0.07);
  --shadow:      0 4px 20px rgba(30,58,95,0.1);
  --shadow-lg:   0 12px 48px rgba(30,58,95,0.15);
  --transition:  0.22s ease;
  --max-w:       1160px;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--blue);
  color: rgba(255,255,255,0.5);
  font-size: 0.77rem;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.topbar a:hover { color: var(--orange); }
.topbar-right { display: flex; gap: 1.5rem; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  position: sticky; top: 0; z-index: 200;
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.25rem; font-weight: 900;
  color: var(--blue); letter-spacing: -0.03em;
}
.logo-mark {
  background: var(--orange);
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900;
  flex-shrink: 0;
}
.logo .dot { color: var(--orange); }

.nav-links { display: flex; gap: 0.1rem; list-style: none; }
.nav-links a {
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
  padding: 0.45rem 0.8rem; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  padding: 0.45rem 1.1rem !important; border-radius: var(--radius-sm) !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(--blue); border-radius: 2px; transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 6.5rem 0 5.5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-d) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem; align-items: center; position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: #fdba74;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 2rem; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero h1 strong { color: var(--orange); }
.hero p {
  color: rgba(255,255,255,0.62);
  font-size: 1.05rem; max-width: 500px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(6px);
}
.hero-panel-title {
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--orange); margin-bottom: 1.25rem;
}
.hero-stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1.25rem;
}
.hero-stat {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 1rem; text-align: center;
}
.hero-stat .num {
  font-size: 1.8rem; font-weight: 900;
  color: var(--orange); line-height: 1; display: block;
}
.hero-stat .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.2rem; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-cat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem;
  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(249,115,22,0.35);
}
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--white); font-weight: 800; }
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--border); }
.btn-outline-blue:hover { border-color: var(--orange); color: var(--orange); }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem; text-align: center;
}
.stat-num { font-size: 2.1rem; font-weight: 900; color: var(--orange); line-height: 1; letter-spacing: -0.04em; }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; font-weight: 500; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block; color: var(--orange);
  font-size: 0.73rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem;
}
.section-sub { color: var(--muted); max-width: 560px; font-size: 1rem; }
.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);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.card-icon {
  width: 48px; height: 48px; background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--blue); }
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ===== PRODUKT-KATEGORIEN ===== */
.kat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.kat-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.75rem 1.5rem;
  transition: all var(--transition); cursor: default;
  box-shadow: var(--shadow-sm);
}
.kat-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.kat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.kat-card h3 { font-size: 0.97rem; font-weight: 800; color: var(--blue); margin-bottom: 0.3rem; }
.kat-card p { font-size: 0.82rem; color: var(--muted); }
.kat-count {
  display: inline-block; background: var(--orange-light); color: var(--orange);
  font-size: 0.72rem; font-weight: 800; padding: 0.15rem 0.55rem;
  border-radius: 2rem; margin-top: 0.6rem;
}

/* ===== 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);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--border); border-left: 4px solid var(--orange);
}
.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.75; margin-bottom: 1.25rem; font-style: italic; }
.ref-author strong { display: block; font-size: 0.9rem; font-weight: 800; color: var(--blue); }
.ref-author span { font-size: 0.8rem; color: var(--muted); }

/* ===== PROZESS ===== */
.prozess-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-top: 3rem; position: relative;
}
.prozess-step { text-align: center; padding: 0 1rem; }
.prozess-num {
  width: 54px; height: 54px; background: var(--orange);
  color: var(--white); border-radius: 50%;
  font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.prozess-step h3 { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 0.4rem; }
.prozess-step p { font-size: 0.87rem; color: var(--muted); }

/* ===== CTA ===== */
.cta-section {
  background: var(--blue); color: var(--white);
  text-align: center; padding: 5.5rem 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--orange);
}
.cta-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900; margin-bottom: 1rem; letter-spacing: -0.03em;
}
.cta-section p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 2rem; }

/* ===== KONTAKT ===== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.7fr;
  gap: 3rem; align-items: start; margin-top: 3rem;
}
.contact-info h3 { font-size: 1.15rem; font-weight: 900; color: var(--blue); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; 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-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.contact-detail strong { display: block; font-weight: 700; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.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.83rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--blue); }
.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-sm);
  font-family: var(--font); 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.83rem; 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(--blue); color: var(--white); padding: 4rem 0 3.5rem; border-bottom: 4px 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.2); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.58); font-size: 1.03rem; }

/* ===== PROSE ===== */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; font-weight: 800; margin: 2.5rem 0 0.75rem; color: var(--blue); }
.prose h3 { font-size: 1.05rem; font-weight: 700; margin: 1.75rem 0 0.5rem; color: var(--blue); }
.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; }

/* ===== KARRIERE ===== */
.job-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.1rem; }
.job-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.6rem 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  transition: all var(--transition);
}
.job-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }
.job-info h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue); margin-bottom: 0.35rem; }
.job-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.job-tag { background: var(--orange-light); color: var(--orange); font-size: 0.75rem; font-weight: 700; padding: 0.18rem 0.6rem; border-radius: 2rem; }
.job-tag.blue { background: var(--blue-light); color: var(--blue-mid); }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.team-avatar {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin: 0 auto 1rem; color: var(--white);
}
.team-card h3 { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 0.2rem; }
.team-card .role { font-size: 0.82rem; color: var(--orange); font-weight: 700; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.84rem; color: var(--muted); }

/* ===== LEISTUNG BLOCKS ===== */
.leistung-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 5rem; }
.leistung-block:nth-child(even) { direction: rtl; }
.leistung-block:nth-child(even) > * { direction: ltr; }
.leistung-visual {
  background: var(--blue); border-radius: var(--radius-lg);
  padding: 3rem; text-align: center; font-size: 5rem;
  min-height: 220px; display: flex; align-items: center; justify-content: center;
}
.leistung-content h2 { font-size: 1.65rem; font-weight: 900; color: var(--blue); margin-bottom: 0.75rem; }
.leistung-content p { color: var(--muted); margin-bottom: 1rem; font-size: 0.97rem; line-height: 1.8; }
.check-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.check-list li { padding: 0.38rem 0 0.38rem 1.5rem; position: relative; font-size: 0.93rem; color: var(--text); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

/* ===== NOTICE ===== */
.notice { background: var(--orange-light); border: 1px solid #fed7aa; border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-size: 0.88rem; color: #9a3412; margin-bottom: 2rem; }

/* ===== FOOTER ===== */
footer { background: var(--blue); color: rgba(255,255,255,0.5); padding: 4rem 0 1.5rem; }
.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.08);
}
.footer-brand p { font-size: 0.87rem; line-height: 1.75; max-width: 280px; margin-top: 0.75rem; }
.footer-col h4 { color: var(--white); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.42); 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.32); 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; letter-spacing: -0.05em; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .leistung-block { grid-template-columns: 1fr; }
  .leistung-block:nth-child(even) { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .topbar-right { display: none; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); 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 var(--border); }
  .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; }
}
