/* ═══════════════════════════════════
   LOCAL FONTS (DSGVO-konform)
═══════════════════════════════════ */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/SourceSans3-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/SourceSans3-Italic.woff2') format('woff2');
}

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

:root {
  --dark: #0e0e0e;
  --dark-mid: #151515;
  --dark-light: #1a1a1a;
  --text: #c8c8c8;
  --text-light: #999;
  --white: #f0f0f0;
  --accent: #e2f04a;
  --accent-dark: #1a1c08;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: auto; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ═══════════════════════════════════
   NAVIGATION
═══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1rem;
  background: rgba(14,14,14,0.0);
  backdrop-filter: blur(0px);
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(226,240,74,0.08);
}

.nav-brand {
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 26px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav { padding: 1rem 1rem; }
  .nav.scrolled { padding: 1rem 0.6rem; }
}

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.65) 0%, rgba(14,14,14,0.45) 40%, rgba(14,14,14,0.88) 100%),
    url('../img/hero-office.jpg') center center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-brand::before,
.hero-brand::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.hero-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.scroll-indicator {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 62px;
  text-decoration: none;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 54px;
  height: 62px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ═══════════════════════════════════
   SECTIONS GENERAL
═══════════════════════════════════ */
.section {
  padding: 7rem 2rem;
}

.section-dark {
  background: var(--dark-mid);
}

.section-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.8;
}

.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ═══════════════════════════════════
   SPLIT SECTIONS
═══════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  background: var(--dark);
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-accent .split-content {
  background: var(--accent);
}

.split-accent .section-tag {
  color: var(--dark);
}

.split-accent .section-title {
  color: var(--dark);
}

.split-accent .section-text {
  color: #333;
}

/* ═══════════════════════════════════
   CTA BUTTON
═══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: #d4e240;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #222;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════
   SERVICES GRID
═══════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.service-card {
  background: var(--dark-light);
  padding: 3rem 2.5rem;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: #1f1f1f;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════════════════════════════════
   STATS BAR
═══════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--accent);
  padding: 4rem 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #444;
  font-weight: 600;
}

/* ═══════════════════════════════════
   CONTACT / FORM
═══════════════════════════════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 3.5rem auto 0;
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid rgba(226,240,74,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--dark-light);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 3rem;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contact-form-card .form-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1.1rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255,255,255,0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #4a4a4a;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(226,240,74,0.03);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: stretch;
  justify-content: center;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form-card {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  background: var(--dark);
  color: #e8ecf1;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-center {
  text-align: center;
  padding: 14px 24px 10px;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-brand img {
  max-height: 28px;
  width: auto;
  display: inline-block;
}

.footer-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin: 0 0 20px;
  font-weight: 400;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

/* ═══════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-content {
    padding: 3.5rem 2rem;
  }

  .split-image {
    min-height: 300px;
  }

  .split.reverse .split-image {
    order: -1;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 2rem;
  }

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

  .section {
    padding: 5rem 1.5rem;
  }
}

/* ═══════════════════════════════════
   LEGAL PAGES (Impressum, Datenschutz)
═══════════════════════════════════ */
.legal-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.legal-page ul {
  list-style: none;
  padding-left: 0;
}

.legal-page ul li::before {
  content: '—';
  color: var(--accent);
  margin-right: 0.6rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-page a:hover {
  color: #d4e240;
}

.legal-page .placeholder {
  background: rgba(226,240,74,0.08);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 400;
}
