/* =====================================================
   Smart-Tec – statische Homepage (Redesign)
   Cookie-frei, plugin-frei, keine externen CDNs
   ===================================================== */

/* ------------------ Webfonts (selbstgehostet) ------------------
   Die woff2-Dateien werden unter assets/fonts/ erwartet.
   Solange sie fehlen, greift automatisch der System-Fallback.
   font-display: swap stellt sicher, dass Text sofort sichtbar ist. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ------------------ Design-Tokens ------------------ */
:root {
  /* Farben – dunkler, etwas tiefer für mehr Eleganz */
  --c-bg-dark: #070b24;
  --c-bg-dark-2: #0f1640;
  --c-bg-dark-3: #060a1e;
  --c-primary: #30abf0;
  --c-primary-2: #1c31eb;
  --c-primary-soft: rgba(48, 171, 240, 0.12);
  --c-primary-border: rgba(48, 171, 240, 0.35);
  --c-light: #ffffff;
  --c-light-80: rgba(255, 255, 255, 0.82);
  --c-light-60: rgba(255, 255, 255, 0.62);
  --c-light-40: rgba(255, 255, 255, 0.40);
  --c-light-20: rgba(255, 255, 255, 0.14);
  --c-light-10: rgba(255, 255, 255, 0.07);
  --c-text: #0a1230;
  --c-text-muted: #5a6577;
  --c-text-soft: #7f8a9c;
  --c-section-light: #ffffff;
  --c-section-light-2: #f6f8fc;
  --c-border: #e6eaf2;
  --c-border-strong: #d4dae6;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows – feiner abgestimmt */
  --shadow-xs: 0 1px 2px rgba(10, 18, 48, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 18, 48, 0.05), 0 1px 3px rgba(10, 18, 48, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 18, 48, 0.08), 0 2px 6px rgba(10, 18, 48, 0.05);
  --shadow-lg: 0 20px 50px rgba(10, 18, 48, 0.12), 0 4px 12px rgba(10, 18, 48, 0.06);

  /* Schriften */
  --font-display: "Space Grotesk", "Segoe UI Variable Display", "SF Pro Display",
                  "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI Variable Text", "SF Pro Text",
               "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

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

::selection { background: var(--c-primary); color: #fff; }

/* ------------------ Typografie ------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .6em;
  color: inherit;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -0.015em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 16px;
}

/* ------------------ Layout-Helfer ------------------ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: var(--container-narrow); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px;
  width: auto; height: auto;
  padding: 10px 16px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------ Header ------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 36, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--c-light-10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.header-logo { display: inline-flex; }
.header-logo img { width: 168px; height: auto; }

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0; padding: 0;
}
.primary-nav a {
  color: var(--c-light-80);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 8px 2px;
  position: relative;
  transition: color .2s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--c-light); }
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }

.header-cta { margin-left: 8px; }

.menu-toggle {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  display: none;
  border-radius: var(--radius-sm);
}
.menu-toggle:hover { background: var(--c-light-10); }

@media (max-width: 960px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ------------------ Off-Canvas Mobile-Menü ------------------ */
.off-canvas {
  position: fixed; inset: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.off-canvas.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }

.off-canvas-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 11, 36, 0.6);
  backdrop-filter: blur(4px);
}

.off-canvas-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #fff;
  color: var(--c-text);
  padding: 28px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -16px 0 50px rgba(7, 11, 36, 0.2);
}
.off-canvas.is-open .off-canvas-panel { transform: translateX(0); }

