:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --ink: #1a1d24;
  --muted: #5b6270;
  --accent: #2f5bea;
  --accent-dark: #1f43be;
  --border: #e3e5ea;
  --radius: 14px;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container.narrow {
  max-width: 720px;
}

.center {
  text-align: center;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

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

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* Background globe — fixed canvas, faded in only while the
   "globe stage" (hero + services) is in the viewport. */
#globe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#globe-canvas.is-active {
  opacity: 1;
}

.globe-stage { position: relative; }

/* Lift every layout element above the fixed canvas. */
.site-header,
main,
.site-footer { position: relative; z-index: 1; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  background: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 720px;
}

.lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.3px;
  margin-bottom: 32px;
}

.section.narrow p,
.container.narrow p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.container.narrow h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}

.container.narrow h2 {
  font-size: 1.2rem;
  margin: 28px 0 6px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

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

.section-alt .card {
  background: var(--bg);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 29, 36, 0.08);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */
#contact .btn {
  font-size: 1.05rem;
}

/* Impressum extras */
.muted {
  color: var(--muted);
}

.note {
  margin-top: 32px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .nav-links {
    gap: 16px;
  }
  .hero {
    padding: 70px 0 60px;
  }
  .section {
    padding: 60px 0;
  }
}
