/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #D4580A;
  --orange-light: #E87030;
  --orange-dark: #A84008;
  --blue: #0D2B4E;
  --blue-mid: #1A4570;
  --blue-light: #2563A8;
  --dark: #0A1E35;
  --text: #1a1a1a;
  --text-muted: #555;
  --white: #ffffff;
  --off-white: #F8F6F3;
  --border: #e0e0e0;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

.accent { color: var(--orange); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 30, 53, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: baseline; gap: 2px; }
.logo-joma { font-size: 1.5rem; font-weight: 800; color: var(--orange); letter-spacing: -0.5px; }
.logo-work { font-size: 1.5rem; font-weight: 700; color: var(--white); }
.logo-gmbh { font-size: 0.85rem; font-weight: 400; color: #aab; margin-left: 4px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: #cdd;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

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

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue);
  padding: 12px 24px 20px;
}
.mobile-menu a {
  color: #cdd;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}
.mobile-menu.open { display: flex; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,88,10,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10,30,53,0.93) 0%, rgba(26,69,112,0.80) 60%, rgba(212,88,10,0.25) 100%),
    url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,30,53,0.5) 0%, transparent 50%, rgba(10,30,53,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 700px;
}

.hero-eyebrow {
  color: var(--orange-light);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--orange);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ===== SECTION BASE ===== */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light p { opacity: 0.75; }

.section-tag {
  display: inline-block;
  background: rgba(212,88,10,0.12);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.bg-dark .section-tag {
  background: rgba(212,88,10,0.25);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== LEISTUNGEN CARDS ===== */
.leistungen { background: var(--off-white); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--orange);
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue);
}
.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== BRANCHEN / FEATURES ===== */
.bg-dark { background: var(--dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.feature:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== KUNDEN ===== */
.kunden-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kunde-item {
  background: var(--off-white);
  border-radius: 8px;
  padding: 20px 20px;
  border-left: 3px solid var(--orange);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
}
.kunde-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.kunde-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.kontakt-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kontakt-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all 0.25s;
  text-decoration: none;
}
.kontakt-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.kk-icon {
  margin-bottom: 4px;
  color: var(--orange-light);
  display: flex;
}
.kk-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-light);
}
.kk-value {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.6;
  font-weight: 500;
}

.kontakt-map { display: flex; flex-direction: column; gap: 12px; }
.map-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-light);
}

/* ===== FOOTER ===== */
.footer { background: #060F1C; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer-brand .logo-joma { font-size: 1.3rem; }
.footer-brand .logo-work { font-size: 1.3rem; }
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-links a, .footer-contact p, .footer-contact a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212,88,10,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover { background: var(--orange-dark); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--blue);
  border-top: 3px solid var(--orange);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cookie-text { flex: 1; }
.cookie-text strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.cookie-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}
.cookie-text a { color: var(--orange-light); text-decoration: underline; }
.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--orange-dark); }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cookie-decline:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .btn-cookie-accept, .btn-cookie-decline { flex: 1; text-align: center; }
}

/* ===== IMPRESSUM ===== */
.impressum-page {
  padding-top: 90px;
  background: var(--off-white);
  min-height: 100vh;
}
.impressum-container {
  max-width: 820px;
  padding: 60px 24px 80px;
}
.impressum-hero {
  margin-bottom: 48px;
}
.impressum-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blue);
  margin-top: 14px;
  line-height: 1.2;
}
.impressum-content { display: flex; flex-direction: column; gap: 0; }
.imp-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.imp-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.imp-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.imp-section p:last-child { margin-bottom: 0; }
.imp-section a { color: var(--orange); text-decoration: underline; }
.imp-section a:hover { color: var(--orange-dark); }
.imp-contact-box {
  background: var(--off-white);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 16px 0;
}
.imp-contact-box strong {
  display: block;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 12px;
}
.imp-contact-box p {
  margin-bottom: 10px !important;
}
.imp-rights {
  background: var(--blue);
}
.imp-rights h2 {
  color: var(--white);
  border-bottom-color: var(--orange);
}
.imp-rights p { color: rgba(255,255,255,0.75); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .kunden-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .kunden-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-content h1 { font-size: 2.2rem; word-break: break-word; }
  .hero-sub { font-size: 1rem; }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 24px 28px; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .kunden-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .section { padding: 56px 0; }
  .kontakt-card { padding: 20px; }
  .hero-content { padding: 90px 16px 50px; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-eyebrow { font-size: 0.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-num { font-size: 1.6rem; }
  .section-header { margin-bottom: 36px; }
  .imp-section { padding: 24px 16px; }
  .impressum-container { padding: 40px 16px 60px; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .kontakt-info { gap: 20px; }
}