.off-canvas-header { display: flex; align-items: center; justify-content: space-between; }
.menu-close { background: transparent; border: 0; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
.menu-close:hover { background: #f3f5fa; }

.off-canvas-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.off-canvas-links a {
  display: block;
  padding: 14px 6px;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid #eef0f6;
  transition: color .15s;
}
.off-canvas-links a:hover { color: var(--c-primary); }

.off-canvas-cta { display: flex; flex-direction: column; gap: 10px; }

/* ------------------ Buttons ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(48, 171, 240, 0.35);
}
.btn-primary:hover {
  background: var(--c-primary-2);
  box-shadow: 0 10px 28px rgba(28, 49, 235, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--c-light-40);
}
.btn-outline:hover { background: #fff; color: var(--c-bg-dark); border-color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-strong);
}
.btn-ghost:hover { background: var(--c-section-light-2); border-color: var(--c-text); }

.btn-light {
  background: #fff;
  color: var(--c-bg-dark);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--c-primary); color: #fff; box-shadow: 0 8px 22px rgba(48, 171, 240, 0.35); }

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

.btn .icon { width: 18px; height: 18px; }

/* ------------------ Hero ------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(48, 171, 240, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 100%, rgba(28, 49, 235, 0.28), transparent 60%),
    linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-dark-2) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-particles canvas { width: 100%; height: 100%; display: block; }

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(90px, 14vh, 170px);
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero .eyebrow { color: var(--c-primary); }

.hero h1 { margin-bottom: 22px; color: #fff; }
.hero-sub {
  display: block;
  margin-top: 12px;
  color: var(--c-primary);
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: 0;
}

.hero p {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--c-light-80);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--c-light-60);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg {
  width: 16px; height: 16px;
  color: var(--c-primary);
  flex-shrink: 0;
}

/* ------------------ Sections ------------------ */
.section { padding-block: clamp(72px, 9vw, 120px); }

.section-light {
  background: var(--c-section-light);
  color: var(--c-text);
}
.section-alt { background: var(--c-section-light-2); }

.section-dark {
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(48, 171, 240, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(28, 49, 235, 0.18), transparent 60%),
    linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-dark-2) 100%);
  color: #fff;
}
.section-dark p { color: var(--c-light-80); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  margin-bottom: 0;
}
.section-dark .section-head p { color: var(--c-light-60); }

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  border: 1px solid var(--c-primary-border);
}

.pill-glow {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border: 1px solid var(--c-primary-border);
  box-shadow: 0 0 0 4px rgba(48, 171, 240, 0.06);
  margin-bottom: 22px;
}

/* ------------------ Grids ------------------ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } }

/* ------------------ Service-Cards (Leistungen) ------------------ */
.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary-border);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary-soft), rgba(28, 49, 235, 0.08));
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .25s, color .25s;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 0; color: var(--c-text-muted); font-size: 0.97rem; }

/* Optionaler Link innerhalb einer Service-Card (z. B. zu einer Detail-/Preisseite) */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-primary-2);
  transition: gap .2s ease, color .2s;
}
.service-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.service-link:hover { color: var(--c-primary); gap: 10px; }
.service-link:hover svg { transform: translateX(2px); }

