/* Öffentliche Produktvorschau (/) */

:root {
  --ab-bg: #07111f;
  --ab-bg-soft: #0c1a2e;
  --ab-panel: rgba(255, 255, 255, 0.04);
  --ab-ink: #f4f7fb;
  --ab-muted: #9db0c7;
  --ab-line: rgba(157, 176, 199, 0.22);
  --ab-blue: #3b8eff;
  --ab-blue-deep: #1d5fd0;
  --ab-glow: rgba(59, 142, 255, 0.28);
  --ab-font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body.ab-home-body {
  margin: 0;
  min-height: 100%;
  color: var(--ab-ink);
  background: var(--ab-bg);
  font-family: var(--ab-font);
  -webkit-font-smoothing: antialiased;
}

.ab-home {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(59, 142, 255, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(14, 88, 180, 0.18), transparent 50%),
    linear-gradient(180deg, #07111f 0%, #0a1628 45%, #07111f 100%);
}

.ab-home-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 8px;
}

.ab-home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.ab-home-logo {
  width: 46px;
  height: 32px;
  background: url("/includes/image/?get=system/grisoft-automotive-logo") center / contain no-repeat;
}

.ab-home-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ab-home-login,
.ab-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #4b98ff 0%, #1f66e0 100%);
  box-shadow: 0 10px 28px rgba(29, 95, 208, 0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-home-login:hover,
.ab-home-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(29, 95, 208, 0.45);
}

.ab-home-login:active,
.ab-home-btn:active {
  transform: translateY(1px);
}

.ab-home-btn--ghost {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--ab-line);
  color: var(--ab-ink);
}

.ab-home-btn--ghost:hover {
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.ab-home-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: end;
  min-height: calc(100vh - 88px);
}

.ab-home-kicker {
  margin: 0 0 14px;
  color: var(--ab-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: abHomeIn 0.7s ease 0.05s forwards;
}

.ab-home-title {
  margin: 0 0 16px;
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 750;
  opacity: 0;
  animation: abHomeIn 0.75s ease 0.12s forwards;
}

.ab-home-lead {
  margin: 0 0 28px;
  max-width: 28rem;
  color: var(--ab-muted);
  font-size: 1.08rem;
  line-height: 1.55;
  opacity: 0;
  animation: abHomeIn 0.75s ease 0.2s forwards;
}

.ab-home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: abHomeIn 0.75s ease 0.28s forwards;
}

.ab-home-stage {
  position: relative;
  opacity: 0;
  animation: abHomeIn 0.9s ease 0.22s forwards;
}

.ab-home-stage::before {
  content: "";
  position: absolute;
  inset: 12% -8% -8% 8%;
  background: radial-gradient(circle at 50% 40%, var(--ab-glow), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.ab-home-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101c2e;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg) translateY(8px);
  animation: abHomeFloat 7s ease-in-out infinite;
}

.ab-home-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.ab-home-phone {
  position: absolute;
  right: -4%;
  bottom: -10%;
  width: min(28%, 180px);
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  background: #0b1524;
  transform: rotate(6deg);
  animation: abHomeFloatPhone 6.5s ease-in-out infinite;
}

.ab-home-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.ab-home-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.ab-home-section-head {
  max-width: 38rem;
  margin-bottom: 28px;
}

.ab-home-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ab-home-section-head p {
  margin: 0;
  color: var(--ab-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.ab-home-shot-stack {
  display: grid;
  gap: 22px;
}

.ab-home-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ab-line);
  background: var(--ab-panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.ab-home-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.ab-home-frame--caption figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--ab-line);
  background: rgba(255, 255, 255, 0.03);
}

.ab-home-frame--caption figcaption strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.ab-home-frame--caption figcaption span {
  color: var(--ab-muted);
  font-size: 0.92rem;
}

.ab-home-phone-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.ab-home-phone-card {
  margin: 0;
  text-align: center;
}

.ab-home-phone-bezel {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: #0b1524;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ab-home-phone-bezel img {
  display: block;
  width: 100%;
  height: auto;
}

.ab-home-phone-card figcaption {
  margin-top: 10px;
  color: var(--ab-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.ab-home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.ab-home-stat {
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--ab-line);
  background: rgba(255, 255, 255, 0.03);
}

.ab-home-stat strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.ab-home-stat span {
  color: var(--ab-muted);
  font-size: 0.88rem;
}

.ab-home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.ab-home-feature {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--ab-line);
  background: rgba(255, 255, 255, 0.03);
}

.ab-home-feature h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.ab-home-feature p {
  margin: 0;
  color: var(--ab-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ab-home-closing {
  text-align: center;
  padding: 64px 0 40px;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.ab-home-closing h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.035em;
}

.ab-home-closing p {
  margin: 0 0 22px;
  color: var(--ab-muted);
}

.ab-home-closing .ab-home-cta {
  justify-content: center;
}

.ab-home-foot {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--ab-muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ab-home-foot a {
  color: #c9d8ea;
  text-decoration: none;
}

.ab-home-foot a:hover {
  color: #fff;
}

@keyframes abHomeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes abHomeFloat {
  0%, 100% {
    transform: perspective(1400px) rotateY(-8deg) rotateX(4deg) translateY(8px);
  }
  50% {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-6px);
  }
}

@keyframes abHomeFloatPhone {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .ab-home-kicker,
  .ab-home-title,
  .ab-home-lead,
  .ab-home-cta,
  .ab-home-stage {
    opacity: 1;
    animation: none;
  }
  .ab-home-shot,
  .ab-home-phone {
    animation: none;
  }
}

@media screen and (max-width: 960px) {
  .ab-home-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 18px;
  }
  .ab-home-title { max-width: 14ch; }
  .ab-home-shot {
    transform: none;
    animation: none;
  }
  .ab-home-phone {
    width: min(34%, 150px);
    right: 4%;
    bottom: -6%;
  }
  .ab-home-features {
    grid-template-columns: 1fr;
  }
  .ab-home-phone-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-home-stats {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 560px) {
  .ab-home-bar,
  .ab-home-hero,
  .ab-home-section,
  .ab-home-closing,
  .ab-home-foot {
    width: calc(100% - 28px);
  }
  .ab-home-phone { display: none; }
  .ab-home-phone-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
