/* Nunito Font - Local */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/nunito-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/nunito-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/nunito-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/nunito-800.ttf') format('truetype');
}

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

:root {
  --blue-dark: #011E41;
  --orange: #FF6700;
  --orange-light: #FF9900;
  --blue-mid: #023E7D;
  --blue-soft: #5B8CBF;
  --blue-pale: #D4E1F5;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray: #6B7280;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--blue-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(1, 30, 65, 0.95);
  backdrop-filter: blur(12px);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-logo {
  font-size: 1.4rem; font-weight: 800; color: var(--white);
  letter-spacing: 1px; text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.9; text-decoration: none; }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.95rem;
  font-weight: 500; transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--orange); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--orange); color: white; padding: 0.6rem 1.4rem;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 6rem 2rem 4rem;
}
.hero-bg {
  position: absolute;
  top: -10%; left: -10%; right: -10%; bottom: -10%;
  background-image:
    linear-gradient(135deg, rgba(1, 30, 65, 0.85) 0%, rgba(2, 62, 125, 0.75) 60%, rgba(91, 140, 191, 0.65) 100%),
    url('images/Home_Produktion.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
  transform: scale(1.1);
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,103,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,140,191,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.1); color: white;
  padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 1.5rem;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem; color: white; max-width: 600px;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: white; padding: 0.9rem 2rem; border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: all 0.3s; border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,103,0,0.3);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255,103,0,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: white; padding: 0.9rem 2rem; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.25); transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }

/* STATS */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; padding: 3rem 2rem; max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 10;
}
.stat-card {
  background: white; border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
  box-shadow: 0 8px 30px rgba(1,30,65,0.08); transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-icon {
  width: 48px; height: 48px; margin: 0 auto 1rem;
  color: var(--orange);
}
.stat-icon svg { width: 100%; height: 100%; }
.stat-number { font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); }
.stat-label { font-size: 0.85rem; color: var(--gray); margin-top: 0.4rem; line-height: 1.5; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; color: var(--blue-dark); }
.section-header p { color: var(--gray); font-size: 1.05rem; }
.section-header .accent-line {
  width: 50px; height: 3px; background: var(--orange); margin: 1rem auto 0; border-radius: 2px;
}

/* PRODUCTS */
.products { background: var(--gray-light); }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.product-card {
  background: white; border-radius: 16px; padding: 2.2rem 1.5rem; text-align: center;
  transition: all 0.3s; cursor: default;
  border: 1px solid transparent;
  box-shadow: 0 2px 12px rgba(1,30,65,0.04);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(1,30,65,0.1);
  border-color: var(--orange);
}
.product-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--blue-pale), rgba(212,225,245,0.5));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  transition: background 0.3s;
}
.product-card:hover .product-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}
.product-card:hover .product-icon svg { stroke: white; }
.product-icon svg { width: 30px; height: 30px; stroke: var(--blue-mid); stroke-width: 1.8; fill: none; }
.product-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

/* BRANCHES */
.branches { background: white; }
.branch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.branch-card {
  background: var(--gray-light); border-radius: 16px; padding: 2.2rem 1.5rem;
  text-align: center; transition: all 0.3s; border: 1px solid transparent;
}
.branch-card:hover {
  background: white; border-color: var(--orange);
  box-shadow: 0 8px 30px rgba(1,30,65,0.08); transform: translateY(-6px);
}
.branch-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 1.2rem;
  background: var(--blue-dark); display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.branch-card:hover .branch-icon { background: var(--orange); }
.branch-icon svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; fill: none; }
.branch-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.branch-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }
@media (max-width: 768px) { .branch-grid { grid-template-columns: 1fr; } }

/* ADVANTAGES */
.advantages { background: white; }
.adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.adv-card {
  display: flex; gap: 1.2rem; padding: 1.5rem; border-radius: 12px;
  transition: background 0.3s;
}
.adv-card:hover { background: var(--gray-light); }
.adv-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
}
.adv-icon svg { width: 22px; height: 22px; stroke: white; stroke-width: 2; fill: none; }
.adv-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.adv-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

/* CONTACT CTA */
.contact-cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  text-align: center; color: white; padding: 5rem 2rem;
}
.contact-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.contact-cta p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2rem; font-size: 1.05rem; }
.contact-info { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.7); font-size: 0.95rem;
}
.contact-item svg { width: 18px; height: 18px; stroke: var(--orange); stroke-width: 2; fill: none; }

/* FOOTER */
footer {
  background: var(--blue-dark); color: rgba(255,255,255,0.6);
  padding: 0; font-size: 0.9rem;
}
.footer-content {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; max-width: 1100px; margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
}
.footer-logo {
  font-size: 1.4rem; font-weight: 800; color: var(--white);
  letter-spacing: 1px; margin-bottom: 0.8rem;
}
.footer-logo span { color: var(--orange); }
.footer-company p { line-height: 1.7; }
.footer-contact h4, .footer-links h4 {
  color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.8rem;
}
.footer-contact p {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;
}
.footer-contact svg {
  width: 16px; height: 16px; stroke: var(--orange); stroke-width: 2; fill: none; flex-shrink: 0;
}
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--orange); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; padding: 1.2rem 2rem; font-size: 0.82rem;
}
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: rgba(1,30,65,0.98);
    padding: 1.5rem 2rem; gap: 1.2rem;
  }
  .stats { margin-top: 1rem; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card { padding: 1.2rem; }
  .stat-number { font-size: 1.1rem; }
  .hero h1 { font-size: 2rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card { padding: 1.5rem 1rem; }
  .branch-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
