/* =========================================
   VIRTUS VERLAG — Main Stylesheet
   ========================================= */

/* --- Variables & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:      #080d1a;
  --navy-mid:  #0e1628;
  --navy-card: #111929;
  --navy-border: rgba(255,255,255,0.07);
  --gold:      #f5c842;
  --gold-dark: #d4a820;
  --white:     #ffffff;
  --text-muted: #8a9bbf;
  --text-body:  #c5cfe8;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --transition: 0.25s ease;
  --max-w: 1140px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--navy);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-gold {
  color: var(--gold);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(8, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
  transition: background var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo img {
  width: 38px;
  height: 38px;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
  cursor: pointer;
}

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

.btn-nav {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-nav:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--navy-border);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--navy-border);
  cursor: pointer;
  transition: color var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245, 200, 66, 0.06) 0%, transparent 60%),
              linear-gradient(135deg, rgba(8,13,26,0.98) 0%, rgba(14,22,40,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(245, 200, 66, 0.25);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 200, 66, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-value span {
  color: var(--gold);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  background: var(--navy-mid);
}

.services-header {
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(245, 200, 66, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 200, 66, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================
   ABOUT
   ========================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  border-radius: 16px;
  opacity: 0.85;
}

.about-visual-fallback {
  background: linear-gradient(135deg, var(--navy-card) 0%, rgba(245, 200, 66, 0.08) 100%);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-visual-fallback .big-icon {
  font-size: 80px;
  opacity: 0.5;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-text p:last-of-type {
  margin-bottom: 36px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
}

.about-feature::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(245, 200, 66, 0.15);
  border-radius: 50%;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}

/* =========================================
   WHY US
   ========================================= */
.whyus {
  background: var(--navy-mid);
}

.whyus-header {
  text-align: center;
  margin-bottom: 60px;
}

.whyus-header .section-subtitle {
  margin: 0 auto;
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.whyus-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.whyus-card:hover {
  border-color: rgba(245, 200, 66, 0.25);
  transform: translateY(-3px);
}

.whyus-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(245, 200, 66, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.whyus-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.whyus-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-detail-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-detail-text span {
  font-size: 15px;
  color: var(--text-body);
}

.contact-form {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 40px 36px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245, 200, 66, 0.04);
}

.form-group select option {
  background: var(--navy-mid);
  color: var(--white);
}

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

.btn-form {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font);
}

.btn-form:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--navy-border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* =========================================
   IMPRESSUM MODAL
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px 20px;
  border-bottom: 1px solid var(--navy-border);
  position: sticky;
  top: 0;
  background: var(--navy-mid);
  z-index: 1;
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition);
  border-radius: 6px;
}

.modal-close:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.modal-body {
  padding: 32px 36px 36px;
}

.modal-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-top: 28px;
  margin-bottom: 10px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.modal-body p.placeholder {
  color: rgba(245, 200, 66, 0.6);
  font-style: italic;
}

.modal-divider {
  height: 1px;
  background: var(--navy-border);
  margin: 24px 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .nav-links,
  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-stats {
    gap: 32px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-header,
  .modal-body {
    padding-left: 24px;
    padding-right: 24px;
  }

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