/* ======================================================
   RESET & BASICS
====================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: #0b1220;
  line-height: 1.6;
  padding-top: 90px; /* Platz für fixen Header */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ======================================================
   DESIGN TOKENS
====================================================== */

:root {
  --accent: #295fff;
  --accent-soft: rgba(41,95,255,0.1);

  --bg-soft: #f6f8fc;
  --text-muted: #5a6478;
  --border: rgba(0,0,0,0.08);

  --radius-sm: 10px;
  --radius-md: 18px;

  --shadow-sm: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-md: 0 30px 80px rgba(0,0,0,0.14);
}

/* ======================================================
   HEADER (FIX & FUNKTIONAL)
====================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 42px;
}

/* ======================================================
   DESKTOP NAVIGATION
====================================================== */

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: rgba(11,18,32,0.85);
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--accent);
}

/* ======================================================
   DROPDOWN (LEISTUNGEN)
====================================================== */

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0b1220;
}

.nav-dropdown a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ======================================================
   HEADER CTA
====================================================== */

.kontakt-button {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.kontakt-button:hover {
  background: #1f4ee8;
  transform: translateY(-2px);
}

/* ======================================================
   HERO
====================================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11,18,32,0.65),
    rgba(11,18,32,0.45)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
}

.hero-content h1 span {
  color: #a9bcff;
}

.hero-content p {
  font-size: 18px;
  margin-top: 16px;
  max-width: 600px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

/* ======================================================
   BUTTONS
====================================================== */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1f4ee8;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.7);
  color: #ffffff;
}

/* ======================================================
   SECTIONS
====================================================== */

.section {
  padding: 120px 0;
}

/* ======================================================
   SERVICES
====================================================== */

.services-layered {
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
}

.services-headline {
  max-width: 720px;
  margin-bottom: 72px;
}

.services-headline h2 {
  font-size: 42px;
  font-weight: 800;
}

.services-headline p {
  font-size: 18px;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}

.service-tile {
  background: linear-gradient(
    180deg,
    #f4f6fa 0%,
    #eef1f6 100%
  );
  border-radius: 28px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;

  /* Neuer Rahmen */
  border: 1px solid rgba(11,18,32,0.08);

  box-shadow:
    0 16px 32px rgba(0,0,0,0.05);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.service-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(41,95,255,0.35);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.12);
}

.service-index {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.service-index {
  display: none;
}


.service-tile h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: #0b1220;
}

.service-tile p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 28px;
}

.service-highlight {
  font-size: 14px;
  font-weight: 600;
  color: #1f3fff;
  margin-bottom: 32px;
}
.service-highlight {
  display: none;
}

.service-action {
  margin-top: auto;
}

.btn-service {
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
}

/* ======================================================
   STATS
====================================================== */

.stats-blue {
  background: linear-gradient(180deg, #0b1220, #295fff);
  color: #ffffff;
}

.stats-header {
  max-width: 720px;
  margin-bottom: 72px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.stat-card {
  background: #ffffff;
  color: #0b1220;
  padding: 42px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 52px;
  font-weight: 900;
  color: var(--accent);
}

/* ======================================================
   PRODUCT
====================================================== */

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* ======================================================
   CONTACT CTA
====================================================== */

.contact-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}

.contact-cta-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

/* ======================================================
   FOOTER
====================================================== */

.footer {
  background: #0b1220;
  color: #ffffff;
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 56px;
}

.footer-col h4 {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 900px) {

  body {
    padding-top: 80px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ======================================================
   DIGICARDZ – MODERNE PRODUKT SECTION
====================================================== */

.product-section {
  position: relative;
  background:
    radial-gradient(
      1200px 400px at 10% -10%,
      rgba(41,95,255,0.18),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #f6f8fc 0%,
      #ffffff 100%
    );
  overflow: hidden;
}


/* ======================================================
   DIGICARDZ – CLEAN & MODERN
====================================================== */

.product-section {
  background:
    radial-gradient(
      900px 400px at 15% -10%,
      rgba(41,95,255,0.15),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #f6f8fc 0%,
      #ffffff 100%
    );
}

.product-content {
  max-width: 520px;
}

.product-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(41,95,255,0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-content h2 {
  font-size: clamp(36px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
}

.product-intro {
  font-size: 18px;
  font-weight: 500;
  color: #1c2740;
}

.product-text {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-muted);
}

.product-visual img {
  border-radius: 28px;
  box-shadow:
    0 40px 120px rgba(41,95,255,0.25),
    0 10px 30px rgba(0,0,0,0.08);
}

.contact-cta {
  background: #ffffff;
  position: relative;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,0,0,0.08),
    transparent
  );
}


/* ======================================================
   CONTACT CTA – HELLGRAU + BLAUE KACHELN
====================================================== */

.contact-cta {
  background: linear-gradient(
    180deg,
    #f2f4f7 0%,
    #e8ebf0 100%
  );
  color: #0b1220;
}

.contact-cta h2,
.contact-cta h3 {
  color: #0b1220;
}

.contact-cta p {
  color: #4b5568;
}

.contact-cta-card {
  background: linear-gradient(
    180deg,
    #0b1220 0%,
    #101a33 100%
  );
  color: #ffffff;
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow:
    0 40px 80px rgba(11,18,32,0.4);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-cta-card h3 {
  color: #ffffff;

  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 14px;
  position: relative;
}

.contact-cta-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}


.contact-cta-card p {
  color: rgba(255,255,255,0.75);
}

.contact-cta-card .btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.contact-cta-card .btn-primary:hover {
  background: #1f4ee8;
}

