/* AMTA Labs – Glasstil, abgeleitet von der Coynix-Website */
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap; src: url("/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 800; font-display: swap; src: url("/fonts/hanken-grotesk-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg-a: #0d0926;
  --bg-b: #1c1250;
  --bg-c: #3a1c6e;
  --blob-1: rgba(124, 108, 240, 0.5);
  --blob-2: rgba(214, 170, 82, 0.26);
  --blob-3: rgba(34, 190, 160, 0.2);
  --text: #f5f3ff;
  --text-secondary: #b9b3d6;
  --text-tertiary: #8a84ad;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-raised: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.26);
  --accent: #6b5bd6;
  --accent-text: #b9adff;
  --accent-glow: rgba(107, 91, 214, 0.45);
  --grad-a: #c3b8ff;
  --grad-b: #f3cd7a;
  --check: #5fd8b9;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-a);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vmax 42vmax at 12% 8%, var(--blob-1), transparent 70%),
    radial-gradient(36vmax 36vmax at 92% 30%, var(--blob-2), transparent 70%),
    radial-gradient(40vmax 40vmax at 30% 100%, var(--blob-3), transparent 70%),
    linear-gradient(160deg, var(--bg-a) 0%, var(--bg-b) 55%, var(--bg-c) 100%);
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }

.grad {
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px -30px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; color: var(--text);
  cursor: pointer; transition: transform 200ms var(--ease), background 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--grad-b); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, #7c6cf0, var(--accent));
  box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn-ghost {
  background: var(--surface); border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-raised); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 9, 38, 0.55);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--text); }
.header-cta { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* Hero */
.hero { padding: 110px 0 90px; text-align: center; }
.chip {
  display: inline-block; padding: 7px 16px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
}
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; }
.lede { max-width: 640px; margin: 24px auto 0; color: var(--text-secondary); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }

/* Sections */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head h2, .closing h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.section-lede { max-width: 560px; margin: 14px auto 0; color: var(--text-secondary); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.service-price { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(243, 205, 122, 0.12); color: var(--grad-b); font-size: 14px; font-weight: 700; }
.service h3 { font-size: 22px; font-weight: 700; }
.service p { color: var(--text-secondary); flex: 1; }
.service-link { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.service-link:hover { text-decoration: underline; }

/* Pakete */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.package { position: relative; padding: 32px 28px 28px; display: flex; flex-direction: column; }
.package.is-popular {
  background: linear-gradient(180deg, rgba(124, 108, 240, 0.2), rgba(255, 255, 255, 0.06));
  border-color: rgba(195, 184, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(195, 184, 255, 0.2), 0 30px 70px -30px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.badge {
  position: absolute; top: -13px; left: 28px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  color: #1a1538; font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
}
.package h3 { font-size: 22px; font-weight: 700; }
.package-for { margin-top: 6px; color: var(--text-secondary); font-size: 16px; min-height: 3.2em; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; }
.price-pre { font-size: 20px; font-weight: 600; color: var(--text-secondary); }
.price-num { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-note { margin-top: 6px; color: var(--grad-b); font-size: 15px; font-weight: 600; min-height: 1.5em; }

.list-title { margin: 24px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks > li { position: relative; padding-left: 30px; font-size: 16px; }
.checks > li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(95, 216, 185, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235fd8b9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks ul { margin: 8px 0 0; padding-left: 18px; color: var(--text-secondary); display: grid; gap: 4px; font-size: 15px; }
.package-hint { margin-top: 14px; color: var(--text-tertiary); font-size: 15px; }
.coynix-ref { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; color: var(--text-secondary); }
.coynix-ref a { font-weight: 600; }

.needs { margin-top: 22px; border-top: 1px solid var(--border); }
.needs summary, .faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.needs summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.needs summary { padding: 16px 0 4px; font-weight: 700; font-size: 16px; }
.needs summary::after, .faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23c3b8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 250ms var(--ease);
}
.needs[open] summary::after, .faq details[open] summary::after { transform: rotate(180deg); }
.needs ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-secondary); font-size: 15px; }
.needs li::marker { color: var(--accent-text); }

.package .btn { margin-top: 24px; }

/* In deiner Hand */
.in-hand { margin-top: 28px; padding: 30px 32px; }
.in-hand h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.in-hand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.in-hand-list li { position: relative; padding-left: 30px; color: var(--text-secondary); font-size: 16px; }
.in-hand-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2l6 2.5v5c0 4-2.6 6.8-6 8.5-3.4-1.7-6-4.5-6-8.5v-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2l6 2.5v5c0 4-2.6 6.8-6 8.5-3.4-1.7-6-4.5-6-8.5v-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tax-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text-tertiary); font-size: 14px; }



/* Produkte */
.products { display: grid; gap: 24px; }
.product { padding: 36px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; overflow: hidden; }
.product-head { display: flex; align-items: center; gap: 16px; }
.product-logo { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 10px 30px -12px var(--accent-glow); }
.product h3 { font-size: 28px; font-weight: 800; }
.product-sub { color: var(--text-tertiary); font-size: 15px; font-weight: 600; }
.product-desc { margin-top: 18px; color: var(--text-secondary); font-size: 18px; }
.product .actions { justify-content: flex-start; margin-top: 26px; }
.product-screens { display: flex; justify-content: center; gap: 16px; }
.product-screens img { width: 46%; max-width: 200px; height: auto; border-radius: 22px; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.product-screens img:nth-child(2) { transform: translateY(28px); }

/* Über mich */
.about { padding: 36px 40px; }
.about h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; margin-bottom: 14px; }
.about p { color: var(--text-secondary); }
.about p + p { margin-top: 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; }
.faq summary { padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq details p { padding: 0 0 20px; color: var(--text-secondary); }

/* Abschluss */
.closing { text-align: center; padding-bottom: 120px; }
.actions.center { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-tertiary); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Rechtliche Seiten */
.legal { padding: 70px 0 100px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin: 16px 0 8px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal p + p { margin-top: 10px; }
.legal-updated { color: var(--text-tertiary); font-size: 15px; }
.legal-back { text-decoration: none; font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .services, .packages { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .packages { gap: 28px; }
  .package-for, .price-note { min-height: 0; }
  .in-hand-list { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; padding: 30px 24px 40px; gap: 28px; }
  .about { padding: 30px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 br { display: none; }
  .hero { padding: 64px 0 56px; }
  .lede { font-size: 17px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .package { padding: 30px 22px 24px; }
  .in-hand { padding: 26px 22px; }
  .actions .btn { width: 100%; }
  .header-cta { min-height: 38px; padding: 7px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .needs summary::after, .faq summary::after { transition: none; }
}
