/* AVD Hero product website - brand colours of the logo (indigo/violet, cape red, mask yellow), system fonts only */
:root {
  --bg: #fbfbfe;
  --bg-alt: #f1f2fb;
  --surface: #ffffff;
  --text: #171a2c;
  --muted: #5b6078;
  --line: #e3e5f2;
  --brand: #4f46e5;
  --brand-2: #8b5cf6;
  --brand-ink: #ffffff;
  --cape: #f43f5e;
  --mask: #f59e0b;
  --shadow: 0 24px 60px -24px rgba(49, 46, 129, .35);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d18; --bg-alt: #11142a; --surface: #161a33; --text: #eceefb; --muted: #a2a7c6; --line: #262b4d;
    --brand: #818cf8; --brand-2: #a78bfa; --brand-ink: #0b0d18; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d18; --bg-alt: #11142a; --surface: #161a33; --text: #eceefb; --muted: #a2a7c6; --line: #262b4d;
  --brand: #818cf8; --brand-2: #a78bfa; --brand-ink: #0b0d18; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--brand); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 600; }
.top nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--surface); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(79, 70, 229, .5); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--brand-ink); border-color: transparent; }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 760px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent),
              radial-gradient(closest-side at 80% 40%, color-mix(in srgb, var(--cape) 14%, transparent), transparent); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: color-mix(in srgb, var(--mask) 16%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, var(--mask) 40%, transparent); margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, var(--cape)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.hero-shot { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.head { max-width: 46em; margin-bottom: 44px; }
.head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--brand) 14%, var(--surface)); color: var(--brand); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+2) .icon { background: color-mix(in srgb, var(--cape) 14%, var(--surface)); color: var(--cape); }
.card:nth-child(3n) .icon { background: color-mix(in srgb, var(--mask) 18%, var(--surface)); color: #b45309; }

/* Screenshot rows */
.show { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.show + .show { margin-top: 72px; }
.show.flip > :first-child { order: 2; }
.show figure { margin: 0; }
.show img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.show ul { padding-left: 1.1em; color: var(--muted); }
.show li { margin-bottom: 6px; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 24px 24px 24px 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: var(--brand-ink); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
code { font-family: "Cascadia Code", Consolas, ui-monospace, monospace; font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

/* Cost table */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-alt); }
.table tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Call to action */
.cta { text-align: center; border-radius: 28px; padding: 56px 24px; color: #fff;
  background: radial-gradient(circle at 15% 20%, rgba(244, 63, 94, .45), transparent 40%), linear-gradient(135deg, #4f46e5, #7c3aed); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); max-width: 38em; margin: 0 auto 26px; font-size: 1.1rem; }
.cta .actions { justify-content: center; }
.cta .btn { background: #fff; color: #312e81; border-color: transparent; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal address { font-style: normal; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap, .show { grid-template-columns: 1fr; gap: 32px; }
  .show.flip > :first-child { order: 0; }
  .hero-shot { transform: none; }
  .grid, .steps { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
  section { padding: 60px 0; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}
@media (min-width: 901px) and (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Language switch (EN | DE): a pill with a sliding highlight on the active language */
.top nav a.lang { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 3px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-alt); font-size: .8rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.top nav a.lang span { position: relative; z-index: 1; padding: 4px 10px; border-radius: 999px; text-align: center; transition: color .2s ease; }
.top nav a.lang span.on { color: var(--brand-ink); background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 4px 12px -4px rgba(79, 70, 229, .6); }
.top nav a.lang:hover { color: var(--text); border-color: var(--brand); }
.top nav a.lang:hover span:not(.on) { color: var(--brand); }
.top nav a.lang:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Contact */
.contact { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 32px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact .icon { margin: 0; width: 56px; height: 56px; border-radius: 16px; }
.contact .icon svg { width: 28px; height: 28px; }
.contact h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.contact p { margin: 0; }
@media (max-width: 900px) {
  .top nav a.lang { display: inline-grid !important; }
  .contact { grid-template-columns: 1fr; padding: 24px; }
}
#contact, #kontakt { padding-bottom: 0; }