/* Highlight-Card (KI) */
.service-card.is-highlight {
  background: linear-gradient(155deg, #ffffff 0%, #eaf6ff 100%);
  border-color: var(--c-primary-border);
  overflow: hidden;
}
.service-card.is-highlight::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(48, 171, 240, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.card-tag {
  position: absolute;
  top: 22px; right: 22px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(28, 49, 235, 0.25);
}

/* ------------------ Process-Steps ("So arbeiten wir") ------------------ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.process-step {
  position: relative;
  padding: 32px 26px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary-border);
  box-shadow: var(--shadow-md);
}
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(48, 171, 240, 0.25);
  margin-bottom: 18px;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { margin-bottom: 0; color: var(--c-text-muted); font-size: 0.96rem; }

/* ------------------ Features (Vorteile) ------------------ */
.feature {
  background: var(--c-light-10);
  border: 1px solid var(--c-light-20);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: background .25s, border-color .25s, transform .25s;
}
.feature:hover {
  background: rgba(48, 171, 240, 0.08);
  border-color: var(--c-primary-border);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(48, 171, 240, 0.15);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin-bottom: 0; color: var(--c-light-80); font-size: 0.96rem; }

/* ------------------ Section: KI ------------------ */
.section-ki {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(48, 171, 240, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(28, 49, 235, 0.22), transparent 60%),
    linear-gradient(180deg, #080d2b 0%, var(--c-bg-dark) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.section-ki::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  z-index: -1;
}
.section-ki h2 { color: #fff; }
.section-ki p { color: var(--c-light-80); }

.ki-intro {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.ki-intro h2 { margin-bottom: 18px; }
.ki-intro p { font-size: 1.08rem; }

.ki-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 52px;
}

.ki-card {
  position: relative;
  background: var(--c-light-10);
  border: 1px solid var(--c-light-20);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background .25s, border-color .25s, transform .25s;
}
.ki-card:hover {
  background: rgba(48, 171, 240, 0.08);
  border-color: var(--c-primary-border);
  transform: translateY(-4px);
}
.ki-card h3 { color: #fff; margin: 14px 0 8px; font-size: 1.12rem; }
.ki-card p { margin-bottom: 0; font-size: 0.95rem; color: var(--c-light-80); }

.ki-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(48, 171, 240, 0.3);
}

.ki-cta { text-align: center; }
.ki-cta-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--c-light-60);
}

/* ------------------ About ------------------ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { line-height: 1.05; }
.about-text > p { color: var(--c-text-muted); font-size: 1.05rem; max-width: 480px; }

.about-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.team-card {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-border); }
.team-card img {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(10, 18, 48, 0.12);
}
.team-card figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-text);
}
.team-role {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--c-primary);
  letter-spacing: 0.02em;
}
.team-links {
  display: inline-flex;
  gap: 12px;
  margin-top: 14px;
}
.team-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-section-light-2);
  color: var(--c-text-muted);
  transition: background .2s, color .2s, transform .2s;
}
.team-links a:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.team-links svg { width: 16px; height: 16px; }

@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .about-text > p { margin-inline: auto; }
}

/* ------------------ FAQ ------------------ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: var(--c-primary-border);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-text);
  line-height: 1.4;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--c-text-muted);
  border-bottom: 2px solid var(--c-text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease, border-color .2s;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--c-primary);
}
.faq-item summary:hover { color: var(--c-primary); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--c-text-muted);
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ------------------ Contact ------------------ */
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 16px; }
.contact-intro p { color: var(--c-light-80); max-width: 480px; }
.contact-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.contact-card {
  background: var(--c-light-10);
  border: 1px solid var(--c-light-20);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.contact-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-light-10);
  font-size: 0.96rem;
  color: var(--c-light-80);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list a:hover { color: var(--c-primary); }
.contact-list .contact-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(48, 171, 240, 0.15);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-list .contact-icon svg { width: 18px; height: 18px; }
.contact-list .contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-light-60);
  margin-bottom: 2px;
}
.contact-list .contact-value { color: #fff; font-weight: 500; }
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--c-primary);
  font-size: 0.88rem;
  font-weight: 500;
}
.contact-map-link:hover { color: #fff; }
.contact-map-link svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ------------------ Pre-Footer: Links zu den Unterseiten ------------------
   Ruhiges „Mehr entdecken"-Regal direkt über dem Footer. Bewusst zurückhaltend:
   gedämpfte Farben, dünne Rahmen, kein Button-Lärm. */
.explore {
  background: var(--c-bg-dark);
  color: #fff;
  padding-block: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--c-light-10);
}
.explore-head {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}
.explore-head .eyebrow { color: var(--c-primary); }
.explore-head h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 12px;
}
.explore-head p { color: var(--c-light-60); margin-bottom: 0; font-size: 1rem; }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 22px 20px;
  border: 1px solid var(--c-light-20);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color .2s, background .2s, transform .2s;
}
.explore-card:hover {
  border-color: var(--c-primary);
  background: rgba(48, 171, 240, 0.06);
  transform: translateY(-3px);
}
.explore-card h3 { color: #fff; font-size: 1.02rem; margin: 0; }
.explore-card p { color: var(--c-light-60); font-size: 0.9rem; margin: 0; flex: 1; }
.explore-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-primary);
  transition: gap .2s ease;
}
.explore-card:hover .explore-go { gap: 11px; }
.explore-go svg { width: 15px; height: 15px; transition: transform .2s ease; }
.explore-card:hover .explore-go svg { transform: translateX(2px); }

@media (prefers-reduced-motion: reduce) {
  .explore-card:hover { transform: none; }
}

/* ------------------ Footer ------------------ */
.site-footer {
  background: var(--c-bg-dark-3);
  color: #fff;
  padding-block: 64px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-light-10);
}
.footer-brand p {
  margin-top: 16px;
  color: var(--c-light-60);
  font-size: 0.92rem;
  max-width: 280px;
}
.footer-brand .footer-logo img { width: 168px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-light-60);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--c-light-80); font-size: 0.95rem; transition: color .15s; }
.footer-col a:hover { color: var(--c-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  color: var(--c-light-60);
  font-size: 0.88rem;
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }
.footer-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--c-light-60); }
.footer-badge img { width: 90px; height: auto; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ------------------ Reveal-on-Scroll ------------------ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .service-card:hover, .feature:hover, .ki-card:hover,
  .process-step:hover, .team-card:hover { transform: none; }
}

/* ------------------ Legal-Seiten ------------------ */
.legal { padding-block: 80px; max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }
.legal p, .legal li { color: var(--c-text-muted); }
.legal a { color: var(--c-primary-2); text-decoration: underline; }
.legal a:hover { color: var(--c-primary); }
