/* AVANTIA – Website-Styles
   Farben aus dem Original-Logo abgeleitet (Gold-Verlauf, Schwarz, Weiß). */

@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #16161a;
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(214, 170, 92, .35);
  --ink: #f4f1ea;
  --muted: #a3a09a;
  --gold: #d6aa5c;
  --gold-hi: #f0cf86;
  --gold-lo: #a97c35;
  --gold-grad: linear-gradient(135deg, #f0cf86 0%, #d6aa5c 45%, #a97c35 100%);
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: #111; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .78rem/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 34em; }

/* Buttons */
.btn {
  --b: var(--gold-grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 .98rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn-primary { background: var(--gold-grad); color: #141006; box-shadow: 0 0 0 0 rgba(214,170,92,0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(214,170,92,.55); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--line-gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,10,11,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { font: 400 1.15rem/1 var(--head); letter-spacing: .32em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; font-size: .94rem; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 11px 20px; font-size: .9rem; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }

/* Sections */
section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 40%, rgba(214,170,92,.13), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 7px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy h1 em { font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 10px; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }

/* Browser-Mockup im Hero */
.mock { position: relative; }
.browser {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #f5f3ee; color: #1b1b1b;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(214,170,92,.08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .8s var(--ease);
}
.mock:hover .browser { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg); }
.bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e6e3dc; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9c5bc; }
.bar b { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #f5f3ee; font: 500 11px/22px var(--body); color: #8a867e; padding-left: 10px; }
.site { padding: 18px 22px 24px; }
.site-nav { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 var(--body); }
.site-nav span:last-child { display: flex; gap: 14px; font-weight: 500; color: #6b675f; }
.site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 22px; align-items: center; }
.site-hero h4 { margin: 0 0 8px; font: 600 21px/1.15 var(--head); color: #141414; }
.site-hero p { font-size: 11px; line-height: 1.5; color: #6b675f; margin-bottom: 12px; }
.site-cta { display: inline-block; background: #1c3b5a; color: #fff; font: 600 11px/1 var(--body); padding: 9px 14px; border-radius: 6px; }
.site-img { aspect-ratio: 4/3.4; border-radius: 10px; background: linear-gradient(160deg, #2b4c6b, #13263a); position: relative; overflow: hidden; }
.site-img::after { content: ""; position: absolute; inset: 18% 22%; border: 2px solid rgba(255,255,255,.25); border-radius: 6px; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.site-cards div { background: #fff; border-radius: 8px; padding: 10px; font: 600 10px/1.3 var(--body); color: #333; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.site-cards div::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 5px; background: #e7edf3; margin-bottom: 8px; }
.phone {
  position: absolute; right: -30px; bottom: -44px; width: 29%; aspect-ratio: 9/18.5;
  background: #f5f3ee; border: 6px solid #1a1a1d; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  transition: transform .8s var(--ease);
}
.mock:hover .phone { transform: translateY(-8px); }
.phone .p-in { padding: 18px 10px; display: grid; gap: 8px; }
.phone .p-in b { font: 600 13px/1.15 var(--head); color: #141414; }
.phone .p-in i { height: 6px; border-radius: 3px; background: #dcd8d0; }
.phone .p-in i:nth-of-type(2) { width: 70%; }
.phone .p-img { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(160deg, #2b4c6b, #13263a); }
.phone .p-btn { background: #1c3b5a; color: #fff; text-align: center; font: 600 9px/1 var(--body); padding: 8px; border-radius: 5px; }
.tag {
  position: absolute; left: -18px; top: 26px; z-index: 2;
  background: rgba(16,16,18,.92); border: 1px solid var(--line-gold); border-radius: 10px;
  padding: 10px 14px; font-size: .8rem; color: var(--ink); display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(8px);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5bd18b; box-shadow: 0 0 0 4px rgba(91,209,139,.18); }

/* Problem-Karten */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: grid; gap: 14px; align-content: start;
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-gold); }
.card p { color: var(--muted); font-size: .98rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-gold); color: var(--gold); }
.icon svg { width: 22px; height: 22px; }

/* Leistungen */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.checklist li > span { font: 400 .85rem/1.9 var(--head); color: var(--gold); letter-spacing: .1em; }
.checklist h3 { font-size: 1.12rem; margin-bottom: 4px; }
.checklist p { color: var(--muted); font-size: .96rem; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 34px 26px 10px 0; position: relative; display: grid; gap: 12px; align-content: start; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font: 300 3rem/1 var(--head); color: transparent; -webkit-text-stroke: 1px var(--gold-lo);
}
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.step p { color: var(--muted); font-size: .96rem; }
.step small { color: var(--gold); font-size: .82rem; letter-spacing: .04em; }

/* Pakete */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-3px); border-color: var(--line-gold); }
.plan.featured { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(214,170,92,.09), rgba(214,170,92,0) 45%), var(--surface); position: relative; }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--gold-grad); color: #141006; font: 600 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plan .price { font: 300 2.6rem/1 var(--head); }
.plan .price small { font: 400 .9rem/1 var(--body); color: var(--muted); margin-left: 6px; }
.plan > p { color: var(--muted); font-size: .96rem; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; display: grid; gap: 11px; border-top: 1px solid var(--line); flex: 1; font-size: .95rem; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 10px; height: 6px; margin-top: 8px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.fine { margin-top: 26px; color: var(--muted); font-size: .86rem; }

/* Person */
.about { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-mark { aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(70% 70% at 50% 40%, rgba(214,170,92,.12), transparent 70%), #0b0b0c; display: grid; place-items: center; overflow: hidden; }
.about-mark img { width: 74%; transition: transform .6s var(--ease); }
.about-mark:hover img { transform: scale(1.03); }
.about-copy { display: grid; gap: 22px; }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--ink); font-weight: 500; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pillars span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .86rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 400 1.15rem/1.4 var(--head); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* Kontakt */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; color: var(--muted); }
.contact-info li { display: flex; gap: 12px; align-items: center; }
.contact-info li svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .86rem; color: var(--muted); }
input, textarea, select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--ink);
  font: 400 1rem/1.4 var(--body); padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,170,92,.15); }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); padding: 0; }
.consent a { color: var(--gold); }
form .btn { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* CTA-Band */
.band { padding: clamp(70px, 9vw, 110px) 0; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(214,170,92,.14), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.band .wrap { display: grid; gap: 22px; justify-items: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 54px 0 34px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot img { width: 120px; }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--gold-hi); }
.copy { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* Rechtstext-Seiten */
.legal { padding: 150px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 18px 0 40px; }
.legal h2 { font-size: 1.45rem; font-weight: 400; margin: 44px 0 14px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--gold); }
.todo { background: rgba(214,170,92,.12); border: 1px dashed var(--gold); color: var(--gold-hi); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.note { border: 1px solid var(--line-gold); background: rgba(214,170,92,.06); border-radius: 12px; padding: 18px 20px; color: var(--ink); font-size: .92rem; margin-bottom: 30px; }

/* Einblend-Animation (dezent) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .browser, .mock:hover .browser { transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .split, .about, .contact { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
  .mock { max-width: 620px; margin-right: 24px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .about { grid-template-columns: 1fr; }
  .about-mark { max-width: 340px; }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .menu-btn { display: block; position: relative; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0; z-index: 55; background: rgba(10,10,11,.97);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links a:not(.btn) { font: 300 1.7rem/1 var(--head); color: var(--ink); }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 104px; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  form { grid-template-columns: 1fr; }
  form .btn { width: 100%; }
  .browser { transform: none; }
  .mock { margin-right: 14px; }
  .phone { right: -14px; bottom: -26px; border-width: 4px; border-radius: 18px; }
  .site-cards { grid-template-columns: 1fr 1fr; }
  .site-cards div:last-child { display: none; }
  .tag { left: 10px; top: auto; bottom: -18px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
