/*
  Umzugsseite shop.zwave.eu -> aeotec-business.com
  Farben, Schrift und Buttons wie aeotec-business.com (AeotecB2bLanding / Theme-Variablen).
  Keine externen Abrufe: Schrift "Inter" (SIL OFL, siehe OFL.txt) und Logo liegen lokal.
*/
@font-face {
  font-family: "Inter";
  src: url("inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-top: #070d33;     /* $b2b-bg-top */
  --navy: #003063;         /* $b2b-bg-bottom */
  --accent: #00a3e0;       /* $b2b-accent */
  --accent-dark: #005a9a;  /* $b2b-accent-dark / brand-primary */
  --sky: #8fd8f5;          /* helles Blau, nur auf Navy */
  --ink: #2b3136;          /* $sw-text-color */
  --muted: #5a6470;
  --rule: #dfe5eb;
  --mist: #f3f6f9;
  --ease-out: cubic-bezier(.23, 1, .32, 1);

  --t-sm: .9rem;
  --t-base: 1.0625rem;     /* 17px wie $aeotec-body-font-size */
  --t-md: 1.25rem;
  --t-lg: clamp(1.35rem, 1.1rem + .8vw, 1.6rem);
  --t-xl: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0; }
h1, h2 { margin: 0; letter-spacing: -.02em; font-weight: 650; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ===== Hero (Navy-Verlauf wie die B2B-Startseite) ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--navy-top) 0%, var(--navy) 100%);
  padding: 22px 0 clamp(56px, 8vw, 104px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px);
}
.hero::before { width: 520px; height: 520px; background: var(--accent); opacity: .28; top: -260px; right: -140px; }
.hero::after  { width: 420px; height: 420px; background: var(--accent-dark); opacity: .45; bottom: -240px; left: -160px; }
.hero > .wrap { position: relative; z-index: 1; }
.hero a:focus-visible { outline-color: #fff; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(48px, 8vw, 96px); }
.top img { display: block; height: 52px; width: auto; }
.lang { display: flex; gap: 4px; font-size: var(--t-sm); font-weight: 600; }
.lang a, .lang span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px;
  color: #fff; text-decoration: none; letter-spacing: .04em;
}
.lang span { background: rgba(255,255,255,.14); }
.lang a { color: rgba(255,255,255,.75); }
.lang a:hover { color: #fff; background: rgba(255,255,255,.08); }

.eyebrow { color: var(--sky); font-size: var(--t-sm); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: var(--t-xl); line-height: 1.05; max-width: 17ch; text-wrap: balance; margin-bottom: clamp(28px, 4vw, 44px); }

/* Die Adresszeile: altes Ziel wird "gelöscht", neues "getippt" */
.bar {
  display: flex; align-items: center; gap: 14px; max-width: 720px;
  background: #fff; color: var(--ink); text-decoration: none;
  border-radius: 16px; padding: 14px 14px 14px 20px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 18px 50px rgba(0,8,30,.45);
  margin-bottom: 14px;
}
.bar:hover { color: var(--ink); }
.bar:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.bar .lock { flex: 0 0 auto; width: 20px; height: 20px; stroke: #007e4e; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.url { flex: 1; min-width: 0; display: grid; font-size: clamp(1.1rem, .85rem + 1.2vw, 1.7rem); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.url > span { grid-area: 1 / 1; overflow: hidden; }
/* Alte Adresse ist im Endzustand ganz ausgeblendet. Nur clip-path reicht nicht:
   iOS (WebKit) lässt am Ende der Animation sonst einen Rest stehen. */
.url .old { color: var(--muted); clip-path: inset(0 100% 0 0); visibility: hidden; }
.url .new { color: var(--navy); }
.url .new b { font-weight: 650; color: var(--accent-dark); }
.bar .go {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(91deg, var(--accent) 0%, var(--accent-dark) 88%);
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  transition: transform 160ms var(--ease-out), filter 160ms ease;
}
.bar .go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bar:active .go { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .bar:hover .go { filter: brightness(.92); } }
.was { font-size: var(--t-sm); color: #b9c6d6; margin: 0 0 clamp(28px, 4vw, 40px) 4px; }

@media (prefers-reduced-motion: no-preference) {
  .url .old { clip-path: inset(0 0 0 0); visibility: visible; animation: erase 520ms steps(13, end) 900ms forwards; }
  .url .new { clip-path: inset(0 100% 0 0); animation: type 640ms steps(19, end) 1500ms forwards; }
  .bar .go { opacity: 0; transform: translateX(-6px); animation: show 260ms var(--ease-out) 2200ms forwards; }
  .bar.replay .url .old { animation: erase2 480ms steps(13, end) 100ms both; }
  .bar.replay .url .new { animation: type2 600ms steps(19, end) 640ms both; }
}
@keyframes erase  { to { clip-path: inset(0 100% 0 0); visibility: hidden; } }
@keyframes type   { to { clip-path: inset(0 0 0 0); } }
@keyframes erase2 { from { clip-path: inset(0 0 0 0); visibility: visible; } to { clip-path: inset(0 100% 0 0); visibility: hidden; } }
@keyframes type2  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes show   { to { opacity: 1; transform: none; } }

.intro { font-size: var(--t-md); line-height: 1.5; color: #dbe4ee; max-width: 46ch; }

/* Link "Weiter zum alten Shop" (Phase 1). Bewusst zurückhaltend. */
.stay { margin-top: 28px; font-size: var(--t-sm); color: #b9c6d6; }
.stay a { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.stay a:hover { color: #fff; text-decoration-color: #fff; }

/* ===== Info-Karten ===== */
main { flex: 1; }
.info { padding: clamp(48px, 7vw, 88px) 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--mist); border-radius: 20px; padding: clamp(24px, 3.5vw, 40px);
}
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent-dark); margin-bottom: 4px; }
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h2 { font-size: var(--t-lg); line-height: 1.2; color: var(--navy); }
.card p { color: var(--muted); max-width: 46ch; }
.card .btn { margin-top: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .03em; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(.97); }
.btn-line { color: var(--accent-dark); border: 2px solid var(--accent-dark); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { background: var(--accent-dark); color: #fff; } }

/* ===== Fußzeile ===== */
.legal { background: var(--navy-top); color: rgba(255,255,255,.8); font-size: 15px; padding: 16px 0; }
.legal .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 28px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.legal a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; text-decoration-color: rgba(255,255,255,.5); }
.legal a:hover { color: #fff; text-decoration-color: #fff; }
.legal a:focus-visible { outline-color: #fff; }

/* ===== Mobil ===== */
@media (max-width: 720px) {
  .top img { height: 40px; }
  .cards { grid-template-columns: 1fr; }
  .bar { flex-wrap: wrap; padding: 14px; }
  .bar .go { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .bar .go { transition: none; }
  .btn:active, .bar:active .go { transform: none; }
}
