/*
 * shared.css — LYDTRIX Automation GmbH
 * Gemeinsame Styles für alle HTML-Seiten
 * ─────────────────────────────────────
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0A2540;
  --accent:  #00C896;
  --blue:    #0070F3;
  --light:   #F6F8FC;
  --mid:     #E8EDF5;
  --gray:    #6B7280;
  --white:   #FFFFFF;
  --red:     #E84545;
  --dark:    #050E1C;
}

html { scroll-behavior: smooth; }

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

/* ── NAVIGATION ── */
nav {
  background: rgba(5, 14, 28, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 62px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.nav-logo-wordmark {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-cta {
  background: var(--accent);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity .18s;
}

.nav-cta:hover { opacity: .85; }

.nav-back {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
}

.nav-back:hover { color: rgba(255,255,255,.85); }

/* ── PAGE HEADER (Unterseiten) ── */
.page-header {
  background: linear-gradient(150deg, #040C1A 0%, #0A2540 100%);
  padding: 72px 40px 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,.08) 0%, transparent 65%);
}

.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-tag {
  display: inline-block;
  background: rgba(0,200,150,.1);
  border: 1px solid rgba(0,200,150,.2);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.page-h1 {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.page-sub {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-logo { text-decoration: none; }

.foot-logo-wordmark {
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.foot-links { display: flex; gap: 20px; }

.foot-link {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .18s;
}

.foot-link:hover { color: rgba(255,255,255,.9); }
.foot-link.active { color: rgba(255,255,255,.9); font-weight: 600; }

.foot-copy {
  font-size: 11.5px;
  color: rgba(255,255,255,.6);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}

@media (max-width: 700px) {
  .page-header { padding: 52px 20px 44px; }
  .page-h1 { font-size: 30px; }
}
