/* ==========================================================
   Amazing Prime GmbH – Stylesheet
   Keine externen Abhängigkeiten. Schrift (Inter) lokal gehostet.
   ========================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #070d1a;
  --navy-900: #0b1324;
  --navy-800: #111c33;
  --navy-700: #1a2742;
  --line-dark: rgba(255, 255, 255, 0.08);
  --ink: #0b1324;
  --ink-2: #3c4658;
  --ink-3: #5d6779;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --line: #e3e7ee;
  --accent: #19b4c4;        /* Türkis */
  --accent-strong: #087480; /* AA-Kontrast auf Weiß */
  --accent-soft: rgba(25, 180, 196, 0.12);
  --blue: #4f7cff;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 650; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--navy-950); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 15px/1 var(--font); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--navy-950); }
.btn-primary:hover { background: #2fc7d6; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(7, 13, 26, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: 0.16em;
}
.logo-mark { width: 28px; height: 28px; flex: none; }
.logo span b { font-weight: 700; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  color: rgba(255,255,255,.72); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.btn { display: inline-flex; padding: 0 16px; color: var(--navy-950); border-radius: 10px; }
.nav-links a.btn:hover { color: var(--navy-950); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .js-nav .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-950); border-bottom: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 28px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .js-nav .nav-menu { display: none; }
  html:not(.js-nav) .nav-menu { position: static; }
  html:not(.js-nav) .site-header { position: relative; height: auto; background: var(--navy-950); }
  html:not(.js-nav) .nav { flex-wrap: wrap; padding-top: 16px; }
  html:not(.js-nav) .nav-menu { width: 100%; }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-links a.btn { display: flex; margin: 20px 0 0; width: 100%; min-height: 48px; font-size: 16px; border-bottom: 0; border-radius: 10px; }
  .site-header.menu-open { background: var(--navy-950); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(25,180,196,.16), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(79,124,255,.12), transparent 60%),
    var(--navy-950);
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(80px, 10vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 64px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero .eyebrow { color: var(--accent); }

.hero h1 {
  color: #fff; margin-top: 22px;
  font-size: clamp(38px, 4.4vw, 56px); font-weight: 650; letter-spacing: -0.04em; line-height: 1.02;
}
.hero-grid > * { min-width: 0; }
.hero h1 .muted { color: rgba(255,255,255,.65); }
.hero-sub { margin-top: 28px; font-size: clamp(18px, 1.6vw, 20px); color: #fff; font-weight: 500; max-width: 34ch; line-height: 1.45; }
.hero-text { margin-top: 14px; color: rgba(255,255,255,.66); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { margin-top: 18px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.035em; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--ink-3); }

.section-flush { padding-top: 0; }
.section-head-divided { border-top: 1px solid var(--line); padding-top: var(--section); max-width: none; }
.section-head-divided > * { max-width: 720px; }

/* ---------- Leistungen ---------- */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.service { background: #fff; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; transition: background-color .2s ease; }
.service:hover { background: #fbfcfd; }
.service-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 28px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-num { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.service h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
.service p { margin-top: 12px; color: var(--ink-3); font-size: 16px; }

@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about h2 { margin-top: 18px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.035em; }
.about-body p + p { margin-top: 20px; }
.about-body p { font-size: 18px; }
.about-body p:first-child { color: var(--ink); font-size: 20px; line-height: 1.55; font-weight: 500; }
.values { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.values li { padding-top: 20px; font-weight: 650; color: var(--ink); font-size: 18px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.values li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values li { padding: 16px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Arbeitsweise / Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--blue) 70%, var(--line));
}
.step { position: relative; }
.step-dot {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.step:first-child .step-dot { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.step h3 { margin-top: 28px; font-size: 22px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--ink-3); font-size: 16px; max-width: 26ch; }

@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--blue) 70%, var(--line)); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; padding-bottom: 36px; }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin-top: 10px; grid-column: 2; }
  .step p { grid-column: 2; max-width: none; }
  .step-dot { grid-row: 1 / span 2; }
}

/* ---------- Kontakt ---------- */
.contact {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(25,180,196,.22), transparent 60%),
    var(--navy-950);
  padding: clamp(44px, 7vw, 96px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end;
}
.contact h2 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.035em; margin-top: 18px; }
.contact .eyebrow { color: var(--accent); }
.contact p { color: rgba(255,255,255,.7); margin-top: 20px; font-size: 18px; max-width: 48ch; }
.contact-box { border-left: 1px solid var(--line-dark); padding-left: 40px; }
.contact-label { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); font-weight: 600; }
.contact-mail { display: inline-block; margin: 10px 0 28px; color: #fff; font-size: clamp(19px, 2vw, 23px); font-weight: 600; text-decoration: none; letter-spacing: -0.01em; word-break: break-all; }
.contact-mail:hover { color: var(--accent); }

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
  .contact-box { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 32px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.62); padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand strong { display: block; color: #fff; font-weight: 650; font-size: 17px; margin-bottom: 6px; }
.footer-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.footer-bottom p { max-width: 70ch; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Rechtliche Seiten ---------- */
.legal-hero { background: var(--navy-950); color: #fff; padding: calc(var(--nav-h) + 64px) 0 56px; }
.legal-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; margin-top: 16px; }
.legal-hero .eyebrow { color: var(--accent); }
.legal { padding: 64px 0 var(--section); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 22px; letter-spacing: -0.015em; margin: 48px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 28px 0 10px; }
.legal-body p, .legal-body li { font-size: 16.5px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 12px 0; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--accent-strong); text-underline-offset: 3px; }
.legal-body address { font-style: normal; }
.placeholder {
  display: inline; background: #fff4d6; color: #7a4b00; border: 1px dashed #e0a800;
  padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .95em;
}
.notice {
  background: #fff8e6; border: 1px solid #f1d38a; color: #6b4a00; border-radius: 12px;
  padding: 16px 20px; margin-bottom: 40px; font-size: 15px;
}
.legal-meta { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14.5px; }

/* Clear focus on light surfaces and compact contact cards. */
:focus-visible { outline-color: var(--accent-strong); }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .contact :focus-visible { outline-color: var(--accent); }
.contact .btn { white-space: normal; line-height: 1.35; padding-block: 12px; }
@media (max-width: 480px) { .contact { padding: 28px 22px; } .hero-actions .btn { width: 100%; } }

.legal-hero h1, .legal-body { overflow-wrap: anywhere; }
