/*
Theme Name: Heisers Digital Landing
Theme URI: https://www.heisersdigital.de/
Author: Heisers Digital
Description: Futuristic one-page landing page with accessible slideshow.
Version: 1.0.0
Text Domain: heisers-landing
*/

:root {
  --ink: #071018;
  --ink-soft: #0d1a25;
  --paper: #f4f8fa;
  --muted: #9fb0ba;
  --line: rgba(255,255,255,.14);
  --cyan: #61e6ff;
  --orange: #ff9b4a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.hd-site { overflow-x: hidden; background: radial-gradient(circle at 85% 0%, #143345 0, transparent 38%), var(--ink); }
.hd-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.hd-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.hd-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.hd-logo { display: inline-flex; gap: 10px; align-items: center; font-size: .8rem; font-weight: 800; letter-spacing: .18em; }
.hd-logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--cyan); border-radius: 8px; color: var(--cyan); box-shadow: 0 0 22px rgba(97,230,255,.22); }
.hd-nav { display: flex; align-items: center; gap: 30px; color: #bfd0d7; font-size: .86rem; }
.hd-nav a:hover { color: white; }
.hd-nav-cta { padding: 11px 17px; border: 1px solid rgba(97,230,255,.55); border-radius: 999px; color: white; }

.hd-hero { position: relative; min-height: min(850px, 94vh); display: grid; align-items: end; isolation: isolate; }
.hd-slides, .hd-slide { position: absolute; inset: 0; }
.hd-slide { opacity: 0; transition: opacity .9s ease; }
.hd-slide.is-active { opacity: 1; }
.hd-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,14,21,.96) 0%, rgba(5,14,21,.68) 36%, rgba(5,14,21,.12) 74%, rgba(5,14,21,.42) 100%), linear-gradient(0deg, rgba(5,14,21,.78), transparent 42%); }
.hd-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hd-hero-content { position: relative; z-index: 2; width: min(680px, 100%); padding: 190px 0 112px; }
.hd-kicker { display: inline-flex; gap: 9px; align-items: center; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hd-kicker::before { content: ""; width: 24px; height: 1px; background: var(--orange); }
.hd-hero h1 { max-width: 650px; margin: 22px 0 22px; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .95; letter-spacing: -.065em; }
.hd-hero h1 em { color: var(--orange); font-style: normal; }
.hd-hero p { max-width: 480px; margin: 0; color: #c5d1d6; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }
.hd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hd-button { display: inline-flex; align-items: center; gap: 12px; padding: 15px 21px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.hd-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
.hd-button-primary { border-color: var(--orange); background: var(--orange); color: #1b130d; }
.hd-button-primary:hover { background: #ffb06b; }
.hd-slide-controls { position: relative; z-index: 3; display: flex; align-items: center; gap: 13px; padding-bottom: 45px; }
.hd-slide-controls button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(6,17,26,.5); color: white; cursor: pointer; }
.hd-slide-controls button:hover { border-color: var(--cyan); }
.hd-dots { display: flex; gap: 7px; margin-left: 5px; }
.hd-dot { width: 24px !important; height: 3px !important; border: 0 !important; border-radius: 2px !important; background: rgba(255,255,255,.35) !important; }
.hd-dot.is-active { background: var(--cyan) !important; }

.hd-strip { border-block: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.hd-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.hd-strip-item { padding: 26px 24px 27px 0; border-right: 1px solid rgba(255,255,255,.1); }
.hd-strip-item:not(:first-child) { padding-left: 24px; }
.hd-strip-item:last-child { border-right: 0; }
.hd-strip strong { display: block; margin-bottom: 7px; color: white; font-size: .95rem; }
.hd-strip span { color: var(--muted); font-size: .83rem; }

.hd-section { padding: 118px 0; }
.hd-section-light { background: var(--paper); color: var(--ink); }
.hd-section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.hd-section h2 { max-width: 610px; margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.hd-section-heading p { max-width: 360px; margin: 0; color: #60717b; line-height: 1.65; }
.hd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hd-card { min-height: 250px; padding: 28px; border: 1px solid #d9e2e6; border-radius: 16px; background: white; }
.hd-card-index { color: #a0b0b8; font-size: .77rem; font-weight: 800; letter-spacing: .14em; }
.hd-card h3 { margin: 72px 0 12px; font-size: 1.25rem; }
.hd-card p { margin: 0; color: #60717b; line-height: 1.55; }
.hd-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.hd-reference { background: #0a151e; }
.hd-reference-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.hd-reference h2 { max-width: 560px; }
.hd-reference-card { padding: 34px; border: 1px solid rgba(97,230,255,.3); border-radius: 16px; background: linear-gradient(135deg, rgba(97,230,255,.08), rgba(255,155,74,.08)); }
.hd-reference-card > span { color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hd-reference-card p { max-width: 390px; margin: 16px 0 24px; color: #c5d1d6; line-height: 1.6; }
.hd-contact p { max-width: 500px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.hd-contact-note { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.04); }
.hd-contact-note span { color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hd-contact-note p { margin: 15px 0 0; color: white; font-size: 1.4rem; line-height: 1.3; }
.hd-footer { padding: 30px 0 36px; border-top: 1px solid var(--line); color: #80929c; font-size: .78rem; }
.hd-footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 760px) {
  .hd-shell { width: min(calc(100% - 32px), var(--max)); }
  .hd-header-inner { min-height: 72px; }
  .hd-nav a:not(.hd-nav-cta) { display: none; }
  .hd-hero { min-height: 760px; }
  .hd-hero-content { padding: 150px 0 95px; }
  .hd-slide img { object-position: 60% center; }
  .hd-strip-inner, .hd-cards, .hd-contact { grid-template-columns: 1fr; }
  .hd-strip-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px 0 !important; }
  .hd-strip-item:last-child { border-bottom: 0; }
  .hd-section { padding: 80px 0; }
  .hd-section-heading { display: block; }
  .hd-section-heading p { margin-top: 22px; }
  .hd-card { min-height: auto; }
  .hd-card h3 { margin-top: 46px; }
  .hd-contact { gap: 30px; }
  .hd-reference-inner { grid-template-columns: 1fr; gap: 30px; }
  .hd-footer-inner { display: block; }
  .hd-footer-inner span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hd-slide { transition: none; }
  .hd-button { transition: none; }
}
