:root {
  --bg-charcoal: #1f2328;
  --bg-sand: #d8cab8;
  --text-ice: #ecf7fa;
  --text-graphite: #1e252b;
  --accent-cyan: #74d6f4;
  --accent-cyan-strong: #2fc4f2;
  --accent-sand-soft: #efe3d5;
  --line-soft: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-graphite);
  background:
    radial-gradient(circle at 12% -18%, rgba(116, 214, 244, 0.3), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(216, 202, 184, 0.4), transparent 44%),
    linear-gradient(180deg, #f2ece4 0%, #e3d7c8 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.6rem 1rem;
  background: var(--bg-charcoal);
  color: var(--text-ice);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  outline: 2px solid var(--accent-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-ice);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.site-shell {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.84) 0%, rgba(8, 12, 16, 0) 100%);
}

.site-header .site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-title {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-ice);
  letter-spacing: 0.03em;
}

.site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
}

.site-header .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
}

.site-menu {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  color: var(--text-ice);
}

.site-menu a {
  text-decoration: none;
  opacity: 0.9;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  opacity: 1;
  color: var(--accent-cyan);
}

.hero-smart {
  min-height: 100vh;
  position: relative;
}

.hero-media-wrap {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #040608;
}

.hero-video,
.hero-media--image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-video {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-video.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(116, 214, 244, 0.2) 0%, rgba(116, 214, 244, 0) 42%),
    linear-gradient(110deg, rgba(9, 14, 19, 0.8) 4%, rgba(9, 14, 19, 0.38) 44%, rgba(9, 14, 19, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 4;
  color: var(--text-ice);
  min-height: 100vh;
  display: grid;
  align-content: end;
  gap: 1rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.hero-content h1 {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  max-width: 12ch;
}

.hero-subline {
  margin: 0;
  max-width: 56ch;
  color: rgba(236, 247, 250, 0.92);
}

.hero-cta {
  width: fit-content;
  text-decoration: none;
  font-weight: 700;
  color: #03151a;
  background: linear-gradient(110deg, var(--accent-cyan) 0%, #b9ecfb 100%);
  border-radius: 999px;
  padding: 0.82rem 1.4rem;
  box-shadow: 0 8px 20px rgba(47, 196, 242, 0.3);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(47, 196, 242, 0.45);
}

.hero-overlays {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(116, 214, 244, 0.75);
  background: rgba(116, 214, 244, 0.18);
  box-shadow: 0 0 0 0 rgba(116, 214, 244, 0.6);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, background 0.35s ease;
  animation: marker-pulse 2.8s infinite;
}

.hero-marker.is-active {
  background: rgba(116, 214, 244, 0.98);
  transform: translate(-50%, -50%) scale(1.2);
}

.hero-info-panel {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  top: clamp(4.8rem, 12vh, 8rem);
  width: min(390px, 86vw);
  border: 1px solid rgba(116, 214, 244, 0.6);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  background: linear-gradient(150deg, rgba(10, 19, 25, 0.82) 0%, rgba(8, 14, 19, 0.62) 100%);
  color: var(--text-ice);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
}

.hero-info-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--accent-cyan-strong);
}

.hero-info-title {
  margin: 0.4rem 0 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.22rem;
}

.hero-info-copy {
  margin: 0.42rem 0 0;
  font-size: 0.92rem;
  color: rgba(236, 247, 250, 0.9);
}

.hero-consent {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  top: clamp(4.8rem, 12vh, 8rem);
  width: min(370px, 84vw);
  z-index: 5;
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(10, 15, 20, 0.9);
  color: var(--text-ice);
  border: 1px solid rgba(216, 202, 184, 0.45);
}

.hero-consent p {
  margin: 0;
  font-size: 0.88rem;
}

.hero-consent button {
  margin-top: 0.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  cursor: pointer;
  font-weight: 700;
  background: var(--accent-sand-soft);
  color: #141719;
}

.home-section {
  padding: clamp(3.2rem, 6vw, 5.6rem) 0;
}

.section-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: #386071;
}

.home-section h2 {
  margin: 0.45rem 0 1.4rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.12;
  max-width: 18ch;
}

.feature-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.use-case-card {
  grid-column: span 6;
  border-radius: 16px;
  padding: 1.15rem;
  background: rgba(250, 247, 242, 0.72);
  border: 1px solid rgba(30, 37, 43, 0.1);
  box-shadow: 0 6px 24px rgba(31, 35, 40, 0.08);
}

.feature-card h3,
.use-case-card h3 {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
}

.feature-card p,
.use-case-card p {
  margin: 0.5rem 0 0;
}

.home-section-steps {
  background: linear-gradient(160deg, rgba(31, 35, 40, 0.95) 0%, rgba(19, 24, 29, 0.95) 100%);
  color: var(--text-ice);
}

.home-section-steps.has-bg-image {
  background-image: inherit; /* inline style carries the URL */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Dark gradient overlay on top of the image */
  background-blend-mode: normal;
  position: relative;
  isolation: isolate;
}

.home-section-steps.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(31, 35, 40, 0.44) 0%, rgba(19, 24, 29, 0.44) 100%);
}

.home-section-steps .section-eyebrow {
  color: #8fdff8;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.steps-list li {
  grid-column: span 4;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(14, 23, 31, 0.58);
}

