/* Startseite: zwei vollflächige Hälften – hell (X1-Autoteile.de) und dunkel (Xebtec Digital). */
body.start { min-height: 100vh; display: flex; flex-direction: column; }

.brand-pill { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--text);
  background: rgba(10,12,15,.72); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.35);
  animation: drop .8s .3s both cubic-bezier(.2,.8,.2,1); }
.brand-pill:hover { text-decoration: none; }
.brand-pill .mark { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; box-shadow: none; }
.brand-pill .city { color: var(--faint); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.12); }

.halves { flex: 1; display: flex; min-height: calc(100vh - 66px); }
.half { position: relative; flex: 1; display: flex; align-items: center; padding: 110px 6vw 70px; overflow: hidden; text-decoration: none;
  transition: flex .7s cubic-bezier(.2,.8,.2,1); }
.half:hover { text-decoration: none; }
.halves:hover .half { flex: .82; }
.halves .half:hover { flex: 1.18; }

.half .content { position: relative; z-index: 2; max-width: 520px; animation: rise .9s both cubic-bezier(.2,.8,.2,1); }
.half.dg .content { animation-delay: .15s; }
.half .pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.half h2 { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(38px, 4.3vw, 72px); line-height: 1.02; white-space: nowrap;
  letter-spacing: -.03em; font-weight: 780; margin: 22px 0 16px; }
.half p { font-size: clamp(17px, 1.5vw, 20px); max-width: 440px; }
.half .cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 16px;
  transition: transform .2s, box-shadow .2s; }
.half .arrow { transition: transform .25s; }
.half:hover .arrow { transform: translateX(5px); }
.half:hover .cta { transform: translateY(-2px); }
.deco { position: absolute; z-index: 1; pointer-events: none; }

/* ---- X1-Autoteile.de: hell, Grün als Akzent ---- */
.half.x1 { background: radial-gradient(120% 90% at 0% 100%, #eef6df 0%, transparent 55%), linear-gradient(160deg, #ffffff, #f1f4ec);
  color: #161b12; clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%); margin-right: -90px; z-index: 2;
  animation: inLeft .9s both cubic-bezier(.2,.8,.2,1); }
.half.x1 .content { padding-right: 70px; }
.half.x1 .stripes { position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(153,204,51,.07) 46px 48px); }
.half.x1 .gear { width: 640px; height: 640px; right: -230px; bottom: -300px; color: var(--x1); opacity: .35; animation: spin 80s linear infinite; }
.half.x1 .pill { background: color-mix(in srgb, var(--x1) 20%, transparent); color: var(--x1-text); }
.half.x1 h2 .tld { color: var(--x1); }
.half.x1 p { color: #4d5647; }
.half.x1 .cta { color: #1a2a06; background: linear-gradient(135deg, var(--x1-hi), var(--x1)); box-shadow: 0 10px 30px color-mix(in srgb, var(--x1) 40%, transparent); }

/* ---- Xebtec Digital: dunkel, Petrol ---- */
.half.dg { background: #07090c; color: var(--text); padding-left: calc(6vw + 90px); animation: inRight .9s both cubic-bezier(.2,.8,.2,1); }
.half.dg .grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(94,234,212,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(94,234,212,.07) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%); }
.half.dg .orb { position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -180px; top: -160px; filter: blur(90px);
  background: radial-gradient(circle, rgba(20,184,166,.45), rgba(15,118,110,.15) 60%, transparent 70%); animation: float 9s ease-in-out infinite alternate; }
.half.dg .code { width: 520px; height: 520px; right: -60px; bottom: -120px; color: var(--petrol-hi); opacity: .16; filter: drop-shadow(0 0 18px rgba(94,234,212,.6)); }
.half.dg .pill { background: rgba(20,184,166,.14); color: var(--petrol-hi); border: 1px solid rgba(20,184,166,.3); }
.half.dg h2 { padding-bottom: .1em; background: linear-gradient(120deg, #fff 30%, var(--petrol-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.half.dg .cursor { color: var(--petrol-hi); -webkit-text-fill-color: var(--petrol-hi); animation: blink 1.1s steps(1) infinite; }
.half.dg p { color: var(--sub); }
.half.dg .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.half.dg .chips span { padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.half.dg .cta { color: #04201d; background: linear-gradient(135deg, var(--petrol-hi), var(--petrol) 60%, var(--petrol-lo)); box-shadow: 0 10px 34px rgba(20,184,166,.35); }

.start-foot { padding: 0; height: 66px; display: flex; align-items: center; background: #07090c; }
.start-foot .wrap { width: 100%; max-width: none; padding: 0 28px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { to { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -16px); } }
@keyframes inLeft { from { transform: translateX(-40px); opacity: 0; } }
@keyframes inRight { from { transform: translateX(40px); opacity: 0; } }

@media (max-width: 860px) {
  .halves { flex-direction: column; }
  .half { min-height: 62vh; padding: 100px 28px 60px; }
  .halves:hover .half, .halves .half:hover { flex: 1; }
  .half.x1 { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%); margin: 0 0 -50px; }
  .half.x1 .content { padding-right: 0; }
  .half.dg { padding-left: 28px; padding-top: 110px; }
  .half.x1 .gear { width: 380px; height: 380px; right: -120px; bottom: -120px; }
  .half.dg .code { width: 320px; height: 320px; }
  .start-foot { height: auto; padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
