/* XOverIP — Corporate Tech Theme */

:root {
  --bg-dark: #0b1220;
  --bg-dark-2: #101a2e;
  --bg-panel: #16223c;
  --border: #223252;
  --text-main: #e7ecf5;
  --text-muted: #9fb0cc;
  --accent: #17c3d6;
  --accent-dim: #0f8fa0;
  --accent-soft: rgba(23, 195, 214, 0.12);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

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

.logo small {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text-main);
  background: var(--accent-soft);
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(1100px 400px at 15% -10%, rgba(23, 195, 214, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(23, 195, 214, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 800;
  max-width: 780px;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #04222a;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,195,214,0.3); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: 72px 0; }

.section-alt { background: var(--bg-dark-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 680px; margin-bottom: 44px; }

.section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2 { font-size: 1.9rem; margin: 0 0 12px; font-weight: 800; }

.section-head p { color: var(--text-muted); margin: 0; }

/* Grid layouts */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }

/* Team cards */
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  background: var(--bg-dark-2);
}

.team-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.team-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.team-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0 0 14px; }
.team-card a.mail { color: var(--accent); font-size: 0.88rem; font-weight: 600; }

/* Service icons */
.icon-badge {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card a.link { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-block; margin-top: 10px; }

/* Cert / gallery cards */
.cert-card { text-align: center; }
.cert-logo {
  width: 88px; height: 88px;
  margin: 0 auto 18px;
  border-radius: 12px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }

.info-list { list-style: none; padding: 0; margin: 24px 0 0; }
.info-list li {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.info-list li strong { color: var(--text-main); min-width: 110px; display: inline-block; }

form.contact-form { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-dark-2);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }

.note-box {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(23,195,214,0.25);
  color: var(--accent);
  font-size: 0.85rem;
}

/* Legal / impressum */
.legal-block { margin-bottom: 30px; }
.legal-block h3 { font-size: 1.05rem; color: var(--accent); margin: 0 0 8px; }
.legal-block p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* Newsletter CTA */
.newsletter {
  text-align: center;
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(23,195,214,0.10), transparent);
}
.newsletter h2 { margin-bottom: 18px; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-dark-2);
}
.footer-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-muted); font-size: 0.85rem;
}
.footer-inner a { color: var(--accent); }

/* Responsive */
@media (max-width: 860px) {
  .nav-wrap { flex-direction: column; gap: 12px; }
  nav.main-nav ul { flex-wrap: wrap; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}