.steps-list h3 {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
}

.steps-list p {
  margin: 0.55rem 0 0;
  color: rgba(236, 247, 250, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.contact-box {
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 37, 43, 0.12);
  box-shadow: 0 6px 24px rgba(31, 35, 40, 0.08);
}

.contact-fallback-copy {
  margin: 0;
  font-size: 1rem;
  color: var(--text-graphite);
}

.contact-fallback-link {
  font-weight: 700;
  color: #124b61;
  text-decoration: none;
}

.contact-fallback-link:hover,
.contact-fallback-link:focus-visible {
  text-decoration: underline;
}

.contact-box .wpcf7 {
  font-size: 0.96rem;
}

.contact-box .wpcf7 form {
  display: grid;
  gap: 0.8rem;
}

.contact-box .wpcf7 p {
  margin: 0;
}

.contact-box .wpcf7 label {
  display: grid;
  gap: 0.42rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #243038;
}

.contact-box .wpcf7-form-control-wrap {
  display: block;
}

.contact-box .wpcf7 input[type="text"],
.contact-box .wpcf7 input[type="email"],
.contact-box .wpcf7 input[type="tel"],
.contact-box .wpcf7 input[type="url"],
.contact-box .wpcf7 textarea,
.contact-box .wpcf7 select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(30, 37, 43, 0.18);
  padding: 0.75rem 0.82rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-graphite);
  font: inherit;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.contact-box .wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-box .wpcf7 input[type="text"]:focus,
.contact-box .wpcf7 input[type="email"]:focus,
.contact-box .wpcf7 input[type="tel"]:focus,
.contact-box .wpcf7 input[type="url"]:focus,
.contact-box .wpcf7 textarea:focus,
.contact-box .wpcf7 select:focus {
  outline: none;
  border-color: rgba(47, 196, 242, 0.85);
  box-shadow: 0 0 0 4px rgba(47, 196, 242, 0.14);
  background: #fff;
}

.contact-box .wpcf7 input[type="submit"],
.contact-box .wpcf7 button,
.contact-box .wpcf7 .wpcf7-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  color: #0f1c23;
  background: linear-gradient(115deg, var(--accent-cyan) 0%, #b9ecfb 100%);
  box-shadow: 0 10px 22px rgba(47, 196, 242, 0.2);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.contact-box .wpcf7 input[type="submit"]:hover,
.contact-box .wpcf7 input[type="submit"]:focus-visible,
.contact-box .wpcf7 button:hover,
.contact-box .wpcf7 button:focus-visible,
.contact-box .wpcf7 .wpcf7-submit:hover,
.contact-box .wpcf7 .wpcf7-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 196, 242, 0.28);
}

.contact-box .wpcf7 .wpcf7-spinner {
  margin: 0.65rem 0 0;
}

.contact-box .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 0.38rem;
  font-size: 0.8rem;
  color: #a63333;
}

.contact-box .wpcf7 .wpcf7-response-output {
  margin: 0.35rem 0 0;
  border-radius: 12px;
  border: 1px solid rgba(30, 37, 43, 0.12);
  padding: 0.82rem 0.9rem;
  font-size: 0.9rem;
}

.contact-box .wpcf7 form.invalid .wpcf7-response-output,
.contact-box .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-box .wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(166, 51, 51, 0.28);
  background: rgba(166, 51, 51, 0.08);
  color: #7f2525;
}

.contact-box .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(23, 126, 91, 0.24);
  background: rgba(23, 126, 91, 0.08);
  color: #155d43;
}

.site-footer {
  background: #13181d;
  color: rgba(236, 247, 250, 0.86);
  padding: 1rem 0;
}

.site-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-links li {
  list-style: none;
}

.site-footer-links a {
  text-decoration: none;
}

.default-content {
  min-height: 70vh;
  padding: 6rem 0 3rem;
}

@keyframes marker-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(116, 214, 244, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(116, 214, 244, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(116, 214, 244, 0);
  }
}

@media (max-width: 980px) {
  .site-header .site-shell {
    padding-top: 0.8rem;
  }

  /* nav-toggle (Hamburger) ist aktuell deaktiviert.
     Um das mobile MenÃ¼ wieder zu aktivieren: .nav-toggle { display: flex; } einkommentieren
     und sicherstellen, dass das Toggle-Script in header.php aktiv ist. */
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(8, 12, 16, 0.97);
    padding: 1.5rem;
    z-index: 29;
    overflow-y: auto;
  }

  .site-nav.is-open .site-menu {
    flex-direction: column;
    font-size: 1.15rem;
    gap: 1.5rem;
  }

  .hero-content {
    padding-bottom: 4rem;
  }

  .hero-marker {
    display: none;
  }

  .hero-info-panel {
    position: absolute;
    left: 50%;
    right: auto;
    top: clamp(64px, 11vh, 80px);
    bottom: auto;
    transform: translateX(-50%);
    width: min(390px, calc(100% - 2rem));
  }

  .hero-consent {
    left: 0.8rem;
  }

  .feature-card,
  .use-case-card,
  .steps-list li {
    grid-column: span 12;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .custom-logo {
    max-height: 42px;
  }

  .hero-info-panel {
    width: calc(100% - 2rem);
  }
}
