/* ===================================================================
   Makromedia Online GmbH — Stylesheet
   =================================================================== */

:root {
  --navy-950: #14222d;
  --navy-800: #103046;
  --navy-700: #0d3c5c;
  --blue-700: #005288;
  --blue-600: #006eb6;
  --blue-300: #8cbede;
  --paper: #ffffff;
  --paper-dim: #eef1f3;
  --ink-900: #14222d;
  --ink-500: #333333;
  --line: #dfe3e6;

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------------- Skip link / focus ---------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--blue-600);
  color: #ffffff;
  padding: 10px 16px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
}

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 38, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-mark img {
  height: 46px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #cfd8e3;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--blue-600);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--blue-700); }

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

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("../img/hero-network.jpg");
  background-size: cover;
  background-position: right center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(100deg, rgba(8,16,28,0.96) 24%, rgba(10,22,38,0.72) 52%, rgba(10,22,38,0.32) 100%);
}
.hero .wrap {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--blue-300);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  max-width: 15ch;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-300);
}
.hero p {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 1.15rem;
  color: #d7dee8;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-block;
  background: var(--blue-600);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 2px;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.btn-ghost:hover { border-color: #fff; }

/* ---------------- Section shell ---------------- */
section { padding: 96px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--blue-600);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy-950);
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-500);
  font-size: 1.05rem;
}

/* ---------------- Services (signature: connecting path) ---------------- */
.services {
  background: var(--paper);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service + .service {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.service-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-600);
  margin-bottom: 20px;
}
.service h3 {
  font-size: 1.15rem;
  color: var(--navy-950);
  margin-bottom: 12px;
}
.service p {
  color: var(--ink-500);
  font-size: 0.98rem;
  margin: 0 0 16px;
}
.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-900);
}
.service li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--blue-600);
}

@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; border-top: none; }
  .service, .service + .service {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------------- About (signature: node cluster) ---------------- */
.about {
  background: var(--navy-950);
  color: #e9edf1;
}
.about .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.about .section-eyebrow { color: var(--blue-300); }
.about h2 { color: #fff; }
.about p {
  color: #b9c3cf;
  font-size: 1.05rem;
  margin-top: 18px;
}
.about-figure {
  position: relative;
  aspect-ratio: 1 / 1;
}
.about-figure svg { width: 100%; height: 100%; }

@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-figure { max-width: 260px; margin: 0 auto; }
}

/* ---------------- Contact band ---------------- */
.contact {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  color: #fff;
  text-align: center;
}
.contact .wrap { max-width: 720px; }
.contact .section-eyebrow { color: var(--blue-300); justify-content: center; }
.contact h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
.contact p {
  color: #cbd4de;
  margin-top: 16px;
  font-size: 1.05rem;
}
.contact-email {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--blue-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 161, 60, 0.4);
  padding-bottom: 4px;
}
.contact-email:hover { border-color: var(--blue-300); }
.contact-address {
  margin-top: 28px;
  color: #9fabb8;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------------- Footer ---------------- */
footer.site-footer {
  background: var(--navy-950);
  color: #8b97a4;
  padding: 32px 0;
  font-size: 0.88rem;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
footer.site-footer .foot-brand img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}
footer.site-footer a {
  color: #c3ccd6;
  text-decoration: none;
  margin-left: 20px;
}
footer.site-footer a:hover { color: #fff; }
footer.site-footer .foot-links { display: flex; }
footer.site-footer .foot-links a:first-child { margin-left: 0; }

/* ---------------- Legal pages (Impressum / Datenschutz) ---------------- */
.legal-hero {
  background: var(--navy-950);
  color: #fff;
  padding: 64px 0 48px;
}
.legal-hero .wrap { max-width: 760px; }
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.legal-hero p {
  color: var(--blue-300);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}
.legal-body {
  padding: 56px 0 96px;
}
.legal-body .wrap {
  max-width: 760px;
}
.legal-body h2 {
  font-size: 1.25rem;
  color: var(--navy-950);
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-body h3 {
  font-size: 1.02rem;
  color: var(--navy-950);
  margin-top: 26px;
  margin-bottom: 8px;
}
.legal-body p, .legal-body li {
  color: var(--ink-500);
  font-size: 0.98rem;
}
.legal-body ul { padding-left: 20px; }
.legal-body a { color: var(--blue-600); }
.legal-body strong { color: var(--ink-900); }
.legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--paper-dim);
  border-left: 3px solid var(--blue-600);
  font-size: 0.9rem;
  color: var(--ink-500);
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}
