/* ============================================
   FIBERTOOLS – style.css
   Industrial / Dark / Orange
   ============================================ */

:root {
  --orange: #D4500A;
  --orange-light: #F06020;
  --orange-dim: rgba(212, 80, 10, 0.15);
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --dark3: #222222;
  --grey: #888888;
  --grey-light: #AAAAAA;
  --white: #F5F0EB;
  --white-dim: rgba(245, 240, 235, 0.07);
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --nav-h: 72px;
  --radius: 2px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================
   NOISE OVERLAY
   ============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,80,10,0.2);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10,10,10,0.98);
  border-bottom-color: rgba(212,80,10,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  mix-blend-mode: lighten;
  background: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-light);
  border-color: rgba(212,80,10,0.3);
  background: var(--orange-dim);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}

.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,80,10,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(245,240,235,0.3);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(212,80,10,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212,80,10,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,80,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,80,10,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-accent {
  color: var(--orange);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}

.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */
.section-label {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 3rem;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 8rem 0;
  background: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
}

.product-card {
  display: block;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: rgba(212,80,10,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,80,10,0.2);
}

.product-card-img {
  position: relative;
  height: 280px;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.placeholder-img {
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark2) 100%);
  position: relative;
}

.placeholder-img::after {
  content: 'VFL V2';
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(212,80,10,0.15);
  position: absolute;
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  z-index: 2;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212,80,10,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card-overlay span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-body {
  padding: 2rem;
}

.product-tag {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-specs span {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  background: var(--white-dim);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* ============================================
   USPs
   ============================================ */
.usps {
  padding: 6rem 0;
  background: var(--black);
  border-top: 1px solid rgba(212,80,10,0.15);
  border-bottom: 1px solid rgba(212,80,10,0.15);
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.usp {
  text-align: center;
}

.usp-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.usp h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.usp p {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo img {
  height: 50px;
  width: auto;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--orange-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey);
  opacity: 0.6;
}

/* ============================================
   PRODUCT DETAIL PAGES
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(212,80,10,0.1) 0%, transparent 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.page-hero .breadcrumb a {
  color: var(--orange);
  transition: var(--transition);
}
.page-hero .breadcrumb a:hover { color: var(--orange-light); }
.page-hero .breadcrumb span { margin: 0 0.5rem; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--grey-light);
  max-width: 560px;
  line-height: 1.7;
}

.product-detail {
  padding: 6rem 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.product-detail-images {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.product-main-img {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  margin-bottom: 1rem;
}

.product-main-img img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.product-thumbs {
  display: flex;
  gap: 0.75rem;
}

.product-thumb {
  flex: 1;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--orange);
}

.product-thumb img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-info .product-tagline {
  font-size: 1rem;
  color: var(--orange);
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.product-info .product-desc {
  font-size: 0.95rem;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}

.specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  width: 45%;
}

.specs-table td:last-child {
  color: var(--white);
}

.product-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   KONTAKT PAGE
   ============================================ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 6rem 0;
}

.kontakt-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
}

.kontakt-card:hover {
  border-color: rgba(212,80,10,0.3);
}

.kontakt-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.kontakt-card .role {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.kontakt-card .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--grey-light);
}

.kontakt-card .contact-line .icon {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.kontakt-card a {
  color: var(--orange-light);
  transition: var(--transition);
}

.kontakt-card a:hover {
  color: var(--white);
}

/* ============================================
   IMPRESSUM
   ============================================ */
.impressum-content {
  padding: 6rem 0;
  max-width: 700px;
}

.impressum-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  margin: 2.5rem 0 1rem;
}

.impressum-content h2:first-child { margin-top: 0; }

.impressum-content p {
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* ============================================
   COMING SOON SECTION
   ============================================ */
.coming-soon-section {
  padding: 6rem 0;
  text-align: center;
}

.coming-soon-section .big-label {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  color: rgba(212,80,10,0.1);
  line-height: 1;
  margin-bottom: 2rem;
}

.coming-soon-section p {
  font-size: 1rem;
  color: var(--grey);
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   PAGE TRANSITIONS (FADE IN)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeIn 0.7s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.35s; }
.fade-in-delay-4 { animation-delay: 0.5s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-images { position: static; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212,80,10,0.2);
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .hero-scroll { display: none; }

  .usps-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .products-grid { grid-template-columns: 1fr; }

  .sparen-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
  .usps-grid { grid-template-columns: 1fr; }
}
